Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/services/AddArtifactService.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/client/services/AddArtifactService.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.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 org.dive4elements.river.client.shared.exceptions.ServerException; | |
7 import org.dive4elements.river.client.shared.model.Artifact; | |
8 import org.dive4elements.river.client.shared.model.Collection; | |
9 | |
10 | |
11 /** | |
12 * This interface describes the service to add an existing artifact to an | |
13 * existing collection. | |
14 * | |
15 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
16 */ | |
17 @RemoteServiceRelativePath("add-artifact") | |
18 public interface AddArtifactService extends RemoteService { | |
19 | |
20 /** | |
21 * Adds an artifact to a collection. | |
22 * | |
23 * @param collection The Collection that should be extended. | |
24 * @param artifact The artifact that should be added. | |
25 * @param url The url of the artifact server. | |
26 * | |
27 * @return the Collection after the operation. | |
28 */ | |
29 Collection add( | |
30 Collection collection, | |
31 Artifact artifact, | |
32 String locale) | |
33 throws ServerException; | |
34 } | |
35 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |