|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.model.MBCategoryWrapper
public class MBCategoryWrapper
This class is a wrapper for MBCategory.
MBCategory,
Serialized Form| Constructor Summary | |
|---|---|
MBCategoryWrapper(MBCategory mbCategory)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBCategory mbCategory)
|
List<Long> |
getAncestorCategoryIds()
|
List<MBCategory> |
getAncestors()
|
long |
getCategoryId()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
Date |
getLastPostDate()
|
int |
getMessageCount()
|
Date |
getModifiedDate()
|
String |
getName()
|
long |
getParentCategoryId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
getThreadCount()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
String |
getUuid()
|
MBCategory |
getWrappedMBCategory()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRoot()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setDescription(String description)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
|
void |
setLastPostDate(Date lastPostDate)
|
void |
setMessageCount(int messageCount)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentCategoryId(long parentCategoryId)
|
void |
setPrimaryKey(long pk)
|
void |
setThreadCount(int threadCount)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setUuid(String uuid)
|
MBCategory |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MBCategoryWrapper(MBCategory mbCategory)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface MBCategoryModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface MBCategoryModelpublic String getUuid()
getUuid in interface MBCategoryModelpublic void setUuid(String uuid)
setUuid in interface MBCategoryModelpublic long getCategoryId()
getCategoryId in interface MBCategoryModelpublic void setCategoryId(long categoryId)
setCategoryId in interface MBCategoryModelpublic long getGroupId()
getGroupId in interface MBCategoryModelpublic void setGroupId(long groupId)
setGroupId in interface MBCategoryModelpublic long getCompanyId()
getCompanyId in interface MBCategoryModelpublic void setCompanyId(long companyId)
setCompanyId in interface MBCategoryModelpublic long getUserId()
getUserId in interface MBCategoryModelpublic void setUserId(long userId)
setUserId in interface MBCategoryModel
public String getUserUuid()
throws SystemException
getUserUuid in interface MBCategoryModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface MBCategoryModelpublic String getUserName()
getUserName in interface MBCategoryModelpublic void setUserName(String userName)
setUserName in interface MBCategoryModelpublic Date getCreateDate()
getCreateDate in interface MBCategoryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface MBCategoryModelpublic Date getModifiedDate()
getModifiedDate in interface MBCategoryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface MBCategoryModelpublic long getParentCategoryId()
getParentCategoryId in interface MBCategoryModelpublic void setParentCategoryId(long parentCategoryId)
setParentCategoryId in interface MBCategoryModelpublic String getName()
getName in interface MBCategoryModelpublic void setName(String name)
setName in interface MBCategoryModelpublic String getDescription()
getDescription in interface MBCategoryModelpublic void setDescription(String description)
setDescription in interface MBCategoryModelpublic int getThreadCount()
getThreadCount in interface MBCategoryModelpublic void setThreadCount(int threadCount)
setThreadCount in interface MBCategoryModelpublic int getMessageCount()
getMessageCount in interface MBCategoryModelpublic void setMessageCount(int messageCount)
setMessageCount in interface MBCategoryModelpublic Date getLastPostDate()
getLastPostDate in interface MBCategoryModelpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface MBCategoryModelpublic MBCategory toEscapedModel()
toEscapedModel in interface MBCategoryModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<MBCategory>isNew in interface MBCategoryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<MBCategory>setNew in interface MBCategoryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<MBCategory>isCachedModel in interface MBCategoryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<MBCategory>setCachedModel in interface MBCategoryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<MBCategory>isEscapedModel in interface MBCategoryModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<MBCategory>setEscapedModel in interface MBCategoryModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBCategory>getPrimaryKeyObj in interface MBCategoryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBCategory>getExpandoBridge in interface MBCategoryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBCategory>setExpandoBridgeAttributes in interface MBCategoryModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MBCategory>clone in interface MBCategoryModelclone in class Objectpublic int compareTo(MBCategory mbCategory)
compareTo in interface MBCategoryModelcompareTo in interface Comparable<MBCategory>public int hashCode()
hashCode in interface MBCategoryModelhashCode in class Objectpublic String toString()
toString in interface MBCategoryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBCategory>toXmlString in interface MBCategoryModel
public List<Long> getAncestorCategoryIds()
throws PortalException,
SystemException
getAncestorCategoryIds in interface MBCategoryPortalException
SystemException
public List<MBCategory> getAncestors()
throws PortalException,
SystemException
getAncestors in interface MBCategoryPortalException
SystemExceptionpublic boolean isRoot()
isRoot in interface MBCategorypublic MBCategory getWrappedMBCategory()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||