Liferay 6.0-ee-sp2

com.liferay.portlet.asset.model
Interface AssetCategory

All Superinterfaces:
AssetCategoryModel, AuditedModel, BaseModel<AssetCategory>, ClassedModel, Cloneable, Comparable<AssetCategory>, GroupedModel, PersistedModel, Serializable
All Known Implementing Classes:
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

Method Summary
 List<AssetCategory> getAncestors()
           
 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.
 boolean isRootCategory()
           
 
Methods inherited from interface com.liferay.portlet.asset.model.AssetCategoryModel
clone, compareTo, getCategoryId, getCompanyId, getCreateDate, getExpandoBridge, getGroupId, getLeftCategoryId, getModifiedDate, getName, getParentCategoryId, getPrimaryKey, getPrimaryKeyObj, getRightCategoryId, getTitle, getTitle, getTitle, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCategoryId, setCompanyId, setCreateDate, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setLeftCategoryId, setModifiedDate, setName, setNew, setParentCategoryId, setPrimaryKey, setPrimaryKeyObj, setRightCategoryId, setTitle, setTitle, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

getAncestors

List<AssetCategory> getAncestors()
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getTitle

String getTitle(String languageId)
Description copied from interface: AssetCategoryModel
Gets the localized title of this asset category. 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 to get the localized title for
Returns:
the localized title of this asset category

getTitle

String getTitle(String languageId,
                boolean useDefault)
Description copied from interface: AssetCategoryModel
Gets the localized title of this asset category, 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 language to get the localized title for
useDefault - 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()

Liferay 6.0-ee-sp2