com.jamasoftware.contour.domain
Class UserItemViewHistory
java.lang.Object
com.jamasoftware.contour.domain.DomainObjectBaseSupport
com.jamasoftware.contour.domain.DomainObjectSupport
com.jamasoftware.contour.domain.UserItemViewHistory
- All Implemented Interfaces:
- DomainObject, DomainObjectBase, OrganizationAware, ScopedObject, java.io.Serializable
@Entity
public class UserItemViewHistory
- extends DomainObjectSupport
- implements ScopedObject
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MOST_RECENT
public static final int MOST_RECENT
- See Also:
- Constant Field Values
MOST_VIEWED
public static final int MOST_VIEWED
- See Also:
- Constant Field Values
UserItemViewHistory
public UserItemViewHistory()
UserItemViewHistory
public UserItemViewHistory(User user,
java.lang.Integer scope,
java.lang.Integer refId,
java.lang.Integer timesViewed,
java.util.Date lastViewed)
getId
public java.lang.Integer getId()
- Specified by:
getId in interface DomainObjectBase
setId
public void setId(java.lang.Integer id)
- Specified by:
setId in interface DomainObjectBase
getUser
public User getUser()
setUser
public void setUser(User user)
getScopeId
@Field(name="scopeId")
@FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.IntegerFieldBridge.class)
public java.lang.Integer getScopeId()
- Specified by:
getScopeId in interface ScopedObject
setScopeId
public void setScopeId(java.lang.Integer scope)
- Specified by:
setScopeId in interface ScopedObject
getRefId
@Field(name="refId")
@FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.IntegerFieldBridge.class)
public java.lang.Integer getRefId()
- Specified by:
getRefId in interface ScopedObject
setRefId
public void setRefId(java.lang.Integer refId)
- Specified by:
setRefId in interface ScopedObject
getOrganizationId
public java.lang.Integer getOrganizationId()
- Specified by:
getOrganizationId in interface DomainObjectBase- Specified by:
getOrganizationId in interface OrganizationAware
setOrganizationId
public void setOrganizationId(java.lang.Integer organizationId)
- Specified by:
setOrganizationId in interface DomainObjectBase
getTimesViewed
public java.lang.Integer getTimesViewed()
setTimesViewed
public void setTimesViewed(java.lang.Integer timesViewed)
getLastViewed
@Field(name="lastViewed")
@FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.DateFieldBridge.class)
public java.util.Date getLastViewed()
setLastViewed
public void setLastViewed(java.util.Date lastViewed)
getXmlToString
public java.lang.String getXmlToString()
- Specified by:
getXmlToString in interface DomainObject
Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.