Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/AdvanceService.java @ 32:88c530c25968
Added a service for the ADVANCE operation and a service that bundles FEED and ADVANCE in a single service.
flys-client/trunk@1451 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 10 Mar 2011 10:53:41 +0000 |
parents | |
children | e02f50a3ad59 |
comparison
equal
deleted
inserted
replaced
31:e8745ca02f2b | 32:88c530c25968 |
---|---|
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.model.Artifact; | |
7 | |
8 /** | |
9 * This interface provides artifact specific operation ADVANCE. | |
10 * | |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
12 */ | |
13 @RemoteServiceRelativePath("advance") | |
14 public interface AdvanceService 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 artifact The artifact. | |
21 * @param target The identifier of the target state. | |
22 * | |
23 * @return the artifact which description might have been changed. | |
24 */ | |
25 public Artifact advance(String serverUrl, Artifact artifact, String target); | |
26 } | |
27 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |