From 814d0e4fe04a462a8b2d20ba6b4359de56e63da7 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Tue, 21 Jun 2016 10:22:41 +0000 Subject: [PATCH] SSDM-3733 : New V3 API Call to retrieve session information SVN: 36718 --- .../v3/as/dto/session/SessionInformation.js | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/session/SessionInformation.js diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/session/SessionInformation.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/session/SessionInformation.js new file mode 100644 index 00000000000..a0c56be023a --- /dev/null +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/session/SessionInformation.js @@ -0,0 +1,48 @@ +/** + * Class automatically generated with + * {@link ch.ethz.sis.openbis.generic.shared.api.v3.dto.generators.DtoGenerator} + */ +define([ "stjs" ], function(stjs) { + var SessionInformation = function() { + }; + stjs.extend(SessionInformation, null, [], function(constructor, prototype) { + prototype['@type'] = 'as.dto.session.SessionInformation'; + constructor.serialVersionUID = 1; + prototype.homeGroupCode = null; + prototype.userName = null; + prototype.person = null; + prototype.creatorPerson = null; + + prototype.getHomeGroupCode = function() { + return this.homeGroupCode; + }; + prototype.setHomeGroupCode = function(homeGroupCode) { + this.homeGroupCode = homeGroupCode; + }; + + prototype.getUserName = function() { + return this.userName; + }; + prototype.setUserName = function(userName) { + this.userName = userName; + }; + + prototype.getPerson = function() { + return this.person; + }; + prototype.setPerson = function(person) { + this.person = person; + }; + + prototype.getCreatorPerson = function() { + return this.creatorPerson; + }; + prototype.setCreatorPerson = function(creatorPerson) { + this.creatorPerson = creatorPerson; + }; + }, { + person : "Person", + creatorPerson : "Person" + }); + return SessionInformation; +}) \ No newline at end of file -- GitLab