Liferay 6.2-ce-ga5

com.liferay.portal.model
Class RoleConstants

java.lang.Object
  extended by com.liferay.portal.model.RoleConstants

public class RoleConstants
extends Object

Contains constants used by roles, including the names of the default roles and the role types.


Field Summary
static String ADMINISTRATOR
           
static String GUEST
           
static String ORGANIZATION_ADMINISTRATOR
           
static String ORGANIZATION_OWNER
           
static String ORGANIZATION_USER
           
static String OWNER
           
static String PORTAL_CONTENT_REVIEWER
           
static String POWER_USER
           
static String SITE_ADMINISTRATOR
           
static String SITE_CONTENT_REVIEWER
           
static String SITE_MEMBER
           
static String SITE_OWNER
           
static String[] SYSTEM_ORGANIZATION_ROLES
           
static String[] SYSTEM_ROLES
           
static String[] SYSTEM_SITE_ROLES
           
static int TYPE_ORGANIZATION
           
static String TYPE_ORGANIZATION_LABEL
           
static int TYPE_PROVIDER
           
static int TYPE_REGULAR
           
static String TYPE_REGULAR_LABEL
           
static int TYPE_SITE
           
static String TYPE_SITE_LABEL
           
static int[] TYPES_ORGANIZATION_AND_REGULAR
           
static int[] TYPES_ORGANIZATION_AND_REGULAR_AND_SITE
           
static int[] TYPES_REGULAR
           
static int[] TYPES_REGULAR_AND_SITE
           
static String USER
           
 
Constructor Summary
RoleConstants()
           
 
Method Summary
static String getTypeLabel(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADMINISTRATOR

public static final String ADMINISTRATOR
See Also:
Constant Field Values

GUEST

public static final String GUEST
See Also:
Constant Field Values

ORGANIZATION_ADMINISTRATOR

public static final String ORGANIZATION_ADMINISTRATOR
See Also:
Constant Field Values

ORGANIZATION_OWNER

public static final String ORGANIZATION_OWNER
See Also:
Constant Field Values

ORGANIZATION_USER

public static final String ORGANIZATION_USER
See Also:
Constant Field Values

OWNER

public static final String OWNER
See Also:
Constant Field Values

PORTAL_CONTENT_REVIEWER

public static final String PORTAL_CONTENT_REVIEWER
See Also:
Constant Field Values

POWER_USER

public static final String POWER_USER
See Also:
Constant Field Values

SITE_ADMINISTRATOR

public static final String SITE_ADMINISTRATOR
See Also:
Constant Field Values

SITE_CONTENT_REVIEWER

public static final String SITE_CONTENT_REVIEWER
See Also:
Constant Field Values

SITE_MEMBER

public static final String SITE_MEMBER
See Also:
Constant Field Values

SITE_OWNER

public static final String SITE_OWNER
See Also:
Constant Field Values

SYSTEM_ORGANIZATION_ROLES

public static final String[] SYSTEM_ORGANIZATION_ROLES

SYSTEM_ROLES

public static final String[] SYSTEM_ROLES

SYSTEM_SITE_ROLES

public static final String[] SYSTEM_SITE_ROLES

TYPE_ORGANIZATION

public static final int TYPE_ORGANIZATION
See Also:
Constant Field Values

TYPE_ORGANIZATION_LABEL

public static final String TYPE_ORGANIZATION_LABEL
See Also:
Constant Field Values

TYPE_PROVIDER

public static final int TYPE_PROVIDER
See Also:
Constant Field Values

TYPE_REGULAR

public static final int TYPE_REGULAR
See Also:
Constant Field Values

TYPE_REGULAR_LABEL

public static final String TYPE_REGULAR_LABEL
See Also:
Constant Field Values

TYPE_SITE

public static final int TYPE_SITE
See Also:
Constant Field Values

TYPE_SITE_LABEL

public static final String TYPE_SITE_LABEL
See Also:
Constant Field Values

TYPES_ORGANIZATION_AND_REGULAR

public static final int[] TYPES_ORGANIZATION_AND_REGULAR

TYPES_ORGANIZATION_AND_REGULAR_AND_SITE

public static final int[] TYPES_ORGANIZATION_AND_REGULAR_AND_SITE

TYPES_REGULAR

public static final int[] TYPES_REGULAR

TYPES_REGULAR_AND_SITE

public static final int[] TYPES_REGULAR_AND_SITE

USER

public static final String USER
See Also:
Constant Field Values
Constructor Detail

RoleConstants

public RoleConstants()
Method Detail

getTypeLabel

public static String getTypeLabel(int type)

Liferay 6.2-ce-ga5