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_BITMASK, VISIBILITYTYPE_COLUMN_BITMASK
Constructor and Description |
---|
AssetVocabularyImpl() |
Modifier and Type | Method and Description |
---|---|
List<com.liferay.asset.kernel.model.AssetCategory> |
getCategories() |
int |
getCategoriesCount() |
long[] |
getRequiredClassNameIds() |
long[] |
getSelectedClassNameIds() |
long[] |
getSelectedClassTypePKs() |
String |
getSettings() |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getUnambiguousTitle(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies,
long groupId,
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(String settings) |
persist
clone, cloneWithOriginalValues, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getAvailableLanguageIds, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, 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, getOriginalVisibilityType, 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, toString, toXmlString
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
cloneWithOriginalValues, getAvailableLanguageIds, 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, setVocabularyId
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public List<com.liferay.asset.kernel.model.AssetCategory> getCategories()
public int getCategoriesCount()
public long[] getRequiredClassNameIds()
public long[] getSelectedClassNameIds()
public long[] getSelectedClassTypePKs()
public String getSettings()
getSettings
in interface com.liferay.asset.kernel.model.AssetVocabularyModel
getSettings
in class AssetVocabularyModelImpl
public String getTitle(String languageId)
getTitle
in interface com.liferay.asset.kernel.model.AssetVocabularyModel
getTitle
in class AssetVocabularyModelImpl
public String getTitle(String languageId, boolean useDefault)
getTitle
in interface com.liferay.asset.kernel.model.AssetVocabularyModel
getTitle
in class AssetVocabularyModelImpl
public String getUnambiguousTitle(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies, long groupId, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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(String settings)
setSettings
in interface com.liferay.asset.kernel.model.AssetVocabularyModel
setSettings
in class AssetVocabularyModelImpl
protected AssetVocabularySettingsHelper getVocabularySettingsHelper()