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.Processor
Useful methods forGraphTraversal.Processor
instances to share.- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected org.hibernate.Session
session
-
Constructor Summary
Constructors Constructor Description BaseGraphTraversalProcessor(org.hibernate.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 todeleteInstances(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)
-
-
-
Method Detail
-
nullProperties
public void nullProperties(java.lang.String className, java.lang.String propertyName, java.util.Collection<java.lang.Long> ids)
- Specified by:
nullProperties
in 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:
deleteInstances
in 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:
assertMayProcess
in interfaceome.services.graphs.GraphTraversal.Processor
- Throws:
ome.services.graphs.GraphException
-
-