view gwt-client/src/main/java/org/dive4elements/river/client/client/services/DischargeInfoService.java @ 6837:9da2298ae380

(issue1353) Add river name to query for discharge Info The previous assumption was that the official number is unique for a gauge. This assumption is broken by having multiple variants of a river in the database, like Donau (schleusenkanäle)
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 15 Aug 2013 15:57:13 +0200
parents ea9eef426962
children
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.client.client.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import org.dive4elements.river.client.shared.exceptions.ServerException;
import org.dive4elements.river.client.shared.model.DischargeInfoObject;

/**
 * This service is used to fetch a list of DischargeInfoObjects from artifact
 * server for a specific gauge.
 *
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 */
@RemoteServiceRelativePath("dischargeinfo")
public interface DischargeInfoService extends RemoteService {

    /**
     * This method returns a list of DischargeInfoObjects for a specific gauge.
     */
    DischargeInfoObject[] getDischargeInfo(
        String locale,
        long gauge,
        String river)
    throws ServerException;
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org