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 |
getContent()
Returns the content of this entry.
|
long |
getCreateDate()
Returns the create date of this entry.
|
long |
getEntryId()
Returns the entry ID of this entry.
|
int |
getFlag()
Returns the flag of this entry.
|
long |
getFromUserId()
Returns the from user ID of this entry.
|
java.lang.String |
getFromUserUuid()
Returns the from user uuid of this entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getPrimaryKey()
Returns the primary key of this entry.
|
long |
getToUserId()
Returns the to user ID of this entry.
|
java.lang.String |
getToUserUuid()
Returns the to user uuid of this entry.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setContent(java.lang.String content)
Sets the content of this entry.
|
void |
setCreateDate(long createDate)
Sets the create date of this entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this entry.
|
void |
setFlag(int flag)
Sets the flag of this entry.
|
void |
setFromUserId(long fromUserId)
Sets the from user ID of this entry.
|
void |
setFromUserUuid(java.lang.String fromUserUuid)
Sets the from user uuid of this entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this entry.
|
void |
setToUserId(long toUserId)
Sets the to user ID of this entry.
|
void |
setToUserUuid(java.lang.String toUserUuid)
Sets the to 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 getContent()
getContent in interface EntryModelpublic long getCreateDate()
getCreateDate in interface EntryModelpublic long getEntryId()
getEntryId in interface EntryModelpublic int getFlag()
getFlag in interface EntryModelpublic long getFromUserId()
getFromUserId in interface EntryModelpublic java.lang.String getFromUserUuid()
getFromUserUuid in interface EntryModelpublic long getPrimaryKey()
getPrimaryKey in interface EntryModelpublic long getToUserId()
getToUserId in interface EntryModelpublic java.lang.String getToUserUuid()
getToUserUuid in interface EntryModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setContent(java.lang.String content)
setContent in interface EntryModelcontent - the content of this entrypublic void setCreateDate(long createDate)
setCreateDate in interface EntryModelcreateDate - the create date of this entrypublic void setEntryId(long entryId)
setEntryId in interface EntryModelentryId - the entry ID of this entrypublic void setFlag(int flag)
setFlag in interface EntryModelflag - the flag of this entrypublic void setFromUserId(long fromUserId)
setFromUserId in interface EntryModelfromUserId - the from user ID of this entrypublic void setFromUserUuid(java.lang.String fromUserUuid)
setFromUserUuid in interface EntryModelfromUserUuid - the from user uuid of this entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface EntryModelprimaryKey - the primary key of this entrypublic void setToUserId(long toUserId)
setToUserId in interface EntryModeltoUserId - the to user ID of this entrypublic void setToUserUuid(java.lang.String toUserUuid)
setToUserUuid in interface EntryModeltoUserUuid - the to user uuid of this entryprotected EntryWrapper wrap(Entry entry)
wrap in class BaseModelWrapper<Entry>