Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
70:493efc8e4e28 | 71:987567f31200 |
---|---|
1 package de.intevation.flys.client.client.services; | 1 package de.intevation.flys.client.client.services; |
2 | 2 |
3 import com.google.gwt.user.client.rpc.AsyncCallback; | 3 import com.google.gwt.user.client.rpc.AsyncCallback; |
4 | |
5 import de.intevation.flys.client.shared.model.Collection; | |
4 | 6 |
5 | 7 |
6 /** | 8 /** |
7 * This interface describes the service for creating new collections. | 9 * This interface describes the service for creating new collections. |
8 * | 10 * |
9 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
10 */ | 12 */ |
11 public interface CreateCollectionServiceAsync { | 13 public interface CreateCollectionServiceAsync { |
12 | 14 |
13 void create(String serverUrl, String owner, AsyncCallback<String> callback); | 15 void create( |
16 String serverUrl, | |
17 String owner, | |
18 AsyncCallback<Collection> callback); | |
14 } | 19 } |
15 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 20 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |