com.liferay.portlet.messageboards.model.impl
Class MBCategoryImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl
          extended bycom.liferay.portlet.messageboards.model.impl.MBCategoryImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, com.liferay.portlet.messageboards.model.MBCategory, com.liferay.portlet.messageboards.model.MBCategoryModel, java.io.Serializable

public class MBCategoryImpl
extends MBCategoryModelImpl
implements com.liferay.portlet.messageboards.model.MBCategory

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static long DEFAULT_PARENT_CATEGORY_ID
           
 
Fields inherited from class com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_DESCRIPTION, XSS_ALLOW_NAME, XSS_ALLOW_USERNAME
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
MBCategoryImpl()
           
 
Method Summary
 java.util.List getAncestorCategoryIds()
           
 java.util.List getAncestors()
           
 boolean isDiscussion()
           
 boolean isRoot()
           
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl
clone, compareTo, equals, getCategoryId, getCompanyId, getCreateDate, getDescription, getGroupId, getLastPostDate, getModifiedDate, getName, getParentCategoryId, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, hashCode, setCategoryId, setCompanyId, setCreateDate, setDescription, setGroupId, setLastPostDate, setModifiedDate, setName, setParentCategoryId, setPrimaryKey, setUserId, setUserName
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
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
 

Field Detail

DEFAULT_PARENT_CATEGORY_ID

public static long DEFAULT_PARENT_CATEGORY_ID
Constructor Detail

MBCategoryImpl

public MBCategoryImpl()
Method Detail

getAncestorCategoryIds

public java.util.List getAncestorCategoryIds()
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Specified by:
getAncestorCategoryIds in interface com.liferay.portlet.messageboards.model.MBCategory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAncestors

public java.util.List getAncestors()
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
getAncestors in interface com.liferay.portlet.messageboards.model.MBCategory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isRoot

public boolean isRoot()
Specified by:
isRoot in interface com.liferay.portlet.messageboards.model.MBCategory

isDiscussion

public boolean isDiscussion()
Specified by:
isDiscussion in interface com.liferay.portlet.messageboards.model.MBCategory