com.liferay.portlet.messageboards.model
Class MBCategoryWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.model.MBCategoryWrapper
All Implemented Interfaces:
BaseModel<MBCategory>, MBCategory, MBCategoryModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<MBCategory>

public class MBCategoryWrapper
extends java.lang.Object
implements MBCategory

View Source

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

This class is a wrapper for MBCategory.

Author:
Brian Wing Shun Chan
See Also:
MBCategory, Serialized Form
Generated:

Constructor Summary
MBCategoryWrapper(MBCategory mbCategory)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(MBCategory mbCategory)
           
 java.util.List<java.lang.Long> getAncestorCategoryIds()
           
 java.util.List<MBCategory> getAncestors()
           
 long getCategoryId()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 java.util.Date getLastPostDate()
           
 int getMessageCount()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getName()
           
 long getParentCategoryId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int getThreadCount()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 java.lang.String getUuid()
           
 MBCategory getWrappedMBCategory()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isDiscussion()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isRoot()
           
 void setCachedModel(boolean cachedModel)
           
 void setCategoryId(long categoryId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setLastPostDate(java.util.Date lastPostDate)
           
 void setMessageCount(int messageCount)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setParentCategoryId(long parentCategoryId)
           
 void setPrimaryKey(long pk)
           
 void setThreadCount(int threadCount)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setUuid(java.lang.String uuid)
           
 MBCategory toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBCategoryWrapper

public MBCategoryWrapper(MBCategory mbCategory)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface MBCategoryModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface MBCategoryModel

getUuid

public java.lang.String getUuid()
Specified by:
getUuid in interface MBCategoryModel

setUuid

public void setUuid(java.lang.String uuid)
Specified by:
setUuid in interface MBCategoryModel

getCategoryId

public long getCategoryId()
Specified by:
getCategoryId in interface MBCategoryModel

setCategoryId

public void setCategoryId(long categoryId)
Specified by:
setCategoryId in interface MBCategoryModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface MBCategoryModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface MBCategoryModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface MBCategoryModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface MBCategoryModel

getUserId

public long getUserId()
Specified by:
getUserId in interface MBCategoryModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface MBCategoryModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Specified by:
getUserUuid in interface MBCategoryModel
Throws:
com.liferay.portal.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface MBCategoryModel

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface MBCategoryModel

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface MBCategoryModel

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface MBCategoryModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface MBCategoryModel

getModifiedDate

public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface MBCategoryModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface MBCategoryModel

getParentCategoryId

public long getParentCategoryId()
Specified by:
getParentCategoryId in interface MBCategoryModel

setParentCategoryId

public void setParentCategoryId(long parentCategoryId)
Specified by:
setParentCategoryId in interface MBCategoryModel

getName

public java.lang.String getName()
Specified by:
getName in interface MBCategoryModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface MBCategoryModel

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface MBCategoryModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface MBCategoryModel

getThreadCount

public int getThreadCount()
Specified by:
getThreadCount in interface MBCategoryModel

setThreadCount

public void setThreadCount(int threadCount)
Specified by:
setThreadCount in interface MBCategoryModel

getMessageCount

public int getMessageCount()
Specified by:
getMessageCount in interface MBCategoryModel

setMessageCount

public void setMessageCount(int messageCount)
Specified by:
setMessageCount in interface MBCategoryModel

getLastPostDate

public java.util.Date getLastPostDate()
Specified by:
getLastPostDate in interface MBCategoryModel

setLastPostDate

public void setLastPostDate(java.util.Date lastPostDate)
Specified by:
setLastPostDate in interface MBCategoryModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<MBCategory>
Specified by:
isNew in interface MBCategoryModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<MBCategory>
Specified by:
setNew in interface MBCategoryModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<MBCategory>
Specified by:
isCachedModel in interface MBCategoryModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<MBCategory>
Specified by:
setCachedModel in interface MBCategoryModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<MBCategory>
Specified by:
isEscapedModel in interface MBCategoryModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<MBCategory>
Specified by:
setEscapedModel in interface MBCategoryModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<MBCategory>
Specified by:
getPrimaryKeyObj in interface MBCategoryModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<MBCategory>
Specified by:
getExpandoBridge in interface MBCategoryModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<MBCategory>
Specified by:
setExpandoBridgeAttributes in interface MBCategoryModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<MBCategory>
Specified by:
clone in interface MBCategoryModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(MBCategory mbCategory)
Specified by:
compareTo in interface MBCategoryModel
Specified by:
compareTo in interface java.lang.Comparable<MBCategory>

hashCode

public int hashCode()
Specified by:
hashCode in interface MBCategoryModel
Overrides:
hashCode in class java.lang.Object

toEscapedModel

public MBCategory toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<MBCategory>
Specified by:
toEscapedModel in interface MBCategoryModel

toString

public java.lang.String toString()
Specified by:
toString in interface MBCategoryModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<MBCategory>
Specified by:
toXmlString in interface MBCategoryModel

getAncestorCategoryIds

public java.util.List<java.lang.Long> getAncestorCategoryIds()
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Specified by:
getAncestorCategoryIds in interface MBCategory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAncestors

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

isDiscussion

public boolean isDiscussion()
Specified by:
isDiscussion in interface MBCategory

isRoot

public boolean isRoot()
Specified by:
isRoot in interface MBCategory

getWrappedMBCategory

public MBCategory getWrappedMBCategory()