comparison gwt-client/src/main/java/org/dive4elements/river/client/client/services/FeedService.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/FeedService.java@821a02bbfb4e
children 172338b1407f
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 package org.dive4elements.river.client.client.services;
2
3 import java.util.List;
4
5 import com.google.gwt.user.client.rpc.RemoteService;
6 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
7
8 import org.dive4elements.river.client.shared.exceptions.ServerException;
9 import org.dive4elements.river.client.shared.model.Artifact;
10 import org.dive4elements.river.client.shared.model.Data;
11
12 /**
13 * This interface provides artifact specific operation FEED.
14 */
15 @RemoteServiceRelativePath("feed")
16 public interface FeedService extends RemoteService {
17
18 /**
19 * Inserts new data into an existing artifact.
20 *
21 * @param locale The locale used for the request.
22 * @param artifact The artifact.
23 * @param data The data that should be inserted.
24 *
25 * @return the artifact which description might have been changed.
26 */
27 public Artifact feed(
28 String locale,
29 Artifact artifact,
30 Data[] data)
31 throws ServerException;
32
33
34 /**
35 * Inserts (the same) new data into existing artifacts.
36 *
37 * @param locale The locale used for the request.
38 * @param artifact The artifact.
39 * @param data The data that should be inserted.
40 *
41 * @return the artifact which description might have been changed.
42 */
43 public List<Artifact> feedMany(
44 String locale,
45 List<Artifact> artifacts,
46 Data[] data)
47 throws ServerException;
48 }
49 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org