Enum Class Role

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

public enum Role extends 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 Details

    • 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_SYSTEM

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

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

      public static final Role MESSAGE_CHARGING_CLIENT
      This role contains the rights to connect and use the operations of the charging message API.
    • SYSTEM_MANAGER

      public static final Role SYSTEM_MANAGER
      This role contains the rights required for System Configuration and Information Cockpit apps.
    • AUTHORIZATION_DELEGATOR

      public static final Role AUTHORIZATION_DELEGATOR
      This role contains the rights to execute operations on behalf of another user.
    • PRICING_SPECIALIST_PRICE_DATA

      public static final Role PRICING_SPECIALIST_PRICE_DATA
      This role contains restricted rights of the pricing specialist.
  • Method Details

    • values

      public static Role[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Role valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Get the name of the role.
      Returns:
      the name of the role
    • isSystem

      public boolean isSystem()
      Gets whether the role is a system role.
      Returns:
      true if the role is a system role, false if the role is a client role
    • getRole

      public static Role getRole(String roleName)
      Get a role from a role name.
      Parameters:
      roleName - the name of the role
      Returns:
      the role if the name given in parameter matches, null otherwise
    • checkSystemClientRoleMix

      public static void checkSystemClientRoleMix(Collection<String> roleNames) throws IllegalArgumentException
      Checks a list of roles contains a mix of system and client roles.
      Parameters:
      roleNames - a collection of role names to check
      Throws:
      IllegalArgumentException - if the roles are a mix of system and client roles
    • isDelegable

      public static boolean isDelegable(String roleName)
      Checks whether a role is delegable.
      Parameters:
      roleName - the name of the role
      Returns:
      true if the role is delegable, false otherwise
    • toString

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