com.liferay.portlet.messageboards.model
Interface MBCategory

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, 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.service.model.impl.MBCategoryImpl and rerun the ServiceBuilder to generate the new methods.

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

Method Summary
 java.util.List getAncestorCategoryIds()
           
 java.util.List getAncestors()
           
 boolean isDiscussion()
           
 boolean isRoot()
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBCategoryModel
getCategoryId, getCompanyId, getCreateDate, getDescription, getGroupId, getLastPostDate, getModifiedDate, getName, getParentCategoryId, getPrimaryKey, getUserId, getUserName, setCategoryId, setCompanyId, setCreateDate, setDescription, setGroupId, setLastPostDate, setModifiedDate, setName, setParentCategoryId, setPrimaryKey, setUserId, setUserName
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAncestorCategoryIds

public java.util.List getAncestorCategoryIds()
                                      throws com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getAncestors

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

isRoot

public boolean isRoot()

isDiscussion

public boolean isDiscussion()