Package com.liferay.message.boards.model
Interface MBThreadModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<MBThread>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<MBThread>,com.liferay.portal.kernel.model.ContainerModel,com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.TrashedModel,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
MBThread
- All Known Implementing Classes:
MBThreadWrapper
@ProviderType
public interface MBThreadModel
extends com.liferay.portal.kernel.model.BaseModel<MBThread>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the MBThread service. Represents a row in the "MBThread" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.message.boards.model.impl.MBThreadModelImpl 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.message.boards.model.impl.MBThreadImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the category ID of this message boards thread.longReturns the company ID of this message boards thread.longReturns the container model ID of this message boards thread.Returns the container name of this message boards thread.Returns the create date of this message boards thread.longReturns the ct collection ID of this message boards thread.longReturns the group ID of this message boards thread.longReturns the last post by user ID of this message boards thread.Returns the last post by user uuid of this message boards thread.Returns the last post date of this message boards thread.Returns the last publish date of this message boards thread.Returns the modified date of this message boards thread.longReturns the mvcc version of this message boards thread.longReturns the parent container model ID of this message boards thread.longReturns the primary key of this message boards thread.doubleReturns the priority of this message boards thread.booleanReturns the question of this message boards thread.longReturns the root message ID of this message boards thread.longReturns the root message user ID of this message boards thread.Returns the root message user uuid of this message boards thread.intReturns the status of this message boards thread.longReturns the status by user ID of this message boards thread.Returns the status by user name of this message boards thread.Returns the status by user uuid of this message boards thread.Returns the status date of this message boards thread.longReturns the thread ID of this message boards thread.getTitle()Returns the title of this message boards thread.longReturns the class primary key of the trash entry for this message boards thread.longReturns the user ID of this message boards thread.Returns the user name of this message boards thread.Returns the user uuid of this message boards thread.getUuid()Returns the uuid of this message boards thread.booleanReturnstrueif this message boards thread is approved.booleanisDenied()Returnstrueif this message boards thread is denied.booleanisDraft()Returnstrueif this message boards thread is a draft.booleanReturnstrueif this message boards thread is expired.booleanReturnstrueif this message boards thread is inactive.booleanReturnstrueif this message boards thread is incomplete.booleanReturnstrueif this message boards thread is in the Recycle Bin.booleanReturnstrueif this message boards thread is pending.booleanReturnstrueif this message boards thread is question.booleanReturnstrueif this message boards thread is scheduled.voidsetCategoryId(long categoryId) Sets the category ID of this message boards thread.voidsetCompanyId(long companyId) Sets the company ID of this message boards thread.voidsetContainerModelId(long containerModelId) Sets the container model ID of this message boards thread.voidsetCreateDate(Date createDate) Sets the create date of this message boards thread.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this message boards thread.voidsetGroupId(long groupId) Sets the group ID of this message boards thread.voidsetLastPostByUserId(long lastPostByUserId) Sets the last post by user ID of this message boards thread.voidsetLastPostByUserUuid(String lastPostByUserUuid) Sets the last post by user uuid of this message boards thread.voidsetLastPostDate(Date lastPostDate) Sets the last post date of this message boards thread.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this message boards thread.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this message boards thread.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this message boards thread.voidsetParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this message boards thread.voidsetPrimaryKey(long primaryKey) Sets the primary key of this message boards thread.voidsetPriority(double priority) Sets the priority of this message boards thread.voidsetQuestion(boolean question) Sets whether this message boards thread is question.voidsetRootMessageId(long rootMessageId) Sets the root message ID of this message boards thread.voidsetRootMessageUserId(long rootMessageUserId) Sets the root message user ID of this message boards thread.voidsetRootMessageUserUuid(String rootMessageUserUuid) Sets the root message user uuid of this message boards thread.voidsetStatus(int status) Sets the status of this message boards thread.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this message boards thread.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this message boards thread.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this message boards thread.voidsetStatusDate(Date statusDate) Sets the status date of this message boards thread.voidsetThreadId(long threadId) Sets the thread ID of this message boards thread.voidSets the title of this message boards thread.voidsetUserId(long userId) Sets the user ID of this message boards thread.voidsetUserName(String userName) Sets the user name of this message boards thread.voidsetUserUuid(String userUuid) Sets the user uuid of this message boards thread.voidSets the uuid of this message boards thread.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ContainerModel
getModelClass, getModelClassNameMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this message boards thread.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>- Returns:
- the primary key of this message boards thread
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this message boards thread.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>- Parameters:
primaryKey- the primary key of this message boards thread
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this message boards thread.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this message boards thread
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this message boards thread.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this message boards thread
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this message boards thread.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>- Returns:
- the ct collection ID of this message boards thread
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this message boards thread.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>- Parameters:
ctCollectionId- the ct collection ID of this message boards thread
-
getUuid
Returns the uuid of this message boards thread.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this message boards thread
-
setUuid
Sets the uuid of this message boards thread.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this message boards thread
-
getThreadId
long getThreadId()Returns the thread ID of this message boards thread.- Returns:
- the thread ID of this message boards thread
-
setThreadId
void setThreadId(long threadId) Sets the thread ID of this message boards thread.- Parameters:
threadId- the thread ID of this message boards thread
-
getGroupId
long getGroupId()Returns the group ID of this message boards thread.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this message boards thread
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this message boards thread.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this message boards thread
-
getCompanyId
long getCompanyId()Returns the company ID of this message boards thread.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this message boards thread
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this message boards thread.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this message boards thread
-
getUserId
long getUserId()Returns the user ID of this message boards thread.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this message boards thread
-
setUserId
void setUserId(long userId) Sets the user ID of this message boards thread.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this message boards thread
-
getUserUuid
String getUserUuid()Returns the user uuid of this message boards thread.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this message boards thread
-
setUserUuid
Sets the user uuid of this message boards thread.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this message boards thread
-
getUserName
Returns the user name of this message boards thread.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this message boards thread
-
setUserName
Sets the user name of this message boards thread.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this message boards thread
-
getCreateDate
Date getCreateDate()Returns the create date of this message boards thread.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this message boards thread
-
setCreateDate
Sets the create date of this message boards thread.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this message boards thread
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this message boards thread.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this message boards thread
-
setModifiedDate
Sets the modified date of this message boards thread.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this message boards thread
-
getCategoryId
long getCategoryId()Returns the category ID of this message boards thread.- Returns:
- the category ID of this message boards thread
-
setCategoryId
void setCategoryId(long categoryId) Sets the category ID of this message boards thread.- Parameters:
categoryId- the category ID of this message boards thread
-
getRootMessageId
long getRootMessageId()Returns the root message ID of this message boards thread.- Returns:
- the root message ID of this message boards thread
-
setRootMessageId
void setRootMessageId(long rootMessageId) Sets the root message ID of this message boards thread.- Parameters:
rootMessageId- the root message ID of this message boards thread
-
getRootMessageUserId
long getRootMessageUserId()Returns the root message user ID of this message boards thread.- Returns:
- the root message user ID of this message boards thread
-
setRootMessageUserId
void setRootMessageUserId(long rootMessageUserId) Sets the root message user ID of this message boards thread.- Parameters:
rootMessageUserId- the root message user ID of this message boards thread
-
getRootMessageUserUuid
String getRootMessageUserUuid()Returns the root message user uuid of this message boards thread.- Returns:
- the root message user uuid of this message boards thread
-
setRootMessageUserUuid
Sets the root message user uuid of this message boards thread.- Parameters:
rootMessageUserUuid- the root message user uuid of this message boards thread
-
getTitle
Returns the title of this message boards thread.- Returns:
- the title of this message boards thread
-
setTitle
Sets the title of this message boards thread.- Parameters:
title- the title of this message boards thread
-
getLastPostByUserId
long getLastPostByUserId()Returns the last post by user ID of this message boards thread.- Returns:
- the last post by user ID of this message boards thread
-
setLastPostByUserId
void setLastPostByUserId(long lastPostByUserId) Sets the last post by user ID of this message boards thread.- Parameters:
lastPostByUserId- the last post by user ID of this message boards thread
-
getLastPostByUserUuid
String getLastPostByUserUuid()Returns the last post by user uuid of this message boards thread.- Returns:
- the last post by user uuid of this message boards thread
-
setLastPostByUserUuid
Sets the last post by user uuid of this message boards thread.- Parameters:
lastPostByUserUuid- the last post by user uuid of this message boards thread
-
getLastPostDate
Date getLastPostDate()Returns the last post date of this message boards thread.- Returns:
- the last post date of this message boards thread
-
setLastPostDate
Sets the last post date of this message boards thread.- Parameters:
lastPostDate- the last post date of this message boards thread
-
getPriority
double getPriority()Returns the priority of this message boards thread.- Returns:
- the priority of this message boards thread
-
setPriority
void setPriority(double priority) Sets the priority of this message boards thread.- Parameters:
priority- the priority of this message boards thread
-
getQuestion
boolean getQuestion()Returns the question of this message boards thread.- Returns:
- the question of this message boards thread
-
isQuestion
boolean isQuestion()Returnstrueif this message boards thread is question.- Returns:
trueif this message boards thread is question;falseotherwise
-
setQuestion
void setQuestion(boolean question) Sets whether this message boards thread is question.- Parameters:
question- the question of this message boards thread
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this message boards thread.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this message boards thread
-
setLastPublishDate
Sets the last publish date of this message boards thread.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this message boards thread
-
getStatus
int getStatus()Returns the status of this message boards thread.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.TrashedModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this message boards thread
-
setStatus
void setStatus(int status) Sets the status of this message boards thread.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this message boards thread
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this message boards thread.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this message boards thread
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this message boards thread.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this message boards thread
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this message boards thread.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this message boards thread
-
setStatusByUserUuid
Sets the status by user uuid of this message boards thread.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this message boards thread
-
getStatusByUserName
Returns the status by user name of this message boards thread.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this message boards thread
-
setStatusByUserName
Sets the status by user name of this message boards thread.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this message boards thread
-
getStatusDate
Date getStatusDate()Returns the status date of this message boards thread.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this message boards thread
-
setStatusDate
Sets the status date of this message boards thread.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this message boards thread
-
getTrashEntryClassPK
long getTrashEntryClassPK()Returns the class primary key of the trash entry for this message boards thread.- Specified by:
getTrashEntryClassPKin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
- the class primary key of the trash entry for this message boards thread
-
isInTrash
boolean isInTrash()Returnstrueif this message boards thread is in the Recycle Bin.- Specified by:
isInTrashin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
trueif this message boards thread is in the Recycle Bin;falseotherwise
-
isApproved
boolean isApproved()Returnstrueif this message boards thread is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this message boards thread is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this message boards thread is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this message boards thread is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this message boards thread is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this message boards thread is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this message boards thread is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this message boards thread is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards thread is scheduled;falseotherwise
-
getContainerModelId
long getContainerModelId()Returns the container model ID of this message boards thread.- Specified by:
getContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the container model ID of this message boards thread
-
setContainerModelId
void setContainerModelId(long containerModelId) Sets the container model ID of this message boards thread.- Specified by:
setContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Parameters:
containerModelId- the container model ID of this message boards thread
-
getContainerModelName
String getContainerModelName()Returns the container name of this message boards thread.- Specified by:
getContainerModelNamein interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the container name of this message boards thread
-
getParentContainerModelId
long getParentContainerModelId()Returns the parent container model ID of this message boards thread.- Specified by:
getParentContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the parent container model ID of this message boards thread
-
setParentContainerModelId
void setParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this message boards thread.- Specified by:
setParentContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Parameters:
parentContainerModelId- the parent container model ID of this message boards thread
-
cloneWithOriginalValues
MBThread cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<MBThread>
-
toXmlString
-