Package com.liferay.message.boards.model
Interface MBCategoryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<MBCategory>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<MBCategory>,com.liferay.portal.kernel.model.ContainerModel,com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,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:
MBCategory
- All Known Implementing Classes:
MBCategoryWrapper
@ProviderType
public interface MBCategoryModel
extends com.liferay.portal.kernel.model.BaseModel<MBCategory>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, 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 MBCategory service. Represents a row in the "MBCategory" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.message.boards.model.impl.MBCategoryModelImpl 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.MBCategoryImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the category ID of this message boards category.longReturns the company ID of this message boards category.longReturns the container model ID of this message boards category.Returns the container name of this message boards category.Returns the create date of this message boards category.longReturns the ct collection ID of this message boards category.Returns the description of this message boards category.Returns the display style of this message boards category.Returns the external reference code of this message boards category.Returns the friendly url of this message boards category.longReturns the group ID of this message boards category.Returns the last publish date of this message boards category.Returns the modified date of this message boards category.longReturns the mvcc version of this message boards category.getName()Returns the name of this message boards category.longReturns the parent category ID of this message boards category.longReturns the parent container model ID of this message boards category.longReturns the primary key of this message boards category.intReturns the status of this message boards category.longReturns the status by user ID of this message boards category.Returns the status by user name of this message boards category.Returns the status by user uuid of this message boards category.Returns the status date of this message boards category.longReturns the class primary key of the trash entry for this message boards category.longReturns the user ID of this message boards category.Returns the user name of this message boards category.Returns the user uuid of this message boards category.getUuid()Returns the uuid of this message boards category.booleanReturnstrueif this message boards category is approved.booleanisDenied()Returnstrueif this message boards category is denied.booleanisDraft()Returnstrueif this message boards category is a draft.booleanReturnstrueif this message boards category is expired.booleanReturnstrueif this message boards category is inactive.booleanReturnstrueif this message boards category is incomplete.booleanReturnstrueif this message boards category is in the Recycle Bin.booleanReturnstrueif this message boards category is pending.booleanReturnstrueif this message boards category is scheduled.voidsetCategoryId(long categoryId) Sets the category ID of this message boards category.voidsetCompanyId(long companyId) Sets the company ID of this message boards category.voidsetContainerModelId(long containerModelId) Sets the container model ID of this message boards category.voidsetCreateDate(Date createDate) Sets the create date of this message boards category.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this message boards category.voidsetDescription(String description) Sets the description of this message boards category.voidsetDisplayStyle(String displayStyle) Sets the display style of this message boards category.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this message boards category.voidsetFriendlyURL(String friendlyURL) Sets the friendly url of this message boards category.voidsetGroupId(long groupId) Sets the group ID of this message boards category.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this message boards category.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this message boards category.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this message boards category.voidSets the name of this message boards category.voidsetParentCategoryId(long parentCategoryId) Sets the parent category ID of this message boards category.voidsetParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this message boards category.voidsetPrimaryKey(long primaryKey) Sets the primary key of this message boards category.voidsetStatus(int status) Sets the status of this message boards category.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this message boards category.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this message boards category.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this message boards category.voidsetStatusDate(Date statusDate) Sets the status date of this message boards category.voidsetUserId(long userId) Sets the user ID of this message boards category.voidsetUserName(String userName) Sets the user name of this message boards category.voidsetUserUuid(String userUuid) Sets the user uuid of this message boards category.voidSets the uuid of this message boards category.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 category.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>- Returns:
- the primary key of this message boards category
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this message boards category.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>- Parameters:
primaryKey- the primary key of this message boards category
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this message boards category.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this message boards category
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this message boards category.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this message boards category
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this message boards category.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>- Returns:
- the ct collection ID of this message boards category
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this message boards category.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>- Parameters:
ctCollectionId- the ct collection ID of this message boards category
-
getUuid
Returns the uuid of this message boards category.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this message boards category
-
setUuid
Sets the uuid of this message boards category.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this message boards category
-
getExternalReferenceCode
Returns the external reference code of this message boards category.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this message boards category
-
setExternalReferenceCode
Sets the external reference code of this message boards category.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this message boards category
-
getCategoryId
long getCategoryId()Returns the category ID of this message boards category.- Returns:
- the category ID of this message boards category
-
setCategoryId
void setCategoryId(long categoryId) Sets the category ID of this message boards category.- Parameters:
categoryId- the category ID of this message boards category
-
getGroupId
long getGroupId()Returns the group ID of this message boards category.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this message boards category
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this message boards category.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this message boards category
-
getCompanyId
long getCompanyId()Returns the company ID of this message boards category.- 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 category
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this message boards category.- 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 category
-
getUserId
long getUserId()Returns the user ID of this message boards category.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this message boards category
-
setUserId
void setUserId(long userId) Sets the user ID of this message boards category.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this message boards category
-
getUserUuid
String getUserUuid()Returns the user uuid of this message boards category.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this message boards category
-
setUserUuid
Sets the user uuid of this message boards category.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this message boards category
-
getUserName
Returns the user name of this message boards category.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this message boards category
-
setUserName
Sets the user name of this message boards category.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this message boards category
-
getCreateDate
Date getCreateDate()Returns the create date of this message boards category.- 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 category
-
setCreateDate
Sets the create date of this message boards category.- 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 category
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this message boards category.- 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 category
-
setModifiedDate
Sets the modified date of this message boards category.- 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 category
-
getParentCategoryId
long getParentCategoryId()Returns the parent category ID of this message boards category.- Returns:
- the parent category ID of this message boards category
-
setParentCategoryId
void setParentCategoryId(long parentCategoryId) Sets the parent category ID of this message boards category.- Parameters:
parentCategoryId- the parent category ID of this message boards category
-
getName
Returns the name of this message boards category.- Returns:
- the name of this message boards category
-
setName
Sets the name of this message boards category.- Parameters:
name- the name of this message boards category
-
getDescription
Returns the description of this message boards category.- Returns:
- the description of this message boards category
-
setDescription
Sets the description of this message boards category.- Parameters:
description- the description of this message boards category
-
getDisplayStyle
Returns the display style of this message boards category.- Returns:
- the display style of this message boards category
-
setDisplayStyle
Sets the display style of this message boards category.- Parameters:
displayStyle- the display style of this message boards category
-
getFriendlyURL
Returns the friendly url of this message boards category.- Returns:
- the friendly url of this message boards category
-
setFriendlyURL
Sets the friendly url of this message boards category.- Parameters:
friendlyURL- the friendly url of this message boards category
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this message boards category.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this message boards category
-
setLastPublishDate
Sets the last publish date of this message boards category.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this message boards category
-
getStatus
int getStatus()Returns the status of this message boards category.- 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 category
-
setStatus
void setStatus(int status) Sets the status of this message boards category.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this message boards category
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this message boards category.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this message boards category
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this message boards category.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this message boards category
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this message boards category.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this message boards category
-
setStatusByUserUuid
Sets the status by user uuid of this message boards category.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this message boards category
-
getStatusByUserName
Returns the status by user name of this message boards category.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this message boards category
-
setStatusByUserName
Sets the status by user name of this message boards category.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this message boards category
-
getStatusDate
Date getStatusDate()Returns the status date of this message boards category.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this message boards category
-
setStatusDate
Sets the status date of this message boards category.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this message boards category
-
getTrashEntryClassPK
long getTrashEntryClassPK()Returns the class primary key of the trash entry for this message boards category.- Specified by:
getTrashEntryClassPKin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
- the class primary key of the trash entry for this message boards category
-
isInTrash
boolean isInTrash()Returnstrueif this message boards category is in the Recycle Bin.- Specified by:
isInTrashin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
trueif this message boards category is in the Recycle Bin;falseotherwise
-
isApproved
boolean isApproved()Returnstrueif this message boards category is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this message boards category is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this message boards category is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this message boards category is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this message boards category is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this message boards category is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this message boards category is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this message boards category is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this message boards category is scheduled;falseotherwise
-
getContainerModelId
long getContainerModelId()Returns the container model ID of this message boards category.- Specified by:
getContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the container model ID of this message boards category
-
setContainerModelId
void setContainerModelId(long containerModelId) Sets the container model ID of this message boards category.- Specified by:
setContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Parameters:
containerModelId- the container model ID of this message boards category
-
getContainerModelName
String getContainerModelName()Returns the container name of this message boards category.- Specified by:
getContainerModelNamein interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the container name of this message boards category
-
getParentContainerModelId
long getParentContainerModelId()Returns the parent container model ID of this message boards category.- Specified by:
getParentContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the parent container model ID of this message boards category
-
setParentContainerModelId
void setParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this message boards category.- Specified by:
setParentContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Parameters:
parentContainerModelId- the parent container model ID of this message boards category
-
cloneWithOriginalValues
MBCategory cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<MBCategory>
-
toXmlString
-