|
|
|
@ -11,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.items.nodes.Content;
|
|
|
|
|
import org.gcube.common.storagehub.model.storages.StorageBackendFactory;
|
|
|
|
|
|
|
|
|
|
public interface ScriptUtil {
|
|
|
|
@ -22,4 +23,6 @@ public interface ScriptUtil {
|
|
|
|
|
void removeNodes(Session ses, List<Item> itemsToDelete) throws RepositoryException, StorageHubException;
|
|
|
|
|
|
|
|
|
|
Collection<StorageBackendFactory> getStorageBackendHandler();
|
|
|
|
|
|
|
|
|
|
public void updateContentNode(Content content, Node node) throws Exception;
|
|
|
|
|
}
|
|
|
|
|