From 9244a7f6edbf17a0ecafd371741dacd22a796f15 Mon Sep 17 00:00:00 2001
From: fedoreno <fedoreno>
Date: Tue, 15 Mar 2016 12:17:39 +0000
Subject: [PATCH] SSDM-3284: more dtos for roundtrip and fixes

SVN: 35902
---
 .../resources/api/v3/as/dto/attachment/id/AttachmentFileName.js | 2 +-
 .../api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js | 2 +-
 .../api/v3/as/dto/common/search/DateFieldSearchCriteria.js      | 2 +-
 .../v3/as/dto/datastore/fetchoptions/DataStoreSortOptions.js    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/attachment/id/AttachmentFileName.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/attachment/id/AttachmentFileName.js
index f78254597b5..fcdbd111dbd 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/attachment/id/AttachmentFileName.js
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/attachment/id/AttachmentFileName.js
@@ -12,7 +12,7 @@ define([ "stjs", "util/Exceptions", "as/dto/attachment/id/IAttachmentId" ], func
 		this.setFileName(fileName);
 	};
 	stjs.extend(AttachmentFileName, null, [ IAttachmentId ], function(constructor, prototype) {
-		prototype['@type'] = 'as.dto.id.attachment.AttachmentFileName';
+		prototype['@type'] = 'as.dto.attachment.id.AttachmentFileName';
 		constructor.serialVersionUID = 1;
 		prototype.fileName = null;
 		prototype.getFileName = function() {
diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js
index 005fa13634e..d610135421a 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js
@@ -11,7 +11,7 @@ define(
 				AbstractObjectSearchCriteria.call(this);
 			};
 			stjs.extend(AbstractEntitySearchCriteria, AbstractObjectSearchCriteria, [ AbstractObjectSearchCriteria ], function(constructor, prototype) {
-				prototype['@type'] = 'as.dto.search.AbstractEntitySearchCriteria';
+				prototype['@type'] = 'as.dto.common.search.AbstractEntitySearchCriteria';
 				constructor.serialVersionUID = 1;
 				prototype.operator = SearchOperator.AND;
 				prototype.withOperator = function(anOperator) {
diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/DateFieldSearchCriteria.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/DateFieldSearchCriteria.js
index dbd9bd5c479..7c7778bb543 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/DateFieldSearchCriteria.js
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/DateFieldSearchCriteria.js
@@ -9,7 +9,7 @@ define([ "require", "stjs", "util/Exceptions", "as/dto/common/search/AbstractFie
 	};
 
 	stjs.extend(DateFieldSearchCriteria, AbstractFieldSearchCriteria, [ AbstractFieldSearchCriteria ], function(constructor, prototype) {
-		prototype['@type'] = 'as.dto.search.DateFieldSearchCriteria';
+		prototype['@type'] = 'as.dto.common.search.DateFieldSearchCriteria';
 		constructor.serialVersionUID = 1;
 		var ShortDateFormat = require("as/dto/common/search/ShortDateFormat");
 		var NormalDateFormat = require("as/dto/common/search/NormalDateFormat");
diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/datastore/fetchoptions/DataStoreSortOptions.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/datastore/fetchoptions/DataStoreSortOptions.js
index 95627aee053..bd5475b5d9b 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/datastore/fetchoptions/DataStoreSortOptions.js
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/datastore/fetchoptions/DataStoreSortOptions.js
@@ -3,7 +3,7 @@ define([ "require", "stjs", "as/dto/common/fetchoptions/SortOptions" ], function
 		SortOptions.call(this);
 	};
 	stjs.extend(DataStoreSortOptions, SortOptions, [ SortOptions ], function(constructor, prototype) {
-		prototype['@type'] = 'as.dto.person.fetchoptions.DataStoreSortOptions';
+		prototype['@type'] = 'as.dto.datastore.fetchoptions.DataStoreSortOptions';
 		constructor.serialVersionUID = 1;
 	}, {});
 	return DataStoreSortOptions;
-- 
GitLab