com.liferay.portal.model
Interface Role
- All Superinterfaces:
- AttachedModel, BaseModel<Role>, ClassedModel, java.lang.Cloneable, java.lang.Comparable<Role>, PersistedModel, RoleModel, java.io.Serializable
- All Known Implementing Classes:
- 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.
- Author:
- Brian Wing Shun Chan
- See Also:
RoleModel,
RoleImpl,
RoleModelImpl- Generated:
|
Method Summary |
java.lang.String |
getDescriptiveName()
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this role in the language. |
java.lang.String |
getTitle(java.lang.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. |
java.lang.String |
getTypeLabel()
|
boolean |
isTeam()
|
| 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, toXmlString |
ROLE_ID_ACCESSOR
static final Accessor<Role,java.lang.Long> ROLE_ID_ACCESSOR
NAME_ACCESSOR
static final Accessor<Role,java.lang.String> NAME_ACCESSOR
getDescriptiveName
java.lang.String getDescriptiveName()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTitle
java.lang.String getTitle(java.lang.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
java.lang.String getTitle(java.lang.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
java.lang.String getTypeLabel()
isTeam
boolean isTeam()