Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java @ 1518:e8706fec0ee9
Added feedMany() implementation to feed-service.
flys-client/trunk@3671 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 13 Jan 2012 09:50:39 +0000 |
parents | 4a6814be92ba |
children |
comparison
equal
deleted
inserted
replaced
1517:a9388fba0b46 | 1518:e8706fec0ee9 |
---|---|
1 package de.intevation.flys.client.client.services; | 1 package de.intevation.flys.client.client.services; |
2 | |
3 import java.util.List; | |
2 | 4 |
3 import com.google.gwt.user.client.rpc.RemoteService; | 5 import com.google.gwt.user.client.rpc.RemoteService; |
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | 6 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; |
5 | 7 |
6 import de.intevation.flys.client.shared.exceptions.ServerException; | 8 import de.intevation.flys.client.shared.exceptions.ServerException; |
25 public Artifact feed( | 27 public Artifact feed( |
26 String locale, | 28 String locale, |
27 Artifact artifact, | 29 Artifact artifact, |
28 Data[] data) | 30 Data[] data) |
29 throws ServerException; | 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; | |
30 } | 48 } |
31 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 49 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |