Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/client/services/FeedServiceAsync.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/FeedServiceAsync.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.AsyncCallback; | |
6 | |
7 import de.intevation.flys.client.shared.model.Artifact; | |
8 import de.intevation.flys.client.shared.model.Data; | |
9 | |
10 | |
11 /** | |
12 * This interface provides artifact specific operation FEED. | |
13 */ | |
14 public interface FeedServiceAsync { | |
15 | |
16 /** | |
17 * Inserts new data into an existing artifact. | |
18 * | |
19 * @param locale The locale used for the request. | |
20 * @param artifact The artifact. | |
21 * @param data The data that should be inserted. | |
22 */ | |
23 public void feed( | |
24 String locale, | |
25 Artifact artifact, | |
26 Data[] data, | |
27 AsyncCallback<Artifact> callback); | |
28 | |
29 /** | |
30 * Inserts (the same) new data into existing artifacts. | |
31 * | |
32 * @param locale The locale used for the request. | |
33 * @param artifact The artifact. | |
34 * @param data The data that should be inserted. | |
35 */ | |
36 public void feedMany( | |
37 String locale, | |
38 List<Artifact> artifacts, | |
39 Data[] data, | |
40 AsyncCallback<List<Artifact>> callback); | |
41 } | |
42 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |