Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/RiverInfoService.java Wed Oct 24 15:50:41 2012 +0200 @@ -0,0 +1,21 @@ +package de.intevation.flys.client.client.services; + +import com.google.gwt.user.client.rpc.RemoteService; +import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; + +import de.intevation.flys.client.shared.exceptions.ServerException; +import de.intevation.flys.client.shared.model.RiverInfo; + +/** + * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> + */ +@RemoteServiceRelativePath("riverinfo") +public interface RiverInfoService extends RemoteService { + + /** + * Returns a RiverInfo object with GaugeInfos + */ + public RiverInfo getGauges(String river) + throws ServerException; + +}