public class EntryWrapper extends BaseModelWrapper<Entry> implements Entry, ModelWrapper<Entry>
This class is a wrapper for Entry.
Entry,
Serialized FormmodelENTRY_ID_ACCESSOR| Constructor and Description |
|---|
EntryWrapper(Entry entry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComments()
Returns the comments of this entry.
|
long |
getCompanyId()
Returns the company ID of this entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this entry.
|
java.lang.String |
getEmailAddress()
Returns the email address of this entry.
|
long |
getEntryId()
Returns the entry ID of this entry.
|
java.lang.String |
getFullName()
Returns the full name of this entry.
|
long |
getGroupId()
Returns the group ID of this entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this entry.
|
long |
getPrimaryKey()
Returns the primary key of this entry.
|
long |
getUserId()
Returns the user ID of this entry.
|
java.lang.String |
getUserName()
Returns the user name of this entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this entry.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setComments(java.lang.String comments)
Sets the comments of this entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this entry.
|
void |
setEmailAddress(java.lang.String emailAddress)
Sets the email address of this entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this entry.
|
void |
setFullName(java.lang.String fullName)
Sets the full name of this entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this entry.
|
void |
setUserId(long userId)
Sets the user ID of this entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this entry.
|
protected EntryWrapper |
wrap(Entry entry) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic EntryWrapper(Entry entry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<Entry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<Entry>public java.lang.String getComments()
getComments in interface EntryModelpublic long getCompanyId()
getCompanyId in interface EntryModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface EntryModelgetCreateDate in interface AuditedModelpublic java.lang.String getEmailAddress()
getEmailAddress in interface EntryModelpublic long getEntryId()
getEntryId in interface EntryModelpublic java.lang.String getFullName()
getFullName in interface EntryModelpublic long getGroupId()
getGroupId in interface EntryModelgetGroupId in interface GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface EntryModelgetModifiedDate in interface AuditedModelpublic long getPrimaryKey()
getPrimaryKey in interface EntryModelpublic long getUserId()
getUserId in interface EntryModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface EntryModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface EntryModelgetUserUuid in interface AuditedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setComments(java.lang.String comments)
setComments in interface EntryModelcomments - the comments of this entrypublic void setCompanyId(long companyId)
setCompanyId in interface EntryModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface EntryModelsetCreateDate in interface AuditedModelcreateDate - the create date of this entrypublic void setEmailAddress(java.lang.String emailAddress)
setEmailAddress in interface EntryModelemailAddress - the email address of this entrypublic void setEntryId(long entryId)
setEntryId in interface EntryModelentryId - the entry ID of this entrypublic void setFullName(java.lang.String fullName)
setFullName in interface EntryModelfullName - the full name of this entrypublic void setGroupId(long groupId)
setGroupId in interface EntryModelsetGroupId in interface GroupedModelgroupId - the group ID of this entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface EntryModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface EntryModelprimaryKey - the primary key of this entrypublic void setUserId(long userId)
setUserId in interface EntryModelsetUserId in interface AuditedModeluserId - the user ID of this entrypublic void setUserName(java.lang.String userName)
setUserName in interface EntryModelsetUserName in interface AuditedModeluserName - the user name of this entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface EntryModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this entryprotected EntryWrapper wrap(Entry entry)
wrap in class BaseModelWrapper<Entry>