Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.model.impl
Class AssetCategoryImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<AssetCategory>
      extended by com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
          extended by com.liferay.portlet.asset.model.impl.AssetCategoryBaseImpl
              extended by com.liferay.portlet.asset.model.impl.AssetCategoryImpl
All Implemented Interfaces:
AuditedModel, BaseModel<AssetCategory>, ClassedModel, GroupedModel, PersistedModel, AssetCategory, AssetCategoryModel, Serializable, Cloneable, Comparable<AssetCategory>

public class AssetCategoryImpl
extends AssetCategoryBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS, MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME, MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTCATEGORYID_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK, VOCABULARYID_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetCategory
CATEGORY_ID_ACCESSOR, NAME_ACCESSOR, UUID_ACCESSOR
 
Constructor Summary
AssetCategoryImpl()
           
 
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 class com.liferay.portlet.asset.model.impl.AssetCategoryBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
clone, compareTo, equals, getCategoryId, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLeftCategoryId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalGroupId, getOriginalName, getOriginalParentCategoryId, getOriginalUuid, getOriginalVocabularyId, getParentCategoryId, getPrimaryKey, getPrimaryKeyObj, getRightCategoryId, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, prepareLocalizedFieldsForImport, resetOriginalValues, setCategoryId, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setLeftCategoryId, setModelAttributes, setModifiedDate, setName, setParentCategoryId, setPrimaryKey, setPrimaryKeyObj, setRightCategoryId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

AssetCategoryImpl

public AssetCategoryImpl()
Method Detail

getAncestors

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

getTitle

public 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 AssetCategory
Specified by:
getTitle in interface AssetCategoryModel
Overrides:
getTitle in class AssetCategoryModelImpl
Parameters:
languageId - the ID of the language
Returns:
the localized title of this asset category

getTitle

public 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 AssetCategory
Specified by:
getTitle in interface AssetCategoryModel
Overrides:
getTitle in class AssetCategoryModelImpl
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

public boolean isRootCategory()

Liferay 6.1.2-ce-ga3