SAP ABAP Class CL_GRAC_API_SINGLE_ROLE (Single Role API)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_ENTITY_API (Package) Access Control GRC API Support
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_GRAC_API_ROLE Role API 20090910
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRAC_TECHNICAL_ROLE Interface for technical role 20100109
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_GRAC_API_DERIVED_ROLE Derived Role API 20090916
Properties
Class CL_GRAC_API_SINGLE_ROLE  
Short Description Single Role API    
Super Class CL_GRAC_API_ROLE Role API 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRAC_ENTITY_API   Access Control GRC API Support 
Created 20090910   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 GRFN0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRAC_TECHNICAL_ROLE Interface for technical role 20100109
Friends
# Friend Modeled only Created on Description
1 CL_GRFN_API_SESSION 20090910 Session Management for GRC APIs
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MV_PARENT_ROLE_NAME Instance attribute Public Type reference (TYPE) GRAC_ROLE_NAME Role Name 20100920
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_PERMISSIONS Instance method Public Method Check if the role has permission with it 20100828
2 COPY_AUTH_PFCG Instance method Public Method Pull role auth from master role 20100703
3 DELETE_DERIVED_ROLE Instance method Public Method Delete derived roles 20100809
4 DERIVE Instance method Public Method Create Derived Role 20090925
5 DERIVE_ROLE_AUTH Instance method Private Method Copy authorization data from master role to derived role 20100630
6 GET Static method Private Method Get instance 20090910
7 RETRIEVE_OBJECT_BY_CLASS_DATA Instance method Public Method retrieve role authorization data for object by class view 20091015
8 RETRIEVE_ORGFIELDS Instance method Public Method Retrieve org values from the single role's authorization 20091009
9 RETRIEVE_ROLE_ACTION Instance method Public Method Retrieve Role Action 20091215
10 RETRIEVE_ROLE_AUTHORIZATION Instance method Public Method retrieve role authorization data 20091027
11 RETRIEVE_ROLE_FUNCTION Instance method Public Method Retrieve Role Function 20091210
12 RETRIEVE_ROLE_ORGFIELDS Instance method Public Method Retrieve role organization fields 20091013
13 RETRIEVE_ROLE_PREREQ Instance method Public Method Retrieve Role Prerequisite 20091215
14 RETRIEVE_ROLE_REQUEST Instance method Public Method Retrieve Role Request 20100219
15 RETRIEVE_ROLE_VALIDITY Instance method Public Method Retrieve Role Validity 20091211
16 SET_ROLE_AUTH_STEP Instance method Public Method Set the role to authorization step 20100831
17 UPDATE_PERMISSION Instance method Public Method Update role permission 20091014
18 UPDATE_ROLE_ACTION Instance method Public Method Update Role Action 20091215
19 UPDATE_ROLE_FUNCTION Instance method Public Method Update role function 20091210
20 UPDATE_ROLE_IMPORT Instance method Public Method Update Action and Permission for technical roles 20100223
21 UPDATE_ROLE_ORGFIELDS Instance method Public Method Update role organization fields 20091013
22 UPDATE_ROLE_PREREQ Instance method Public Method Update Role Prerequisite 20091215
23 UPDATE_ROLE_REQUEST Instance method Public Method Update Role Request 20100219
24 UPDATE_ROLE_VALIDITY Instance method Public Method Update role validity 20091211
Events
Class CL_GRAC_API_SINGLE_ROLE has no event.
Types
Class CL_GRAC_API_SINGLE_ROLE has no local type.
Method Signatures

Method CHECK_PERMISSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RETURN Value transfer Type reference (TYPE) ABAP_BOOL 20100828

Method CHECK_PERMISSIONS on class CL_GRAC_API_SINGLE_ROLE has no exception.

Method COPY_AUTH_PFCG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MASTER_ROLE_NAME Call by reference Type reference (TYPE) GRAC_ROLE_NAME Object ID 20100703
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100703

Method DELETE_DERIVED_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DERIVED_ROLEID Call by reference Type reference (TYPE) TABLE 20100809
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100809

Method DERIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DERIVED_ROLE_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20111114
2 Importing IS_DERIVED_ROLE Call by reference Type reference (TYPE) GRAC_S_DERIVED_ROLE Table type for derived roles 20090930
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090930

Method DERIVE_ROLE_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DERIVED_ROLE Call by reference Type reference (TYPE) GRAC_S_DERIVED_ROLE Structure to store derived role information 20100630
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100701

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20090910
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20090910
3 Returning RO_RESULT Value transfer Object reference (TYPE REF TO) CL_GRAC_API_SINGLE_ROLE Entity API class 20090910

Method GET on class CL_GRAC_API_SINGLE_ROLE has no exception.

Method RETRIEVE_OBJECT_BY_CLASS_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UI_AUTH_OBC Call by reference Type reference (TYPE) GRAC_T_UI_AUTH_OBC Authorization - Object by Class 20100324
2 Exporting ET_UI_AUTH_OBC_A Call by reference Type reference (TYPE) GRAC_T_UI_AUTH_OBC Authorization - Object by Action 20100324
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091029

Method RETRIEVE_ORGFIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDS Call by reference Type reference (TYPE) GRAC_T_FIELD Table of org vals 20091009
2 Exporting ET_ORGVALS Call by reference Type reference (TYPE) GRAC_T_ORGVAL Table of org vals 20100611
3 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID Role ID 20091009

