changeset 836:0fe456332785

Datacage: s/db-ids/ids/g to unify system and user specific loading. flys-client/trunk@2551 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 24 Aug 2011 10:35:38 +0000
parents c89a42950d11
children 29966a53cfeb
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java
diffstat 4 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Aug 24 09:26:33 2011 +0000
+++ b/flys-client/ChangeLog	Wed Aug 24 10:35:38 2011 +0000
@@ -1,3 +1,10 @@
+2011-08-24	Sascha L. Teichmann	<sascha.teichmann@intevation.de> 
+
+	* src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java,
+	  src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java,
+	  src/main/java/de/intevation/flys/client/server/CollectionHelper.java: 
+	  s/db-ids/ids/g to unify system and user specific loading.
+
 2011-08-24  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java	Wed Aug 24 09:26:33 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java	Wed Aug 24 10:35:38 2011 +0000
@@ -490,7 +490,7 @@
         for (int i = 0; i < num; i++) {
             Element e       = (Element) list.item(i);
             String  factory = e.getAttribute("factory");
-            String  index   = e.getAttribute("db-ids");
+            String  index   = e.getAttribute("ids");
 
             if (factory != null && factory.length() > 0) {
                 rec[i] = new DefaultRecommendation(factory, index);
--- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Wed Aug 24 09:26:33 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Wed Aug 24 10:35:38 2011 +0000
@@ -228,7 +228,7 @@
 
         Element recommendation = cr.create("recommendation");
         cr.addAttr(recommendation, "factory", r.getFactory(), true);
-        cr.addAttr(recommendation, "db-ids", r.getIDs(), true);
+        cr.addAttr(recommendation, "ids", r.getIDs(), true);
 
         return recommendation;
     }
--- a/flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java	Wed Aug 24 09:26:33 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java	Wed Aug 24 10:35:38 2011 +0000
@@ -422,7 +422,7 @@
             Element rec = (Element) list.item(i);
 
             String factory = rec.getAttributeNS(uri, "factory");
-            String dbids   = rec.getAttributeNS(uri, "db-ids");
+            String dbids   = rec.getAttributeNS(uri, "ids");
 
             if (factory != null && factory.length() > 0) {
                 recs.add(new DefaultRecommendation(factory, dbids));

http://dive4elements.wald.intevation.org