Liferay 6.1.2-ce-ga3

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.

Field Summary
static Accessor<AssetCategory,Long> CATEGORY_ID_ACCESSOR
           
static Accessor<AssetCategory,String> NAME_ACCESSOR
           
static Accessor<AssetCategory,String> UUID_ACCESSOR
           
 
Method Summary
 List<AssetCategory> getAncestors()
           
 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.
 boolean isRootCategory()
           
 
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
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Field Detail

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
Method Detail

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 language
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.1.2-ce-ga3