added method

This commit is contained in:
Lucio Lelii 2022-11-22 17:20:23 +01:00
parent 9c1ac09058
commit b4ec66ef23
1 changed files with 3 additions and 0 deletions

View File

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