comparison gwt-client/src/main/java/org/dive4elements/river/client/client/services/RemoveArtifactService.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/RemoveArtifactService.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.Collection;
8
9
10 /**
11 * This interface describes the service to remove an existing artifact to an
12 * existing collection.
13 *
14 */
15 @RemoteServiceRelativePath("remove-artifact")
16 public interface RemoveArtifactService extends RemoteService {
17
18 /**
19 * Removes an artifact from a collection.
20 *
21 * @param collection The Collection that should be modified.
22 * @param artifactId The artifact that should be removed.
23 * @param url The url of the artifact server.
24 * @param locale locae to use (for localized responses).
25 *
26 * @return the Collection after the operation.
27 */
28 Collection remove(
29 Collection collection,
30 String artifactId,
31 String locale)
32 throws ServerException;
33 }
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org