Class AssetVocabularyImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetVocabulary>
com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
com.liferay.portlet.asset.model.impl.AssetVocabularyImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.model.AssetVocabulary,com.liferay.asset.kernel.model.AssetVocabularyModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetVocabulary>,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.asset.kernel.model.AssetVocabulary>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,Serializable,Cloneable,Comparable<com.liferay.asset.kernel.model.AssetVocabulary>
- Author:
- Brian Wing Shun Chan, Juan Fernández
- See Also:
-
Field Summary
Fields inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
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, ORDER_BY_SQL_INLINE_DISTINCT, SESSION_FACTORY, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK, VISIBILITYTYPE_COLUMN_BITMASKFields inherited from interface com.liferay.asset.kernel.model.AssetVocabulary
VOCABULARY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.liferay.asset.kernel.model.AssetCategory>intlong[]long[]long[]getUnambiguousTitle(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies, long groupId, Locale locale) protected AssetVocabularySettingsHelperbooleanhasMoreThanOneCategorySelected(long[] categoryIds) booleanisAssociatedToClassNameId(long classNameId) booleanisAssociatedToClassNameIdAndClassTypePK(long classNameId, long classTypePK) booleanisMissingRequiredCategory(long classNameId, long classTypePK, long[] categoryIds) Deprecated.booleanisMissingRequiredCategory(long classNameId, long classTypePK, long[] categoryIds, long groupId) booleanbooleanisRequired(long classNameId, long classTypePK) Deprecated.As of Athanasius (7.3.x), replaced byisRequired(long, long, long)booleanisRequired(long classNameId, long classTypePK, long groupId) voidsetSettings(String settings) Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
persistMethods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
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, toStringMethods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.asset.kernel.model.AssetVocabularyModel
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, toXmlStringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Constructor Details
-
AssetVocabularyImpl
public AssetVocabularyImpl()
-
-
Method Details
-
getCategories
-
getCategoriesCount
public int getCategoriesCount() -
getRequiredClassNameIds
public long[] getRequiredClassNameIds() -
getSelectedClassNameIds
public long[] getSelectedClassNameIds() -
getSelectedClassTypePKs
public long[] getSelectedClassTypePKs() -
getSettings
- Specified by:
getSettingsin interfacecom.liferay.asset.kernel.model.AssetVocabularyModel- Overrides:
getSettingsin classAssetVocabularyModelImpl
-
getTitle
- Specified by:
getTitlein interfacecom.liferay.asset.kernel.model.AssetVocabularyModel- Overrides:
getTitlein classAssetVocabularyModelImpl
-
getTitle
- Specified by:
getTitlein interfacecom.liferay.asset.kernel.model.AssetVocabularyModel- Overrides:
getTitlein classAssetVocabularyModelImpl
-
getUnambiguousTitle
public String getUnambiguousTitle(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies, long groupId, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasMoreThanOneCategorySelected
public boolean hasMoreThanOneCategorySelected(long[] categoryIds) -
isAssociatedToClassNameId
public boolean isAssociatedToClassNameId(long classNameId) -
isAssociatedToClassNameIdAndClassTypePK
public boolean isAssociatedToClassNameIdAndClassTypePK(long classNameId, long classTypePK) -
isMissingRequiredCategory
@Deprecated public boolean isMissingRequiredCategory(long classNameId, long classTypePK, long[] categoryIds) Deprecated.As of Athanasius (7.3.x), replaced byisMissingRequiredCategory(long, long, long[], long) -
isMissingRequiredCategory
public boolean isMissingRequiredCategory(long classNameId, long classTypePK, long[] categoryIds, long groupId) -
isMultiValued
public boolean isMultiValued() -
isRequired
Deprecated.As of Athanasius (7.3.x), replaced byisRequired(long, long, long) -
isRequired
public boolean isRequired(long classNameId, long classTypePK, long groupId) -
setSettings
- Specified by:
setSettingsin interfacecom.liferay.asset.kernel.model.AssetVocabularyModel- Overrides:
setSettingsin classAssetVocabularyModelImpl
-
getVocabularySettingsHelper
-
isMissingRequiredCategory(long, long, long[], long)