comparison flys-client/src/main/java/de/intevation/flys/client/client/services/ArtifactService.java @ 3865:436eec3be6ff

Allow to create a discharge curve from a gauge info This is only a draft yet. flys-client/trunk@5639 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 28 Sep 2012 08:57:48 +0000
parents bc06a671ef60
children 6cc5186b9b48
comparison
equal deleted inserted replaced
3864:c434dd2e84cf 3865:436eec3be6ff
3 import com.google.gwt.user.client.rpc.RemoteService; 3 import com.google.gwt.user.client.rpc.RemoteService;
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; 4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
5 5
6 import de.intevation.flys.client.shared.exceptions.ServerException; 6 import de.intevation.flys.client.shared.exceptions.ServerException;
7 import de.intevation.flys.client.shared.model.Artifact; 7 import de.intevation.flys.client.shared.model.Artifact;
8 import de.intevation.flys.client.shared.model.Collection;
8 9
9 import de.intevation.flys.client.shared.model.Recommendation; 10 import de.intevation.flys.client.shared.model.Recommendation;
10 11
11 /** 12 /**
12 * This interface provides artifact specific services as CREATE, DESCRIBE, FEED, 13 * This interface provides artifact specific services as CREATE, DESCRIBE, FEED,
29 public Artifact create( 30 public Artifact create(
30 String locale, 31 String locale,
31 String factory, 32 String factory,
32 Recommendation recommendation 33 Recommendation recommendation
33 ) throws ServerException; 34 ) throws ServerException;
35
36 /**
37 * Create a new GaugeDischageCurveArtifact
38 *
39 * @param collection the collection to add the artifact to
40 * @param river the river
41 * @param gaugeref reference id of the gauge
42 */
43 public Artifact createGaugeDischargeCurverArtifact(
44 Collection collection,
45 String locale,
46 String river,
47 Long gaugeref
48 ) throws ServerException;
34 } 49 }
35 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 50 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org