public static interface GraphTraversal.Processor
Modifier and Type | Method and Description |
---|---|
void |
assertMayProcess(String className,
long id,
Details details)
Assert that an object with the given details may be processed.
|
void |
deleteInstances(String className,
Collection<Long> ids)
Delete the given instances.
|
Set<GraphPolicy.Ability> |
getRequiredPermissions() |
void |
nullProperties(String className,
String propertyName,
Collection<Long> ids)
Null the given property of the indicated instances.
|
void |
processInstances(String className,
Collection<Long> ids)
Process the given instances.
|
void nullProperties(String className, String propertyName, Collection<Long> ids)
className
- full name of mapped Hibernate classpropertyName
- HQL-style property name of classids
- applicable instances of class, no more than GraphTraversal.BATCH_SIZE
void deleteInstances(String className, Collection<Long> ids) throws GraphException
className
- full name of mapped Hibernate classids
- applicable instances of class, no more than GraphTraversal.BATCH_SIZE
GraphException
- if not all the instances could be deletedvoid processInstances(String className, Collection<Long> ids) throws GraphException
className
- full name of mapped Hibernate classids
- applicable instances of class, no more than GraphTraversal.BATCH_SIZE
GraphException
- if not all the instances could be processedSet<GraphPolicy.Ability> getRequiredPermissions()
processInstances(String, Collection)
void assertMayProcess(String className, long id, Details details) throws GraphException
className
- the name of the object's classid
- the ID of the objectdetails
- the object's detailsGraphException
- if the object may not be processed
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.