public class AssetCategoryImpl extends AssetCategoryBaseImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, EXTERNALREFERENCECODE_COLUMN_BITMASK, 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_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TREEPATH_COLUMN_BITMASK, TX_MANAGER, UUID_COLUMN_BITMASK, VOCABULARYID_COLUMN_BITMASKCATEGORY_ID_ACCESSOR, NAME_ACCESSOR, UUID_ACCESSOR| Constructor and Description |
|---|
AssetCategoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AssetCategory> |
getAncestors() |
AssetCategory |
getParentCategory() |
java.lang.String |
getPath(java.util.Locale locale) |
java.lang.String |
getPath(java.util.Locale locale,
boolean reverse) |
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this asset category in the language.
|
java.lang.String |
getTitle(java.lang.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() |
buildTreePath, persist, updateTreePathclone, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getAvailableLanguageIds, getCategoryId, getColumnBitmask, getCompanyId, getCreateDate, getCtCollectionId, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getExternalReferenceCode, getGroupId, getLastPublishDate, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getName, getOriginalCompanyId, getOriginalExternalReferenceCode, getOriginalGroupId, getOriginalName, getOriginalParentCategoryId, getOriginalTreePath, getOriginalUuid, getOriginalVocabularyId, getParentCategoryId, getPrimaryKey, getPrimaryKeyObj, getStagedModelType, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setCategoryId, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExternalReferenceCode, setGroupId, setLastPublishDate, setModelAttributes, setModifiedDate, setMvccVersion, setName, setParentCategoryId, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitgetAvailableLanguageIds, getCategoryId, getCompanyId, getCreateDate, getCtCollectionId, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExternalReferenceCode, getGroupId, getLastPublishDate, getModifiedDate, getMvccVersion, getName, getParentCategoryId, getPrimaryKey, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCategoryId, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExternalReferenceCode, setGroupId, setLastPublishDate, setModifiedDate, setMvccVersion, setName, setParentCategoryId, setPrimaryKey, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVocabularyIdclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclone, getStagedModelTypegetPrimaryKeyObj, getTreePathpublic java.util.List<AssetCategory> getAncestors() throws PortalException
PortalExceptionpublic AssetCategory getParentCategory()
public java.lang.String getPath(java.util.Locale locale)
throws PortalException
PortalExceptionpublic java.lang.String getPath(java.util.Locale locale,
boolean reverse)
throws PortalException
PortalExceptionpublic java.lang.String getTitle(java.lang.String languageId)
AssetCategoryModelgetTitle in interface AssetCategoryModelgetTitle in class AssetCategoryModelImpllanguageId - the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
AssetCategoryModelgetTitle in interface AssetCategoryModelgetTitle in class AssetCategoryModelImpllanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic boolean isRootCategory()