SAP ABAP Class CL_BS_DELEGATION (Delegation Management)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
     BS_COMMON_OBJECTS (Package) Common Tools and Interfaces
Properties
Class CL_BS_DELEGATION  
Short Description Delegation Management    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BS_COMMON_OBJECTS   Common Tools and Interfaces 
Created 20110131   SAP 
Last change 20110908   SAP 
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)
Interfaces
Class CL_BS_DELEGATION has no interface implemented.
Friends
Class CL_BS_DELEGATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_PROTOCOL_NAME_PREFIX Constant Public Type reference (TYPE) STRING 'IF_PRTCL_' prefix each delegation protocol must commit to 20110131
2 GT_PROTOCOLS_DELEGATES Static Attribute Protected Type reference (TYPE) PROTOCOLS_DELEGATES 20110131
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DELEGATE Static method Protected Method adds a valid delegate to a protocol 20110131
2 GET_DELEGATES Static method Public Method returns all delegates for a protocol 20110131
3 REGISTER_DELEGATE Static method Public Method registers the given delegate 20110131
4 SUPERSEDE_SUPER_DELEGATE Static method Protected Method makes the most specific delegate the only one in a list 20110131
Events
Class CL_BS_DELEGATION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PROTOCOLS_DELEGATES Public See coding 20110131 protocols_delegates TYPE SORTED TABLE OF protocol_delegates WITH UNIQUE KEY protocol_name
2 PROTOCOL_DELEGATES Public See coding 20110131 BEGIN OF protocol_delegates, protocol_name TYPE seoclsname, delegates TYPE bs_delegates, END OF protocol_delegates
Method Signatures

Method ADD_DELEGATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DELEGATE Call by reference Object reference (TYPE REF TO) IF_PRTCL_DELEGATION Delegation Protocol 20110131
2 Importing IV_PROTOCOL_NAME Call by reference Type reference (TYPE) SEOCLNAME Class Name 20110131
3 Importing IV_SUPERSEDING Call by reference Type reference (TYPE) ABAP_BOOL if true delegate supersedes all super-class delegates 20110131

Method ADD_DELEGATE on class CL_BS_DELEGATION has no exception.

Method GET_DELEGATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DELEGATES Call by reference Type reference (TYPE) BS_DELEGATES List of delegates 20110131
2 Importing IV_PROTOCOL_NAME Call by reference Type reference (TYPE) SEOCLSNAME name of the protocol of interest 20110131

Method GET_DELEGATES on class CL_BS_DELEGATION has no exception.

Method REGISTER_DELEGATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DELEGATE Call by reference Object reference (TYPE REF TO) IF_PRTCL_DELEGATION Delegation Protocol 20110131
2 Importing IV_SUPERSEDING Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE if abap_true delegate supersedes all super-class delegates 20110131

Method REGISTER_DELEGATE on class CL_BS_DELEGATION has no exception.

Method SUPERSEDE_SUPER_DELEGATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DELEGATES Call by reference Type reference (TYPE) BS_DELEGATES List of delegates 20110131
2 Importing IO_DELEGATE Call by reference Object reference (TYPE REF TO) IF_PRTCL_DELEGATION Delegation Protocol 20110131

Method SUPERSEDE_SUPER_DELEGATE on class CL_BS_DELEGATION has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 703