view 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 source
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;

    /**
     * Returns a RiverInfo object with MeasurementStations
     */
    public RiverInfo getMeasurementStations(String river)
        throws ServerException;

}

http://dive4elements.wald.intevation.org