Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/DynamicMainValuesServiceImpl.java @ 9288:82c67b859aa7
bundu.bezugswst worklflow incl. service impl for mainValues to be calculated
author | gernotbelger |
---|---|
date | Tue, 24 Jul 2018 10:39:03 +0200 |
parents | |
children | bc9a45d2b1fa |
comparison
equal
deleted
inserted
replaced
9287:6c88ad449c83 | 9288:82c67b859aa7 |
---|---|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU AGPL (>=v3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
6 * documentation coming with Dive4Elements River for details. | |
7 */ | |
8 | |
9 package org.dive4elements.river.client.server; | |
10 | |
11 import org.dive4elements.river.client.client.services.DynamicMainValuesService; | |
12 import org.dive4elements.river.client.shared.exceptions.ServerException; | |
13 import org.dive4elements.river.client.shared.model.WQInfoObject; | |
14 import org.w3c.dom.Document; | |
15 | |
16 /** | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
18 */ | |
19 public class DynamicMainValuesServiceImpl extends AbstractMainValuesServiceImpl implements DynamicMainValuesService { | |
20 private static final long serialVersionUID = 1L; | |
21 | |
22 @Override | |
23 public WQInfoObject[] getWQInfo(final String locale, final String river, final double from, final double to, final int startYear, final int endYear) | |
24 throws ServerException { | |
25 | |
26 final Document input = createInput(river, from, to, startYear, endYear); | |
27 | |
28 return callService("dynamicMainvalues", input, locale); | |
29 } | |
30 } |