|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Role
The model interface for the Role service. Represents a row in the "Role_" database table, with each column mapped to a property of this class.
Never modify this interface directly. Add methods to RoleImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
Never reference this interface directly. All methods that expect a role model instance should use the Role
interface instead.
RoleModel
,
RoleImpl
,
RoleModelImpl
Method Summary | |
---|---|
String |
getDescriptiveName()
|
String |
getTitle(String languageId)
Gets the localized title of this role. |
String |
getTitle(String languageId,
boolean useDefault)
Gets the localized title of this role, optionally using the default language if no localization exists for the requested language. |
String |
getTypeLabel()
|
boolean |
isTeam()
|
Methods inherited from interface com.liferay.portal.model.RoleModel |
---|
clone, compareTo, getClassName, getClassNameId, getClassPK, getCompanyId, getDescription, getExpandoBridge, getName, getPrimaryKey, getPrimaryKeyObj, getRoleId, getSubtype, getTitle, getTitle, getTitle, getTitleMap, getType, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setClassNameId, setClassPK, setCompanyId, setDescription, setEscapedModel, setExpandoBridgeAttributes, setName, setNew, setPrimaryKey, setRoleId, setSubtype, setTitle, setTitle, setTitleMap, setType, toEscapedModel, toString, toXmlString |
Method Detail |
---|
String getDescriptiveName() throws PortalException, SystemException
PortalException
SystemException
String getTitle(String languageId)
RoleModel
getTitle
in interface RoleModel
languageId
- the id of the language to get the localized title for
String getTitle(String languageId, boolean useDefault)
RoleModel
getTitle
in interface RoleModel
languageId
- the id of the language to get the localized title foruseDefault
- whether to use the default language if no localization exists for the requested language
String getTypeLabel()
boolean isTeam()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |