comparison flys-client/src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java @ 99:5c3d685546a6

Added a new service to describe collections. flys-client/trunk@1613 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 30 Mar 2011 07:35:59 +0000
parents
children f7967d12ce6e
comparison
equal deleted inserted replaced
98:83bf2fb17b7c 99:5c3d685546a6
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.model.Artifact;
7 import de.intevation.flys.client.shared.model.Collection;
8
9
10 /**
11 * This service describes an operation the fetches the DESCRIBE document of a
12 * specific collection and returns a Collection.
13 *
14 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
15 */
16 @RemoteServiceRelativePath("describe-collection")
17 public interface DescribeCollectionService extends RemoteService {
18
19 /**
20 * Adds an artifact to a collection.
21 *
22 * @param uuid The uuid of the desired collection.
23 * @param url The url of the artifact server.
24 *
25 * @return the Collection after the operation.
26 */
27 Collection describe(String uuid, String url);
28 }
29 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org