Package omero.cmd.graphs
Class BaseGraphTraversalProcessor
- java.lang.Object
-
- omero.cmd.graphs.BaseGraphTraversalProcessor
-
- All Implemented Interfaces:
ome.services.graphs.GraphTraversal.Processor
public abstract class BaseGraphTraversalProcessor extends java.lang.Object implements ome.services.graphs.GraphTraversal.ProcessorUseful methods forGraphTraversal.Processorinstances to share.- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected org.hibernate.Sessionsession
-
Constructor Summary
Constructors Constructor Description BaseGraphTraversalProcessor(org.hibernate.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertMayProcess(java.lang.String className, long id, ome.model.internal.Details details)voiddeleteFiles(ome.services.delete.Deletion deletionInstance)Delete data from the filesystem in the order in which the related batches were passed todeleteInstances(String, Collection).voiddeleteInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)voidnullProperties(java.lang.String className, java.lang.String propertyName, java.util.Collection<java.lang.Long> ids)
-
-
-
Method Detail
-
nullProperties
public void nullProperties(java.lang.String className, java.lang.String propertyName, java.util.Collection<java.lang.Long> ids)- Specified by:
nullPropertiesin interfaceome.services.graphs.GraphTraversal.Processor
-
deleteInstances
public void deleteInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids) throws ome.services.graphs.GraphException- Specified by:
deleteInstancesin interfaceome.services.graphs.GraphTraversal.Processor- Throws:
ome.services.graphs.GraphException
-
deleteFiles
public void deleteFiles(ome.services.delete.Deletion deletionInstance)
Delete data from the filesystem in the order in which the related batches were passed todeleteInstances(String, Collection).- Parameters:
deletionInstance- a deletion instance for deleting files
-
assertMayProcess
public void assertMayProcess(java.lang.String className, long id, ome.model.internal.Details details) throws ome.services.graphs.GraphException- Specified by:
assertMayProcessin interfaceome.services.graphs.GraphTraversal.Processor- Throws:
ome.services.graphs.GraphException
-
-