SAP ABAP Class CL_EAMWS_PERSISTENCY (Access to Objects)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM (Application Component) Plant Maintenance
     EAMWS_RISK (Package) Integration with Risk Management
Properties
Class CL_EAMWS_PERSISTENCY  
Short Description Access to Objects    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EAMWS_RISK   Integration with Risk Management 
Created 20100716   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)
2 IF_EAMWS_PERSISTENCY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 LC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_EAMWS_PERSISTENCY has no interface implemented.
Friends
Class CL_EAMWS_PERSISTENCY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_BUFFER_CONTROL Instance attribute Private Type reference (TYPE) TY_BUFFER_CONTROL_T Buffer Table 20100716
2 GT_BUFFER_STORAGE Instance attribute Private Type reference (TYPE) TY_BUFFER_CONTROL_T Storage for Objects to Save 20100716
3 GT_REFERENCE Static Attribute Private See coding 20110128
4 GV_BUFFER_HITS Instance attribute Private Type reference (TYPE) INT4 Hits When Reading from Buffer 20100716
5 GV_BUFFER_SIZE Instance attribute Private Type reference (TYPE) INT4 Current Buffer Size 20100716
6 GV_BUFFER_SIZE_MAX Instance attribute Private Type reference (TYPE) INT4 20000 Maximum Buffer Size 20100716
7 GV_READS Instance attribute Private Type reference (TYPE) INT4 Number of Read Accesses 20100716
Methods
# Method Level Visibility Method type Description Created on
1 ADD_OBJECT_TO_BUFFER Instance method Private Method Add Object to Buffer 20100716
2 ADD_OBJECT_TO_STORAGE Instance method Private Method Add Object to Storage Table 20100716
3 CHANGE_OBJECT_EVENT Instance method Private Event handling method Object Was Changed 20100716
4 CHECK_BUFFER_LIMIT Instance method Private Method Check Buffer Limit and Reduce to Maximum Size 20100716
5 CONVERSION_OBJECT_KEY_INPUT Instance method Private Method Object_key Input Conversion 20100716
6 CREATE_OBJECT Instance method Private Method Create the passed object 20100716
7 DELETE_BUFFER Instance method Public Method Deletes Buffer 20100716
8 DELETE_STORAGE_ON_COMMIT Instance method Public Method Delete Storage Table During Commit 20100716
9 GET_OBJECT Instance method Public Method Read Application Object 20100716
10 GET_OBJECTS_FOR_SAVE Instance method Public Method Get objects which needs saving 20100813
11 GET_REFERENCE Static method Public Method Returns Reference to Itself 20100716
12 SET_BUFFER_MAX_SIZE Instance method Public Method Specify Maximum Buffer Size 20100716
Events
Class CL_EAMWS_PERSISTENCY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_BUFFER_CONTROL Private See coding 20100716 BEGIN OF ty_buffer_control, preread TYPE boolean, object_key TYPE if_eamws_persistency=>ty_object_key, object_type TYPE if_eamws_persistency=>ty_object_type, reference TYPE REF TO cl_eamws_application_object, END OF ty_buffer_control
2 TY_BUFFER_CONTROL_T Private See coding 20100716 ty_buffer_control_t TYPE STANDARD TABLE OF ty_buffer_control
3 TY_REFERENCE Private See coding 20110128 BEGIN OF ty_reference, object_type TYPE if_eamws_persistency=>ty_object_type, reference TYPE REF TO cl_eamws_persistency, END OF ty_reference
Method Signatures

Method ADD_OBJECT_TO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_APPLICATION_OBJECT Call by reference Object reference (TYPE REF TO) CL_EAMWS_APPLICATION_OBJECT Application Data Object 20100721
2 Importing IV_OBJECT_KEY Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY General Object Key 20100721
3 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE Object Category 20100721
# Exception Resumable Description Created on
1 CX_EAMWS_SCL_ROOT General Exception Maintenance Plan API 20100720

Method ADD_OBJECT_TO_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_APPLICATION_OBJECT Call by reference Object reference (TYPE REF TO) CL_EAMWS_APPLICATION_OBJECT Application Data Object 20100813
2 Importing IV_OBJECT_KEY Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY General Object Key 20100720
3 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE Object Category 20100720
# Exception Resumable Description Created on
1 CX_EAMWS_SCL_ROOT General Exception Maintenance Plan API 20100721

Method CHANGE_OBJECT_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPLICATION_OBJECT Value transfer Attribute reference (LIKE) 20100720
2 Importing OBJECT_KEY Value transfer Attribute reference (LIKE) 20100720
3 Importing OBJECT_TYPE Value transfer Attribute reference (LIKE) 20100720

Method CHANGE_OBJECT_EVENT on class CL_EAMWS_PERSISTENCY has no exception.

Method CHECK_BUFFER_LIMIT Signature

Method CHECK_BUFFER_LIMIT on class CL_EAMWS_PERSISTENCY has no parameter.
Method CHECK_BUFFER_LIMIT on class CL_EAMWS_PERSISTENCY has no exception.

Method CONVERSION_OBJECT_KEY_INPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_OBJECT_KEY Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY General Object Key 20100720
2 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE Object Category 20100720

Method CONVERSION_OBJECT_KEY_INPUT on class CL_EAMWS_PERSISTENCY has no exception.

Method CREATE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_REFERENCE Call by reference Object reference (TYPE REF TO) CL_EAMWS_APPLICATION_OBJECT Application Object 20100716
2 Importing IV_OBJECT_KEY Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY Object Key 20100716
3 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE Object Type 20100716
# Exception Resumable Description Created on
1 CX_EAMWS_SCL_ROOT Exceptions for safety check list 20100721

Method DELETE_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLEAR_MODIFIED Call by reference Type reference (TYPE) ABAP_BOOL Clear also modified data 20110131

Method DELETE_BUFFER on class CL_EAMWS_PERSISTENCY has no exception.

Method DELETE_STORAGE_ON_COMMIT Signature

Method DELETE_STORAGE_ON_COMMIT on class CL_EAMWS_PERSISTENCY has no parameter.
Method DELETE_STORAGE_ON_COMMIT on class CL_EAMWS_PERSISTENCY has no exception.

Method GET_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_APPLICATION_OBJECT Call by reference Object reference (TYPE REF TO) CL_EAMWS_APPLICATION_OBJECT Application Data Object 20100720
2 Importing IV_CREATE Call by reference Type reference (TYPE) BOOLEAN Creating Object 20100720
3 Importing IV_OBJECT_KEY Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY General Object Key 20100720
4 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE Object Category 20100720
# Exception Resumable Description Created on
1 CX_EAMWS_SCL_ROOT General Exception Maintenance Plan API 20100716

Method GET_OBJECTS_FOR_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_APPLICATION_OBJECTS Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TT_APPLICATION_OBJECTS 20100813
2 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE 20100813

Method GET_OBJECTS_FOR_SAVE on class CL_EAMWS_PERSISTENCY has no exception.

Method GET_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE Object type 20110128
2 Returning RR_REFERENCE Value transfer Object reference (TYPE REF TO) CL_EAMWS_PERSISTENCY Access to object 20100716

Method GET_REFERENCE on class CL_EAMWS_PERSISTENCY has no exception.

Method SET_BUFFER_MAX_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUFFERSIZE Call by reference Type reference (TYPE) INT4 New Buffer Size 20100720

Method SET_BUFFER_MAX_SIZE on class CL_EAMWS_PERSISTENCY has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 606