SAP ABAP Class CL_GRAC_API_DEFAULT_ROLE (Role API)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-AC (Application Component) Access Control
⤷
GRAC_ROLE_MANAGEMENT (Package) GRC ERM Support
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_GRFN_API_BASIS | Basis class for GRC API classes | 20100530 |
Properties
| Class | CL_GRAC_API_DEFAULT_ROLE | |
| Short Description | Role API | |
| Super Class | CL_GRFN_API_BASIS | Basis class for GRC API classes |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRAC_ROLE_MANAGEMENT | GRC ERM Support |
| Created | 20100530 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_GRAC_API_DEFAULT_ROLE has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_GRFN_API_SESSION | 20100530 | Session Management for GRC APIs |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | SY-MSGTY | 'E' | Message Type | 20100530 | ||
| 2 | Constant | Protected | Type reference (TYPE) | SY-MSGID | 'GRFN_ENTITY_API' | Reference type | 20100530 | ||
| 3 | Constant | Public | Type reference (TYPE) | SY-MSGID | 'GRAC_ROLE_MESSAGES' | Reference type | 20100530 | ||
| 4 | Constant | Protected | Type reference (TYPE) | CLASSNAME | 'CL_GRAC_MODEL_DEFAULT_ROLE' | Reference type | 20100530 | ||
| 5 | Constant | Protected | Type reference (TYPE) | SY-MSGTY | 'S' | Message Type | 20100530 | ||
| 6 | Static Attribute | Public | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20100816 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Create role | 20100530 | |
| 2 | Instance method | Public | Method | Delete role | 20100530 | |
| 3 | Static method | Private | Method | Get instance | 20100530 | |
| 4 | Static method | Public | Method | Return role object id by passing role type and role id | 20100530 | |
| 5 | Static method | Public | Method | Query Role | 20100530 | |
| 6 | Instance method | Public | Method | Retrieve role | 20100530 | |
| 7 | Instance method | Public | Method | Update role | 20100530 | |
| 8 | Static method | Public | Method | 20100530 | ||
| 9 | Static method | Public | Method | Upload Default Roles | 20100815 |
Events
Class CL_GRAC_API_DEFAULT_ROLE has no event.
Types
Class CL_GRAC_API_DEFAULT_ROLE has no local type.
Method Signatures
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20100530 | |||
| 2 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100530 | |||
| 3 | IS_STD_ROLE_ATT | Call by reference | Type reference (TYPE) | GRAC_S_API_STANDARD_ROLE | Standard Role Attributes | 20100530 | |||
| 4 | IT_STD_ROLE_SYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_DEFAULT_ROLE_SYS | Default Role - Role and System | 20100530 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100530 |
Method DELETE Signature
Method DELETE on class CL_GRAC_API_DEFAULT_ROLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100530 |
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100530 | |||
| 2 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100530 | |||
| 3 | RO_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_GRAC_API_DEFAULT_ROLE | Orgunit Entity API class | 20100530 |
Method GET on class CL_GRAC_API_DEFAULT_ROLE has no exception.
Method GET_ROLE_OBJECT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20100530 | |||
| 2 | IV_ROLE_TYPE | Call by reference | Type reference (TYPE) | GRAC_ROLE_TYPE | Role Type | 20100530 | |||
| 3 | RV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100530 |
Method GET_ROLE_OBJECT_ID on class CL_GRAC_API_DEFAULT_ROLE has no exception.
Method QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STANDARD_ROLE_LIST | Call by reference | Type reference (TYPE) | GRAC_T_API_STANDARD_ROLE | Standard Role | 20100530 | |||
| 2 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100530 | |||
| 3 | IS_STD_ROLE_SEARCH_RANGE | Call by reference | Type reference (TYPE) | GRAC_S_STANDARD_ROLE_SEARCH | selection parameters of the respective query | 20100530 |
Method QUERY on class CL_GRAC_API_DEFAULT_ROLE has no exception.
Method RETRIEVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_STD_ROLE_ATT | Call by reference | Type reference (TYPE) | GRAC_S_API_STANDARD_ROLE | Role Attributes | 20100530 | |||
| 2 | ET_STD_ROLE_SYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_DEFAULT_ROLE_SYS | Default Role : Role and System | 20100530 | |||
| 3 | I_EDIT_MODE | Call by reference | Type reference (TYPE) | GRFN_BOOLEAN | Boolean | 20100530 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100530 |
Method UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_STD_ROLE_ATT | Call by reference | Type reference (TYPE) | GRAC_S_API_STANDARD_ROLE | Role Attributes | 20100530 | |||
| 2 | IT_STD_ROLE_SYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_DEFAULT_ROLE_SYS | Default Role - Role and System | 20100530 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100530 |
Method UPDATE_ATTR_ROLE_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20100530 | |||
| 2 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100814 | |||
| 3 | IS_STD_ROLE_ATT | Call by reference | Type reference (TYPE) | GRAC_S_API_STANDARD_ROLE | Standard / Default Role | 20100530 | |||
| 4 | IT_STD_ROLE_SYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_DEFAULT_ROLE_SYS | Default Role : Role and System | 20100530 | |||
| 5 | IV_MODE | Call by reference | Type reference (TYPE) | GRFN_UI_MODE | mode | 20100530 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100530 |
Method UPLOAD_DEFAULT_ROLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100815 | |||
| 2 | IT_DEFAULT_ROLE | Call by reference | Type reference (TYPE) | GRAC_T_ATTR_ROLE_SYSTEM | Default Role - Attribute , Role and System | 20100815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100815 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |