added methdo to ScriptUtil
This commit is contained in:
parent
0460bc4e69
commit
9c1ac09058
|
@ -3,6 +3,10 @@
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [v1.0.1-SNAPSHOT] - [2022-09-28]
|
||||||
|
|
||||||
|
update
|
||||||
|
|
||||||
## [v1.0.0] - [2021-05-04]
|
## [v1.0.0] - [2021-05-04]
|
||||||
|
|
||||||
First commit
|
First commit
|
|
@ -1,5 +1,6 @@
|
||||||
package org.gcube.data.access.storagehub.scripting;
|
package org.gcube.data.access.storagehub.scripting;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.Predicate;
|
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.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.storages.StorageBackendFactory;
|
||||||
|
|
||||||
public interface ScriptUtil {
|
public interface ScriptUtil {
|
||||||
|
|
||||||
|
@ -19,6 +21,5 @@ 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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue