SAP ABAP Class CL_WB_SOURCE_OBJECT_PROVIDER (Version Provider Class for Source Code Objects)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO (Application Component) Workbench Tools: Editors, Painters, Modelers
⤷
SWB_VERSIONING (Package) Versioning functionality
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20110228 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WB_OBJECT_VERSION_PROVIDER | Provides a version for a workbench object | 20110228 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_DDIC_DDLS_VERSION_PROVIDER | Version Provider for DDL sources | 20131126 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_FB_FUNC_VERSION_PROVIDER | Version provider for function modules | 20110228 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_OO_CINC_VERSION_PROVIDER | Version provider for class includes | 20110228 |
| 4 | Inheritance (c INHERITING FROM c_ref) | CL_OO_CLASS_VERSION_PROVIDER | Version provider for main class (source based) | 20110324 |
| 5 | Inheritance (c INHERITING FROM c_ref) | CL_OO_INTF_VERSION_PROVIDER | Version provider for interfaces | 20110228 |
| 6 | Inheritance (c INHERITING FROM c_ref) | CL_SEDI_PROG_VERSION_PROVIDER | Version provider for programs | 20110228 |
Properties
| Class | CL_WB_SOURCE_OBJECT_PROVIDER | |
| Short Description | Version Provider Class for Source Code Objects | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWB_VERSIONING | Versioning functionality |
| Created | 20110203 | SAP |
| Last change | 20130531 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20110228 | ||
| 2 | IF_WB_OBJECT_VERSION_PROVIDER | Provides a version for a workbench object | 20110228 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_WB_SRC_VERS_PERSIST_FACADE | 20110324 | Persistence Facade for Versioning |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SRC_VERS_PERSISTENCE_FACADE | persistence facade for versioning | 20110228 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Assign Transport Texts to Version Info | 20110329 | |
| 2 | Instance method | Private | Method | 20110228 | ||
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20110228 | |
| 4 | Instance method | Protected | Method | Returns if the source object exists | 20110228 | |
| 5 | Instance method | Protected | Method | 20110324 | ||
| 6 | Instance method | Protected | Method | Get Version by Version Id | 20110324 | |
| 7 | Instance method | Protected | Method | Get Version Info from Version List Entry | 20110324 | |
| 8 | Instance method | Protected | Method | Provides the source code of a specific version number | 20110228 | |
| 9 | Instance method | Protected | Method | 20110228 | ||
| 10 | Instance method | Protected | Method | Set an other persistence than database (for test purposes) | 20110228 |
Events
Class CL_WB_SOURCE_OBJECT_PROVIDER has no event.
Types
Class CL_WB_SOURCE_OBJECT_PROVIDER has no local type.
Method Signatures
Method ASSIGN_TRANSPORT_TEXTS_TO_VRSD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TREQUEST_TEXTS | Call by reference | Type reference (TYPE) | E07T_T | CTS: Table Type for E07T | 20110329 | |||
| 2 | VRSD | Call by reference | Type reference (TYPE) | IF_WB_OBJECT_VERSION=>T_TY_OBJ_VERS_INFO | 20110329 |
Method ASSIGN_TRANSPORT_TEXTS_TO_VRSD on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
Method CALCULATE_YOUNGEST_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VRSD | Call by reference | Type reference (TYPE) | IF_WB_OBJECT_VERSION=>T_TY_OBJ_VERS_INFO | 20110228 | ||||
| 2 | YOUNGEST_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | 20110228 |
Method CALCULATE_YOUNGEST_TIMESTAMP on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERSISTENCE_FACADE | Call by reference | Object reference (TYPE REF TO) | IF_SRC_VERS_PERSISTENCE_FACADE | persistence facade for versioning | 20110228 |
Method CONSTRUCTOR on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
Method EXISTS_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | 20110228 | ||||
| 2 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | 20110228 | ||||
| 3 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110228 |
Method EXISTS_OBJECT on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
Method GET_PERSISTENCE_FACADE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERSISTENCE_FACADE | Value transfer | Object reference (TYPE REF TO) | IF_SRC_VERS_PERSISTENCE_FACADE | 20110324 |
Method GET_PERSISTENCE_FACADE on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
Method GET_VERSION_BY_VERSID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110324 | |||
| 2 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20110324 | |||
| 3 | READ_TRANSPORT_DESCRIPTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120307 | ||||
| 4 | VERSION_ID | Call by reference | Type reference (TYPE) | VERSNO | Version Management: Version Number | 20110324 | |||
| 5 | VRSD | Call by reference | Type reference (TYPE) | IF_WB_OBJECT_VERSION=>T_TY_OBJ_VERS_INFO | 20110324 | ||||
| 6 | YOUNGEST_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20110324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for object versioning | 20110324 |
Method GET_VERSION_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | IF_WB_OBJECT_VERSION=>TY_WB_OBJECT_VERSION | 20110324 | ||||
| 2 | VERSION_INFO | Call by reference | Object reference (TYPE REF TO) | CL_WB_OBJ_VERSION_INFO | Version List Entry | 20110324 |
Method GET_VERSION_INFO on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
Method GET_VERSION_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NAME | Call by reference | Type reference (TYPE) | VERSOBJNAM | 20110228 | ||||
| 2 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | VERSOBJTYP | Version Management: Object Type | 20110329 | |||
| 3 | SOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | 20110228 | ||||
| 4 | VERSNO | Call by reference | Type reference (TYPE) | VRSD-VERSNO | 20110228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110324 |
Method GET_VRSD_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | 20110228 | ||||
| 2 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | 20110228 | ||||
| 3 | READ_TRANSPORT_DESCRIPTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120307 | ||||
| 4 | VERSION_ID | Call by reference | Type reference (TYPE) | VERSNO | 20110324 | ||||
| 5 | VRSD | Call by reference | Type reference (TYPE) | IF_WB_OBJECT_VERSION=>T_TY_OBJ_VERS_INFO | Table type of TY_CLASS_OBJECT_VERSION | 20110228 | |||
| 6 | YOUNGEST_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | 20110228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for object versioning | 20110228 |
Method SET_PERSISTENCE_FACADE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERSISTENCE_FACADE | Call by reference | Object reference (TYPE REF TO) | IF_SRC_VERS_PERSISTENCE_FACADE | persistence facade for versioning | 20110228 |
Method SET_PERSISTENCE_FACADE on class CL_WB_SOURCE_OBJECT_PROVIDER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |