annotate gwt-client/src/main/java/org/dive4elements/river/client/client/services/CrossSectionKMService.java @ 5861:172338b1407f

GWT client: Added copyright header.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 14:30:15 +0200
parents 5aa05a7a34b7
children ea9eef426962
rev   line source
5861
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
2 * Software engineering by Intevation GmbH
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
3 *
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
4 * This file is Free Software under the GNU AGPL (>=v3)
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
6 * documentation coming with Dive4Elements River for details.
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
7 */
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
8
5835
821a02bbfb4e Fixed internal java dependencies
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5834
diff changeset
9 package org.dive4elements.river.client.client.services;
1426
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
10
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
11 import java.util.Map;
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
12
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
13 import com.google.gwt.user.client.rpc.RemoteService;
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
14 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
15
5835
821a02bbfb4e Fixed internal java dependencies
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5834
diff changeset
16 import org.dive4elements.river.client.shared.exceptions.ServerException;
1426
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
17
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
18 /**
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
19 * This interface provides access to CrossSectionKMService .
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
20 */
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
21 @RemoteServiceRelativePath("cross-section-km")
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
22 public interface CrossSectionKMService extends RemoteService {
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
23
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
24 /**
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
25 * @param serverUrl The url of the artifact server.
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
26 * @param locale The locale used for the request.
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
27 * @param artifact The artifact.
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
28 * @param data The data that should be inserted.
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
29 *
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
30 * @return the artifact which description might have been changed.
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
31 */
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
32 public Map<Integer,Double[]> getCrossSectionKMs(
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
33 String locale,
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
34 Map<Integer, Double> data,
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
35 int nNeightbours)
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
36 throws ServerException;
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
37 }
fc8ff0ed64ca Added client for CrossSectionKMService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
38 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org