Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.model
Interface MBCategory

All Superinterfaces:
AuditedModel, BaseModel<MBCategory>, ClassedModel, Cloneable, Comparable<MBCategory>, ContainerModel, GroupedModel, MBCategoryModel, PersistedModel, Serializable, ShardedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel
All Known Implementing Classes:
MBCategoryBaseImpl, MBCategoryImpl, MBCategoryWrapper

@ProviderType
public interface MBCategory
extends MBCategoryModel, PersistedModel

The extended model interface for the MBCategory service. Represents a row in the "MBCategory" database table, with each column mapped to a property of this class.

See Also:
MBCategoryModel, MBCategoryImpl, MBCategoryModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static Accessor<MBCategory,Long> CATEGORY_ID_ACCESSOR
           
 
Method Summary
 List<Long> getAncestorCategoryIds()
           
 List<MBCategory> getAncestors()
           
 MBCategory getParentCategory()
           
 boolean isRoot()
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBCategoryModel
clone, compareTo, getCategoryId, getCompanyId, getContainerModelId, getContainerModelName, getCreateDate, getDescription, getDisplayStyle, getExpandoBridge, getGroupId, getLastPostDate, getLastPublishDate, getMessageCount, getModifiedDate, getName, getParentCategoryId, getParentContainerModelId, getPrimaryKey, getPrimaryKeyObj, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThreadCount, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isNew, isPending, isScheduled, setCachedModel, setCategoryId, setCompanyId, setContainerModelId, setCreateDate, setDescription, setDisplayStyle, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLastPostDate, setLastPublishDate, setMessageCount, setModifiedDate, setName, setNew, setParentCategoryId, setParentContainerModelId, setPrimaryKey, setPrimaryKeyObj, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThreadCount, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ContainerModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Field Detail

CATEGORY_ID_ACCESSOR

static final Accessor<MBCategory,Long> CATEGORY_ID_ACCESSOR
Method Detail

getAncestorCategoryIds

List<Long> getAncestorCategoryIds()
                                  throws PortalException
Throws:
PortalException

getAncestors

List<MBCategory> getAncestors()
                              throws PortalException
Throws:
PortalException

getParentCategory

MBCategory getParentCategory()
                             throws PortalException
Throws:
PortalException

isRoot

boolean isRoot()

Liferay 7.0-ce-b4