view flys-client/src/main/java/de/intevation/flys/client/client/services/StepForwardService.java @ 4298:1f98a3a89e13

New client side service for sediment load infos. The service requests an sediment load overview and creates info objects for the received data.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 29 Oct 2012 13:13:23 +0100
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.Artifact;
import de.intevation.flys.client.shared.model.Data;

/**
 * This interface provides artifact specific operations FEED and ADVANCE.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
@RemoteServiceRelativePath("forward")
public interface StepForwardService extends RemoteService {

    /**
     * This method inserts new data into the an existing artifact and
     * advances its state.
     *
     * @param locale The locale used for the request.
     * @param artifact The artifact.
     * @param data The data that should be inserted.
     *
     * @return the artifact which description might have been changed.
     */
    public Artifact go(
        String   locale,
        Artifact artifact,
        Data[]   data)
    throws ServerException;
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org