teichmann@5835: package org.dive4elements.river.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: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.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@229: * @param url The url of the artifact server. ingo@229: * @param locale The string representation of a locale that is used for the ingo@229: * request. 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: */ raimund@1425: Artifact getArtifact(String locale, 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 :