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()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
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.Object clone()
clone
in interface EntryModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
clone
in class java.lang.Object
public int compareTo(Entry entry)
compareTo
in interface EntryModel
compareTo
in interface java.lang.Comparable<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 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface EntryModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
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 java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface EntryModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public long getToUserId()
getToUserId
in interface EntryModel
public java.lang.String getToUserUuid()
getToUserUuid
in interface EntryModel
public int hashCode()
hashCode
in interface EntryModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface EntryModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public boolean isEscapedModel()
isEscapedModel
in interface EntryModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public boolean isNew()
isNew
in interface EntryModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public void persist()
Entry
interface instead.persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface EntryModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
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 setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface EntryModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface EntryModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface EntryModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public 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 setNew(boolean n)
setNew
in interface EntryModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface EntryModel
primaryKey
- the primary key of this entrypublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface EntryModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public 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 entrypublic com.liferay.portal.kernel.model.CacheModel<Entry> toCacheModel()
toCacheModel
in interface EntryModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public Entry toEscapedModel()
toEscapedModel
in interface EntryModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public java.lang.String toString()
toString
in interface EntryModel
toString
in class java.lang.Object
public Entry toUnescapedModel()
toUnescapedModel
in interface EntryModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public java.lang.String toXmlString()
toXmlString
in interface EntryModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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>