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@865: ingo@865: import com.google.gwt.user.client.rpc.RemoteService; ingo@865: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@865: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Artifact; ingo@865: ingo@865: /** ingo@865: * This interface provides artifact specific operation DESCRIBE. ingo@865: * ingo@865: * @author Ingo Weinzierl ingo@865: */ ingo@865: @RemoteServiceRelativePath("describe") ingo@865: public interface DescribeArtifactService extends RemoteService { ingo@865: ingo@865: /** ingo@865: * This method inserts new data into the an existing artifact. ingo@865: * ingo@865: * @param url The url of the artifact server. ingo@865: * @param locale The locale used for the request. ingo@865: * @param artifact The artifact. ingo@865: * ingo@865: * @return the artifact which description might have been changed. ingo@865: */ ingo@865: public Artifact describe( ingo@865: String locale, ingo@865: Artifact artifact) ingo@865: throws ServerException; ingo@865: } ingo@865: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :