mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 03:36:32 +08:00
docs: bits on writing serializers
This commit is contained in:
parent
290c1109a7
commit
66b1fa0bf5
|
@ -11,3 +11,5 @@ Building /docs/ locally:
|
|||
`bundle install`
|
||||
|
||||
`bundle exec jekyll serve --incremental --port $PORT --host $IP`
|
||||
|
||||
[Gude for installing bundle](https://help.dreamhost.com/hc/en-us/articles/115001070131-Using-Bundler-to-install-Ruby-gems)
|
41
docs/collections/_development/serializers.md
Normal file
41
docs/collections/_development/serializers.md
Normal file
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
title: Serializers
|
||||
order: 220
|
||||
---
|
||||
|
||||
All object serializers must be named ZCL_ABAPGIT_OBJECT_"type", where type is the corresponding TADIR-OBJECT type
|
||||
|
||||
Use SAP Standard APIs for retriving and updating object information where possible.
|
||||
If not possible try using ZCL_ABAPGIT_OBJECTS_GENERIC
|
||||
|
||||
Serializers must implement interface ZIF_ABAPGIT_OBJECT:
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~SERIALIZE``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~DESERIALIZE``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~DELETE``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~EXISTS``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~IS_LOCKED``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~CHANGED_BY``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~JUMP``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~GET_METADATA``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~HAS_CHANGED_SINCE``
|
||||
todo
|
||||
|
||||
``ZIF_ABAPGIT_OBJECT~COMPARE_TO_REMOTE_VERSION``
|
||||
todo
|
Loading…
Reference in New Issue
Block a user