Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/RiverInfoService.java @ 4243:e68a710d9652
Convert GaugeOverviewInfoService into RiverInfoService
The service will be reused for the MeasurementStation info too and it returns a
RiverInfo in both cases. Therefore rename the current GaugeOverviewInfoService
into RiverInfoService.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 15:50:41 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/client/services/GaugeOverviewInfoService.java@4e33aa341e51 |
children |
comparison
equal
deleted
inserted
replaced
4242:448cbd8708d5 | 4243:e68a710d9652 |
---|---|
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.RiverInfo; | |
8 | |
9 /** | |
10 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> | |
11 */ | |
12 @RemoteServiceRelativePath("riverinfo") | |
13 public interface RiverInfoService extends RemoteService { | |
14 | |
15 /** | |
16 * Returns a RiverInfo object with GaugeInfos | |
17 */ | |
18 public RiverInfo getGauges(String river) | |
19 throws ServerException; | |
20 | |
21 } |