public class MBThreadWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBThread> implements MBThread, com.liferay.portal.kernel.model.ModelWrapper<MBThread>
This class is a wrapper for MBThread.
MBThread,
Serialized FormTHREAD_ID_ACCESSOR| Constructor and Description |
|---|
MBThreadWrapper(MBThread mbThread) |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.repository.model.Folder |
addAttachmentsFolder() |
MBThread |
cloneWithOriginalValues() |
long |
getAttachmentsFolderId() |
java.util.Map<java.lang.String,java.util.function.Function<MBThread,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<MBThread,java.lang.Object>> |
getAttributeSetterBiConsumers() |
MBCategory |
getCategory() |
long |
getCategoryId()
Returns the category ID of this message boards thread.
|
long |
getCompanyId()
Returns the company ID of this message boards thread.
|
long |
getContainerModelId()
Returns the container model ID of this message boards thread.
|
java.lang.String |
getContainerModelName()
Returns the container name of this message boards thread.
|
java.util.Date |
getCreateDate()
Returns the create date of this message boards thread.
|
long |
getCtCollectionId()
Returns the ct collection ID of this message boards thread.
|
long |
getGroupId()
Returns the group ID of this message boards thread.
|
long |
getLastPostByUserId()
Returns the last post by user ID of this message boards thread.
|
java.lang.String |
getLastPostByUserUuid()
Returns the last post by user uuid of this message boards thread.
|
java.util.Date |
getLastPostDate()
Returns the last post date of this message boards thread.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this message boards thread.
|
com.liferay.portal.kernel.lock.Lock |
getLock() |
int |
getMessageCount() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this message boards thread.
|
long |
getMvccVersion()
Returns the mvcc version of this message boards thread.
|
long |
getParentContainerModelId()
Returns the parent container model ID of this message boards thread.
|
long[] |
getParticipantUserIds() |
long |
getPrimaryKey()
Returns the primary key of this message boards thread.
|
double |
getPriority()
Returns the priority of this message boards thread.
|
boolean |
getQuestion()
Returns the question of this message boards thread.
|
long |
getRootMessageId()
Returns the root message ID of this message boards thread.
|
long |
getRootMessageUserId()
Returns the root message user ID of this message boards thread.
|
java.lang.String |
getRootMessageUserUuid()
Returns the root message user uuid of this message boards thread.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this message boards thread.
|
long |
getStatusByUserId()
Returns the status by user ID of this message boards thread.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this message boards thread.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this message boards thread.
|
java.util.Date |
getStatusDate()
Returns the status date of this message boards thread.
|
long |
getThreadId()
Returns the thread ID of this message boards thread.
|
java.lang.String |
getTitle()
Returns the title of this message boards thread.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this message boards thread.
|
long |
getUserId()
Returns the user ID of this message boards thread.
|
java.lang.String |
getUserName()
Returns the user name of this message boards thread.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this message boards thread.
|
java.lang.String |
getUuid()
Returns the uuid of this message boards thread.
|
long |
getViewCount() |
boolean |
hasLock(long userId) |
boolean |
isApproved()
Returns
true if this message boards thread is approved. |
boolean |
isDenied()
Returns
true if this message boards thread is denied. |
boolean |
isDraft()
Returns
true if this message boards thread is a draft. |
boolean |
isExpired()
Returns
true if this message boards thread is expired. |
boolean |
isInactive()
Returns
true if this message boards thread is inactive. |
boolean |
isIncomplete()
Returns
true if this message boards thread is incomplete. |
boolean |
isInTrash()
Returns
true if this message boards thread is in the Recycle Bin. |
boolean |
isLocked() |
boolean |
isPending()
Returns
true if this message boards thread is pending. |
boolean |
isQuestion()
Returns
true if this message boards thread is question. |
boolean |
isScheduled()
Returns
true if this message boards thread is scheduled. |
void |
persist() |
void |
setCategoryId(long categoryId)
Sets the category ID of this message boards thread.
|
void |
setCompanyId(long companyId)
Sets the company ID of this message boards thread.
|
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this message boards thread.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this message boards thread.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this message boards thread.
|
void |
setGroupId(long groupId)
Sets the group ID of this message boards thread.
|
void |
setLastPostByUserId(long lastPostByUserId)
Sets the last post by user ID of this message boards thread.
|
void |
setLastPostByUserUuid(java.lang.String lastPostByUserUuid)
Sets the last post by user uuid of this message boards thread.
|
void |
setLastPostDate(java.util.Date lastPostDate)
Sets the last post date of this message boards thread.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this message boards 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 message boards thread.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this message boards thread.
|
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this message boards thread.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this message boards thread.
|
void |
setPriority(double priority)
Sets the priority of this message boards thread.
|
void |
setQuestion(boolean question)
Sets whether this message boards thread is question.
|
void |
setRootMessageId(long rootMessageId)
Sets the root message ID of this message boards thread.
|
void |
setRootMessageUserId(long rootMessageUserId)
Sets the root message user ID of this message boards thread.
|
void |
setRootMessageUserUuid(java.lang.String rootMessageUserUuid)
Sets the root message user uuid of this message boards thread.
|
void |
setStatus(int status)
Sets the status of this message boards thread.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this message boards thread.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this message boards thread.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this message boards thread.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this message boards thread.
|
void |
setThreadId(long threadId)
Sets the thread ID of this message boards thread.
|
void |
setTitle(java.lang.String title)
Sets the title of this message boards thread.
|
void |
setUserId(long userId)
Sets the user ID of this message boards thread.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this message boards thread.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this message boards thread.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this message boards thread.
|
java.lang.String |
toXmlString() |
protected MBThreadWrapper |
wrap(MBThread mbThread) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitgetModelClass, getModelClassNameclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic MBThreadWrapper(MBThread mbThread)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MBThread>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MBThread>public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder()
throws com.liferay.portal.kernel.exception.PortalException
addAttachmentsFolder in interface MBThreadcom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread cloneWithOriginalValues()
cloneWithOriginalValues in interface MBThreadModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MBThread>public long getAttachmentsFolderId()
getAttachmentsFolderId in interface MBThreadpublic MBCategory getCategory() throws com.liferay.portal.kernel.exception.PortalException
getCategory in interface MBThreadcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCategoryId()
getCategoryId in interface MBThreadModelpublic long getCompanyId()
getCompanyId in interface MBThreadModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getContainerModelId()
getContainerModelId in interface MBThreadModelgetContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelpublic java.lang.String getContainerModelName()
getContainerModelName in interface MBThreadModelgetContainerModelName in interface com.liferay.portal.kernel.model.ContainerModelpublic java.util.Date getCreateDate()
getCreateDate in interface MBThreadModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface MBThreadModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>public long getGroupId()
getGroupId in interface MBThreadModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getLastPostByUserId()
getLastPostByUserId in interface MBThreadModelpublic java.lang.String getLastPostByUserUuid()
getLastPostByUserUuid in interface MBThreadModelpublic java.util.Date getLastPostDate()
getLastPostDate in interface MBThreadModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface MBThreadModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic com.liferay.portal.kernel.lock.Lock getLock()
public int getMessageCount()
getMessageCount in interface MBThreadpublic java.util.Date getModifiedDate()
getModifiedDate in interface MBThreadModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface MBThreadModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getParentContainerModelId()
getParentContainerModelId in interface MBThreadModelgetParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelpublic long[] getParticipantUserIds()
getParticipantUserIds in interface MBThreadpublic long getPrimaryKey()
getPrimaryKey in interface MBThreadModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>public double getPriority()
getPriority in interface MBThreadModelpublic boolean getQuestion()
getQuestion in interface MBThreadModelpublic long getRootMessageId()
getRootMessageId in interface MBThreadModelpublic long getRootMessageUserId()
getRootMessageUserId in interface MBThreadModelpublic java.lang.String getRootMessageUserUuid()
getRootMessageUserUuid in interface MBThreadModelpublic int getStatus()
getStatus in interface MBThreadModelgetStatus in interface com.liferay.portal.kernel.model.TrashedModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface MBThreadModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface MBThreadModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface MBThreadModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface MBThreadModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getThreadId()
getThreadId in interface MBThreadModelpublic java.lang.String getTitle()
getTitle in interface MBThreadModelpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface MBThreadModelgetTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModelpublic long getUserId()
getUserId in interface MBThreadModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface MBThreadModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface MBThreadModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface MBThreadModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic long getViewCount()
getViewCount in interface MBThreadpublic boolean isApproved()
true if this message boards thread is approved.isApproved in interface MBThreadModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is approved; false otherwisepublic boolean isDenied()
true if this message boards thread is denied.isDenied in interface MBThreadModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is denied; false otherwisepublic boolean isDraft()
true if this message boards thread is a draft.isDraft in interface MBThreadModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is a draft; false otherwisepublic boolean isExpired()
true if this message boards thread is expired.isExpired in interface MBThreadModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is expired; false otherwisepublic boolean isInactive()
true if this message boards thread is inactive.isInactive in interface MBThreadModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is inactive; false otherwisepublic boolean isIncomplete()
true if this message boards thread is incomplete.isIncomplete in interface MBThreadModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is incomplete; false otherwisepublic boolean isInTrash()
true if this message boards thread is in the Recycle Bin.isInTrash in interface MBThreadModelisInTrash in interface com.liferay.portal.kernel.model.TrashedModeltrue if this message boards thread is in the Recycle Bin; false otherwisepublic boolean isPending()
true if this message boards thread is pending.isPending in interface MBThreadModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is pending; false otherwisepublic boolean isQuestion()
true if this message boards thread is question.isQuestion in interface MBThreadModeltrue if this message boards thread is question; false otherwisepublic boolean isScheduled()
true if this message boards thread is scheduled.isScheduled in interface MBThreadModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this message boards thread is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCategoryId(long categoryId)
setCategoryId in interface MBThreadModelcategoryId - the category ID of this message boards threadpublic void setCompanyId(long companyId)
setCompanyId in interface MBThreadModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this message boards threadpublic void setContainerModelId(long containerModelId)
setContainerModelId in interface MBThreadModelsetContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelcontainerModelId - the container model ID of this message boards threadpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface MBThreadModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this message boards threadpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface MBThreadModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>ctCollectionId - the ct collection ID of this message boards threadpublic void setGroupId(long groupId)
setGroupId in interface MBThreadModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this message boards threadpublic void setLastPostByUserId(long lastPostByUserId)
setLastPostByUserId in interface MBThreadModellastPostByUserId - the last post by user ID of this message boards threadpublic void setLastPostByUserUuid(java.lang.String lastPostByUserUuid)
setLastPostByUserUuid in interface MBThreadModellastPostByUserUuid - the last post by user uuid of this message boards threadpublic void setLastPostDate(java.util.Date lastPostDate)
setLastPostDate in interface MBThreadModellastPostDate - the last post date of this message boards threadpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface MBThreadModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this message boards threadpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface MBThreadModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this message boards threadpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MBThreadModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this message boards threadpublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface MBThreadModelsetParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelparentContainerModelId - the parent container model ID of this message boards threadpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MBThreadModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>primaryKey - the primary key of this message boards threadpublic void setPriority(double priority)
setPriority in interface MBThreadModelpriority - the priority of this message boards threadpublic void setQuestion(boolean question)
setQuestion in interface MBThreadModelquestion - the question of this message boards threadpublic void setRootMessageId(long rootMessageId)
setRootMessageId in interface MBThreadModelrootMessageId - the root message ID of this message boards threadpublic void setRootMessageUserId(long rootMessageUserId)
setRootMessageUserId in interface MBThreadModelrootMessageUserId - the root message user ID of this message boards threadpublic void setRootMessageUserUuid(java.lang.String rootMessageUserUuid)
setRootMessageUserUuid in interface MBThreadModelrootMessageUserUuid - the root message user uuid of this message boards threadpublic void setStatus(int status)
setStatus in interface MBThreadModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this message boards threadpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface MBThreadModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this message boards threadpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface MBThreadModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this message boards threadpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface MBThreadModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this message boards threadpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface MBThreadModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this message boards threadpublic void setThreadId(long threadId)
setThreadId in interface MBThreadModelthreadId - the thread ID of this message boards threadpublic void setTitle(java.lang.String title)
setTitle in interface MBThreadModeltitle - the title of this message boards threadpublic void setUserId(long userId)
setUserId in interface MBThreadModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this message boards threadpublic void setUserName(java.lang.String userName)
setUserName in interface MBThreadModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this message boards threadpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface MBThreadModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this message boards threadpublic void setUuid(java.lang.String uuid)
setUuid in interface MBThreadModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this message boards threadpublic java.lang.String toXmlString()
toXmlString in interface MBThreadModelpublic java.util.Map<java.lang.String,java.util.function.Function<MBThread,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<MBThread>public java.util.Map<java.lang.String,java.util.function.BiConsumer<MBThread,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<MBThread>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected MBThreadWrapper wrap(MBThread mbThread)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBThread>