SAP ABAP Class CL_GRAC_MODEL_DEFAULT_ROLE (Model class for role)
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 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_API_CUSTOMFIELD_MODEL | Model extension to handle the custom fields | 20100415 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20100415 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_MODEL_STATUS | Enable to retrieve MCF information for object from model | 20100415 |
Properties
| Class | CL_GRAC_MODEL_DEFAULT_ROLE | |
| Short Description | Model class for role | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRAC_ROLE_MANAGEMENT | GRC ERM Support |
| Created | 20100415 | 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) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_GRFN_API_CUSTOMFIELD_MODEL | Model extension to handle the custom fields | 20100415 | ||
| 2 | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20100415 | ||
| 3 | IF_GRFN_MODEL_STATUS | Enable to retrieve MCF information for object from model | 20100415 |
Friends
Class CL_GRAC_MODEL_DEFAULT_ROLE has no friend class.
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 | 20100415 | ||
| 2 | Constant | Protected | Type reference (TYPE) | SY-MSGID | 'GRAC_ROLE_MESSAGES' | Reference type | 20100415 | ||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_UTIL_CDF_MODEL | CDF Model utility class | 20100415 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | GRFN_S_TF_DATES | Timeframe details | 20100415 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | YT_ROLE_SYSTEM | 20100822 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | YT_STD_ROLE_BUFFER | Role attribute buffer | 20100415 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | GRAC_T_API_ROLEID | List of Roles to be deleted | 20100415 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | YT_STD_ROLE_LOCKED | Locked roles | 20100415 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | YT_STD_ROLE_SYSTEM | 20100530 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20100415 |
Methods
Events
Class CL_GRAC_MODEL_DEFAULT_ROLE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_ROLE_SYSTEM | Private | See coding | 20100822 | BEGIN OF ys_role_system,
std_roleid TYPE grfn_guid,
command TYPE grfn_command,
role_system TYPE grac_t_default_role_sys,
END OF ys_role_system
|
||
| 2 | YS_STD_ROLE_BUFFER | Private | See coding | 20100415 | BEGIN OF ys_std_role_buffer,
command TYPE grfn_command,
attr TYPE gracstdrole,
END OF ys_std_role_buffer
|
||
| 3 | YS_STD_ROLE_LOCKED | Private | See coding | 20100415 | BEGIN OF ys_std_role_locked,
std_roleid TYPE grfn_guid,
END OF ys_std_role_locked
|
||
| 4 | YS_STD_ROLE_SYSTEM | Private | See coding | 20100530 | BEGIN OF ys_std_role_system,
command TYPE grfn_command,
std_roleid TYPE grfn_guid,
role_sys TYPE grac_t_default_role_sys,
END OF ys_std_role_system
|
||
| 5 | YT_ROLE_SYSTEM | Private | See coding | 20100822 | yt_role_system TYPE SORTED TABLE OF ys_role_system WITH UNIQUE KEY std_roleid
|
||
| 6 | YT_STD_ROLE_BUFFER | Private | See coding | 20100415 | yt_std_role_buffer TYPE SORTED TABLE OF ys_std_role_buffer WITH UNIQUE KEY attr-std_roleid
|
||
| 7 | YT_STD_ROLE_LOCKED | Private | See coding | 20100415 | yt_std_role_locked TYPE SORTED TABLE OF ys_std_role_locked WITH UNIQUE KEY std_roleid
|
||
| 8 | YT_STD_ROLE_SYSTEM | Private | See coding | 20100530 | yt_std_role_system TYPE SORTED TABLE OF ys_std_role_system WITH UNIQUE KEY std_roleid
|
Method Signatures
Method CHECK_DEFROLE_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Value transfer | Type reference (TYPE) | GRAC_ATTR | Attribute | 20100628 | |||
| 2 | IV_ATTR_VAL | Value transfer | Type reference (TYPE) | GRAC_ATTR_VAL | Attribute Value | 20100628 | |||
| 3 | RV_EXISTS | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100628 |
Method CHECK_DEFROLE_EXISTS on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20100415 | |||
| 2 | IV_TF_YEAR | Value transfer | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20100415 | |||
| 3 | IV_TIMEFRAME | Value transfer | Type reference (TYPE) | GRFN_TIMEFRAME | Timeframe | 20100415 |
Method CONSTRUCTOR on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method DELETE_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STD_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | Role ID | 20100415 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100415 |
Method DEQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | Role ID | 20100415 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100415 |
Method ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LOCKED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Locked | 20100415 | |||
| 2 | EV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20100823 | |||
| 3 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | Role ID | 20100415 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100415 |
Method GET_ROLEID_CONNECTORGRP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LANDSCAPE | Value transfer | Type reference (TYPE) | GRFN_CONNECTORGRPT | Connector Group text | 20100530 | |||
| 2 | EV_ROLEID | Value transfer | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20100530 | |||
| 3 | IV_ROLE_NAME | Call by reference | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20100530 |
Method GET_ROLEID_CONNECTORGRP on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method GET_ROLE_API_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ROLE_API_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100415 | |||
| 2 | EV_ROLE_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100415 | |||
| 3 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | Role GUID | 20100415 | |||
| 4 | IV_ROLE_TYPE | Call by reference | Type reference (TYPE) | GRAC_ROLE_TYPE | Role Type | 20100415 |
Method GET_ROLE_API_ID on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method GET_ROLE_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLE_SYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_DEFAULT_ROLE_SYS | Role Name and System | 20100822 | |||
| 2 | IV_STD_ROLEID | Call by reference | Type reference (TYPE) | GRAC_DEFROLEID | UUID of the GRC object (char32) | 20100822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100822 |
Method GET_STANDARD_ROLE_LIST 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 | 20100415 | |||
| 2 | IS_STD_ROLE_SEARCH_RANGE | Call by reference | Type reference (TYPE) | GRAC_S_STANDARD_ROLE_SEARCH | Standard / Default Role Search | 20100415 |
Method GET_STANDARD_ROLE_LIST on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method GET_STD_ROLE 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 | Standard Role Attributes | 20100822 | |||
| 2 | IV_STD_ROLEID | Value transfer | Type reference (TYPE) | GRFN_GUID | Role ID | 20100822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100822 |
Method GET_STD_ROLEID_FROM_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Value transfer | Type reference (TYPE) | GRAC_ATTR | Attribute | 20100530 | |||
| 2 | IV_ATTR_VAL | Call by reference | Type reference (TYPE) | GRAC_ATTR_VAL | Attribute Value | 20100530 | |||
| 3 | IV_ATTR_VAL_DESC | Call by reference | Type reference (TYPE) | GRAC_ATTR_VAL_DESC | Attribute Value | 20100530 | |||
| 4 | RV_STD_ROLEID | Value transfer | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20100530 |
Method GET_STD_ROLEID_FROM_ATTRIBUTE on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method SET_ROLE_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_SYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_DEFAULT_ROLE_SYS | Role Name and System | 20100822 | |||
| 2 | IV_COMMAND | Call by reference | Type reference (TYPE) | GRFN_COMMAND | Operation | 20100822 | |||
| 3 | IV_STD_ROLEID | Call by reference | Type reference (TYPE) | GRAC_DEFROLEID | UUID of the GRC object (char32) | 20100822 |
Method SET_ROLE_SYSTEM on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
Method SET_STD_ROLE 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 | Standard Role Attributes | 20100822 | |||
| 2 | IV_COMMAND | Call by reference | Type reference (TYPE) | GRFN_COMMAND | Operation | 20100822 | |||
| 3 | RV_STD_ROLEID | Value transfer | Type reference (TYPE) | GRFN_GUID | Role ID | 20100822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100822 |
Method UPDATE_ROLE_SYSTEM Signature
Method UPDATE_ROLE_SYSTEM on class CL_GRAC_MODEL_DEFAULT_ROLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100822 |
Method UPDATE_STD_ROLE Signature
Method UPDATE_STD_ROLE on class CL_GRAC_MODEL_DEFAULT_ROLE has no parameter.
Method UPDATE_STD_ROLE on class CL_GRAC_MODEL_DEFAULT_ROLE has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |