com.highdeal.admin.hci
Enum Role

java.lang.Object
  extended by java.lang.Enum<Role>
      extended by com.highdeal.admin.hci.Role
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Role>

public enum Role
extends java.lang.Enum<Role>

This enumeration lists the predefined roles for the SAP CC users.

Caution

Consult the SAP CC Security Guide about the role and authorization concept of SAP Convergent Charging.

Additional Information

Consult the SAP CC Security Guide.


Enum Constant Summary
ADMIN
          : This role contains the business and technical admin operation rights.
BARTADMIN
          This role contains the BART rights.
CONNECTORADMIN
          This role contains the connector rights.
CSR
          : constant for the customer and sales representative default role.
MARKETING
          This role contains the offer level read/write rights.
PROCESS_MANAGER
          This role contains the business and technical process manager operation rights.
REMOTE_SUPPORT
          This role contains read only operation right on any object.
USER_ADMIN
          : This role contains the user creation and read rights.
 
Method Summary
static Role[] getAllRoles()
           
 java.lang.String getName()
           
static Role getRole(java.lang.String roleName)
           
static Role[] getRoles(Role... roles)
           
static boolean isRoleInList(Role[] roles, java.lang.String permission)
           
 java.lang.String toString()
           
static Role valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Role[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADMIN

public static final Role ADMIN
: This role contains the business and technical admin operation rights.


USER_ADMIN

public static final Role USER_ADMIN
: This role contains the user creation and read rights.


MARKETING

public static final Role MARKETING
This role contains the offer level read/write rights.


CSR

public static final Role CSR
: constant for the customer and sales representative default role. This role contains the subscription level read/write rights, and the offer level read rights.


BARTADMIN

public static final Role BARTADMIN
This role contains the BART rights.


CONNECTORADMIN

public static final Role CONNECTORADMIN
This role contains the connector rights.


PROCESS_MANAGER

public static final Role PROCESS_MANAGER
This role contains the business and technical process manager operation rights.


REMOTE_SUPPORT

public static final Role REMOTE_SUPPORT
This role contains read only operation right on any object. It is for support purpose (ITSAM).

Method Detail

values

public static Role[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Role c : Role.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Role valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()

getRole

public static Role getRole(java.lang.String roleName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Role>

getAllRoles

public static Role[] getAllRoles()

isRoleInList

public static boolean isRoleInList(Role[] roles,
                                   java.lang.String permission)

getRoles

public static Role[] getRoles(Role... roles)

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)