added method
This commit is contained in:
parent
9c1ac09058
commit
b4ec66ef23
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue