Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/AddArtifactService.java @ 69:4bdb18e5f484
Added a service to add artifacts to collections.
flys-client/trunk@1571 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 25 Mar 2011 11:37:36 +0000 |
parents | |
children | e02f50a3ad59 |
comparison
equal
deleted
inserted
replaced
68:157f7bea6299 | 69:4bdb18e5f484 |
---|---|
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 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("add-artifact") | |
17 public interface AddArtifactService extends RemoteService { | |
18 | |
19 /** | |
20 * Adds an artifact to a collection. | |
21 * | |
22 * @param collection The Collection that should be extended. | |
23 * @param artifact The artifact that should be added. | |
24 * @param url The url of the artifact server. | |
25 * | |
26 * @return the Collection after the operation. | |
27 */ | |
28 Collection add(Collection collection, Artifact artifact, String url); | |
29 } | |
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |