Java org.springframework.transaction.support DefaultTransactionStatus fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.transaction.support DefaultTransactionStatus fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.transaction.support DefaultTransactionStatus.

The text is from its open source code.

Constructor

Method

voidcreateAndHoldSavepoint()
Create a savepoint and hold it for the transaction.
voidflush()
Delegate the flushing to the transaction object, provided that the latter implements the SmartTransactionObject interface.
ObjectgetSuspendedResources()
Return the holder for resources that have been suspended for this transaction, if any.
ObjectgetTransaction()
Return the underlying transaction object.
booleanhasSavepoint()
booleanhasTransaction()
Return whether there is an actual transaction active.
booleanisCompleted()
booleanisDebug()
Return whether the progress of this transaction is debugged.
booleanisGlobalRollbackOnly()
Determine the rollback-only flag via checking the transaction object, provided that the latter implements the SmartTransactionObject interface.
booleanisLocalRollbackOnly()
Determine the rollback-only flag via checking this TransactionStatus.
booleanisNewSynchronization()
Return if a new transaction synchronization has been opened for this transaction.
booleanisNewTransaction()
booleanisReadOnly()
Return if this transaction is defined as read-only transaction.
booleanisRollbackOnly()
Determine the rollback-only flag via checking both the local rollback-only flag of this TransactionStatus and the global rollback-only flag of the underlying transaction, if any.
booleanisTransactionSavepointManager()
Return whether the underlying transaction implements the SavepointManager interface and therefore supports savepoints.
voidreleaseHeldSavepoint()
Release the savepoint that is held for the transaction.
voidrollbackToHeldSavepoint()
Roll back to the savepoint that is held for the transaction and release the savepoint right afterwards.
voidsetCompleted()
Mark this transaction as completed, that is, committed or rolled back.
voidsetRollbackOnly()