com.adobe.livecycle.rca.common
Class RCAConstants.RCARole

java.lang.Object
  extended by java.lang.Enum
      extended by com.adobe.livecycle.rca.common.RCAConstants.RCARole
All Implemented Interfaces:
Serializable, Comparable
Enclosing class:
RCAConstants

public static final class RCAConstants.RCARole
extends Enum

Enum defines all Roles created and used by RCA application.

See Also:
Serialized Form

Field Summary
static RCAConstants.RCARole RCA_ADMINISTRATOR
          RCA adminstrator has super user permission in respect to RCA.
static RCAConstants.RCARole RCA_REVIEW_INITIATOR
          RCA review initiator role, has permission initiate review and template read permission in addition to permissions that RCA User has.
static RCAConstants.RCARole RCA_TEMPLATE_AUTHOR
          RCA template author role, has permission template write and template read permission in addition to permissions that RCA User has.
static RCAConstants.RCARole RCA_USER
          RCA User role.
 
Method Summary
 String getDescription()
          Get Description of the role.
 String getDisplayName()
          Get display name of the role.
 RCAConstants.RCAPermission[] getPermissions()
          Get lis of all permissions assigned to a role.
 RCAConstants.RCAReliantApp getReliantApp()
          For Internal Use Only.
 String getRoleId()
          Get Unique Identifier for the RCA Role
 boolean isMutable()
          Returns whether the role is mutable.
static RCAConstants.RCARole valueOf(String name)
           
static RCAConstants.RCARole[] values()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RCA_USER

public static final RCAConstants.RCARole RCA_USER
RCA User role. Any use that participate in Review and approval process, should be a RCA User.


RCA_ADMINISTRATOR

public static final RCAConstants.RCARole RCA_ADMINISTRATOR
RCA adminstrator has super user permission in respect to RCA. like permission to see all reviews etc.


RCA_REVIEW_INITIATOR

public static final RCAConstants.RCARole RCA_REVIEW_INITIATOR
RCA review initiator role, has permission initiate review and template read permission in addition to permissions that RCA User has.


RCA_TEMPLATE_AUTHOR

public static final RCAConstants.RCARole RCA_TEMPLATE_AUTHOR
RCA template author role, has permission template write and template read permission in addition to permissions that RCA User has.

Method Detail

values

public static RCAConstants.RCARole[] values()

valueOf

public static RCAConstants.RCARole valueOf(String name)

getPermissions

public RCAConstants.RCAPermission[] getPermissions()
Get lis of all permissions assigned to a role.

Returns:
Array of RCAPermission

isMutable

public boolean isMutable()
Returns whether the role is mutable. Any RCA role is mutable.

Returns:
true or false.

getDisplayName

public String getDisplayName()
Get display name of the role.

Returns:
String display name

getDescription

public String getDescription()
Get Description of the role.

Returns:
String description

getReliantApp

public RCAConstants.RCAReliantApp getReliantApp()
For Internal Use Only.

Returns:

getRoleId

public String getRoleId()
Get Unique Identifier for the RCA Role

Returns:
String Role ID.


[an error occurred while processing this directive] [an error occurred while processing this directive]