teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.services; ingo@32: ingo@32: import com.google.gwt.user.client.rpc.RemoteService; ingo@32: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@32: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Artifact; ingo@32: ingo@32: /** ingo@32: * This interface provides artifact specific operation ADVANCE. ingo@32: * ingo@32: * @author Ingo Weinzierl ingo@32: */ ingo@32: @RemoteServiceRelativePath("advance") ingo@32: public interface AdvanceService extends RemoteService { ingo@32: ingo@32: /** ingo@32: * This method inserts new data into the an existing artifact. ingo@32: * ingo@32: * @param serverUrl The url of the artifact server. ingo@229: * @param locale The locale used for the request. ingo@32: * @param artifact The artifact. ingo@32: * @param target The identifier of the target state. ingo@32: * ingo@32: * @return the artifact which description might have been changed. ingo@32: */ ingo@229: public Artifact advance( ingo@229: String locale, ingo@229: Artifact artifact, ingo@229: String target) ingo@215: throws ServerException; ingo@32: } ingo@32: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :