public class TransactionStatusAdapter
extends org.springframework.transaction.support.DefaultTransactionStatus
implements com.liferay.portal.kernel.transaction.TransactionStatus
| Constructor and Description |
|---|
TransactionStatusAdapter(org.springframework.transaction.TransactionStatus transactionStatus) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createSavepoint() |
void |
flush() |
org.springframework.transaction.TransactionStatus |
getTransactionStatus() |
boolean |
hasSavepoint() |
boolean |
isCompleted() |
boolean |
isNewTransaction() |
boolean |
isRollbackOnly() |
void |
releaseSavepoint(Object savepoint) |
void |
rollbackToSavepoint(Object savepoint) |
void |
setRollbackOnly() |
void |
suppressLifecycleListenerThrowable(Throwable throwable) |
getSavepointManager, getSuspendedResources, getTransaction, hasTransaction, isDebug, isGlobalRollbackOnly, isNewSynchronization, isReadOnly, isTransactionSavepointManagerpublic TransactionStatusAdapter(org.springframework.transaction.TransactionStatus transactionStatus)
public Object createSavepoint()
throws org.springframework.transaction.TransactionException
createSavepoint in interface org.springframework.transaction.SavepointManagercreateSavepoint in class org.springframework.transaction.support.AbstractTransactionStatusorg.springframework.transaction.TransactionExceptionpublic void flush()
flush in interface Flushableflush in interface org.springframework.transaction.TransactionStatusflush in class org.springframework.transaction.support.DefaultTransactionStatuspublic org.springframework.transaction.TransactionStatus getTransactionStatus()
public boolean hasSavepoint()
hasSavepoint in interface org.springframework.transaction.TransactionStatushasSavepoint in class org.springframework.transaction.support.AbstractTransactionStatuspublic boolean isCompleted()
isCompleted in interface org.springframework.transaction.TransactionExecutionisCompleted in class org.springframework.transaction.support.AbstractTransactionStatuspublic boolean isNewTransaction()
isNewTransaction in interface org.springframework.transaction.TransactionExecutionisNewTransaction in class org.springframework.transaction.support.DefaultTransactionStatuspublic boolean isRollbackOnly()
isRollbackOnly in interface org.springframework.transaction.TransactionExecutionisRollbackOnly in class org.springframework.transaction.support.AbstractTransactionStatuspublic void releaseSavepoint(Object savepoint)
throws org.springframework.transaction.TransactionException
releaseSavepoint in interface org.springframework.transaction.SavepointManagerreleaseSavepoint in class org.springframework.transaction.support.AbstractTransactionStatusorg.springframework.transaction.TransactionExceptionpublic void rollbackToSavepoint(Object savepoint)
throws org.springframework.transaction.TransactionException
rollbackToSavepoint in interface org.springframework.transaction.SavepointManagerrollbackToSavepoint in class org.springframework.transaction.support.AbstractTransactionStatusorg.springframework.transaction.TransactionExceptionpublic void setRollbackOnly()
setRollbackOnly in interface org.springframework.transaction.TransactionExecutionsetRollbackOnly in class org.springframework.transaction.support.AbstractTransactionStatuspublic void suppressLifecycleListenerThrowable(Throwable throwable)