com.liferay.portlet.asset.model
Interface AssetCategory
- All Superinterfaces:
- AssetCategoryModel, AuditedModel, BaseModel<AssetCategory>, ClassedModel, Cloneable, Comparable<AssetCategory>, GroupedModel, PersistedModel, Serializable
- All Known Implementing Classes:
- AssetCategoryBaseImpl, AssetCategoryImpl, AssetCategoryWrapper
public interface AssetCategory
- extends AssetCategoryModel, PersistedModel
The extended model interface for the AssetCategory service. Represents a row in the "AssetCategory" database table, with each column mapped to a property of this class.
- See Also:
AssetCategoryModel
,
AssetCategoryImpl
,
AssetCategoryModelImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Methods inherited from interface com.liferay.portlet.asset.model.AssetCategoryModel |
clone, compareTo, getCategoryId, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLeftCategoryId, getModifiedDate, getName, getParentCategoryId, getPrimaryKey, getPrimaryKeyObj, getRightCategoryId, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, setCachedModel, setCategoryId, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setLeftCategoryId, setModifiedDate, setName, setNew, setParentCategoryId, setPrimaryKey, setPrimaryKeyObj, setRightCategoryId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
UUID_ACCESSOR
static final Accessor<AssetCategory,String> UUID_ACCESSOR
CATEGORY_ID_ACCESSOR
static final Accessor<AssetCategory,Long> CATEGORY_ID_ACCESSOR
NAME_ACCESSOR
static final Accessor<AssetCategory,String> NAME_ACCESSOR
getAncestors
List<AssetCategory> getAncestors()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTitle
String getTitle(String languageId)
- Description copied from interface:
AssetCategoryModel
- Returns the localized title of this asset category in the language. Uses the default language if no localization exists for the requested language.
- Specified by:
getTitle
in interface AssetCategoryModel
- Parameters:
languageId
- the ID of the language
- Returns:
- the localized title of this asset category
getTitle
String getTitle(String languageId,
boolean useDefault)
- Description copied from interface:
AssetCategoryModel
- Returns the localized title of this asset category in the language, optionally using the default language if no localization exists for the requested language.
- Specified by:
getTitle
in interface AssetCategoryModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
- Returns:
- the localized title of this asset category
isRootCategory
boolean isRootCategory()