comparison flys-client/src/main/java/de/intevation/flys/client/client/services/RemoveArtifactService.java @ 1319:6ba17b628552

Added RemoveArtifactService. flys-client/trunk@2960 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 13 Oct 2011 12:28:21 +0000
parents
children bc06a671ef60
comparison
equal deleted inserted replaced
1318:ecd0243bc09e 1319:6ba17b628552
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.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 url,
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