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

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

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
CACHE_ENABLED, DATA_SOURCE, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
MBCategoryImpl()
           
 
Method Summary
 java.util.List<java.lang.Long> getAncestorCategoryIds()
           
 java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
           
 java.lang.String getUserUuid()
           
 boolean isDiscussion()
           
 boolean isRoot()
           
 void setUserUuid(java.lang.String userUuid)
           
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl
clone, compareTo, equals, getCategoryId, getCompanyId, getCreateDate, getDescription, getExpandoBridge, getGroupId, getLastPostDate, getModifiedDate, getName, getParentCategoryId, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, getUuid, hashCode, setCategoryId, setCompanyId, setCreateDate, setDescription, setGroupId, setLastPostDate, setModifiedDate, setName, setParentCategoryId, setPrimaryKey, setUserId, setUserName, setUuid, toEscapedModel, toModel, toModels
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, 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, getUuid, setCategoryId, setCompanyId, setCreateDate, setDescription, setGroupId, setLastPostDate, setModifiedDate, setName, setParentCategoryId, setPrimaryKey, setUserId, setUserName, setUuid, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, 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<java.lang.Long> 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<com.liferay.portlet.messageboards.model.MBCategory> 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

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Specified by:
getUserUuid in interface com.liferay.portlet.messageboards.model.MBCategory
Throws:
com.liferay.portal.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portlet.messageboards.model.MBCategory

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