@ProviderType public class UserThreadWrapper extends java.lang.Object implements UserThread, com.liferay.portal.kernel.model.ModelWrapper<UserThread>
This class is a wrapper for UserThread.
UserThread,
Serialized FormUSER_THREAD_ID_ACCESSOR| Constructor and Description |
|---|
UserThreadWrapper(UserThread userThread) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(UserThread userThread) |
boolean |
equals(java.lang.Object obj) |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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.
|
UserThread |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isDeleted()
Returns
true if this user thread is deleted. |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
boolean |
isRead()
Returns
true if this user thread is read. |
void |
persist() |
void |
resetOriginalValues() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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() |
public UserThreadWrapper(UserThread userThread)
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<UserThread>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>public UserThread toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>toEscapedModel in interface UserThreadModelpublic UserThread toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>toUnescapedModel in interface UserThreadModelpublic boolean getDeleted()
getDeleted in interface UserThreadModelpublic boolean getRead()
getRead in interface UserThreadModelpublic boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>isCachedModel in interface UserThreadModelpublic boolean isDeleted()
true if this user thread is deleted.isDeleted in interface UserThreadModeltrue if this user thread is deleted; false otherwisepublic boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>isEscapedModel in interface UserThreadModelpublic boolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<UserThread>isNew in interface UserThreadModelpublic boolean isRead()
true if this user thread is read.isRead in interface UserThreadModeltrue if this user thread is read; false otherwisepublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<UserThread>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface UserThreadModelpublic com.liferay.portal.kernel.model.CacheModel<UserThread> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>toCacheModel in interface UserThreadModelpublic int compareTo(UserThread userThread)
compareTo in interface UserThreadModelcompareTo in interface java.lang.Comparable<UserThread>public int hashCode()
hashCode in interface UserThreadModelhashCode in class java.lang.Objectpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<UserThread>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface UserThreadModelpublic java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<UserThread>clone in interface UserThreadModelclone in class java.lang.Objectpublic java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface UserThreadModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface UserThreadModelpublic java.lang.String toString()
toString in interface UserThreadModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<UserThread>toXmlString in interface UserThreadModelpublic java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface UserThreadModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface UserThreadModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface UserThreadModelpublic long getMbThreadId()
getMbThreadId in interface UserThreadModelpublic long getPrimaryKey()
getPrimaryKey in interface UserThreadModelpublic long getTopMBMessageId()
getTopMBMessageId in interface UserThreadModelpublic long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface UserThreadModelpublic long getUserThreadId()
getUserThreadId in interface UserThreadModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setCachedModel in interface UserThreadModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface UserThreadModelcompanyId - the company ID of this user threadpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface UserThreadModelcreateDate - the create date of this user threadpublic void setDeleted(boolean deleted)
setDeleted in interface UserThreadModeldeleted - the deleted of this user threadpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setExpandoBridgeAttributes in interface UserThreadModelpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setExpandoBridgeAttributes in interface UserThreadModelpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setExpandoBridgeAttributes in interface UserThreadModelpublic void setMbThreadId(long mbThreadId)
setMbThreadId in interface UserThreadModelmbThreadId - the mb thread ID of this user threadpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface UserThreadModelmodifiedDate - the modified date of this user threadpublic void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setNew in interface UserThreadModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserThreadModelprimaryKey - the primary key of this user threadpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<UserThread>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface UserThreadModelpublic void setRead(boolean read)
setRead in interface UserThreadModelread - the read of this user threadpublic void setTopMBMessageId(long topMBMessageId)
setTopMBMessageId in interface UserThreadModeltopMBMessageId - the top m b message ID of this user threadpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface UserThreadModeluserId - the user ID of this user threadpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface UserThreadModeluserName - the user name of this user threadpublic void setUserThreadId(long userThreadId)
setUserThreadId in interface UserThreadModeluserThreadId - the user thread ID of this user threadpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface UserThreadModeluserUuid - the user uuid of this user threadpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic UserThread getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<UserThread>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<UserThread>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<UserThread>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<UserThread>