diff gwt-client/src/main/java/org/dive4elements/river/client/client/services/ArtifactService.java @ 6040:cbdf839008a7

Add a new function to create a GaugeDischarge+MainValueArtifact collection.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 16 May 2013 16:31:09 +0200
parents b6dab05553e2
children 519023ce3500
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/services/ArtifactService.java	Thu May 16 16:30:36 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/services/ArtifactService.java	Thu May 16 16:31:09 2013 +0200
@@ -68,5 +68,19 @@
             String river,
             int measurementStation
     ) throws ServerException;
+
+    /**
+     * Create a new GaugeDischageCurveArtifact and also a Mainvalueartifact.
+     *
+     * @param collection the collection to add the artifacts to.
+     * @param river      the river.
+     * @param gaugeref   reference id of the gauge.
+     */
+    public Artifact createGaugeDischargeView(
+        Collection collection,
+        String locale,
+        String river,
+        Long   gaugeRef)
+    throws ServerException;
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org