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

}

http://dive4elements.wald.intevation.org