com.liferay.portal.model.impl
Class RoleImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Role>
com.liferay.portal.model.impl.RoleModelImpl
com.liferay.portal.model.impl.RoleImpl
- All Implemented Interfaces:
- BaseModel<Role>, Role, RoleModel, Serializable, Cloneable, Comparable<Role>
public class RoleImpl
- extends RoleModelImpl
- implements Role
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portal.model.impl.RoleModelImpl |
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_GROUPS_ROLES, FINDER_CACHE_ENABLED_ROLES_PERMISSIONS, FINDER_CACHE_ENABLED_USERS_ROLES, LOCK_EXPIRATION_TIME, MAPPING_TABLE_GROUPS_ROLES_NAME, MAPPING_TABLE_ROLES_PERMISSIONS_COLUMNS, MAPPING_TABLE_ROLES_PERMISSIONS_NAME, MAPPING_TABLE_ROLES_PERMISSIONS_SQL_CREATE, MAPPING_TABLE_USERS_ROLES_NAME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
Methods inherited from class com.liferay.portal.model.impl.RoleModelImpl |
clone, compareTo, equals, getClassName, getClassNameId, getClassPK, getCompanyId, getDescription, getExpandoBridge, getName, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalName, getPrimaryKey, getPrimaryKeyObj, getRoleId, getSubtype, getTitle, getTitle, getTitle, getTitleMap, getType, hashCode, setClassNameId, setClassPK, setCompanyId, setDescription, setExpandoBridgeAttributes, setName, setPrimaryKey, setRoleId, setSubtype, setTitle, setTitle, setTitleMap, setType, toEscapedModel, toModel, toModels, toString, toXmlString |
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 |
RoleImpl
public RoleImpl()
getDescriptiveName
public String getDescriptiveName()
throws PortalException,
SystemException
- Specified by:
getDescriptiveName
in interface Role
- Throws:
PortalException
SystemException
getTitle
public 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 Role
- Specified by:
getTitle
in interface RoleModel
- Overrides:
getTitle
in class RoleModelImpl
- Parameters:
languageId
- the id of the language to get the localized title for
- Returns:
- the localized title of this role
getTitle
public 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 Role
- Specified by:
getTitle
in interface RoleModel
- Overrides:
getTitle
in class RoleModelImpl
- Parameters:
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
- Returns:
- the localized title of this role
getTypeLabel
public String getTypeLabel()
- Specified by:
getTypeLabel
in interface Role
isTeam
public boolean isTeam()
- Specified by:
isTeam
in interface Role
hasClassName
protected boolean hasClassName(Class<?> classObj)