Liferay 6.0-ee-sp2

com.liferay.portlet.asset.model
Interface AssetVocabulary

All Superinterfaces:
AssetVocabularyModel, AuditedModel, BaseModel<AssetVocabulary>, ClassedModel, Cloneable, Comparable<AssetVocabulary>, GroupedModel, PersistedModel, Serializable
All Known Implementing Classes:
AssetVocabularyWrapper

public interface AssetVocabulary
extends AssetVocabularyModel, PersistedModel

The extended model interface for the AssetVocabulary service. Represents a row in the "AssetVocabulary" database table, with each column mapped to a property of this class.

See Also:
AssetVocabularyModel, AssetVocabularyImpl, AssetVocabularyModelImpl

Method Summary
 String getTitle(String languageId)
          Gets the localized title of this asset vocabulary.
 String getTitle(String languageId, boolean useDefault)
          Gets the localized title of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
 
Methods inherited from interface com.liferay.portlet.asset.model.AssetVocabularyModel
clone, compareTo, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionMap, getExpandoBridge, getGroupId, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getSettings, getTitle, getTitle, getTitle, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescriptionMap, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setSettings, setTitle, setTitle, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

getTitle

String getTitle(String languageId)
Description copied from interface: AssetVocabularyModel
Gets the localized title of this asset vocabulary. Uses the default language if no localization exists for the requested language.

Specified by:
getTitle in interface AssetVocabularyModel
Parameters:
languageId - the id of the language to get the localized title for
Returns:
the localized title of this asset vocabulary

getTitle

String getTitle(String languageId,
                boolean useDefault)
Description copied from interface: AssetVocabularyModel
Gets the localized title of this asset vocabulary, optionally using the default language if no localization exists for the requested language.

Specified by:
getTitle in interface AssetVocabularyModel
Parameters:
languageId - the id of the language to get the localized title for
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized title of this asset vocabulary

Liferay 6.0-ee-sp2