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_BITMASK
Fields 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>
int
long[]
long[]
long[]
getUnambiguousTitle
(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies, long groupId, Locale locale) protected AssetVocabularySettingsHelper
boolean
hasMoreThanOneCategorySelected
(long[] categoryIds) boolean
isAssociatedToClassNameId
(long classNameId) boolean
isAssociatedToClassNameIdAndClassTypePK
(long classNameId, long classTypePK) boolean
isMissingRequiredCategory
(long classNameId, long classTypePK, long[] categoryIds) Deprecated.boolean
isMissingRequiredCategory
(long classNameId, long classTypePK, long[] categoryIds, long groupId) boolean
boolean
isRequired
(long classNameId, long classTypePK) Deprecated.As of Athanasius (7.3.x), replaced byisRequired(long, long, long)
boolean
isRequired
(long classNameId, long classTypePK, long groupId) void
setSettings
(String settings) Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
persist
Methods 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, toString
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toXmlString
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods 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:
getSettings
in interfacecom.liferay.asset.kernel.model.AssetVocabularyModel
- Overrides:
getSettings
in classAssetVocabularyModelImpl
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.asset.kernel.model.AssetVocabularyModel
- Overrides:
getTitle
in classAssetVocabularyModelImpl
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.asset.kernel.model.AssetVocabularyModel
- Overrides:
getTitle
in 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:
setSettings
in interfacecom.liferay.asset.kernel.model.AssetVocabularyModel
- Overrides:
setSettings
in classAssetVocabularyModelImpl
-
getVocabularySettingsHelper
-
isMissingRequiredCategory(long, long, long[], long)