Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java @ 851:aa83a6a864b4
Added FeedService Implementation.
flys-client/trunk@2636 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 02 Sep 2011 12:48:25 +0000 |
parents | |
children | 2c48d75c4ab7 |
comparison
equal
deleted
inserted
replaced
850:d02c3835df28 | 851:aa83a6a864b4 |
---|---|
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.Artifact; | |
8 import de.intevation.flys.client.shared.model.Data; | |
9 | |
10 /** | |
11 * This interface provides artifact specific operation FEED. | |
12 */ | |
13 @RemoteServiceRelativePath("feed") | |
14 public interface FeedService extends RemoteService { | |
15 | |
16 /** | |
17 * This method inserts new data into the an existing artifact. | |
18 * | |
19 * @param serverUrl The url of the artifact server. | |
20 * @param locale The locale used for the request. | |
21 * @param artifact The artifact. | |
22 * @param data The data that should be inserted. | |
23 * | |
24 * @return the artifact which description might have been changed. | |
25 */ | |
26 public Artifact feed( | |
27 String serverUrl, | |
28 String locale, | |
29 Artifact artifact, | |
30 Data[] data) | |
31 throws ServerException; | |
32 } | |
33 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |