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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | 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 | Instance attribute | Private | Type reference (TYPE) | TY_BUFFER_CONTROL_T | Buffer Table | 20100716 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TY_BUFFER_CONTROL_T | Storage for Objects to Save | 20100716 | |||
| 3 | Static Attribute | Private | See coding | 20110128 | |||||
| 4 | Instance attribute | Private | Type reference (TYPE) | INT4 | Hits When Reading from Buffer | 20100716 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | INT4 | Current Buffer Size | 20100716 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | INT4 | 20000 | Maximum Buffer Size | 20100716 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | INT4 | Number of Read Accesses | 20100716 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add Object to Buffer | 20100716 | |
| 2 | Instance method | Private | Method | Add Object to Storage Table | 20100716 | |
| 3 | Instance method | Private | Event handling method | Object Was Changed | 20100716 | |
| 4 | Instance method | Private | Method | Check Buffer Limit and Reduce to Maximum Size | 20100716 | |
| 5 | Instance method | Private | Method | Object_key Input Conversion | 20100716 | |
| 6 | Instance method | Private | Method | Create the passed object | 20100716 | |
| 7 | Instance method | Public | Method | Deletes Buffer | 20100716 | |
| 8 | Instance method | Public | Method | Delete Storage Table During Commit | 20100716 | |
| 9 | Instance method | Public | Method | Read Application Object | 20100716 | |
| 10 | Instance method | Public | Method | Get objects which needs saving | 20100813 | |
| 11 | Static method | Public | Method | Returns Reference to Itself | 20100716 | |
| 12 | 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 | CR_APPLICATION_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_EAMWS_APPLICATION_OBJECT | Application Data Object | 20100721 | |||
| 2 | IV_OBJECT_KEY | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY | General Object Key | 20100721 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE | Object Category | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CR_APPLICATION_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_EAMWS_APPLICATION_OBJECT | Application Data Object | 20100813 | |||
| 2 | IV_OBJECT_KEY | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY | General Object Key | 20100720 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE | Object Category | 20100720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | APPLICATION_OBJECT | Value transfer | Attribute reference (LIKE) | 20100720 | |||||
| 2 | OBJECT_KEY | Value transfer | Attribute reference (LIKE) | 20100720 | |||||
| 3 | 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 | CV_OBJECT_KEY | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY | General Object Key | 20100720 | |||
| 2 | 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 | ER_REFERENCE | Call by reference | Object reference (TYPE REF TO) | CL_EAMWS_APPLICATION_OBJECT | Application Object | 20100716 | |||
| 2 | IV_OBJECT_KEY | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY | Object Key | 20100716 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE | Object Type | 20100716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | ER_APPLICATION_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_EAMWS_APPLICATION_OBJECT | Application Data Object | 20100720 | |||
| 2 | IV_CREATE | Call by reference | Type reference (TYPE) | BOOLEAN | Creating Object | 20100720 | |||
| 3 | IV_OBJECT_KEY | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_KEY | General Object Key | 20100720 | |||
| 4 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE | Object Category | 20100720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ET_APPLICATION_OBJECTS | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TT_APPLICATION_OBJECTS | 20100813 | ||||
| 2 | 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 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_EAMWS_PERSISTENCY=>TY_OBJECT_TYPE | Object type | 20110128 | |||
| 2 | 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 | 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 |