Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | 1x 1x 1x 1x 1x 1x 1x | const {cx_root} = await import("./cx_root.clas.mjs"); // zcl_abapgit_persist_background.clas.abap class zcl_abapgit_persist_background { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'ZCL_ABAPGIT_PERSIST_BACKGROUND'; static IMPLEMENTED_INTERFACES = ["ZIF_ABAPGIT_PERSIST_BACKGROUND"]; static ATTRIBUTES = {"MO_DB": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_PERSISTENCE_DB", RTTIName: "\\CLASS=ZCL_ABAPGIT_PERSISTENCE_DB"});}, "visibility": "I", "is_constant": " ", "is_class": " "}}; static METHODS = {"FROM_XML": {"visibility": "I", "parameters": {"RS_XML": {"type": () => {return new abap.types.Structure({ "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_xml", undefined, {}, {});}, "is_optional": " "}, "IV_STRING": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "TO_XML": {"visibility": "I", "parameters": {"RV_STRING": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_BACKGROUND": {"type": () => {return new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {});}, "is_optional": " "}}}, "CONSTRUCTOR": {"visibility": "U", "parameters": {}}}; #mo_db; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { "from_xml": this.#from_xml.bind(this), "to_xml": this.#to_xml.bind(this), }; this.#mo_db = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_PERSISTENCE_DB", RTTIName: "\\CLASS=ZCL_ABAPGIT_PERSISTENCE_DB"}); this.FRIENDS_ACCESS_INSTANCE["mo_db"] = this.#mo_db; } async constructor_(INPUT) { this.#mo_db.set((await abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].get_instance())); return this; } async #from_xml(INPUT) { let rs_xml = new abap.types.Structure({ "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_xml", undefined, {}, {}); let iv_string = INPUT?.iv_string; if (iv_string?.getQualifiedName === undefined || iv_string.getQualifiedName() !== "STRING") { iv_string = undefined; } if (iv_string === undefined) { iv_string = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_string); } if (abap.Classes['KERNEL_CALL_TRANSFORMATION'] === undefined) throw new Error("CallTransformation, kernel class missing"); await abap.Classes['KERNEL_CALL_TRANSFORMATION'].call({name: "id",sourceXML: iv_string,options: {value_handling:abap.CharacterFactory.get(16, 'accept_data_loss')},result: {data:rs_xml}}); return rs_xml; } async #to_xml(INPUT) { let rv_string = new abap.types.String({qualifiedName: "STRING"}); let is_background = INPUT?.is_background; if (is_background?.getQualifiedName === undefined || is_background.getQualifiedName() !== "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_BACKGROUND") { is_background = undefined; } if (is_background === undefined) { is_background = new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {}).set(INPUT.is_background); } let ls_xml = new abap.types.Structure({ "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_xml", undefined, {}, {}); abap.statements.moveCorresponding(is_background, ls_xml); if (abap.Classes['KERNEL_CALL_TRANSFORMATION'] === undefined) throw new Error("CallTransformation, kernel class missing"); await abap.Classes['KERNEL_CALL_TRANSFORMATION'].call({name: "id",resultXML: rv_string,source: {data:ls_xml}}); return rv_string; } async zif_abapgit_persist_background$delete(INPUT) { let iv_key = INPUT?.iv_key; if (iv_key?.getQualifiedName === undefined || iv_key.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_VALUE") { iv_key = undefined; } if (iv_key === undefined) { iv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}).set(INPUT.iv_key); } try { await this.#mo_db.get().read({iv_type: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_background, iv_value: iv_key}); } catch (e) { if ((abap.Classes['ZCX_ABAPGIT_NOT_FOUND'] && e instanceof abap.Classes['ZCX_ABAPGIT_NOT_FOUND'])) { return; } else { throw e; } } await this.#mo_db.get().delete({iv_type: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_background, iv_value: iv_key}); } async zif_abapgit_persist_background$exists(INPUT) { let rv_yes = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); let iv_key = INPUT?.iv_key; if (iv_key?.getQualifiedName === undefined || iv_key.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_VALUE") { iv_key = undefined; } if (iv_key === undefined) { iv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}).set(INPUT.iv_key); } try { await this.#mo_db.get().read({iv_type: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_background, iv_value: iv_key}); rv_yes.set(abap.builtin.abap_true); } catch (e) { if ((abap.Classes['ZCX_ABAPGIT_NOT_FOUND'] && e instanceof abap.Classes['ZCX_ABAPGIT_NOT_FOUND'])) { rv_yes.set(abap.builtin.abap_false); } else { throw e; } } return rv_yes; } async zif_abapgit_persist_background$get_by_key(INPUT) { let rs_data = new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {}); let iv_key = INPUT?.iv_key; if (iv_key?.getQualifiedName === undefined || iv_key.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_VALUE") { iv_key = undefined; } if (iv_key === undefined) { iv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}).set(INPUT.iv_key); } let lt_list = abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_persist_background=>ty_background_keys"); lt_list.set((await this.zif_abapgit_persist_background$list())); abap.statements.readTable(lt_list,{into: rs_data, withKey: (i) => {return abap.compare.eq(i.key, iv_key);}, withKeyValue: [{key: (i) => {return i.key}, value: iv_key}], usesTableLine: false, withKeySimple: {"key": iv_key}}); if (abap.compare.ne(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) { const unique534 = await (new abap.Classes['ZCX_ABAPGIT_NOT_FOUND']()).constructor_(); unique534.EXTRA_CX = {"INTERNAL_FILENAME": "zcl_abapgit_persist_background.clas.abap","INTERNAL_LINE": 97}; throw unique534; } return rs_data; } async zif_abapgit_persist_background$list() { let rt_list = abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_persist_background=>ty_background_keys"); let lt_list = abap.types.TableFactory.construct(new abap.types.Structure({ "type": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_type"}), "value": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "data_str": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_CONTENT-DATA_STR"})}, "zif_abapgit_persistence=>ty_content", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["TYPE","VALUE"]},"secondary":[]}, "zif_abapgit_persistence=>ty_contents"); let ls_xml = new abap.types.Structure({ "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_xml", undefined, {}, {}); let fs_ls_list_ = new abap.types.FieldSymbol(new abap.types.Structure({ "type": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_type"}), "value": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "data_str": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_CONTENT-DATA_STR"})}, "zif_abapgit_persistence=>ty_content", undefined, {}, {})); let fs_ls_output_ = new abap.types.FieldSymbol(new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {})); lt_list.set((await this.#mo_db.get().list_by_type({iv_type: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_background}))); for await (const unique535 of abap.statements.loop(lt_list)) { fs_ls_list_.assign(unique535); ls_xml.set((await this.#from_xml({iv_string: fs_ls_list_.get().data_str}))); fs_ls_output_.assign(rt_list.appendInitial()); abap.statements.moveCorresponding(ls_xml, fs_ls_output_); fs_ls_output_.get().key.set(fs_ls_list_.get().value); } return rt_list; } async zif_abapgit_persist_background$modify(INPUT) { let is_data = INPUT?.is_data; if (is_data?.getQualifiedName === undefined || is_data.getQualifiedName() !== "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_BACKGROUND") { is_data = undefined; } if (is_data === undefined) { is_data = new abap.types.Structure({ "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}), "method": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-METHOD"}), "username": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-USERNAME"}), "password": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_BACKGROUND=>TY_XML-PASSWORD"}), "settings": abap.types.TableFactory.construct(new abap.types.Structure({ "key": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-KEY"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_BACKGROUND=>TY_SETTINGS-VALUE"})}, "zif_abapgit_background=>ty_settings", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_background=>ty_settings_tt")}, "zif_abapgit_persist_background=>ty_background", undefined, {}, {}).set(INPUT.is_data); } abap.statements.assert(abap.compare.initial(is_data.get().key) === false); await this.#mo_db.get().modify({iv_type: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_background, iv_value: is_data.get().key, iv_data: (await this.#to_xml({is_background: is_data}))}); } } abap.Classes['ZCL_ABAPGIT_PERSIST_BACKGROUND'] = zcl_abapgit_persist_background; export {zcl_abapgit_persist_background}; |