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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 GRAC0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 GRFN0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 GRFNM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 IF_GRAC_AD_TYPES 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 MC_ERROR Constant Protected Type reference (TYPE) SY-MSGTY 'E' Message Type 20100415
2 MC_MESSAGE_CLASS_AC Constant Protected Type reference (TYPE) SY-MSGID 'GRAC_ROLE_MESSAGES' Reference type 20100415
3 MO_MODEL_CDF Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_UTIL_CDF_MODEL CDF Model utility class 20100415
4 MS_DATES Instance attribute Private Type reference (TYPE) GRFN_S_TF_DATES Timeframe details 20100415
5 MT_ROLE_SYSTEM Instance attribute Private Type reference (TYPE) YT_ROLE_SYSTEM 20100822
6 MT_STD_ROLE_BUFFER Instance attribute Private Type reference (TYPE) YT_STD_ROLE_BUFFER Role attribute buffer 20100415
7 MT_STD_ROLE_DELETE Instance attribute Private Type reference (TYPE) GRAC_T_API_ROLEID List of Roles to be deleted 20100415
8 MT_STD_ROLE_LOCKED Instance attribute Private Type reference (TYPE) YT_STD_ROLE_LOCKED Locked roles 20100415
9 MT_STD_ROLE_SYSTEM Instance attribute Private Type reference (TYPE) YT_STD_ROLE_SYSTEM 20100530
10 MV_LANGUAGE Instance attribute Private Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20100415
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DEFROLE_EXISTS Static method Public Method Check if default role exists 20100628
2 CONSTRUCTOR Instance method Public Constructor Constructor 20100415
3 DELETE_ROLE Instance method Public Method Delete Role 20100415
4 DEQUEUE Instance method Public Method Unlock role 20100415
5 ENQUEUE Instance method Public Method Lock role 20100415
6 GET_ROLEID_CONNECTORGRP Static method Public Method Get Role Id and Connector Group from Role Name 20100530
7 GET_ROLE_API_ID Static method Public Method Get role API ID from role type and role GUID 20100415
8 GET_ROLE_SYSTEM Instance method Public Method Get Role System 20100822
9 GET_STANDARD_ROLE_LIST Static method Public Method 20100415
10 GET_STD_ROLE Instance method Public Method Get Role 20100822
11 GET_STD_ROLEID_FROM_ATTRIBUTE Static method Public Method Get Default Role Id from Attribute and Attribute Value 20100530
12 SET_ROLE_SYSTEM Instance method Public Method Set Role System 20100822
13 SET_STD_ROLE Instance method Public Method Set Role 20100822
14 UPDATE_ROLE_SYSTEM Instance method Private Method Update Role System 20100822
15 UPDATE_STD_ROLE Instance method Private Method 20100822
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 Importing IV_ATTRIBUTE Value transfer Type reference (TYPE) GRAC_ATTR Attribute 20100628
2 Importing IV_ATTR_VAL Value transfer Type reference (TYPE) GRAC_ATTR_VAL Attribute Value 20100628
3 Returning 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 Importing IV_LANGUAGE Value transfer Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20100415
2 Importing IV_TF_YEAR Value transfer Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20100415
3 Importing 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 Importing IV_STD_ROLEID Call by reference Type reference (TYPE) GRFN_GUID Role ID 20100415
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100415

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID Role ID 20100415
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100415

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOCKED Call by reference Type reference (TYPE) ABAP_BOOL Locked 20100415
2 Exporting EV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20100823
3 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID Role ID 20100415
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 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 Exporting EV_LANDSCAPE Value transfer Type reference (TYPE) GRFN_CONNECTORGRPT Connector Group text 20100530
2 Exporting EV_ROLEID Value transfer Type reference (TYPE) GRAC_ROLEID Role ID 20100530
3 Importing 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 Exporting EV_ROLE_API_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100415
2 Exporting EV_ROLE_ENTITY Call by reference Type reference (TYPE) GRFN_API_ENTITY_ID Entity ID 20100415
3 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID Role GUID 20100415
4 Importing 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 Exporting ET_ROLE_SYSTEM Call by reference Type reference (TYPE) GRAC_T_DEFAULT_ROLE_SYS Role Name and System 20100822
2 Importing IV_STD_ROLEID Call by reference Type reference (TYPE) GRAC_DEFROLEID UUID of the GRC object (char32) 20100822
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 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 Exporting ET_STANDARD_ROLE_LIST Call by reference Type reference (TYPE) GRAC_T_API_STANDARD_ROLE Standard Role 20100415
2 Importing 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 Exporting ES_STD_ROLE_ATT Call by reference Type reference (TYPE) GRAC_S_API_STANDARD_ROLE Standard Role Attributes 20100822
2 Importing IV_STD_ROLEID Value transfer Type reference (TYPE) GRFN_GUID Role ID 20100822
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 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 Importing IV_ATTRIBUTE Value transfer Type reference (TYPE) GRAC_ATTR Attribute 20100530
2 Importing IV_ATTR_VAL Call by reference Type reference (TYPE) GRAC_ATTR_VAL Attribute Value 20100530
3 Importing IV_ATTR_VAL_DESC Call by reference Type reference (TYPE) GRAC_ATTR_VAL_DESC Attribute Value 20100530
4 Returning 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 Importing IT_ROLE_SYSTEM Call by reference Type reference (TYPE) GRAC_T_DEFAULT_ROLE_SYS Role Name and System 20100822
2 Importing IV_COMMAND Call by reference Type reference (TYPE) GRFN_COMMAND Operation 20100822
3 Importing 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 Importing IS_STD_ROLE_ATT Call by reference Type reference (TYPE) GRAC_S_API_STANDARD_ROLE Standard Role Attributes 20100822
2 Importing IV_COMMAND Call by reference Type reference (TYPE) GRFN_COMMAND Operation 20100822
3 Returning RV_STD_ROLEID Value transfer Type reference (TYPE) GRFN_GUID Role ID 20100822
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 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 CX_GRFN_EXCEPTION 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