comparison flys-client/src/main/java/de/intevation/flys/client/client/services/DistanceInfoService.java @ 219:7523faf567e5

Implemented a service to fetch distance information of a river from the artifact server. flys-client/trunk@1662 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 11 Apr 2011 14:32:36 +0000
parents
children 924da6695800
comparison
equal deleted inserted replaced
218:79fb4d900643 219:7523faf567e5
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.exceptions.ServerException;
7 import de.intevation.flys.client.shared.model.DistanceInfoObject;
8
9 /**
10 * This service is used to fetch a list of DistanceInfoObjects from artifact
11 * server for a specific river.
12 *
13 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
14 */
15 @RemoteServiceRelativePath("distanceinfo")
16 public interface DistanceInfoService extends RemoteService {
17
18 /**
19 * This method returns a list of DistanceInfoObjects for a specific river.
20 */
21 DistanceInfoObject[] getDistanceInfo(String serverUrl, String river)
22 throws ServerException;
23 }
24 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org