public class NullGraphTraversalProcessor
extends java.lang.Object
implements ome.services.graphs.GraphTraversal.Processor
GraphTraversal.Processor
that does nothing whatsoever.Constructor and Description |
---|
NullGraphTraversalProcessor(java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredAbilities)
Construct a
GraphTraversal.Processor that does nothing whatsoever. |
Modifier and Type | Method and 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) |
public NullGraphTraversalProcessor(java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredAbilities)
GraphTraversal.Processor
that does nothing whatsoever.requiredAbilities
- the GraphPolicy.Ability
set to be returned by getRequiredPermissions()
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)
deleteInstances
in interface ome.services.graphs.GraphTraversal.Processor
public void processInstances(java.lang.String className, java.util.Collection<java.lang.Long> ids)
processInstances
in interface ome.services.graphs.GraphTraversal.Processor
public java.util.Set<ome.services.graphs.GraphPolicy.Ability> getRequiredPermissions()
getRequiredPermissions
in interface ome.services.graphs.GraphTraversal.Processor
public 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