Package com.highdeal.admin.hci
Enum Class Role
- All Implemented Interfaces:
Serializable,Comparable<Role>,Constable
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis role contains the business and technical admin operation rights.This role contains the rights to execute operations on behalf of another user.This role contains the BART rights.This role contains the connector rights.Constant for the customer and sales representative default role.This role contains the offer level read/write rights.This role contains the rights to connect and use the operations of the charging message API.This role contains restricted rights of the pricing specialist.This role contains the business and technical process manager operation rights.This role contains read only operation right on any business object.This role contains read only operation right on any technical object.This role contains the rights required for System Configuration and Information Cockpit apps.This role contains the user creation and read rights. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckSystemClientRoleMix(Collection<String> roleNames) Checks a list of roles contains a mix of system and client roles.getName()Get the name of the role.static RoleGet a role from a role name.static booleanisDelegable(String roleName) Checks whether a role is delegable.booleanisSystem()Gets whether the role is a system role.toString()static RoleReturns the enum constant of this class with the specified name.static Role[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
ADMIN
This role contains the business and technical admin operation rights. -
USER_ADMIN
This role contains the user creation and read rights. -
MARKETING
This role contains the offer level read/write rights. -
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
This role contains the BART rights. -
CONNECTORADMIN
This role contains the connector rights. -
PROCESS_MANAGER
This role contains the business and technical process manager operation rights. -
REMOTE_SUPPORT_SYSTEM
This role contains read only operation right on any technical object. It is for support purpose (ITSAM). -
REMOTE_SUPPORT_CLIENT
This role contains read only operation right on any business object. It is for support purpose (ITSAM). -
MESSAGE_CHARGING_CLIENT
This role contains the rights to connect and use the operations of the charging message API. -
SYSTEM_MANAGER
This role contains the rights required for System Configuration and Information Cockpit apps. -
AUTHORIZATION_DELEGATOR
This role contains the rights to execute operations on behalf of another user. -
PRICING_SPECIALIST_PRICE_DATA
This role contains restricted rights of the pricing specialist.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
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:
trueif the role is a system role,falseif the role is a client role
-
getRole
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
Checks whether a role is delegable.- Parameters:
roleName- the name of the role- Returns:
trueif the role is delegable,falseotherwise
-
toString
-