SAP ABAP Class CL_VBC_MODEL_FACTORY (Factory for Visual Business Models)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-GTF-VBZ (Application Component) Visual Business
⤷
VBC_BUSINESS_OBJECTS (Package) Business Object Layer (Application Logic)
⤷
⤷
Properties
| Class | CL_VBC_MODEL_FACTORY | |
| Short Description | Factory for Visual Business Models | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | VBC_BUSINESS_OBJECTS | Business Object Layer (Application Logic) |
| Created | 20081111 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_VBC_MODEL_FACTORY has no forward declaration.
Interfaces
Class CL_VBC_MODEL_FACTORY has no interface implemented.
Friends
Class CL_VBC_MODEL_FACTORY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'DataObjects' | Stream ID for Data Objects | 20090612 | ||
| 2 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'DATA_OBJECTS' | Model ID (Name) | 20090612 | ||
| 3 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'MessageObjects' | Stream ID for Message Objects | 20091001 | ||
| 4 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'APP_MESSAGE' | Model ID (Name) | 20091001 | ||
| 5 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'Configuration' | Stream ID for Model Configuration/ Application Context | 20090612 | ||
| 6 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'APP_CONTEXT' | Model ID (Name) | 20090612 | ||
| 7 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'Metadata' | Stream ID for Model Structure XAML | 20090612 | ||
| 8 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'APP_METADATA' | Model ID (Name) | 20090612 | ||
| 9 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'Personalization' | Stream ID for Model Personalizations | 20090612 | ||
| 10 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'APP_PERSONALIZATION' | Model ID (Name) | 20090612 | ||
| 11 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'Structure' | Stream ID for Model Structure XAML | 20090612 | ||
| 12 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'APP_STRUCTURE' | Model ID (Name) | 20090612 | ||
| 13 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'Localization' | Stream ID for Model Texts | 20090612 | ||
| 14 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'APP_TEXTS' | Model ID (Name) | 20090612 | ||
| 15 | Constant | Public | Type reference (TYPE) | VBC_STREAM_ID | 'VisualObjects' | Stream ID for Visual Objects | 20090612 | ||
| 16 | Constant | Public | Type reference (TYPE) | VBC_PROPERTY_CONTAINER_ID | 'VISUAL_OBJECTS' | Model ID (Name) | 20090612 | ||
| 17 | Constant | Private | Type reference (TYPE) | STRING | '[Content_Types].xml' | 20090722 | |||
| 18 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_VBC_MODEL | Model to be created | 20081112 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | VBC_T_XSTREAM | XString Stream Table | 20081112 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | VBC_BOOLEAN | SPACE | Set the Version from Metadata XML | 20081120 | ||
| 21 | Instance attribute | Private | Type reference (TYPE) | VBC_BOOLEAN | SPACE | Flag for creating a new major model version | 20081112 | ||
| 22 | Instance attribute | Private | Type reference (TYPE) | VBC_BOOLEAN | SPACE | Delete Old Model Content (no Update) | 20081120 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Assemble updated objects into a new revision | 20091123 | |
| 2 | Instance method | Private | Method | Check if all expected files are available | 20081112 | |
| 3 | Instance method | Public | Method | Reset internal Attributes | 20081117 | |
| 4 | Static method | Public | Method | Convert container ID in corresponding stream ID (file name) | 20090609 | |
| 5 | Static method | Public | Method | Convert stream ID into corresponding stream ID | 20090609 | |
| 6 | Static method | Public | Method | Extract list of streams from zip file | 20091116 | |
| 7 | Instance method | Public | Method | Create a full Model Instance from the XML Files | 20081117 | |
| 8 | Instance method | Public | Method | Create a full Model Instance from a ZIP File | 20081125 | |
| 9 | Instance method | Public | Method | Load a model from the database (by ID) | 20081117 | |
| 10 | Static method | Public | Method | Read model ID out of streams | 20091116 | |
| 11 | Static method | Public | Method | Read model ID out of zip | 20091116 | |
| 12 | Instance method | Public | Method | Create an empty model | 20081113 | |
| 13 | Instance method | Private | Method | Generically Create Container Object | 20081119 | |
| 14 | Instance method | Private | Method | Parse the main XAML File for the Model | 20081112 | |
| 15 | Instance method | Private | Method | Update the metadata from a given structure | 20091111 |
Events
Class CL_VBC_MODEL_FACTORY has no event.
Types
Class CL_VBC_MODEL_FACTORY has no local type.
Method Signatures
Method ASSEMBLE_NEW_REVISION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_VBC_DOMAIN_OBJECT | Main Visual Business Model Interface | 20091123 | |||
| 2 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | IF_VBC_DOMAIN_OBJECT | Main Visual Business Model Interface | 20091123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic exception allowing for flexible texts | 20091123 |
Method CHECK_COMPLETENESS Signature
Method CHECK_COMPLETENESS on class CL_VBC_MODEL_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model creation exception | 20081112 |
Method CLEAN_FACTORY Signature
Method CLEAN_FACTORY on class CL_VBC_MODEL_FACTORY has no parameter.
Method CLEAN_FACTORY on class CL_VBC_MODEL_FACTORY has no exception.
Method CONVERT_CONTAINER_IN_STREAM_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTAINER_ID | Call by reference | Type reference (TYPE) | VBC_OBJECT_ID | Object Identifier (Name, Alias, Object, ...) | 20090609 | |||
| 2 | RV_STREAM_ID | Value transfer | Type reference (TYPE) | VBC_STREAM_ID | Object Identifier (Name, Alias, Object, ...) | 20090609 |
Method CONVERT_CONTAINER_IN_STREAM_ID on class CL_VBC_MODEL_FACTORY has no exception.
Method CONVERT_STREAM_IN_CONTAINER_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STREAM_ID | Call by reference | Type reference (TYPE) | VBC_STREAM_ID | Object Identifier (Name, Alias, Object, ...) | 20090609 | |||
| 2 | RV_CONTAINER_ID | Value transfer | Type reference (TYPE) | VBC_OBJECT_ID | Object Identifier (Name, Alias, Object, ...) | 20090609 |
Method CONVERT_STREAM_IN_CONTAINER_ID on class CL_VBC_MODEL_FACTORY has no exception.
Method EXTRACT_ZIP_INTO_STREAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ZIP_STREAM | Call by reference | Type reference (TYPE) | XSTRING | 20091116 | ||||
| 2 | RT_STREAMS | Value transfer | Type reference (TYPE) | VBC_T_XSTREAM | XString Stream Table | 20091116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic exception allowing for flexible texts | 20091116 |
Method GET_FROM_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_XML_STREAM | Call by reference | Type reference (TYPE) | VBC_T_XSTREAM | XString Stream Table | 20081117 | |||
| 2 | IV_CREATE_METADATA_VERSION | Call by reference | Type reference (TYPE) | VBC_BOOLEAN | SPACE | Set the Version from Metadata XML | 20081120 | ||
| 3 | IV_CREATE_NEW_VERSION | Call by reference | Type reference (TYPE) | VBC_BOOLEAN | SPACE | New major model version | 20081117 | ||
| 4 | IV_DELETE_OLD_CONTENT | Call by reference | Type reference (TYPE) | VBC_BOOLEAN | SPACE | Delete Old Model Content (no Update) | 20081120 | ||
| 5 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | IF_VBC_MODEL | Main Visual Business Model Interface | 20081117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Specific Version Import failed cause oflater Version already | 20081120 | ||
| 2 | Model creation exception | 20081117 |
Method GET_FROM_ZIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ZIP_STREAM | Call by reference | Type reference (TYPE) | XSTRING | 20081201 | ||||
| 2 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | IF_VBC_MODEL | Main Visual Business Model Interface | 20081201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic exception allowing for flexible texts | 20091105 | ||
| 2 | Specific Version Import failed cause oflater Version already | 20081201 | ||
| 3 | Model creation exception | 20081201 |
Method GET_MODEL_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODEL_ID | Call by reference | Type reference (TYPE) | VBC_MODEL_ID | Model ID (Name) | 20081117 | |||
| 2 | IV_MODEL_METADATA | Call by reference | Type reference (TYPE) | VBC_S_MODEL_METADATA | Model Metadata | 20090120 | |||
| 3 | IV_VERSION | Call by reference | Type reference (TYPE) | VBC_VERSION | Version | 20081117 | |||
| 4 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | IF_VBC_MODEL | Main Visual Business Model Interface | 20081117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Data not found exception | 20081117 |
Method GET_MODEL_ID_FROM_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_XML_STREAM | Call by reference | Type reference (TYPE) | VBC_T_XSTREAM | XString Stream Table | 20091116 | |||
| 2 | RV_MODEL_ID | Value transfer | Type reference (TYPE) | VBC_MODEL_ID | Model ID (Name) | 20091116 |
Method GET_MODEL_ID_FROM_XML on class CL_VBC_MODEL_FACTORY has no exception.
Method GET_MODEL_ID_FROM_ZIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ZIP_STREAM | Call by reference | Type reference (TYPE) | XSTRING | 20091116 | ||||
| 2 | RV_MODEL_ID | Value transfer | Type reference (TYPE) | VBC_MODEL_ID | Model ID (Name) | 20091116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic exception allowing for flexible texts | 20091116 |
Method GET_NULL_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODEL_ID | Call by reference | Type reference (TYPE) | VBC_MODEL_ID | Model ID (Name) | 20081113 | |||
| 2 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | IF_VBC_MODEL | Main Visual Business Model Interface | 20081113 |
Method GET_NULL_OBJECT on class CL_VBC_MODEL_FACTORY has no exception.
Method PARSE_CONTAINER_XMLS Signature
Method PARSE_CONTAINER_XMLS on class CL_VBC_MODEL_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model creation exception | 20090218 |
Method PARSE_MODEL_STRUCTURE_XML Signature
Method PARSE_MODEL_STRUCTURE_XML on class CL_VBC_MODEL_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Specific Version Import failed cause oflater Version already | 20081120 | ||
| 2 | Model creation exception | 20081112 |
Method UPDATE_META_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_DOMAIN_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_VBC_DOMAIN_OBJECT | Domain Object Interface | 20091111 | |||
| 2 | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_VBC_MODEL | Main Visual Business Model Interface | 20091111 | |||
| 3 | IS_METADATA | Call by reference | Type reference (TYPE) | VBC_S_MODEL_METADATA | Model Metadata | 20091111 |
Method UPDATE_META_DATA on class CL_VBC_MODEL_FACTORY has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |