public class AssetVocabularyImpl extends AssetVocabularyBaseImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, EXTERNALREFERENCECODE_COLUMN_BITMASK, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASKVOCABULARY_ID_ACCESSOR| Constructor and Description |
|---|
AssetVocabularyImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AssetCategory> |
getCategories() |
int |
getCategoriesCount() |
long[] |
getRequiredClassNameIds() |
long[] |
getSelectedClassNameIds() |
long[] |
getSelectedClassTypePKs() |
java.lang.String |
getSettings()
Returns the settings of this asset vocabulary.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this asset vocabulary in the language.
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getUnambiguousTitle(java.util.List<AssetVocabulary> vocabularies,
long groupId,
java.util.Locale locale) |
protected AssetVocabularySettingsHelper |
getVocabularySettingsHelper() |
boolean |
hasMoreThanOneCategorySelected(long[] categoryIds) |
boolean |
isAssociatedToClassNameId(long classNameId) |
boolean |
isAssociatedToClassNameIdAndClassTypePK(long classNameId,
long classTypePK) |
boolean |
isMissingRequiredCategory(long classNameId,
long classTypePK,
long[] categoryIds) |
boolean |
isMultiValued() |
boolean |
isRequired(long classNameId,
long classTypePK) |
void |
setSettings(java.lang.String settings)
Sets the settings of this asset vocabulary.
|
persistclone, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getAvailableLanguageIds, 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, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getStagedModelType, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVisibilityType, getVocabularyId, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExternalReferenceCode, setGroupId, setLastPublishDate, setModelAttributes, setModifiedDate, setMvccVersion, setName, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVisibilityType, setVocabularyId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitgetAvailableLanguageIds, getCompanyId, getCreateDate, getCtCollectionId, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExternalReferenceCode, getGroupId, getLastPublishDate, getModifiedDate, getMvccVersion, getName, getPrimaryKey, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVisibilityType, getVocabularyId, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExternalReferenceCode, setGroupId, setLastPublishDate, setModifiedDate, setMvccVersion, setName, setPrimaryKey, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVisibilityType, setVocabularyIdclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclone, getStagedModelTypepublic java.util.List<AssetCategory> getCategories()
public int getCategoriesCount()
public long[] getRequiredClassNameIds()
public long[] getSelectedClassNameIds()
public long[] getSelectedClassTypePKs()
public java.lang.String getSettings()
AssetVocabularyModelgetSettings in interface AssetVocabularyModelgetSettings in class AssetVocabularyModelImplpublic java.lang.String getTitle(java.lang.String languageId)
AssetVocabularyModelgetTitle in interface AssetVocabularyModelgetTitle in class AssetVocabularyModelImpllanguageId - the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
AssetVocabularyModelgetTitle in interface AssetVocabularyModelgetTitle in class AssetVocabularyModelImpllanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getUnambiguousTitle(java.util.List<AssetVocabulary> vocabularies, long groupId, java.util.Locale locale) throws PortalException
PortalExceptionpublic boolean hasMoreThanOneCategorySelected(long[] categoryIds)
public boolean isAssociatedToClassNameId(long classNameId)
public boolean isAssociatedToClassNameIdAndClassTypePK(long classNameId,
long classTypePK)
public boolean isMissingRequiredCategory(long classNameId,
long classTypePK,
long[] categoryIds)
public boolean isMultiValued()
public boolean isRequired(long classNameId,
long classTypePK)
public void setSettings(java.lang.String settings)
AssetVocabularyModelsetSettings in interface AssetVocabularyModelsetSettings in class AssetVocabularyModelImplsettings - the settings of this asset vocabularyprotected AssetVocabularySettingsHelper getVocabularySettingsHelper()