Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/client/services/FeedService.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/FeedService.java@e8706fec0ee9 |
children | 821a02bbfb4e |
comparison
equal
deleted
inserted
replaced
5833:a2bdc0f524e8 | 5834:f507086aa94b |
---|---|
1 package de.intevation.flys.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 de.intevation.flys.client.shared.exceptions.ServerException; | |
9 import de.intevation.flys.client.shared.model.Artifact; | |
10 import de.intevation.flys.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 : |