Liferay 6.2-ce-ga5

com.liferay.portlet.asset.model.impl
Class AssetVocabularyImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<AssetVocabulary>
      extended by com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
          extended by com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
              extended by com.liferay.portlet.asset.model.impl.AssetVocabularyImpl
All Implemented Interfaces:
AuditedModel, BaseModel<AssetVocabulary>, ClassedModel, GroupedModel, PersistedModel, StagedGroupedModel, StagedModel, AssetVocabulary, AssetVocabularyModel, Serializable, Cloneable, Comparable<AssetVocabulary>

public class AssetVocabularyImpl
extends AssetVocabularyBaseImpl

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
AssetVocabularyImpl()
           
 
Method Summary
 List<AssetCategory> getCategories()
           
 String getSettings()
          Returns the settings of this asset vocabulary.
 UnicodeProperties getSettingsProperties()
           
 String getTitle(String languageId)
          Returns the localized title of this asset vocabulary in the language.
 String getTitle(String languageId, boolean useDefault)
          Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
 boolean isMultiValued()
           
 boolean isRequired(long classNameId)
           
 void setSettings(String settings)
          Sets the settings of this asset vocabulary.
 void setSettingsProperties(UnicodeProperties settingsProperties)
           
 
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
clone, compareTo, equals, getAvailableLanguageIds, getColumnBitmask, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalGroupId, getOriginalName, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getStagedModelType, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, prepareLocalizedFieldsForImport, 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, toXmlString
 
Methods inherited from class com.liferay.portal.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.portlet.asset.model.AssetVocabularyModel
clone, compareTo, getAvailableLanguageIds, getCompanyId, getCreateDate, getDefaultLanguageId, 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, prepareLocalizedFieldsForImport, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 

Constructor Detail

AssetVocabularyImpl

public AssetVocabularyImpl()
Method Detail

getCategories

public List<AssetCategory> getCategories()
                                  throws SystemException
Throws:
SystemException

getSettings

public String getSettings()
Description copied from interface: AssetVocabularyModel
Returns the settings of this asset vocabulary.

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 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 AssetVocabularyModel
Overrides:
getTitle in class AssetVocabularyModelImpl
Parameters:
languageId - the ID of the language
useDefault - 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 AssetVocabularyModel
Overrides:
setSettings in class AssetVocabularyModelImpl
Parameters:
settings - the settings of this asset vocabulary

setSettingsProperties

public void setSettingsProperties(UnicodeProperties settingsProperties)

Liferay 6.2-ce-ga5