com.liferay.portal.model.impl
Class RoleImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Role>
      extended by com.liferay.portal.model.impl.RoleModelImpl
          extended by com.liferay.portal.model.impl.RoleBaseImpl
              extended by com.liferay.portal.model.impl.RoleImpl
All Implemented Interfaces:
com.liferay.portal.model.AttachedModel, com.liferay.portal.model.BaseModel<com.liferay.portal.model.Role>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.PersistedModel, com.liferay.portal.model.Role, com.liferay.portal.model.RoleModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Role>

public class RoleImpl
extends RoleBaseImpl

Author:
Brian Wing Shun Chan, Jorge Ferrer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.RoleModelImpl
CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, 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_COLUMNS, MAPPING_TABLE_GROUPS_ROLES_NAME, MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE, MAPPING_TABLE_ROLES_PERMISSIONS_COLUMNS, MAPPING_TABLE_ROLES_PERMISSIONS_NAME, MAPPING_TABLE_ROLES_PERMISSIONS_SQL_CREATE, MAPPING_TABLE_USERS_ROLES_COLUMNS, MAPPING_TABLE_USERS_ROLES_NAME, MAPPING_TABLE_USERS_ROLES_SQL_CREATE, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, SUBTYPE_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, TYPE_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.portal.model.Role
NAME_ACCESSOR, ROLE_ID_ACCESSOR
 
Constructor Summary
RoleImpl()
           
 
Method Summary
 java.lang.String getDescriptiveName()
           
 java.lang.String getTitle(java.lang.String languageId)
           
 java.lang.String getTitle(java.lang.String languageId, boolean useDefault)
           
 java.lang.String getTypeLabel()
           
protected  boolean hasClassName(java.lang.Class<?> clazz)
           
 boolean isTeam()
           
 
Methods inherited from class com.liferay.portal.model.impl.RoleBaseImpl
persist
 
Methods inherited from class com.liferay.portal.model.impl.RoleModelImpl
clone, compareTo, equals, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getModelClass, getModelClassName, getName, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalName, getOriginalSubtype, getOriginalType, getPrimaryKey, getPrimaryKeyObj, getRoleId, getSubtype, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, hashCode, resetOriginalValues, setClassNameId, setClassPK, setCompanyId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setName, setPrimaryKey, setPrimaryKeyObj, setRoleId, setSubtype, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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, setCachedModel, 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
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

RoleImpl

public RoleImpl()
Method Detail

getDescriptiveName

public java.lang.String getDescriptiveName()
                                    throws com.liferay.portal.kernel.exception.PortalException,
                                           com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTitle

public java.lang.String getTitle(java.lang.String languageId)
Specified by:
getTitle in interface com.liferay.portal.model.Role
Specified by:
getTitle in interface com.liferay.portal.model.RoleModel
Overrides:
getTitle in class RoleModelImpl

getTitle

public java.lang.String getTitle(java.lang.String languageId,
                                 boolean useDefault)
Specified by:
getTitle in interface com.liferay.portal.model.Role
Specified by:
getTitle in interface com.liferay.portal.model.RoleModel
Overrides:
getTitle in class RoleModelImpl

getTypeLabel

public java.lang.String getTypeLabel()

isTeam

public boolean isTeam()

hasClassName

protected boolean hasClassName(java.lang.Class<?> clazz)