org.springframework.data.neo4j.transaction
Class MultiTransactionStatus
java.lang.Object
org.springframework.data.neo4j.transaction.MultiTransactionStatus
- All Implemented Interfaces:
- SavepointManager, TransactionStatus
public class MultiTransactionStatus
- extends Object
- implements TransactionStatus
- Since:
- 14.02.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiTransactionStatus
public MultiTransactionStatus(PlatformTransactionManager mainTransactionManager)
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
Copyright © 2011 SpringSource. All Rights Reserved.