Skip to content
Permalink
Browse files

additional gateway support (#2771)

* additional gateway support

* Update ref-supported.md
  • Loading branch information...
larshp committed Jul 8, 2019
1 parent f662348 commit ce84d2455f48863b9d9e3d35d8e7fad97474a6bb
@@ -54,7 +54,11 @@ IASP | Parameters of an IAC service | Yes
IATU | Language-Independent IAC Templates | Yes
IDOC | IDoc Type | Yes
IEXT | Enhancement | Yes
IWPR | Gateway Business Suite Enablement - Service Builder Project | [#75](https://github.com/larshp/abapGit/issues/75)
IWMO |Gateway Business Suite Enablement - Model | Yes
IWOM | Gateway: Model Metadata | Yes
IWPR | Gateway Business Suite Enablement - Service Builder Project | Yes
IWSG | Gateway: Service Groups Metadata | Yes
IWSV | Gateway Business Suite Enablement - Service | Yes
JOBD | Technical Job Definition | Yes
LPDC | Launchpad short texts | [#107](https://github.com/larshp/abapGit/issues/107)
MSAG | Message Class | Yes
@@ -0,0 +1,103 @@
CLASS zcl_abapgit_object_iwmo DEFINITION
PUBLIC
INHERITING FROM zcl_abapgit_objects_super
CREATE PUBLIC .

PUBLIC SECTION.

INTERFACES zif_abapgit_object .
PROTECTED SECTION.

METHODS get_generic
RETURNING
VALUE(ro_generic) TYPE REF TO zcl_abapgit_objects_generic
RAISING
zcx_abapgit_exception .
PRIVATE SECTION.
ENDCLASS.



CLASS ZCL_ABAPGIT_OBJECT_IWMO IMPLEMENTATION.


METHOD get_generic.

CREATE OBJECT ro_generic
EXPORTING
is_item = ms_item.

ENDMETHOD.


METHOD zif_abapgit_object~changed_by.
rv_user = zcl_abapgit_objects_super=>c_user_unknown.
ENDMETHOD.


METHOD zif_abapgit_object~delete.

get_generic( )->delete( ).

ENDMETHOD.


METHOD zif_abapgit_object~deserialize.

get_generic( )->deserialize(
iv_package = iv_package
io_xml = io_xml ).

ENDMETHOD.


METHOD zif_abapgit_object~exists.

rv_bool = get_generic( )->exists( ).

ENDMETHOD.


METHOD zif_abapgit_object~get_comparator.
RETURN.
ENDMETHOD.


METHOD zif_abapgit_object~get_deserialize_steps.
APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps.
ENDMETHOD.


METHOD zif_abapgit_object~get_metadata.

rs_metadata = get_metadata( ).
rs_metadata-delete_tadir = abap_true.

ENDMETHOD.


METHOD zif_abapgit_object~is_active.
rv_active = is_active( ).
ENDMETHOD.


METHOD zif_abapgit_object~is_locked.

rv_is_locked = abap_false.

ENDMETHOD.


METHOD zif_abapgit_object~jump.

zcx_abapgit_exception=>raise( |TODO: Jump| ).

ENDMETHOD.


METHOD zif_abapgit_object~serialize.

get_generic( )->serialize( io_xml ).

ENDMETHOD.
ENDCLASS.
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_CLAS" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<VSEOCLASS>
<CLSNAME>ZCL_ABAPGIT_OBJECT_IWMO</CLSNAME>
<LANGU>E</LANGU>
<DESCRIPT>IWMO</DESCRIPT>
<STATE>1</STATE>
<CLSCCINCL>X</CLSCCINCL>
<FIXPT>X</FIXPT>
<UNICODE>X</UNICODE>
</VSEOCLASS>
</asx:values>
</asx:abap>
</abapGit>
@@ -0,0 +1,103 @@
CLASS zcl_abapgit_object_iwom DEFINITION
PUBLIC
INHERITING FROM zcl_abapgit_objects_super
CREATE PUBLIC .

PUBLIC SECTION.

INTERFACES zif_abapgit_object .
PROTECTED SECTION.

METHODS get_generic
RETURNING
VALUE(ro_generic) TYPE REF TO zcl_abapgit_objects_generic
RAISING
zcx_abapgit_exception .
PRIVATE SECTION.
ENDCLASS.



CLASS ZCL_ABAPGIT_OBJECT_IWOM IMPLEMENTATION.


METHOD get_generic.

CREATE OBJECT ro_generic
EXPORTING
is_item = ms_item.

ENDMETHOD.


METHOD zif_abapgit_object~changed_by.
rv_user = zcl_abapgit_objects_super=>c_user_unknown.
ENDMETHOD.


METHOD zif_abapgit_object~delete.

get_generic( )->delete( ).

ENDMETHOD.


METHOD zif_abapgit_object~deserialize.

get_generic( )->deserialize(
iv_package = iv_package
io_xml = io_xml ).

ENDMETHOD.


METHOD zif_abapgit_object~exists.

rv_bool = get_generic( )->exists( ).

ENDMETHOD.


METHOD zif_abapgit_object~get_comparator.
RETURN.
ENDMETHOD.


METHOD zif_abapgit_object~get_deserialize_steps.
APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps.
ENDMETHOD.


METHOD zif_abapgit_object~get_metadata.

rs_metadata = get_metadata( ).
rs_metadata-delete_tadir = abap_true.

ENDMETHOD.


METHOD zif_abapgit_object~is_active.
rv_active = is_active( ).
ENDMETHOD.


METHOD zif_abapgit_object~is_locked.

rv_is_locked = abap_false.

ENDMETHOD.


METHOD zif_abapgit_object~jump.

zcx_abapgit_exception=>raise( |TODO: Jump| ).

ENDMETHOD.


METHOD zif_abapgit_object~serialize.

get_generic( )->serialize( io_xml ).

ENDMETHOD.
ENDCLASS.
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_CLAS" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<VSEOCLASS>
<CLSNAME>ZCL_ABAPGIT_OBJECT_IWOM</CLSNAME>
<LANGU>E</LANGU>
<DESCRIPT>IWOM</DESCRIPT>
<STATE>1</STATE>
<CLSCCINCL>X</CLSCCINCL>
<FIXPT>X</FIXPT>
<UNICODE>X</UNICODE>
</VSEOCLASS>
</asx:values>
</asx:abap>
</abapGit>
@@ -0,0 +1,103 @@
CLASS zcl_abapgit_object_iwsg DEFINITION
PUBLIC
INHERITING FROM zcl_abapgit_objects_super
CREATE PUBLIC .

PUBLIC SECTION.

INTERFACES zif_abapgit_object .
PROTECTED SECTION.

METHODS get_generic
RETURNING
VALUE(ro_generic) TYPE REF TO zcl_abapgit_objects_generic
RAISING
zcx_abapgit_exception .
PRIVATE SECTION.
ENDCLASS.



CLASS ZCL_ABAPGIT_OBJECT_IWSG IMPLEMENTATION.


METHOD get_generic.

CREATE OBJECT ro_generic
EXPORTING
is_item = ms_item.

ENDMETHOD.


METHOD zif_abapgit_object~changed_by.
rv_user = zcl_abapgit_objects_super=>c_user_unknown.
ENDMETHOD.


METHOD zif_abapgit_object~delete.

get_generic( )->delete( ).

ENDMETHOD.


METHOD zif_abapgit_object~deserialize.

get_generic( )->deserialize(
iv_package = iv_package
io_xml = io_xml ).

ENDMETHOD.


METHOD zif_abapgit_object~exists.

rv_bool = get_generic( )->exists( ).

ENDMETHOD.


METHOD zif_abapgit_object~get_comparator.
RETURN.
ENDMETHOD.


METHOD zif_abapgit_object~get_deserialize_steps.
APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps.
ENDMETHOD.


METHOD zif_abapgit_object~get_metadata.

rs_metadata = get_metadata( ).
rs_metadata-delete_tadir = abap_true.

ENDMETHOD.


METHOD zif_abapgit_object~is_active.
rv_active = is_active( ).
ENDMETHOD.


METHOD zif_abapgit_object~is_locked.

rv_is_locked = abap_false.

ENDMETHOD.


METHOD zif_abapgit_object~jump.

zcx_abapgit_exception=>raise( |TODO: Jump| ).

ENDMETHOD.


METHOD zif_abapgit_object~serialize.

get_generic( )->serialize( io_xml ).

ENDMETHOD.
ENDCLASS.
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_CLAS" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<VSEOCLASS>
<CLSNAME>ZCL_ABAPGIT_OBJECT_IWSG</CLSNAME>
<LANGU>E</LANGU>
<DESCRIPT>IWSG</DESCRIPT>
<STATE>1</STATE>
<CLSCCINCL>X</CLSCCINCL>
<FIXPT>X</FIXPT>
<UNICODE>X</UNICODE>
</VSEOCLASS>
</asx:values>
</asx:abap>
</abapGit>

0 comments on commit ce84d24

Please sign in to comment.
You can’t perform that action at this time.