com.liferay.portlet.messageboards.model
Interface MBCategoryModel
- All Superinterfaces:
- BaseModel<MBCategory>, java.lang.Cloneable, java.lang.Comparable<MBCategory>, java.io.Serializable
- All Known Subinterfaces:
- MBCategory
- All Known Implementing Classes:
- MBCategoryWrapper
public interface MBCategoryModel
- extends BaseModel<MBCategory>
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.
- Author:
- Brian Wing Shun Chan
- See Also:
MBCategory
,
com.liferay.portlet.messageboards.model.impl.MBCategoryImpl
,
com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl
- Generated:
getPrimaryKey
long getPrimaryKey()
setPrimaryKey
void setPrimaryKey(long pk)
getUuid
java.lang.String getUuid()
setUuid
void setUuid(java.lang.String uuid)
getCategoryId
long getCategoryId()
setCategoryId
void setCategoryId(long categoryId)
getGroupId
long getGroupId()
setGroupId
void setGroupId(long groupId)
getCompanyId
long getCompanyId()
setCompanyId
void setCompanyId(long companyId)
getUserId
long getUserId()
setUserId
void setUserId(long userId)
getUserUuid
java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
void setUserUuid(java.lang.String userUuid)
getUserName
java.lang.String getUserName()
setUserName
void setUserName(java.lang.String userName)
getCreateDate
java.util.Date getCreateDate()
setCreateDate
void setCreateDate(java.util.Date createDate)
getModifiedDate
java.util.Date getModifiedDate()
setModifiedDate
void setModifiedDate(java.util.Date modifiedDate)
getParentCategoryId
long getParentCategoryId()
setParentCategoryId
void setParentCategoryId(long parentCategoryId)
getName
java.lang.String getName()
setName
void setName(java.lang.String name)
getDescription
java.lang.String getDescription()
setDescription
void setDescription(java.lang.String description)
getThreadCount
int getThreadCount()
setThreadCount
void setThreadCount(int threadCount)
getMessageCount
int getMessageCount()
setMessageCount
void setMessageCount(int messageCount)
getLastPostDate
java.util.Date getLastPostDate()
setLastPostDate
void setLastPostDate(java.util.Date lastPostDate)
toEscapedModel
MBCategory toEscapedModel()
isNew
boolean isNew()
- Specified by:
isNew
in interface BaseModel<MBCategory>
setNew
boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<MBCategory>
isCachedModel
boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<MBCategory>
setCachedModel
void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<MBCategory>
isEscapedModel
boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<MBCategory>
setEscapedModel
void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<MBCategory>
getPrimaryKeyObj
java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<MBCategory>
getExpandoBridge
ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<MBCategory>
setExpandoBridgeAttributes
void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<MBCategory>
clone
java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<MBCategory>
compareTo
int compareTo(MBCategory mbCategory)
- Specified by:
compareTo
in interface java.lang.Comparable<MBCategory>
hashCode
int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<MBCategory>