public abstract class BaseGraphTraversalProcessor
extends java.lang.Object
implements ome.services.graphs.GraphTraversal.Processor
GraphTraversal.Processor
instances to share.Modifier and Type | Field and Description |
---|---|
protected org.hibernate.Session |
session |
Constructor and Description |
---|
BaseGraphTraversalProcessor(org.hibernate.Session session) |
Modifier and Type | Method and Description |
---|---|
void |
assertMayProcess(java.lang.String className,
long id,
ome.model.internal.Details details) |
void |
deleteFiles(ome.services.delete.Deletion deletionInstance)
Delete data from the filesystem in the order in which the related batches were passed to
deleteInstances(String, Collection) . |
void |
deleteInstances(java.lang.String className,
java.util.Collection<java.lang.Long> ids) |
void |
nullProperties(java.lang.String className,
java.lang.String propertyName,
java.util.Collection<java.lang.Long> ids) |
public BaseGraphTraversalProcessor(org.hibernate.Session session)
public void nullProperties(java.lang.String className, java.lang.String propertyName, java.util.Collection<java.lang.Long> ids)
nullProperties
in interface ome.services.graphs.GraphTraversal.Processor
public void deleteInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids) throws ome.services.graphs.GraphException
deleteInstances
in interface ome.services.graphs.GraphTraversal.Processor
ome.services.graphs.GraphException
public void deleteFiles(ome.services.delete.Deletion deletionInstance)
deleteInstances(String, Collection)
.deletionInstance
- a deletion instance for deleting filespublic void assertMayProcess(java.lang.String className, long id, ome.model.internal.Details details) throws ome.services.graphs.GraphException
assertMayProcess
in interface ome.services.graphs.GraphTraversal.Processor
ome.services.graphs.GraphException