SAP ABAP Class CL_SWF_WFM_CMP_CONT_PERSIST (WFM: Persistence Class for Component Container)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWP (Package) Business Workflow: Processor
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SWF_CNT_BASE_PERSISTENCE | Container: Implementation of General XML Persistence | 20060602 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SWF_TSI_PERSISTABLE | TSI: Interface for Service-Provider with Persistence | 20060606 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SWF_TSI_SERVICE_PROVIDER | TSI: Service Provider Interface | 20060606 |
Properties
| Class | CL_SWF_WFM_CMP_CONT_PERSIST | |
| Short Description | WFM: Persistence Class for Component Container | |
| Super Class | CL_SWF_CNT_BASE_PERSISTENCE | Container: Implementation of General XML Persistence |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWP | Business Workflow: Processor |
| Created | 20060602 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SWF_WFM_CMP_CONT_PERSIST has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SWF_TSI_PERSISTABLE | TSI: Interface for Service-Provider with Persistence | 20060606 | ||
| 2 | IF_SWF_TSI_SERVICE_PROVIDER | TSI: Service Provider Interface | 20060606 |
Friends
Class CL_SWF_WFM_CMP_CONT_PERSIST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SEOCLSNAME | 'CL_SWF_WFM_CMP_CONT_PERSIST' | Class | 20060607 | ||
| 2 | Instance attribute | Protected | Type reference (TYPE) | TT_DATA | Containers registered for mass-saving | 20060606 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | FLAG | Assumption that only changed containers can be written-to | 20060603 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | FLAG | Create BEFORE_IMAGE | 20060603 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | FLAG | Mass-Saving Using TSI | 20060606 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20060602 | ||
| 2 | Static method | Public | Method | Reads container with given GUID from persistence | 20060607 | |
| 3 | Instance method | Protected | Method | Save Individual Containers | 20060606 | |
| 4 | Instance method | Public | Method | Registers service container for mass-saving | 20060606 | |
| 5 | Instance method | Public | Method | Set persistence and performance options | 20060603 |
Events
Class CL_SWF_WFM_CMP_CONT_PERSIST has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_DATA | Protected | See coding | 20060606 | TT_DATA TYPE STANDARD TABLE OF t_data WITH DEFAULT KEY
|
||
| 2 | T_DATA | Protected | See coding | 20060606 | BEGIN OF t_data,
container TYPE REF TO if_Swf_cnt_container,
wf_id TYPE sww_wiid,
END OF t_data
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SWF_WFM_CMP_CONT_PERSIST has no parameter.
Method CONSTRUCTOR on class CL_SWF_WFM_CMP_CONT_PERSIST has no exception.
Method GET_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_GUID | Call by reference | Type reference (TYPE) | SWPCMPGUID | GUID einer WFM Laufzeitkomponente | 20060607 | |||
| 2 | IM_XML_STREAM | Call by reference | Type reference (TYPE) | XSTRING | 20060621 | ||||
| 3 | RE_CONTAINER | Value transfer | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Container - Implementierung einer 'Collection' | 20060607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Instanzen bei Selektion gefunden | 20060607 | ||
| 2 | Ausnahme beim Anlegen eines Objekts | 20060607 |
Method P_SAVE_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DO_COMMIT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | neue Eingabewerte | 20060606 | ||
| 2 | RETCODE | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20060606 |
Method P_SAVE_SINGLE on class CL_SWF_WFM_CMP_CONT_PERSIST has no exception.
Method REGISTER_SERVICE_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTAINER | Call by reference | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Container, der registriert wird | 20060606 | |||
| 2 | IM_GUID | Call by reference | Type reference (TYPE) | SWPCMPGUID | Eindeut. GUID einer Laufzeitkomponente und deren Container | 20060606 | |||
| 3 | IM_WF_ID | Call by reference | Type reference (TYPE) | SWW_WIID | WF-ID, der Container zugeordn. wird (nur bei Mass-Inserts) | 20060620 | |||
| 4 | RE_CONTAINER | Value transfer | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Service-Container, für TSI-Massenspeicherung registriert | 20060606 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Instanzen bei Selektion gefunden | 20060606 | ||
| 2 | Ausnahme beim Anlegen eines Objekts | 20060606 |
Method SET_OPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ASSUME_CHANGED | Call by reference | Type reference (TYPE) | FLAG | SPACE | Führe keine Prüfung durch, ob überhaupt Änderungen vorliegen | 20060603 | ||
| 2 | IM_CREATE_BEFORE_IMAGE | Call by reference | Type reference (TYPE) | FLAG | SPACE | Lege BEFORE_IMAGEs an, ggf. abh. von ASSUME_CHANGED gesetzt | 20060603 | ||
| 3 | IM_MASS_INSERTS | Call by reference | Type reference (TYPE) | FLAG | SPACE | Massenspeicherung über diese Persistenzinstanz, nur INSERTs! | 20060606 |
Method SET_OPTIONS on class CL_SWF_WFM_CMP_CONT_PERSIST has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |