diff flys-client/ChangeLog @ 905:478a571f1f94

Refactored server code - HTTP related code moved to ArtifactsHelper and CollectionHelper which makes us able to combine Artifact and Collection protocol stuff in a single RPC service. flys-client/trunk@2757 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 15 Sep 2011 12:55:36 +0000
parents 1e08a5b0add9
children 39acba4b5f0b
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Sep 15 08:39:07 2011 +0000
+++ b/flys-client/ChangeLog	Thu Sep 15 12:55:36 2011 +0000
@@ -1,3 +1,34 @@
+2011-09-15  Ingo Weinzierl <ingo@intevation.de>
+
+	Refactored the HTTP related code for Collections and Artifacts out to helper
+	classes. This makes us able to combine several Artifact and Collection
+	protocol specific things in new Services. The first one which uses this
+	combination is the LoadArtifactService where a new Artifact is created and
+	finally added to a Collection.
+
+	* src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java,
+	  src/main/java/de/intevation/flys/client/client/services/LoadArtifactServiceAsync.java,
+	  src/main/java/de/intevation/flys/client/client/services/LoadArtifactService.java:
+	  New service to create a new Artifact (with a given factory and a
+	  recommendation) and add it directly to a specified Collection.
+
+	* src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java,
+	  src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java:
+	  Removed HTTP related code - the CollectionHelper should do all this.
+
+	* src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java:
+	  Removed HTTP related code - the ArtifactHelper should do all this.
+
+	* src/main/java/de/intevation/flys/client/server/CollectionHelper.java:
+	  Added HTTP related methods from DescribeCollectionServiceImpl and
+	  AddArtifactServiceImpl.
+
+	* src/main/java/de/intevation/flys/client/server/ArtifactHelper.java: New.
+	  This helper class should handle all the HTTP stuff for working with
+	  Artifacts.
+
+	* src/main/webapp/WEB-INF/web.xml: Registered the new LoadArtifactService.
+
 2011-09-15  Raimund Renkert <raimund.renkert@intevation.de>
 
 	Issue194

http://dive4elements.wald.intevation.org