com.liferay.portlet.asset.model.impl
Class AssetVocabularyImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<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:
- AuditedModel, BaseModel<AssetVocabulary>, ClassedModel, GroupedModel, PersistedModel, AssetVocabulary, AssetVocabularyModel, Serializable, Cloneable, Comparable<AssetVocabulary>
public class AssetVocabularyImpl
- extends AssetVocabularyBaseImpl
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl |
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_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK |
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl |
clone, compareTo, equals, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalGroupId, getOriginalName, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, prepareLocalizedFieldsForImport, resetOriginalValues, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setModelAttributes, setModifiedDate, setName, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString |
Methods inherited from interface com.liferay.portlet.asset.model.AssetVocabularyModel |
clone, compareTo, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
AssetVocabularyImpl
public AssetVocabularyImpl()
getSettings
public String getSettings()
- Description copied from interface:
AssetVocabularyModel
- Returns the settings of this asset vocabulary.
- Specified by:
getSettings
in interface AssetVocabulary
- Specified by:
getSettings
in interface AssetVocabularyModel
- Overrides:
getSettings
in class AssetVocabularyModelImpl
- Returns:
- the settings of this asset vocabulary
getSettingsProperties
public UnicodeProperties getSettingsProperties()
getTitle
public String getTitle(String languageId)
- Description copied from interface:
AssetVocabularyModel
- Returns the localized title of this asset vocabulary in the language. Uses the default language if no localization exists for the requested language.
- Specified by:
getTitle
in interface AssetVocabulary
- Specified by:
getTitle
in interface AssetVocabularyModel
- Overrides:
getTitle
in class AssetVocabularyModelImpl
- Parameters:
languageId
- the ID of the language
- Returns:
- the localized title of this asset vocabulary
getTitle
public String getTitle(String languageId,
boolean useDefault)
- Description copied from interface:
AssetVocabularyModel
- Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
- Specified by:
getTitle
in interface AssetVocabulary
- Specified by:
getTitle
in interface AssetVocabularyModel
- Overrides:
getTitle
in class AssetVocabularyModelImpl
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
- Returns:
- the localized title of this asset vocabulary
isMultiValued
public boolean isMultiValued()
isRequired
public boolean isRequired(long classNameId)
setSettings
public void setSettings(String settings)
- Description copied from interface:
AssetVocabularyModel
- Sets the settings of this asset vocabulary.
- Specified by:
setSettings
in interface AssetVocabulary
- Specified by:
setSettings
in interface AssetVocabularyModel
- Overrides:
setSettings
in class AssetVocabularyModelImpl
- Parameters:
settings
- the settings of this asset vocabulary
setSettingsProperties
public void setSettingsProperties(UnicodeProperties settingsProperties)