|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.model.AssetCategoryWrapper
public class AssetCategoryWrapper
This class is a wrapper for AssetCategory.
AssetCategory,
Serialized Form| Constructor Summary | |
|---|---|
AssetCategoryWrapper(AssetCategory assetCategory)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetCategory assetCategory)
|
List<AssetCategory> |
getAncestors()
|
long |
getCategoryId()
Gets the category id of this asset category. |
long |
getCompanyId()
Gets the company id of this asset category. |
Date |
getCreateDate()
Gets the create date of this asset category. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this asset category. |
long |
getLeftCategoryId()
Gets the left category id of this asset category. |
Date |
getModifiedDate()
Gets the modified date of this asset category. |
String |
getName()
Gets the name of this asset category. |
long |
getParentCategoryId()
Gets the parent category id of this asset category. |
long |
getPrimaryKey()
Gets the primary key of this asset category. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getRightCategoryId()
Gets the right category id of this asset category. |
String |
getTitle()
Gets the title of this asset category. |
String |
getTitle(Locale locale)
Gets the localized title of this asset category. |
String |
getTitle(Locale locale,
boolean useDefault)
Gets the localized title of this asset category, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Gets the localized title of this asset category. |
String |
getTitle(String languageId,
boolean useDefault)
Gets the localized title of this asset category, optionally using the default language if no localization exists for the requested language. |
Map<Locale,String> |
getTitleMap()
Gets a map of the locales and localized title of this asset category. |
long |
getUserId()
Gets the user id of this asset category. |
String |
getUserName()
Gets the user name of this asset category. |
String |
getUserUuid()
Gets the user uuid of this asset category. |
String |
getUuid()
Gets the uuid of this asset category. |
long |
getVocabularyId()
Gets the vocabulary id of this asset category. |
AssetCategory |
getWrappedAssetCategory()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRootCategory()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
Sets the category id of this asset category. |
void |
setCompanyId(long companyId)
Sets the company id of this asset category. |
void |
setCreateDate(Date createDate)
Sets the create date of this asset category. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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)
Sets the group id of this asset category. |
void |
setLeftCategoryId(long leftCategoryId)
Sets the left category id of this asset category. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset category. |
void |
setName(String name)
Sets the name of this asset category. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentCategoryId(long parentCategoryId)
Sets the parent category id of this asset category. |
void |
setPrimaryKey(long pk)
Sets the primary key of this asset category |
void |
setRightCategoryId(long rightCategoryId)
Sets the right category id of this asset category. |
void |
setTitle(Locale locale,
String title)
Sets the localized title of this asset category. |
void |
setTitle(String title)
Sets the title of this asset category. |
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset category from the map of locales and localized titles. |
void |
setUserId(long userId)
Sets the user id of this asset category. |
void |
setUserName(String userName)
Sets the user name of this asset category. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset category. |
void |
setUuid(String uuid)
Sets the uuid of this asset category. |
void |
setVocabularyId(long vocabularyId)
Sets the vocabulary id of this asset category. |
AssetCategory |
toEscapedModel()
Gets a copy of this asset category as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
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 AssetCategoryWrapper(AssetCategory assetCategory)
| Method Detail |
|---|
public long getPrimaryKey()
AssetCategoryModel
getPrimaryKey in interface AssetCategoryModelpublic void setPrimaryKey(long pk)
AssetCategoryModel
setPrimaryKey in interface AssetCategoryModelpk - the primary key of this asset categorypublic String getUuid()
AssetCategoryModel
getUuid in interface AssetCategoryModelpublic void setUuid(String uuid)
AssetCategoryModel
setUuid in interface AssetCategoryModeluuid - the uuid of this asset categorypublic long getCategoryId()
AssetCategoryModel
getCategoryId in interface AssetCategoryModelpublic void setCategoryId(long categoryId)
AssetCategoryModel
setCategoryId in interface AssetCategoryModelcategoryId - the category id of this asset categorypublic long getGroupId()
AssetCategoryModel
getGroupId in interface AssetCategoryModelpublic void setGroupId(long groupId)
AssetCategoryModel
setGroupId in interface AssetCategoryModelgroupId - the group id of this asset categorypublic long getCompanyId()
AssetCategoryModel
getCompanyId in interface AssetCategoryModelpublic void setCompanyId(long companyId)
AssetCategoryModel
setCompanyId in interface AssetCategoryModelcompanyId - the company id of this asset categorypublic long getUserId()
AssetCategoryModel
getUserId in interface AssetCategoryModelpublic void setUserId(long userId)
AssetCategoryModel
setUserId in interface AssetCategoryModeluserId - the user id of this asset category
public String getUserUuid()
throws SystemException
AssetCategoryModel
getUserUuid in interface AssetCategoryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AssetCategoryModel
setUserUuid in interface AssetCategoryModeluserUuid - the user uuid of this asset categorypublic String getUserName()
AssetCategoryModel
getUserName in interface AssetCategoryModelpublic void setUserName(String userName)
AssetCategoryModel
setUserName in interface AssetCategoryModeluserName - the user name of this asset categorypublic Date getCreateDate()
AssetCategoryModel
getCreateDate in interface AssetCategoryModelpublic void setCreateDate(Date createDate)
AssetCategoryModel
setCreateDate in interface AssetCategoryModelcreateDate - the create date of this asset categorypublic Date getModifiedDate()
AssetCategoryModel
getModifiedDate in interface AssetCategoryModelpublic void setModifiedDate(Date modifiedDate)
AssetCategoryModel
setModifiedDate in interface AssetCategoryModelmodifiedDate - the modified date of this asset categorypublic long getParentCategoryId()
AssetCategoryModel
getParentCategoryId in interface AssetCategoryModelpublic void setParentCategoryId(long parentCategoryId)
AssetCategoryModel
setParentCategoryId in interface AssetCategoryModelparentCategoryId - the parent category id of this asset categorypublic long getLeftCategoryId()
AssetCategoryModel
getLeftCategoryId in interface AssetCategoryModelpublic void setLeftCategoryId(long leftCategoryId)
AssetCategoryModel
setLeftCategoryId in interface AssetCategoryModelleftCategoryId - the left category id of this asset categorypublic long getRightCategoryId()
AssetCategoryModel
getRightCategoryId in interface AssetCategoryModelpublic void setRightCategoryId(long rightCategoryId)
AssetCategoryModel
setRightCategoryId in interface AssetCategoryModelrightCategoryId - the right category id of this asset categorypublic String getName()
AssetCategoryModel
getName in interface AssetCategoryModelpublic void setName(String name)
AssetCategoryModel
setName in interface AssetCategoryModelname - the name of this asset categorypublic String getTitle()
AssetCategoryModel
getTitle in interface AssetCategoryModelpublic String getTitle(Locale locale)
AssetCategoryModel
getTitle in interface AssetCategoryModellocale - the locale to get the localized title for
public String getTitle(Locale locale,
boolean useDefault)
AssetCategoryModel
getTitle in interface AssetCategoryModellocale - the local to get the localized title foruseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getTitle(String languageId)
AssetCategoryModel
getTitle in interface AssetCategoryModellanguageId - the id of the language to get the localized title for
public String getTitle(String languageId,
boolean useDefault)
AssetCategoryModel
getTitle in interface AssetCategoryModellanguageId - the id of the language to get the localized title foruseDefault - whether to use the default language if no localization exists for the requested language
public Map<Locale,String> getTitleMap()
AssetCategoryModel
getTitleMap in interface AssetCategoryModelpublic void setTitle(String title)
AssetCategoryModel
setTitle in interface AssetCategoryModeltitle - the title of this asset category
public void setTitle(Locale locale,
String title)
AssetCategoryModel
setTitle in interface AssetCategoryModellocale - the locale to set the localized title fortitle - the localized title of this asset categorypublic void setTitleMap(Map<Locale,String> titleMap)
AssetCategoryModel
setTitleMap in interface AssetCategoryModeltitleMap - the locales and localized titles of this asset categorypublic long getVocabularyId()
AssetCategoryModel
getVocabularyId in interface AssetCategoryModelpublic void setVocabularyId(long vocabularyId)
AssetCategoryModel
setVocabularyId in interface AssetCategoryModelvocabularyId - the vocabulary id of this asset categorypublic AssetCategory toEscapedModel()
AssetCategoryModelAutoEscapeBeanHandler.
toEscapedModel in interface AssetCategoryModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<AssetCategory>isNew in interface AssetCategoryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<AssetCategory>setNew in interface AssetCategoryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<AssetCategory>isCachedModel in interface AssetCategoryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AssetCategory>setCachedModel in interface AssetCategoryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<AssetCategory>isEscapedModel in interface AssetCategoryModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<AssetCategory>setEscapedModel in interface AssetCategoryModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetCategory>getPrimaryKeyObj in interface AssetCategoryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetCategory>getExpandoBridge in interface AssetCategoryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetCategory>setExpandoBridgeAttributes in interface AssetCategoryModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<AssetCategory>clone in interface AssetCategoryModelclone in class Objectpublic int compareTo(AssetCategory assetCategory)
compareTo in interface AssetCategoryModelcompareTo in interface Comparable<AssetCategory>public int hashCode()
hashCode in interface AssetCategoryModelhashCode in class Objectpublic String toString()
toString in interface AssetCategoryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetCategory>toXmlString in interface AssetCategoryModel
public List<AssetCategory> getAncestors()
throws PortalException,
SystemException
getAncestors in interface AssetCategoryPortalException
SystemExceptionpublic boolean isRootCategory()
isRootCategory in interface AssetCategorypublic AssetCategory getWrappedAssetCategory()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||