Package com.liferay.message.boards.model
Interface MBDiscussionModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<MBDiscussion>
,com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
,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.TypedModel
- All Known Subinterfaces:
MBDiscussion
- All Known Implementing Classes:
MBDiscussionWrapper
@ProviderType
public interface MBDiscussionModel
extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<MBDiscussion>, com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
The base model interface for the MBDiscussion service. Represents a row in the "MBDiscussion" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.message.boards.model.impl.MBDiscussionModelImpl
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.MBDiscussionImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this message boards discussion.long
Returns the class name ID of this message boards discussion.long
Returns the class pk of this message boards discussion.long
Returns the company ID of this message boards discussion.Returns the create date of this message boards discussion.long
Returns the ct collection ID of this message boards discussion.long
Returns the discussion ID of this message boards discussion.long
Returns the group ID of this message boards discussion.Returns the last publish date of this message boards discussion.Returns the modified date of this message boards discussion.long
Returns the mvcc version of this message boards discussion.long
Returns the primary key of this message boards discussion.long
Returns the thread ID of this message boards discussion.long
Returns the user ID of this message boards discussion.Returns the user name of this message boards discussion.Returns the user uuid of this message boards discussion.getUuid()
Returns the uuid of this message boards discussion.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this message boards discussion.void
setClassPK
(long classPK) Sets the class pk of this message boards discussion.void
setCompanyId
(long companyId) Sets the company ID of this message boards discussion.void
setCreateDate
(Date createDate) Sets the create date of this message boards discussion.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this message boards discussion.void
setDiscussionId
(long discussionId) Sets the discussion ID of this message boards discussion.void
setGroupId
(long groupId) Sets the group ID of this message boards discussion.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this message boards discussion.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this message boards discussion.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this message boards discussion.void
setPrimaryKey
(long primaryKey) Sets the primary key of this message boards discussion.void
setThreadId
(long threadId) Sets the thread ID of this message boards discussion.void
setUserId
(long userId) Sets the user ID of this message boards discussion.void
setUserName
(String userName) Sets the user name of this message boards discussion.void
setUserUuid
(String userUuid) Sets the user uuid of this message boards discussion.void
Sets the uuid of this message boards discussion.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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this message boards discussion.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
- Returns:
- the primary key of this message boards discussion
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this message boards discussion.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
- Parameters:
primaryKey
- the primary key of this message boards discussion
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this message boards discussion.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this message boards discussion
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this message boards discussion.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this message boards discussion
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this message boards discussion.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
- Returns:
- the ct collection ID of this message boards discussion
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this message boards discussion.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
- Parameters:
ctCollectionId
- the ct collection ID of this message boards discussion
-
getUuid
Returns the uuid of this message boards discussion.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this message boards discussion
-
setUuid
Sets the uuid of this message boards discussion.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this message boards discussion
-
getDiscussionId
long getDiscussionId()Returns the discussion ID of this message boards discussion.- Returns:
- the discussion ID of this message boards discussion
-
setDiscussionId
void setDiscussionId(long discussionId) Sets the discussion ID of this message boards discussion.- Parameters:
discussionId
- the discussion ID of this message boards discussion
-
getGroupId
long getGroupId()Returns the group ID of this message boards discussion.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this message boards discussion
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this message boards discussion.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this message boards discussion
-
getCompanyId
long getCompanyId()Returns the company ID of this message boards discussion.- 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 discussion
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this message boards discussion.- 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 discussion
-
getUserId
long getUserId()Returns the user ID of this message boards discussion.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this message boards discussion
-
setUserId
void setUserId(long userId) Sets the user ID of this message boards discussion.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this message boards discussion
-
getUserUuid
String getUserUuid()Returns the user uuid of this message boards discussion.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this message boards discussion
-
setUserUuid
Sets the user uuid of this message boards discussion.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this message boards discussion
-
getUserName
Returns the user name of this message boards discussion.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this message boards discussion
-
setUserName
Sets the user name of this message boards discussion.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this message boards discussion
-
getCreateDate
Date getCreateDate()Returns the create date of this message boards discussion.- 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 discussion
-
setCreateDate
Sets the create date of this message boards discussion.- 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 discussion
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this message boards discussion.- 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 discussion
-
setModifiedDate
Sets the modified date of this message boards discussion.- 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 discussion
-
getClassName
String getClassName()Returns the fully qualified class name of this message boards discussion.- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this message boards discussion
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this message boards discussion.- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this message boards discussion
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this message boards discussion.- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this message boards discussion
-
getClassPK
long getClassPK()Returns the class pk of this message boards discussion.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Returns:
- the class pk of this message boards discussion
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this message boards discussion.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Parameters:
classPK
- the class pk of this message boards discussion
-
getThreadId
long getThreadId()Returns the thread ID of this message boards discussion.- Returns:
- the thread ID of this message boards discussion
-
setThreadId
void setThreadId(long threadId) Sets the thread ID of this message boards discussion.- Parameters:
threadId
- the thread ID of this message boards discussion
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this message boards discussion.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this message boards discussion
-
setLastPublishDate
Sets the last publish date of this message boards discussion.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this message boards discussion
-
cloneWithOriginalValues
MBDiscussion cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<MBDiscussion>
-
toXmlString
-