@ProviderType public interface UserThreadModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<UserThread>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.social.privatemessaging.model.impl.UserThreadModelImpl 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.social.privatemessaging.model.impl.UserThreadImpl.
UserThread,
com.liferay.social.privatemessaging.model.impl.UserThreadImpl,
com.liferay.social.privatemessaging.model.impl.UserThreadModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(UserThread userThread) |
long |
getCompanyId()
Returns the company ID of this user thread.
|
java.util.Date |
getCreateDate()
Returns the create date of this user thread.
|
boolean |
getDeleted()
Returns the deleted of this user thread.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getMbThreadId()
Returns the mb thread ID of this user thread.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this user thread.
|
long |
getPrimaryKey()
Returns the primary key of this user thread.
|
java.io.Serializable |
getPrimaryKeyObj() |
boolean |
getRead()
Returns the read of this user thread.
|
long |
getTopMBMessageId()
Returns the top m b message ID of this user thread.
|
long |
getUserId()
Returns the user ID of this user thread.
|
java.lang.String |
getUserName()
Returns the user name of this user thread.
|
long |
getUserThreadId()
Returns the user thread ID of this user thread.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this user thread.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isDeleted()
Returns
true if this user thread is deleted. |
boolean |
isEscapedModel() |
boolean |
isNew() |
boolean |
isRead()
Returns
true if this user thread is read. |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this user thread.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this user thread.
|
void |
setDeleted(boolean deleted)
Sets whether this user thread is deleted.
|
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 |
setMbThreadId(long mbThreadId)
Sets the mb thread ID of this user thread.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this user thread.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user thread.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRead(boolean read)
Sets whether this user thread is read.
|
void |
setTopMBMessageId(long topMBMessageId)
Sets the top m b message ID of this user thread.
|
void |
setUserId(long userId)
Sets the user ID of this user thread.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this user thread.
|
void |
setUserThreadId(long userThreadId)
Sets the user thread ID of this user thread.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this user thread.
|
com.liferay.portal.kernel.model.CacheModel<UserThread> |
toCacheModel() |
UserThread |
toEscapedModel() |
java.lang.String |
toString() |
UserThread |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this user threadlong getUserThreadId()
void setUserThreadId(long userThreadId)
userThreadId - the user thread ID of this user threadlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this user threadlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this user threadjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this user thread@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this user threadjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this user threadjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this user threadlong getMbThreadId()
void setMbThreadId(long mbThreadId)
mbThreadId - the mb thread ID of this user threadlong getTopMBMessageId()
void setTopMBMessageId(long topMBMessageId)
topMBMessageId - the top m b message ID of this user threadboolean getRead()
boolean isRead()
true if this user thread is read.true if this user thread is read; false otherwisevoid setRead(boolean read)
read - the read of this user threadboolean getDeleted()
boolean isDeleted()
true if this user thread is deleted.true if this user thread is deleted; false otherwisevoid setDeleted(boolean deleted)
deleted - the deleted of this user threadboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<UserThread>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<UserThread>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<UserThread>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<UserThread>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<UserThread>int compareTo(UserThread userThread)
compareTo in interface java.lang.Comparable<UserThread>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<UserThread> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>UserThread toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>UserThread toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<UserThread>