|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package org.gcube.data.access.storagehub.scripting;
|
|
|
|
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.function.Predicate;
|
|
|
|
|
|
|
|
|
@ -10,6 +11,7 @@ import javax.jcr.Session;
|
|
|
|
|
import org.gcube.common.storagehub.model.exceptions.BackendGenericError;
|
|
|
|
|
import org.gcube.common.storagehub.model.exceptions.StorageHubException;
|
|
|
|
|
import org.gcube.common.storagehub.model.items.Item;
|
|
|
|
|
import org.gcube.common.storagehub.model.storages.StorageBackendFactory;
|
|
|
|
|
|
|
|
|
|
public interface ScriptUtil {
|
|
|
|
|
|
|
|
|
@ -19,6 +21,5 @@ public interface ScriptUtil {
|
|
|
|
|
|
|
|
|
|
void removeNodes(Session ses, List<Item> itemsToDelete) throws RepositoryException, StorageHubException;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Collection<StorageBackendFactory> getStorageBackendHandler();
|
|
|
|
|
}
|
|
|
|
|