|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<Role> com.liferay.portal.model.impl.RoleModelImpl com.liferay.portal.model.impl.RoleBaseImpl com.liferay.portal.model.impl.RoleImpl
public class RoleImpl
Field Summary |
---|
Fields inherited from interface com.liferay.portal.model.Role |
---|
NAME_ACCESSOR, ROLE_ID_ACCESSOR |
Constructor Summary | |
---|---|
RoleImpl()
|
Method Summary | |
---|---|
String |
getDescriptiveName()
|
String |
getTitle(String languageId)
Returns the localized title of this role in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this role in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTypeLabel()
|
protected boolean |
hasClassName(Class<?> clazz)
|
boolean |
isTeam()
|
Methods inherited from class com.liferay.portal.model.impl.RoleBaseImpl |
---|
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 |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Constructor Detail |
---|
public RoleImpl()
Method Detail |
---|
public String getDescriptiveName() throws PortalException, SystemException
PortalException
SystemException
public String getTitle(String languageId)
RoleModel
getTitle
in interface Role
getTitle
in interface RoleModel
getTitle
in class RoleModelImpl
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
RoleModel
getTitle
in interface Role
getTitle
in interface RoleModel
getTitle
in class RoleModelImpl
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getTypeLabel()
public boolean isTeam()
protected boolean hasClassName(Class<?> clazz)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |