From 97eabbaf9c80aeb5142bad4a4cea60b610e153ce Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Thu, 17 Dec 2015 11:11:18 +0000 Subject: [PATCH] SSDM-2718: extending JS facade of V3 API by ExecutionOptions.js SVN: 35361 --- .../api/v3/dto/service/ExecutionOptions.js | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/dto/service/ExecutionOptions.js diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/dto/service/ExecutionOptions.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/dto/service/ExecutionOptions.js new file mode 100644 index 00000000000..a6f18d7074a --- /dev/null +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/dto/service/ExecutionOptions.js @@ -0,0 +1,22 @@ +define([ "stjs"], function(stjs) { + var ExecutionOptions = function() { + this.parameters = {}; + }; + stjs.extend(ExecutionOptions, null, [ ], function(constructor, prototype) { + prototype['@type'] = 'dto.service.ExecutionOptions'; + constructor.serialVersionUID = 1; + prototype.parameters = null; + prototype.withParameter = function(parameterName, value) { + this.parameters[parameterName] = value; + } + proptotype.getParameters = function() { + return this.parameters; + } + }, { + parameters : { + name : "Map", + arguments : [ null, null ] + } + }); + return ExecutionOptions; +}) \ No newline at end of file -- GitLab