teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.services; ingo@598: ingo@598: import com.google.gwt.user.client.rpc.RemoteService; ingo@598: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@598: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; ingo@598: ingo@598: ingo@598: /** ingo@598: * This interface describes the service to add an existing artifact to an ingo@598: * existing collection. ingo@598: * ingo@598: * @author Ingo Weinzierl ingo@598: */ ingo@598: @RemoteServiceRelativePath("delete-collection") ingo@598: public interface DeleteCollectionService extends RemoteService { ingo@598: ingo@598: /** ingo@598: * Deletes a collection. ingo@598: * ingo@598: * @param collection The Collection that should be deleted. ingo@598: */ raimund@1425: void delete(Collection collection) ingo@598: throws ServerException; ingo@598: } ingo@598: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :