Spring Data Graph

org.springframework.data.neo4j.transaction
Class MultiTransactionStatus

java.lang.Object
  extended by org.springframework.data.neo4j.transaction.MultiTransactionStatus
All Implemented Interfaces:
SavepointManager, TransactionStatus

public class MultiTransactionStatus
extends Object
implements TransactionStatus

Since:
14.02.11
Author:
mh

Constructor Summary
MultiTransactionStatus(PlatformTransactionManager mainTransactionManager)
           
 
Method Summary
 Object createSavepoint()
           
 void flush()
           
 boolean hasSavepoint()
           
 boolean isCompleted()
           
 boolean isNewSynchonization()
           
 boolean isNewTransaction()
           
 boolean isRollbackOnly()
           
 void registerTransactionManager(TransactionDefinition definition, PlatformTransactionManager transactionManager)
           
 void releaseSavepoint(Object savepoint)
           
 void rollbackToSavepoint(Object savepoint)
           
 void setNewSynchonization()
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTransactionStatus

public MultiTransactionStatus(PlatformTransactionManager mainTransactionManager)
Method Detail

setNewSynchonization

public void setNewSynchonization()

isNewSynchonization

public boolean isNewSynchonization()

isNewTransaction

public boolean isNewTransaction()
Specified by:
isNewTransaction in interface TransactionStatus

hasSavepoint

public boolean hasSavepoint()
Specified by:
hasSavepoint in interface TransactionStatus

setRollbackOnly

public void setRollbackOnly()
Specified by:
setRollbackOnly in interface TransactionStatus

isRollbackOnly

public boolean isRollbackOnly()
Specified by:
isRollbackOnly in interface TransactionStatus

isCompleted

public boolean isCompleted()
Specified by:
isCompleted in interface TransactionStatus

createSavepoint

public Object createSavepoint()
                       throws TransactionException
Specified by:
createSavepoint in interface SavepointManager
Throws:
TransactionException

rollbackToSavepoint

public void rollbackToSavepoint(Object savepoint)
                         throws TransactionException
Specified by:
rollbackToSavepoint in interface SavepointManager
Throws:
TransactionException

releaseSavepoint

public void releaseSavepoint(Object savepoint)
                      throws TransactionException
Specified by:
releaseSavepoint in interface SavepointManager
Throws:
TransactionException

registerTransactionManager

public void registerTransactionManager(TransactionDefinition definition,
                                       PlatformTransactionManager transactionManager)

flush

public void flush()
Specified by:
flush in interface TransactionStatus

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.