SAP ABAP Class CL_RS2HANA_AUTH_ROLE (Object: Role)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-MTD-HMOD (Application Component) HANA Model Generation in BW
     RS2HANA_AUTH (Package) BW Authorization in HANA
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RS2HANA_AUTH_OBJ Object: Superclass 20130517
Properties
Class CL_RS2HANA_AUTH_ROLE  
Short Description Object: Role    
Super Class CL_RS2HANA_AUTH_OBJ Object: Superclass 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RS2HANA_AUTH   BW Authorization in HANA 
Created 20130517   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_RS2HANA_AUTH_CONST Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RS2HANA_AUTH_ROLE has no interface implemented.
Friends
Class CL_RS2HANA_AUTH_ROLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_NUMBER Instance attribute Private Type reference (TYPE) I 20130517
2 P_R_PRIVILEGE Instance attribute Private Object reference (TYPE REF TO) CL_RS2HANA_AUTH_PRIV Object: Privilege 20130517
3 P_SQL_CODE Instance attribute Private Type reference (TYPE) STRING 20130517
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ALREADY_CREATED Instance method Public Method Indicator if instance has already been deployed 20130517
2 CHECK_SUPER_ROLE Static method Public Method Check if super role (all roles are assigned to this one) exi 20130611
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20130517
4 EXISTS_ON_DB Instance method Public Method Flag is role exists on db 20130611
5 GET_EXISTING_ROLES Static method Public Method Select all roles from database 20130517
6 GET_NUMBER Instance method Public Method Returns running number 20130517
7 GET_PRIVILEGE Instance method Public Method Returns reference to corresponding privilege 20130517
8 SET_PRIVILEGE Instance method Public Method Creates reference to corresponding privilege 20130517
Events
Class CL_RS2HANA_AUTH_ROLE has no event.
Types
Class CL_RS2HANA_AUTH_ROLE has no local type.
Method Signatures

Method CHECK_ALREADY_CREATED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ALREADY_CREATED Value transfer Type reference (TYPE) RS_BOOL Boolean 20130517

Method CHECK_ALREADY_CREATED on class CL_RS2HANA_AUTH_ROLE has no exception.

Method CHECK_SUPER_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_MANAGER Call by reference Object reference (TYPE REF TO) CL_RS2HANA_AUTH_MANAGER Main class 20130611
2 Importing I_WITH_CREATE Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20130611
3 Returning R_NAME Value transfer Type reference (TYPE) RS2HANA_AUTH_OBJNM RS2HANA Authorization Object Name 20130611
# Exception Resumable Description Created on
1 DOES_NOT_EXIST 20130611

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) RS2HANA_AUTH_OBJNM RS2HANA authorization object name 20130517
2 Importing I_NUMBER Call by reference Type reference (TYPE) I 20130517
3 Importing I_R_MANAGER Call by reference Object reference (TYPE REF TO) CL_RS2HANA_AUTH_MANAGER Main class 20130517
4 Importing I_SUPER_ROLE Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20130611
5 Importing I_TYPE Call by reference Type reference (TYPE) RS2HANA_AUTH_OBJTP RS2HANA authorization object types 20130517
# Exception Resumable Description Created on
1 NOT_FOUND_IN_VERSION_A 20130517
2 OBJECTTYPE_NOT_SUPPORTED 20130517

Method EXISTS_ON_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EXISTS Value transfer Type reference (TYPE) RS_BOOL Boolean 20130611

Method EXISTS_ON_DB on class CL_RS2HANA_AUTH_ROLE has no exception.

Method GET_EXISTING_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOPROVIDER Call by reference Type reference (TYPE) RS2HANA_AUTH_OBJNM RS2HANA authorization object name 20130517
2 Importing I_IS_IOBJ Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20130610
3 Importing I_ROLE_NAME Call by reference Type reference (TYPE) RS2HANA_AUTH_OBJNM RS2HANA Authorization Object Name 20130611
4 Returning R_T_ROLES Value transfer Type reference (TYPE) IF_RS2HANA_AUTH_CONST=>TY_T_OBJNM 20130517

Method GET_EXISTING_ROLES on class CL_RS2HANA_AUTH_ROLE has no exception.

Method GET_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NUMBER Value transfer Type reference (TYPE) I 20130517

Method GET_NUMBER on class CL_RS2HANA_AUTH_ROLE has no exception.

Method GET_PRIVILEGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_R_PRIVILEGE Value transfer Object reference (TYPE REF TO) CL_RS2HANA_AUTH_PRIV Object: Privilege 20130517

Method GET_PRIVILEGE on class CL_RS2HANA_AUTH_ROLE has no exception.

Method SET_PRIVILEGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PRIVILEGE Call by reference Object reference (TYPE REF TO) CL_RS2HANA_AUTH_PRIV Object: Privilege 20130517

Method SET_PRIVILEGE on class CL_RS2HANA_AUTH_ROLE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740