com.liferay.portal.model.impl
Class RoleImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portal.model.impl.RoleModelImpl
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
Fields inherited from class com.liferay.portal.model.impl.RoleModelImpl |
CACHE_ENABLED, CACHE_ENABLED_GROUPS_ROLES, CACHE_ENABLED_ROLES_PERMISSIONS, CACHE_ENABLED_USERS_ROLES, DATA_SOURCE, LOCK_EXPIRATION_TIME, 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, 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 |
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
RoleImpl
public RoleImpl()
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