diff flys-client/src/main/java/de/intevation/flys/client/client/services/CreateCollectionServiceAsync.java @ 71:987567f31200

Adjusted the return type of the CreateCollectionService and added code to react on Collection changes (like output modes). flys-client/trunk@1573 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 25 Mar 2011 11:51:54 +0000
parents c19985f75118
children 924da6695800
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/services/CreateCollectionServiceAsync.java	Fri Mar 25 11:41:55 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/CreateCollectionServiceAsync.java	Fri Mar 25 11:51:54 2011 +0000
@@ -2,6 +2,8 @@
 
 import com.google.gwt.user.client.rpc.AsyncCallback;
 
+import de.intevation.flys.client.shared.model.Collection;
+
 
 /**
  * This interface describes the service for creating new collections.
@@ -10,6 +12,9 @@
  */
 public interface CreateCollectionServiceAsync {
 
-    void create(String serverUrl, String owner, AsyncCallback<String> callback);
+    void create(
+        String serverUrl,
+        String owner,
+        AsyncCallback<Collection> callback);
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org