public class AssetVocabularyImpl extends AssetVocabularyBaseImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, 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| 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() |
com.liferay.portal.kernel.util.UnicodeProperties |
getSettingsProperties()
Deprecated.
As of 7.0.0, with no direct replacement
|
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)
Deprecated.
As of 7.0.0, replaced by
isRequired(long, long) |
boolean |
isRequired(long classNameId,
long classTypePK) |
void |
setSettings(String settings) |
void |
setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties settingsProperties)
Deprecated.
As of 7.0.0, with no direct replacement
|
persistclone, compareTo, equals, getAvailableLanguageIds, getColumnBitmask, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLastPublishDate, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalGroupId, getOriginalName, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getStagedModelType, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setLastPublishDate, setModelAttributes, setModifiedDate, setName, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelclone, compareTo, getAvailableLanguageIds, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLastPublishDate, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLastPublishDate, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributespublic 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.AssetVocabularyModelgetSettings in class AssetVocabularyModelImpl@Deprecated public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()
public String getTitle(String languageId)
getTitle in interface com.liferay.asset.kernel.model.AssetVocabularyModelgetTitle in class AssetVocabularyModelImplpublic String getTitle(String languageId, boolean useDefault)
getTitle in interface com.liferay.asset.kernel.model.AssetVocabularyModelgetTitle in class AssetVocabularyModelImplpublic 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.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()
@Deprecated public boolean isRequired(long classNameId)
isRequired(long, long)public boolean isRequired(long classNameId,
long classTypePK)
public void setSettings(String settings)
setSettings in interface com.liferay.asset.kernel.model.AssetVocabularyModelsetSettings in class AssetVocabularyModelImpl@Deprecated public void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties settingsProperties)
protected AssetVocabularySettingsHelper getVocabularySettingsHelper()