teichmann@5835: package org.dive4elements.river.client.client.services; felix@1319: felix@1319: import com.google.gwt.user.client.rpc.RemoteService; felix@1319: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; felix@1319: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; felix@1319: felix@1319: felix@1319: /** felix@1319: * This interface describes the service to remove an existing artifact to an felix@1319: * existing collection. felix@1319: * felix@1319: */ felix@1319: @RemoteServiceRelativePath("remove-artifact") felix@1319: public interface RemoveArtifactService extends RemoteService { felix@1319: felix@1319: /** felix@1319: * Removes an artifact from a collection. felix@1319: * felix@1319: * @param collection The Collection that should be modified. felix@1319: * @param artifactId The artifact that should be removed. felix@1319: * @param url The url of the artifact server. felix@1319: * @param locale locae to use (for localized responses). felix@1319: * felix@1319: * @return the Collection after the operation. felix@1319: */ felix@1319: Collection remove( felix@1319: Collection collection, felix@1319: String artifactId, felix@1319: String locale) felix@1319: throws ServerException; felix@1319: } felix@1319: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :