@ProviderType public interface EntryModel extends com.liferay.portal.kernel.model.BaseModel<Entry>
This interface and its corresponding implementation com.liferay.chat.model.impl.EntryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.chat.model.impl.EntryImpl
.
Entry
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Entry entry) |
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.
|
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
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 |
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() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this entrylong getEntryId()
void setEntryId(long entryId)
entryId
- the entry ID of this entrylong getCreateDate()
void setCreateDate(long createDate)
createDate
- the create date of this entrylong getFromUserId()
void setFromUserId(long fromUserId)
fromUserId
- the from user ID of this entryjava.lang.String getFromUserUuid()
void setFromUserUuid(java.lang.String fromUserUuid)
fromUserUuid
- the from user uuid of this entrylong getToUserId()
void setToUserId(long toUserId)
toUserId
- the to user ID of this entryjava.lang.String getToUserUuid()
void setToUserUuid(java.lang.String toUserUuid)
toUserUuid
- the to user uuid of this entry@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content
- the content of this entryint getFlag()
void setFlag(int flag)
flag
- the flag of this entryboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
int compareTo(Entry entry)
compareTo
in interface java.lang.Comparable<Entry>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<Entry> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
Entry toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
Entry toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Entry>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Entry>