Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java @ 1370:9085cffbb7c4
Made the URL of Artifact server available via ServletContext parameter.
flys-client/trunk@3075 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 25 Oct 2011 13:41:05 +0000 |
parents | 2c48d75c4ab7 |
children | bc06a671ef60 |
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 operation FEED. */ @RemoteServiceRelativePath("feed") public interface FeedService extends RemoteService { /** * Inserts new data into an existing artifact. * * @param serverUrl The url of the artifact server. * @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 feed( String serverUrl, String locale, Artifact artifact, Data[] data) throws ServerException; } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :