Liferay 6.0.5

com.liferay.portlet.asset.model
Interface AssetVocabulary

All Superinterfaces:
AssetVocabularyModel, BaseModel<AssetVocabulary>, Cloneable, Comparable<AssetVocabulary>, Serializable
All Known Implementing Classes:
AssetVocabularyImpl, AssetVocabularyWrapper

public interface AssetVocabulary
extends AssetVocabularyModel

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

Never modify this interface directly. Add methods to AssetVocabularyImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a asset vocabulary model instance should use the AssetVocabulary interface instead.

See Also:
AssetVocabularyModel, AssetVocabularyImpl, AssetVocabularyModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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, setSettings, setTitle, setTitle, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toEscapedModel, toString, toXmlString
 

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.5