Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/services/RiverInfoService.java @ 4250:ef154fbf58f1
Add method to get the MeasurementStations from the RiverInfoService
Also refactor the RiverInfoServiceImpl to use common code for getting GaugeInfo
and MeasurementStations.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 17:09:04 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/client/services/GaugeOverviewInfoService.java@4e33aa341e51 |
children |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/services/RiverInfoService.java Wed Oct 24 17:00:37 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/RiverInfoService.java Wed Oct 24 17:09:04 2012 +0200 @@ -18,4 +18,10 @@ public RiverInfo getGauges(String river) throws ServerException; + /** + * Returns a RiverInfo object with MeasurementStations + */ + public RiverInfo getMeasurementStations(String river) + throws ServerException; + }