com.liferay.portal.model.impl
Class RoleImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      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.RoleModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class RoleImpl
extends RoleModelImpl
implements com.liferay.portal.model.Role

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.String ADMINISTRATOR
           
static java.lang.String COMMUNITY_ADMINISTRATOR
           
static java.lang.String COMMUNITY_MEMBER
           
static java.lang.String COMMUNITY_OWNER
           
static java.lang.String GUEST
           
static java.lang.String ORGANIZATION_ADMINISTRATOR
           
static java.lang.String ORGANIZATION_MEMBER
           
static java.lang.String ORGANIZATION_OWNER
           
static java.lang.String POWER_USER
           
static java.lang.String[] SYSTEM_COMMUNITY_ROLES
           
static java.lang.String[] SYSTEM_ORGANIZATION_ROLES
           
static java.lang.String[] SYSTEM_ROLES
           
static int TYPE_COMMUNITY
           
static java.lang.String TYPE_COMMUNITY_LABEL
           
static int TYPE_ORGANIZATION
           
static java.lang.String TYPE_ORGANIZATION_LABEL
           
static int TYPE_REGULAR
           
static java.lang.String TYPE_REGULAR_LABEL
           
static java.lang.String USER
           
 
Fields inherited from class com.liferay.portal.model.impl.RoleModelImpl
CACHE_ENABLED, CACHE_ENABLED_GROUPS_ROLES, CACHE_ENABLED_ROLES_PERMISSIONS, CACHE_ENABLED_USERS_ROLES, LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP
 
Constructor Summary
RoleImpl()
           
 
Method Summary
 java.lang.String getTypeLabel()
           
static java.lang.String getTypeLabel(int type)
           
 
Methods inherited from class com.liferay.portal.model.impl.RoleModelImpl
clone, compareTo, equals, getClassName, getClassNameId, getClassPK, getCompanyId, getDescription, getName, getPrimaryKey, getPrimaryKeyObj, getRoleId, getType, hashCode, setClassNameId, setClassPK, setCompanyId, setDescription, setName, setPrimaryKey, setRoleId, setType, toEscapedModel, toModel, toModels
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.RoleModel
getClassName, getClassNameId, getClassPK, getCompanyId, getDescription, getName, getPrimaryKey, getRoleId, getType, setClassNameId, setClassPK, setCompanyId, setDescription, setName, setPrimaryKey, setRoleId, setType, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

ADMINISTRATOR

public static final java.lang.String ADMINISTRATOR
See Also:
Constant Field Values

GUEST

public static final java.lang.String GUEST
See Also:
Constant Field Values

POWER_USER

public static final java.lang.String POWER_USER
See Also:
Constant Field Values

USER

public static final java.lang.String USER
See Also:
Constant Field Values

SYSTEM_ROLES

public static final java.lang.String[] SYSTEM_ROLES

COMMUNITY_ADMINISTRATOR

public static final java.lang.String COMMUNITY_ADMINISTRATOR
See Also:
Constant Field Values

COMMUNITY_MEMBER

public static final java.lang.String COMMUNITY_MEMBER
See Also:
Constant Field Values

COMMUNITY_OWNER

public static final java.lang.String COMMUNITY_OWNER
See Also:
Constant Field Values

SYSTEM_COMMUNITY_ROLES

public static final java.lang.String[] SYSTEM_COMMUNITY_ROLES

ORGANIZATION_ADMINISTRATOR

public static final java.lang.String ORGANIZATION_ADMINISTRATOR
See Also:
Constant Field Values

ORGANIZATION_MEMBER

public static final java.lang.String ORGANIZATION_MEMBER
See Also:
Constant Field Values

ORGANIZATION_OWNER

public static final java.lang.String ORGANIZATION_OWNER
See Also:
Constant Field Values

SYSTEM_ORGANIZATION_ROLES

public static final java.lang.String[] SYSTEM_ORGANIZATION_ROLES

TYPE_COMMUNITY

public static final int TYPE_COMMUNITY
See Also:
Constant Field Values

TYPE_COMMUNITY_LABEL

public static final java.lang.String TYPE_COMMUNITY_LABEL
See Also:
Constant Field Values

TYPE_ORGANIZATION

public static final int TYPE_ORGANIZATION
See Also:
Constant Field Values

TYPE_ORGANIZATION_LABEL

public static final java.lang.String TYPE_ORGANIZATION_LABEL
See Also:
Constant Field Values

TYPE_REGULAR

public static final int TYPE_REGULAR
See Also:
Constant Field Values

TYPE_REGULAR_LABEL

public static final java.lang.String TYPE_REGULAR_LABEL
See Also:
Constant Field Values
Constructor Detail

RoleImpl

public RoleImpl()
Method Detail

getTypeLabel

public static java.lang.String getTypeLabel(int type)

getTypeLabel

public java.lang.String getTypeLabel()
Specified by:
getTypeLabel in interface com.liferay.portal.model.Role