Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/SetCollectionNameService.java @ 598:031357c3e23e
Added stubs to set the name and ttl of a collection and to delete a collection.
flys-client/trunk@2202 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 22 Jun 2011 11:47:07 +0000 |
parents | |
children | bc06a671ef60 |
comparison
equal
deleted
inserted
replaced
597:14e5e51a7de4 | 598:031357c3e23e |
---|---|
1 package de.intevation.flys.client.client.services; | |
2 | |
3 import com.google.gwt.user.client.rpc.RemoteService; | |
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | |
5 | |
6 import de.intevation.flys.client.shared.exceptions.ServerException; | |
7 import de.intevation.flys.client.shared.model.Collection; | |
8 | |
9 | |
10 /** | |
11 * This interface describes the service to add an existing artifact to an | |
12 * existing collection. | |
13 * | |
14 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
15 */ | |
16 @RemoteServiceRelativePath("set-collectionname") | |
17 public interface SetCollectionNameService extends RemoteService { | |
18 | |
19 /** | |
20 * Set the name of a collection. | |
21 * | |
22 * @param collection The Collection that should be extended. | |
23 * @param url The url of the artifact server. | |
24 */ | |
25 void setName(Collection collection, String url) | |
26 throws ServerException; | |
27 } | |
28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |