Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Interface Role

All Superinterfaces:
AttachedModel, BaseModel<Role>, ClassedModel, Cloneable, Comparable<Role>, PersistedModel, RoleModel, 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.

See Also:
RoleModel, RoleImpl, RoleModelImpl

Field Summary
static Accessor<Role,String> NAME_ACCESSOR
           
static Accessor<Role,Long> ROLE_ID_ACCESSOR
           
 
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()
           
 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, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Field Detail

ROLE_ID_ACCESSOR

static final Accessor<Role,Long> ROLE_ID_ACCESSOR

NAME_ACCESSOR

static final Accessor<Role,String> NAME_ACCESSOR
Method Detail

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 language
useDefault - 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()

Liferay 6.1.2-ce-ga3