ingo@221: package de.intevation.flys.client.client.services; ingo@221: ingo@221: import com.google.gwt.user.client.rpc.RemoteService; ingo@221: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@221: ingo@221: import de.intevation.flys.client.shared.exceptions.ServerException; ingo@221: import de.intevation.flys.client.shared.model.Artifact; ingo@221: ingo@221: /** ingo@221: * This interface provides a method to retrieve an artifact based on its uuid. ingo@221: * ingo@221: * @author Ingo Weinzierl ingo@221: */ ingo@221: @RemoteServiceRelativePath("getartifact") ingo@221: public interface GetArtifactService extends RemoteService { ingo@221: ingo@221: /** ingo@221: * This method inserts new data into the an existing artifact. ingo@221: * ingo@221: * @param serverUrl The url of the artifact server. ingo@221: * @param uuid The artifact's identifier. ingo@221: * @param hash The artifact's hash. ingo@221: * ingo@221: * @return the artifact. ingo@221: */ ingo@221: Artifact getArtifact(String url, String uuid, String hash) ingo@221: throws ServerException; ingo@221: } ingo@221: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :