public abstract class BaseGraphTraversalProcessor extends java.lang.Object implements GraphTraversal.Processor
GraphTraversal.Processor instances to share.| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.Session |
session |
| Constructor and Description |
|---|
BaseGraphTraversalProcessor(org.hibernate.Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertMayProcess(java.lang.String className,
long id,
Details details)
Assert that an object with the given details may be processed.
|
void |
deleteInstances(java.lang.String className,
java.util.Collection<java.lang.Long> ids)
Delete the given instances.
|
void |
nullProperties(java.lang.String className,
java.lang.String propertyName,
java.util.Collection<java.lang.Long> ids)
Null the given property of the indicated instances.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredPermissions, processInstancespublic BaseGraphTraversalProcessor(org.hibernate.Session session)
public void nullProperties(java.lang.String className,
java.lang.String propertyName,
java.util.Collection<java.lang.Long> ids)
GraphTraversal.ProcessornullProperties in interface GraphTraversal.ProcessorclassName - full name of mapped Hibernate classpropertyName - HQL-style property name of classids - applicable instances of class, no more than GraphTraversal.BATCH_SIZEpublic void deleteInstances(java.lang.String className,
java.util.Collection<java.lang.Long> ids)
throws GraphException
GraphTraversal.ProcessordeleteInstances in interface GraphTraversal.ProcessorclassName - full name of mapped Hibernate classids - applicable instances of class, no more than GraphTraversal.BATCH_SIZEGraphException - if not all the instances could be deletedpublic void assertMayProcess(java.lang.String className,
long id,
Details details)
throws GraphException
GraphTraversal.ProcessorassertMayProcess in interface GraphTraversal.ProcessorclassName - 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.4.9-ice35-b101
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.