view flys-client/src/main/java/de/intevation/flys/client/client/services/DistanceInfoService.java @ 3994:cc0b31dc2789

fix issue898 (crash when no param selected for parametermatrix).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 01 Oct 2012 09:39:26 +0200
parents bc06a671ef60
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.DistanceInfoObject;

/**
 * This service is used to fetch a list of DistanceInfoObjects from artifact
 * server for a specific river.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
@RemoteServiceRelativePath("distanceinfo")
public interface DistanceInfoService extends RemoteService {

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

http://dive4elements.wald.intevation.org