view flys-client/src/main/java/de/intevation/flys/client/client/services/DeleteCollectionService.java @ 598:031357c3e23e

Added stubs to set the name and ttl of a collection and to delete a collection. flys-client/trunk@2202 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 22 Jun 2011 11:47:07 +0000
parents
children bc06a671ef60
line wrap: on
line source
package de.intevation.flys.client.client.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import de.intevation.flys.client.shared.exceptions.ServerException;
import de.intevation.flys.client.shared.model.Collection;


/**
 * This interface describes the service to add an existing artifact to an
 * existing collection.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
@RemoteServiceRelativePath("delete-collection")
public interface DeleteCollectionService extends RemoteService {

    /**
     * Deletes a collection.
     *
     * @param collection The Collection that should be deleted.
     * @param url        The url of the artifact server.
     */
    void delete(Collection collection, String url)
    throws ServerException;
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org