|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.model.AssetCategoryWrapper
@ProviderType public class AssetCategoryWrapper
This class is a wrapper for AssetCategory.
AssetCategory,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.asset.model.AssetCategory |
|---|
CATEGORY_ID_ACCESSOR, NAME_ACCESSOR, UUID_ACCESSOR |
| Constructor Summary | |
|---|---|
AssetCategoryWrapper(AssetCategory assetCategory)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetCategory assetCategory)
|
boolean |
equals(Object obj)
|
List<AssetCategory> |
getAncestors()
|
String[] |
getAvailableLanguageIds()
|
long |
getCategoryId()
Returns the category ID of this asset category. |
long |
getCompanyId()
Returns the company ID of this asset category. |
Date |
getCreateDate()
Returns the create date of this asset category. |
String |
getDefaultLanguageId()
|
String |
getDescription()
Returns the description of this asset category. |
String |
getDescription(Locale locale)
Returns the localized description of this asset category in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this asset category in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this asset category in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this asset category in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this asset category. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this asset category. |
Date |
getLastPublishDate()
Returns the last publish date of this asset category. |
long |
getLeftCategoryId()
Returns the left category ID of this asset category. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset category. |
String |
getName()
Returns the name of this asset category. |
long |
getNestedSetsTreeNodeLeft()
|
long |
getNestedSetsTreeNodeRight()
|
long |
getNestedSetsTreeNodeScopeId()
|
AssetCategory |
getParentCategory()
|
long |
getParentCategoryId()
Returns the parent category ID of this asset category. |
String |
getPath(Locale locale)
|
long |
getPrimaryKey()
Returns the primary key of this asset category. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRightCategoryId()
Returns the right category ID of this asset category. |
StagedModelType |
getStagedModelType()
|
String |
getTitle()
Returns the title of this asset category. |
String |
getTitle(Locale locale)
Returns the localized title of this asset category in the language. |
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this asset category in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Returns the localized title of this asset category in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this asset category in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitleCurrentLanguageId()
|
String |
getTitleCurrentValue()
|
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this asset category. |
long |
getUserId()
Returns the user ID of this asset category. |
String |
getUserName()
Returns the user name of this asset category. |
String |
getUserUuid()
Returns the user uuid of this asset category. |
String |
getUuid()
Returns the uuid of this asset category. |
long |
getVocabularyId()
Returns the vocabulary ID of this asset category. |
AssetCategory |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isRootCategory()
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
prepareLocalizedFieldsForImport()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setDescription(String description)
Sets the description of this asset category. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this asset category in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this asset category in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this asset category from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this asset category from the map of locales and localized descriptions, and sets the default locale. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this asset category. |
void |
setLeftCategoryId(long leftCategoryId)
Sets the left category ID of this asset category. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset category. |
void |
setName(String name)
Sets the name of this asset category. |
void |
setNestedSetsTreeNodeLeft(long nestedSetsTreeNodeLeft)
|
void |
setNestedSetsTreeNodeRight(long nestedSetsTreeNodeRight)
|
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 primaryKey)
Sets the primary key of this asset category. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRightCategoryId(long rightCategoryId)
Sets the right category ID of this asset category. |
void |
setTitle(String title)
Sets the title of this asset category. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this asset category in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this asset category in the language, and sets the default locale. |
void |
setTitleCurrentLanguageId(String languageId)
|
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset category from the map of locales and localized titles. |
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this asset category from the map of locales and localized titles, and sets the default locale. |
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. |
CacheModel<AssetCategory> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetCategory |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
AssetCategory |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssetCategoryWrapper(AssetCategory assetCategory)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetCategory>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetCategory>public Object clone()
BaseModel
clone in interface BaseModel<AssetCategory>clone in interface StagedModelclone in interface AssetCategoryModelclone in class Objectpublic int compareTo(AssetCategory assetCategory)
compareTo in interface AssetCategoryModelcompareTo in interface Comparable<AssetCategory>
public List<AssetCategory> getAncestors()
throws PortalException
getAncestors in interface AssetCategoryPortalExceptionpublic String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface AssetCategoryModelpublic long getCategoryId()
getCategoryId in interface AssetCategoryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface AssetCategoryModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface AssetCategoryModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface AssetCategoryModelpublic String getDescription()
getDescription in interface AssetCategoryModelpublic String getDescription(String languageId)
getDescription in interface AssetCategoryModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface AssetCategoryModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getDescription(Locale locale)
getDescription in interface AssetCategoryModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface AssetCategoryModellocale - the local of the languageuseDefault - 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 getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface AssetCategoryModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface AssetCategoryModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface AssetCategoryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetCategory>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AssetCategoryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface AssetCategoryModelpublic Date getLastPublishDate()
getLastPublishDate in interface StagedGroupedModelgetLastPublishDate in interface AssetCategoryModelpublic long getLeftCategoryId()
getLeftCategoryId in interface AssetCategoryModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface AssetCategoryModelpublic String getName()
getName in interface AssetCategoryModelpublic AssetCategory getParentCategory()
getParentCategory in interface AssetCategorypublic long getParentCategoryId()
getParentCategoryId in interface AssetCategoryModel
public String getPath(Locale locale)
throws PortalException
getPath in interface AssetCategoryPortalExceptionpublic long getPrimaryKey()
getPrimaryKey in interface NestedSetsTreeNodeModelgetPrimaryKey in interface AssetCategoryModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetCategory>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AssetCategoryModelpublic long getRightCategoryId()
getRightCategoryId in interface AssetCategoryModelpublic String getTitle()
getTitle in interface AssetCategoryModelpublic String getTitle(String languageId)
getTitle in interface AssetCategoryModellanguageId - the ID of the language
public String getTitle(String languageId,
boolean useDefault)
getTitle in interface AssetCategoryModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getTitle(Locale locale)
getTitle in interface AssetCategoryModellocale - the locale of the language
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface AssetCategoryModellocale - the local of the languageuseDefault - 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 getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface AssetCategoryModelpublic String getTitleCurrentValue()
getTitleCurrentValue in interface AssetCategoryModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface AssetCategoryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface AssetCategoryModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface AssetCategoryModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface AssetCategoryModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface AssetCategoryModelpublic long getVocabularyId()
getVocabularyId in interface AssetCategoryModelpublic int hashCode()
hashCode in interface AssetCategoryModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<AssetCategory>isCachedModel in interface AssetCategoryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<AssetCategory>isEscapedModel in interface AssetCategoryModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<AssetCategory>isNew in interface AssetCategoryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isRootCategory()
isRootCategory in interface AssetCategorypublic void persist()
PersistedModel
persist in interface PersistedModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface AssetCategoryModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface AssetCategoryModelLocaleExceptionpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AssetCategory>setCachedModel in interface AssetCategoryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCategoryId(long categoryId)
setCategoryId in interface AssetCategoryModelcategoryId - the category ID of this asset categorypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface AssetCategoryModelcompanyId - the company ID of this asset categorypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface AssetCategoryModelcreateDate - the create date of this asset categorypublic void setDescription(String description)
setDescription in interface AssetCategoryModeldescription - the description of this asset category
public void setDescription(String description,
Locale locale)
setDescription in interface AssetCategoryModeldescription - the localized description of this asset categorylocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface AssetCategoryModeldescription - the localized description of this asset categorylocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface AssetCategoryModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface AssetCategoryModeldescriptionMap - the locales and localized descriptions of this asset category
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface AssetCategoryModeldescriptionMap - the locales and localized descriptions of this asset categorydefaultLocale - the default localepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AssetCategory>setExpandoBridgeAttributes in interface AssetCategoryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AssetCategory>setExpandoBridgeAttributes in interface AssetCategoryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetCategory>setExpandoBridgeAttributes in interface AssetCategoryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface AssetCategoryModelgroupId - the group ID of this asset categorypublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface StagedGroupedModelsetLastPublishDate in interface AssetCategoryModellastPublishDate - the last publish date of this asset categorypublic void setLeftCategoryId(long leftCategoryId)
setLeftCategoryId in interface AssetCategoryModelleftCategoryId - the left category ID of this asset categorypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface AssetCategoryModelmodifiedDate - the modified date of this asset categorypublic void setName(String name)
setName in interface AssetCategoryModelname - the name of this asset categorypublic 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 void setParentCategoryId(long parentCategoryId)
setParentCategoryId in interface AssetCategoryModelparentCategoryId - the parent category ID of this asset categorypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AssetCategoryModelprimaryKey - the primary key of this asset categorypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AssetCategory>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AssetCategoryModelprimaryKeyObj - the primary key of this model instancepublic void setRightCategoryId(long rightCategoryId)
setRightCategoryId in interface AssetCategoryModelrightCategoryId - the right category ID of this asset categorypublic void setTitle(String title)
setTitle in interface AssetCategoryModeltitle - the title of this asset category
public void setTitle(String title,
Locale locale)
setTitle in interface AssetCategoryModeltitle - the localized title of this asset categorylocale - the locale of the language
public void setTitle(String title,
Locale locale,
Locale defaultLocale)
setTitle in interface AssetCategoryModeltitle - the localized title of this asset categorylocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId in interface AssetCategoryModelpublic void setTitleMap(Map<Locale,String> titleMap)
setTitleMap in interface AssetCategoryModeltitleMap - the locales and localized titles of this asset category
public void setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
setTitleMap in interface AssetCategoryModeltitleMap - the locales and localized titles of this asset categorydefaultLocale - the default localepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface AssetCategoryModeluserId - the user ID of this asset categorypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface AssetCategoryModeluserName - the user name of this asset categorypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface AssetCategoryModeluserUuid - the user uuid of this asset categorypublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface AssetCategoryModeluuid - the uuid of this asset categorypublic void setVocabularyId(long vocabularyId)
setVocabularyId in interface AssetCategoryModelvocabularyId - the vocabulary ID of this asset categorypublic CacheModel<AssetCategory> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AssetCategory>toCacheModel in interface AssetCategoryModelpublic AssetCategory toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AssetCategory>toEscapedModel in interface AssetCategoryModelAutoEscapeBeanHandlerpublic String toString()
toString in interface AssetCategoryModeltoString in class Objectpublic AssetCategory toUnescapedModel()
toUnescapedModel in interface BaseModel<AssetCategory>toUnescapedModel in interface AssetCategoryModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetCategory>toXmlString in interface AssetCategoryModelpublic boolean equals(Object obj)
equals in class Objectpublic long getNestedSetsTreeNodeLeft()
getNestedSetsTreeNodeLeft in interface NestedSetsTreeNodeModelpublic long getNestedSetsTreeNodeRight()
getNestedSetsTreeNodeRight in interface NestedSetsTreeNodeModelpublic long getNestedSetsTreeNodeScopeId()
getNestedSetsTreeNodeScopeId in interface NestedSetsTreeNodeModelpublic void setNestedSetsTreeNodeLeft(long nestedSetsTreeNodeLeft)
setNestedSetsTreeNodeLeft in interface NestedSetsTreeNodeModelpublic void setNestedSetsTreeNodeRight(long nestedSetsTreeNodeRight)
setNestedSetsTreeNodeRight in interface NestedSetsTreeNodeModelpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic AssetCategory getWrappedModel()
getWrappedModel in interface ModelWrapper<AssetCategory>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<AssetCategory>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<AssetCategory>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<AssetCategory>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||