com.liferay.portal.model
Interface Role
- All Superinterfaces:
- AttachedModel, BaseModel<Role>, ClassedModel, Cloneable, Comparable<Role>, PersistedModel, RoleModel, Serializable
- All Known Implementing Classes:
- RoleBaseImpl, RoleImpl, RoleWrapper
public interface Role
- extends RoleModel, PersistedModel
The extended model interface for the Role service. Represents a row in the "Role_" database table, with each column mapped to a property of this class.
- See Also:
RoleModel
,
RoleImpl
,
RoleModelImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Methods inherited from interface com.liferay.portal.model.RoleModel |
clone, compareTo, getClassName, getClassNameId, getClassPK, getCompanyId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getName, getPrimaryKey, getPrimaryKeyObj, getRoleId, getSubtype, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setRoleId, setSubtype, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
ROLE_ID_ACCESSOR
static final Accessor<Role,Long> ROLE_ID_ACCESSOR
NAME_ACCESSOR
static final Accessor<Role,String> NAME_ACCESSOR
getDescriptiveName
String getDescriptiveName()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTitle
String getTitle(String languageId)
- Description copied from interface:
RoleModel
- Returns the localized title of this role in the language. Uses the default language if no localization exists for the requested language.
- Specified by:
getTitle
in interface RoleModel
- Parameters:
languageId
- the ID of the language
- Returns:
- the localized title of this role
getTitle
String getTitle(String languageId,
boolean useDefault)
- Description copied from interface:
RoleModel
- Returns the localized title of this role in the language, optionally using the default language if no localization exists for the requested language.
- Specified by:
getTitle
in interface RoleModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
- Returns:
- the localized title of this role
getTypeLabel
String getTypeLabel()
isTeam
boolean isTeam()