Package omero.cmd.graphs
Class NullGraphTraversalProcessor
- java.lang.Object
-
- omero.cmd.graphs.NullGraphTraversalProcessor
-
- All Implemented Interfaces:
ome.services.graphs.GraphTraversal.Processor
public class NullGraphTraversalProcessor extends java.lang.Object implements ome.services.graphs.GraphTraversal.Processor
AGraphTraversal.Processor
that does nothing whatsoever.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description NullGraphTraversalProcessor(java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredAbilities)
Construct aGraphTraversal.Processor
that does nothing whatsoever.
-
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
deleteInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)
java.util.Set<ome.services.graphs.GraphPolicy.Ability>
getRequiredPermissions()
void
nullProperties(java.lang.String className, java.lang.String propertyName, java.util.Collection<java.lang.Long> ids)
void
processInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)
-
-
-
Constructor Detail
-
NullGraphTraversalProcessor
public NullGraphTraversalProcessor(java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredAbilities)
Construct aGraphTraversal.Processor
that does nothing whatsoever.- Parameters:
requiredAbilities
- theGraphPolicy.Ability
set to be returned bygetRequiredPermissions()
-
-
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)
- Specified by:
deleteInstances
in interfaceome.services.graphs.GraphTraversal.Processor
-
processInstances
public void processInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)
- Specified by:
processInstances
in interfaceome.services.graphs.GraphTraversal.Processor
-
getRequiredPermissions
public java.util.Set<ome.services.graphs.GraphPolicy.Ability> getRequiredPermissions()
- Specified by:
getRequiredPermissions
in interfaceome.services.graphs.GraphTraversal.Processor
-
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
-
-