Liferay 6.0.5

com.liferay.portal.model
Interface Role

All Superinterfaces:
BaseModel<Role>, Cloneable, Comparable<Role>, RoleModel, Serializable
All Known Implementing Classes:
RoleImpl, RoleWrapper

public interface Role
extends RoleModel

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.

See Also:
RoleModel, RoleImpl, RoleModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

getDescriptiveName

String getDescriptiveName()
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getTitle

String getTitle(String languageId)
Description copied from interface: RoleModel
Gets the localized title of this role. 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 to get the localized title for
Returns:
the localized title of this role

getTitle

String getTitle(String languageId,
                boolean useDefault)
Description copied from interface: RoleModel
Gets the localized title of this role, 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 to get the localized title for
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.0.5