comparison flys-client/src/main/java/org/dive4elements/river/client/client/services/AddArtifactService.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/client/services/AddArtifactService.java@bc06a671ef60
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
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.Artifact;
8 import de.intevation.flys.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 :

http://dive4elements.wald.intevation.org