|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<AssetCategory>
com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
com.liferay.portlet.asset.model.impl.AssetCategoryBaseImpl
com.liferay.portlet.asset.model.impl.AssetCategoryImpl
public class AssetCategoryImpl
Field Summary |
---|
Fields inherited from interface com.liferay.portlet.asset.model.AssetCategory |
---|
CATEGORY_ID_ACCESSOR, NAME_ACCESSOR, UUID_ACCESSOR |
Constructor Summary | |
---|---|
AssetCategoryImpl()
|
Method Summary | |
---|---|
List<AssetCategory> |
getAncestors()
|
String |
getTitle(String languageId)
Returns the localized title of this asset category in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this asset category in the language, optionally using the default language if no localization exists for the requested language. |
boolean |
isRootCategory()
|
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetCategoryBaseImpl |
---|
persist |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
resetOriginalValues |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Constructor Detail |
---|
public AssetCategoryImpl()
Method Detail |
---|
public List<AssetCategory> getAncestors() throws PortalException, SystemException
PortalException
SystemException
public String getTitle(String languageId)
AssetCategoryModel
getTitle
in interface AssetCategory
getTitle
in interface AssetCategoryModel
getTitle
in class AssetCategoryModelImpl
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
AssetCategoryModel
getTitle
in interface AssetCategory
getTitle
in interface AssetCategoryModel
getTitle
in class AssetCategoryModelImpl
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public boolean isRootCategory()
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |