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.ProcessorAGraphTraversal.Processorthat does nothing whatsoever.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description NullGraphTraversalProcessor(java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredAbilities)Construct aGraphTraversal.Processorthat does nothing whatsoever.
-
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)voiddeleteInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)java.util.Set<ome.services.graphs.GraphPolicy.Ability>getRequiredPermissions()voidnullProperties(java.lang.String className, java.lang.String propertyName, java.util.Collection<java.lang.Long> ids)voidprocessInstances(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.Processorthat does nothing whatsoever.- Parameters:
requiredAbilities- theGraphPolicy.Abilityset 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:
nullPropertiesin interfaceome.services.graphs.GraphTraversal.Processor
-
deleteInstances
public void deleteInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)- Specified by:
deleteInstancesin interfaceome.services.graphs.GraphTraversal.Processor
-
processInstances
public void processInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)- Specified by:
processInstancesin interfaceome.services.graphs.GraphTraversal.Processor
-
getRequiredPermissions
public java.util.Set<ome.services.graphs.GraphPolicy.Ability> getRequiredPermissions()
- Specified by:
getRequiredPermissionsin 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:
assertMayProcessin interfaceome.services.graphs.GraphTraversal.Processor- Throws:
ome.services.graphs.GraphException
-
-