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.RoleImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.Role>, 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 RoleModelImpl
implements com.liferay.portal.model.Role

View Source

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

Field Summary
 
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
 
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<?> classObj)
           
 boolean isTeam()
           
 
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 class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

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
Specified by:
getDescriptiveName in interface com.liferay.portal.model.Role
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()
Specified by:
getTypeLabel in interface com.liferay.portal.model.Role

isTeam

public boolean isTeam()
Specified by:
isTeam in interface com.liferay.portal.model.Role

hasClassName

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