teichmann@5835: package org.dive4elements.river.client.client.services; ingo@99: ingo@99: import com.google.gwt.user.client.rpc.RemoteService; ingo@99: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@99: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; ingo@99: ingo@99: ingo@99: /** ingo@99: * This service describes an operation the fetches the DESCRIBE document of a ingo@99: * specific collection and returns a Collection. ingo@99: * ingo@99: * @author Ingo Weinzierl ingo@99: */ ingo@99: @RemoteServiceRelativePath("describe-collection") ingo@99: public interface DescribeCollectionService extends RemoteService { ingo@99: ingo@99: /** ingo@99: * Adds an artifact to a collection. ingo@99: * ingo@99: * @param uuid The uuid of the desired collection. ingo@99: * @param url The url of the artifact server. ingo@229: * @param locale The name of the locale used for the request. ingo@99: * ingo@99: * @return the Collection after the operation. ingo@99: */ raimund@1425: Collection describe(String uuid, String locale) ingo@215: throws ServerException; ingo@99: } ingo@99: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :