@Entity(name="UserItemViewHistory") public class UserItemViewHistoryImpl extends ScopeDomainObjectScopeIdColumn implements UserItemViewHistory
Modifier and Type | Field and Description |
---|---|
static int |
MOST_RECENT |
static int |
MOST_VIEWED |
refId, scopeId
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
UserItemViewHistoryImpl() |
UserItemViewHistoryImpl(User user,
Integer scope,
Integer refId,
Integer timesViewed,
Date lastViewed) |
Modifier and Type | Method and Description |
---|---|
Integer |
getId() |
Date |
getLastViewed() |
Integer |
getOrganizationId() |
Integer |
getTimesViewed() |
User |
getUser() |
String |
getXmlToString() |
void |
setId(Integer id) |
void |
setLastViewed(Date lastViewed) |
void |
setOrganizationId(Integer organizationId) |
void |
setTimesViewed(Integer timesViewed) |
void |
setUser(User user) |
getRefId, getScopeId, setRefId, setScope, setScopeByType, setScopeId
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
equals, hashCode, isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, obtainAclObjectIdentity, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
getRefId, getScopeId, setRefId, setScopeByType, setScopeId
public static final int MOST_RECENT
public static final int MOST_VIEWED
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer id)
setId
in interface DomainObjectBase
public User getUser()
getUser
in interface UserItemViewHistory
public void setUser(User user)
setUser
in interface UserItemViewHistory
public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public Integer getTimesViewed()
getTimesViewed
in interface UserItemViewHistory
public void setTimesViewed(Integer timesViewed)
setTimesViewed
in interface UserItemViewHistory
@Field(name="lastViewed") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.DateFieldBridge.class) public Date getLastViewed()
getLastViewed
in interface UserItemViewHistory
public void setLastViewed(Date lastViewed)
setLastViewed
in interface UserItemViewHistory
public String getXmlToString()
getXmlToString
in interface DomainObject
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.