@ProviderType public class EntryWrapper extends java.lang.Object 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.Object |
clone() |
int |
compareTo(Entry entry) |
boolean |
equals(java.lang.Object obj) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this entry.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getToUserId()
Returns the to user ID of this entry.
|
java.lang.String |
getToUserUuid()
Returns the to user uuid of this entry.
|
Entry |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this entry.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<Entry> |
toCacheModel() |
Entry |
toEscapedModel() |
java.lang.String |
toString() |
Entry |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public EntryWrapper(Entry entry)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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.Object clone()
clone in interface EntryModelclone in interface com.liferay.portal.kernel.model.BaseModel<Entry>clone in class java.lang.Objectpublic int compareTo(Entry entry)
compareTo in interface EntryModelcompareTo in interface java.lang.Comparable<Entry>public java.lang.String getContent()
getContent in interface EntryModelpublic long getCreateDate()
getCreateDate in interface EntryModelpublic long getEntryId()
getEntryId in interface EntryModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface EntryModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<Entry>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface EntryModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<Entry>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic long getToUserId()
getToUserId in interface EntryModelpublic java.lang.String getToUserUuid()
getToUserUuid in interface EntryModelpublic int hashCode()
hashCode in interface EntryModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface EntryModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<Entry>public boolean isEscapedModel()
isEscapedModel in interface EntryModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<Entry>public boolean isNew()
isNew in interface EntryModelisNew in interface com.liferay.portal.kernel.model.BaseModel<Entry>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface EntryModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<Entry>public 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 setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface EntryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Entry>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface EntryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Entry>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface EntryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Entry>public 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 setNew(boolean n)
setNew in interface EntryModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<Entry>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface EntryModelprimaryKey - the primary key of this entrypublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface EntryModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<Entry>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 entrypublic com.liferay.portal.kernel.model.CacheModel<Entry> toCacheModel()
toCacheModel in interface EntryModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<Entry>public Entry toEscapedModel()
toEscapedModel in interface EntryModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<Entry>public java.lang.String toString()
toString in interface EntryModeltoString in class java.lang.Objectpublic Entry toUnescapedModel()
toUnescapedModel in interface EntryModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<Entry>public java.lang.String toXmlString()
toXmlString in interface EntryModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<Entry>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Entry getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<Entry>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<Entry>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<Entry>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Entry>