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 TypeMethodDescriptionlong
Returns the category ID of this message boards thread.long
Returns the company ID of this message boards thread.long
Returns 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.long
Returns the ct collection ID of this message boards thread.long
Returns the group ID of this message boards thread.long
Returns 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.long
Returns the mvcc version of this message boards thread.long
Returns the parent container model ID of this message boards thread.long
Returns the primary key of this message boards thread.double
Returns the priority of this message boards thread.boolean
Returns the question of this message boards thread.long
Returns the root message ID of this message boards thread.long
Returns the root message user ID of this message boards thread.Returns the root message user uuid of this message boards thread.int
Returns the status of this message boards thread.long
Returns 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.long
Returns the thread ID of this message boards thread.getTitle()
Returns the title of this message boards thread.long
Returns the class primary key of the trash entry for this message boards thread.long
Returns 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.boolean
Returnstrue
if this message boards thread is approved.boolean
isDenied()
Returnstrue
if this message boards thread is denied.boolean
isDraft()
Returnstrue
if this message boards thread is a draft.boolean
Returnstrue
if this message boards thread is expired.boolean
Returnstrue
if this message boards thread is inactive.boolean
Returnstrue
if this message boards thread is incomplete.boolean
Returnstrue
if this message boards thread is in the Recycle Bin.boolean
Returnstrue
if this message boards thread is pending.boolean
Returnstrue
if this message boards thread is question.boolean
Returnstrue
if this message boards thread is scheduled.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
(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
(String lastPostByUserUuid) Sets the last post by user uuid of this message boards thread.void
setLastPostDate
(Date lastPostDate) Sets the last post date of this message boards thread.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this message boards thread.void
setModifiedDate
(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
(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
(String statusByUserName) Sets the status by user name of this message boards thread.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this message boards thread.void
setStatusDate
(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
Sets the title of this message boards thread.void
setUserId
(long userId) Sets the user ID of this message boards thread.void
setUserName
(String userName) Sets the user name of this message boards thread.void
setUserUuid
(String userUuid) Sets the user uuid of this message boards thread.void
Sets the uuid of this message boards thread.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ContainerModel
getModelClass, getModelClassName
Methods 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:
getPrimaryKey
in 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:
setPrimaryKey
in 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:
getMvccVersion
in 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:
setMvccVersion
in 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:
getCtCollectionId
in 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:
setCtCollectionId
in 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:
getUuid
in 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:
setUuid
in 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:
getGroupId
in 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:
setGroupId
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in 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:
getUserId
in 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:
setUserId
in 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:
getUserUuid
in 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:
setUserUuid
in 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:
getUserName
in 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:
setUserName
in 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:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in 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:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in 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:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in 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()Returnstrue
if this message boards thread is question.- Returns:
true
if this message boards thread is question;false
otherwise
-
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:
getLastPublishDate
in 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:
setLastPublishDate
in 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:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in 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:
setStatus
in 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:
getStatusByUserId
in 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:
setStatusByUserId
in 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:
getStatusByUserUuid
in 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:
setStatusByUserUuid
in 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:
getStatusByUserName
in 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:
setStatusByUserName
in 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:
getStatusDate
in 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:
setStatusDate
in 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:
getTrashEntryClassPK
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
- the class primary key of the trash entry for this message boards thread
-
isInTrash
boolean isInTrash()Returnstrue
if this message boards thread is in the Recycle Bin.- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
true
if this message boards thread is in the Recycle Bin;false
otherwise
-
isApproved
boolean isApproved()Returnstrue
if this message boards thread is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this message boards thread is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this message boards thread is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this message boards thread is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this message boards thread is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this message boards thread is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this message boards thread is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this message boards thread is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this message boards thread is scheduled;false
otherwise
-
getContainerModelId
long getContainerModelId()Returns the container model ID of this message boards thread.- Specified by:
getContainerModelId
in 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:
setContainerModelId
in 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:
getContainerModelName
in 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:
getParentContainerModelId
in 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:
setParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Parameters:
parentContainerModelId
- the parent container model ID of this message boards thread
-
cloneWithOriginalValues
MBThread cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<MBThread>
-
toXmlString
-