com.liferay.portlet.messageboards.model
Interface MBCategory

All Superinterfaces:
BaseModel<MBCategory>, java.lang.Cloneable, java.lang.Comparable<MBCategory>, MBCategoryModel, java.io.Serializable

public interface MBCategory
extends MBCategoryModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the MBCategory table in the database.

Customize com.liferay.portlet.messageboards.model.impl.MBCategoryImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
MBCategoryModel, com.liferay.portlet.messageboards.model.impl.MBCategoryImpl, com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl

Method Summary
 java.util.List<java.lang.Long> getAncestorCategoryIds()
           
 java.util.List<MBCategory> getAncestors()
           
 boolean isDiscussion()
           
 boolean isRoot()
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBCategoryModel
getCategoryId, getCompanyId, getCreateDate, getDescription, getGroupId, getLastPostDate, getMessageCount, getModifiedDate, getName, getParentCategoryId, getPrimaryKey, getThreadCount, getUserId, getUserName, getUserUuid, getUuid, setCategoryId, setCompanyId, setCreateDate, setDescription, setGroupId, setLastPostDate, setMessageCount, setModifiedDate, setName, setParentCategoryId, setPrimaryKey, setThreadCount, setUserId, setUserName, setUserUuid, setUuid, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAncestorCategoryIds

java.util.List<java.lang.Long> getAncestorCategoryIds()
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAncestors

java.util.List<MBCategory> getAncestors()
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isRoot

boolean isRoot()

isDiscussion

boolean isDiscussion()