com.liferay.portlet.messageboards.model
Class MBCategoryWrapper
java.lang.Object
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:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
MBCategoryWrapper
public MBCategoryWrapper(MBCategory mbCategory)
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()