Method RETRIEVE_ORGFIELDS on class CL_GRAC_API_SINGLE_ROLE has no exception.

Method RETRIEVE_ROLE_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROLE_ACTION Call by reference Type reference (TYPE) GRAC_T_ROLEACT Table type for Actions Detail 20091215
2 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091215

Method RETRIEVE_ROLE_ACTION on class CL_GRAC_API_SINGLE_ROLE has no exception.

Method RETRIEVE_ROLE_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROLE_FLD_VAL Call by reference Type reference (TYPE) GRAC_T_PFCG_ROLE_FLD_VAL contains pfcg role field values 20091027
2 Exporting ET_ROLE_PERM Call by reference Type reference (TYPE) GRAC_T_PFCG_ROLE_PERM table of pfcg role objects 20091027
3 Exporting ET_ROLE_PERM_AUTH Call by reference Type reference (TYPE) GRAC_T_PFCG_ROLE_PERM_AUTH contains pfcg role permission's authorization 20091027
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091027

Method RETRIEVE_ROLE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROLE_FUNCTION Call by reference Type reference (TYPE) GRAC_T_API_ROLE_FUNCTION Table of role function relationship 20091210
2 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091210

Method RETRIEVE_ROLE_FUNCTION on class CL_GRAC_API_SINGLE_ROLE has no exception.

Method RETRIEVE_ROLE_ORGFIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LEAD_ORGLVLFLD Call by reference Type reference (TYPE) GRAC_S_ORGFLD_VALUE Organization Value Structure 20091013
2 Exporting ET_ORGLVLFLD Call by reference Type reference (TYPE) GRAC_T_ORGFLD_VALUE Organization Value Table 20091013
3 Exporting ET_ORG_VAL_MAPS Call by reference Type reference (TYPE) GRAC_T_ORGVALMAP Table type for org value mappings 20091013
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091013

Method RETRIEVE_ROLE_PREREQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROLEID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091215
2 Returning RT_ROLE_PREREQ Value transfer Type reference (TYPE) GRAC_T_API_ROLE_PREREQ Table of role prerequisite 20091215
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091215

Method RETRIEVE_ROLE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROLEID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100219
2 Returning RT_ROLE_REQUEST Value transfer Type reference (TYPE) GRAC_T_API_ROLE_REQUEST Role Request 20100219
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100219

Method RETRIEVE_ROLE_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROLE_VALIDITY Call by reference Type reference (TYPE) GRAC_T_API_ROLE_VALIDITY Table of role validity 20091211
2 Importing IV_ROLEID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091211
3 Importing IV_ROLE_TYPE Call by reference Type reference (TYPE) GRAC_ROLE_TYPE Role Type 20100804
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091211

Method SET_ROLE_AUTH_STEP Signature

Method SET_ROLE_AUTH_STEP on class CL_GRAC_API_SINGLE_ROLE has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100831

Method UPDATE_PERMISSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ACTION Call by reference Type reference (TYPE) GRAC_T_ACTION Table type for Actions 20091014
2 Importing IT_PERMISSION Call by reference Type reference (TYPE) GRAC_T_PERM_FLD_VALUE Table type for Object 20091014
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091029

Method UPDATE_ROLE_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_ACTION Call by reference Type reference (TYPE) GRAC_T_ROLEACT Table type for Actions 20091215
2 Importing IT_ROLE_PERM Call by reference Type reference (TYPE) GRAC_T_PERM_FLD_VALUE Structure for permission field value 20100121
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091215

Method UPDATE_ROLE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_FUNCTION Call by reference Type reference (TYPE) GRAC_T_API_ROLE_FUNCTION Role Function relatioship 20091210
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091210

Method UPDATE_ROLE_IMPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LEADING_ORG Call by reference Type reference (TYPE) GRAC_S_ORGFLD_VALUE Organization Value Structure 20100325
2 Importing IT_FLD_VAL Call by reference Type reference (TYPE) GRAC_T_PFCG_ROLE_FLD_VAL Table of permission field value 20100715
3 Importing IT_OBJCLASS Call by reference Type reference (TYPE) GRAC_T_PFCG_ROLE_PERM table of pfcg role objects 20100904
4 Importing IT_PERM_AUTH Call by reference Type reference (TYPE) GRAC_T_PFCG_ROLE_PERM_AUTH store pfcg role permission authorization 20100223
5 Importing IT_ROLE_ACTION Call by reference Type reference (TYPE) GRAC_T_ROLEACT Table type for Role Actions 20100223
6 Importing IT_ROLE_ORG Call by reference Type reference (TYPE) GRAC_T_ORGFLD_VALUE Organization Value Table 20100224
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100223

Method UPDATE_ROLE_ORGFIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ORGLVLFLD Call by reference Type reference (TYPE) GRAC_T_ORGFLD_VALUE Organization Value Table 20091013
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091013

Method UPDATE_ROLE_PREREQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_PREREQ Call by reference Type reference (TYPE) GRAC_T_API_ROLE_PREREQ Role Prequisite 20091215
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091215

Method UPDATE_ROLE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_REQUEST Call by reference Type reference (TYPE) GRAC_T_API_ROLE_REQUEST Role Request 20100219
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100219

Method UPDATE_ROLE_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_VALIDITY Call by reference Type reference (TYPE) GRAC_T_API_ROLE_VALIDITY Role Validity 20091211
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091211
History
Last changed by/on SAP  20141106 
SAP Release Created in 600