Vordel SDK

com.vordel.es.util
Class TransactionalBranchPruner

java.lang.Object
  extended by com.vordel.es.util.BranchPruner
      extended by com.vordel.es.util.TransactionalBranchPruner

public class TransactionalBranchPruner
extends BranchPruner

A BranchPruner which will use transactions if the underlying ES allows it. This class is a useful wrapper for cut actions. The branch it returns is also transactional, e.g. it is a TransactionalEntityBranch, which will use transactions when grafting, if available.


Field Summary
 
Fields inherited from class com.vordel.es.util.BranchPruner
es, internalRefs
 
Constructor Summary
TransactionalBranchPruner(EntityStore store)
           
 
Method Summary
protected  EntityBranch createBranch(ESPK espk)
           
protected  EntityBranch doPrune(ESPK espk)
           
 
Methods inherited from class com.vordel.es.util.BranchPruner
getOriginalESPKs, getUnresolvedESPKs, prune
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalBranchPruner

public TransactionalBranchPruner(EntityStore store)
Method Detail

createBranch

protected EntityBranch createBranch(ESPK espk)
                             throws EntityStoreException
Overrides:
createBranch in class BranchPruner
Throws:
EntityStoreException

doPrune

protected EntityBranch doPrune(ESPK espk)
                        throws EntityStoreException
Overrides:
doPrune in class BranchPruner
Returns:
A TransactionalEntityBranch, for further use in a paste command.
Throws:
EntityStoreException

Vordel SDK


This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel