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 Wilberforce (7.0.x), 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 Wilberforce (7.0.x), 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 Wilberforce (7.0.x), with no direct replacement
|
persist
clone, 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, toXmlString
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
clone, 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, toXmlString
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
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
@Deprecated public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()
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()
@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.AssetVocabularyModel
setSettings
in class AssetVocabularyModelImpl
@Deprecated public void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties settingsProperties)
protected AssetVocabularySettingsHelper getVocabularySettingsHelper()