public class EntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Entry> implements Entry, com.liferay.portal.kernel.model.ModelWrapper<Entry>
This class is a wrapper for Entry
.
Entry
,
Serialized FormENTRY_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() |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public EntryWrapper(Entry entry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public java.lang.String getContent()
getContent
in interface EntryModel
public long getCreateDate()
getCreateDate
in interface EntryModel
public long getEntryId()
getEntryId
in interface EntryModel
public int getFlag()
getFlag
in interface EntryModel
public long getFromUserId()
getFromUserId
in interface EntryModel
public java.lang.String getFromUserUuid()
getFromUserUuid
in interface EntryModel
public long getPrimaryKey()
getPrimaryKey
in interface EntryModel
public long getToUserId()
getToUserId
in interface EntryModel
public java.lang.String getToUserUuid()
getToUserUuid
in interface EntryModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setContent(java.lang.String content)
setContent
in interface EntryModel
content
- the content of this entrypublic void setCreateDate(long createDate)
setCreateDate
in interface EntryModel
createDate
- the create date of this entrypublic void setEntryId(long entryId)
setEntryId
in interface EntryModel
entryId
- the entry ID of this entrypublic void setFlag(int flag)
setFlag
in interface EntryModel
flag
- the flag of this entrypublic void setFromUserId(long fromUserId)
setFromUserId
in interface EntryModel
fromUserId
- the from user ID of this entrypublic void setFromUserUuid(java.lang.String fromUserUuid)
setFromUserUuid
in interface EntryModel
fromUserUuid
- the from user uuid of this entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface EntryModel
primaryKey
- the primary key of this entrypublic void setToUserId(long toUserId)
setToUserId
in interface EntryModel
toUserId
- the to user ID of this entrypublic void setToUserUuid(java.lang.String toUserUuid)
setToUserUuid
in interface EntryModel
toUserUuid
- the to user uuid of this entryprotected EntryWrapper wrap(Entry entry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Entry>