From 77e7831fc9ec690560bca50aa090552bafd9aa5a Mon Sep 17 00:00:00 2001 From: alaskowski <alaskowski@ethz.ch> Date: Mon, 19 Jun 2023 13:01:20 +0200 Subject: [PATCH] SSDM-13637: Refactoring of metadata executor logic - creating custom executor for updating metadata. Missing JS file --- .../as/dto/common/interfaces/IMetaDataUpdateHolder.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 api-openbis-javascript/src/v3/as/dto/common/interfaces/IMetaDataUpdateHolder.js diff --git a/api-openbis-javascript/src/v3/as/dto/common/interfaces/IMetaDataUpdateHolder.js b/api-openbis-javascript/src/v3/as/dto/common/interfaces/IMetaDataUpdateHolder.js new file mode 100644 index 00000000000..1e062b97f00 --- /dev/null +++ b/api-openbis-javascript/src/v3/as/dto/common/interfaces/IMetaDataUpdateHolder.js @@ -0,0 +1,10 @@ +define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { + var IMetaDataUpdateHolder = function() { + }; + stjs.extend(IMetaDataUpdateHolder, null, [], function(constructor, prototype) { + prototype.getMetaData = function() { + throw new exceptions.RuntimeException("Interface method."); + }; + }, {}); + return IMetaDataUpdateHolder; +}) \ No newline at end of file -- GitLab