com.liferay.portal.spring.transaction
Class TransactionAttributeAdapter
java.lang.Object
com.liferay.portal.spring.transaction.TransactionAttributeAdapter
- All Implemented Interfaces:
- org.springframework.transaction.interceptor.TransactionAttribute, org.springframework.transaction.TransactionDefinition
public class TransactionAttributeAdapter
- extends Object
- implements com.liferay.portal.kernel.transaction.TransactionAttribute, org.springframework.transaction.interceptor.TransactionAttribute
| Nested classes/interfaces inherited from interface com.liferay.portal.kernel.transaction.TransactionAttribute |
com.liferay.portal.kernel.transaction.TransactionAttribute.Builder, com.liferay.portal.kernel.transaction.TransactionAttribute.DefaultTransactionAttribute |
| Fields inherited from interface org.springframework.transaction.TransactionDefinition |
ISOLATION_DEFAULT, ISOLATION_READ_COMMITTED, ISOLATION_READ_UNCOMMITTED, ISOLATION_REPEATABLE_READ, ISOLATION_SERIALIZABLE, PROPAGATION_MANDATORY, PROPAGATION_NESTED, PROPAGATION_NEVER, PROPAGATION_NOT_SUPPORTED, PROPAGATION_REQUIRED, PROPAGATION_REQUIRES_NEW, PROPAGATION_SUPPORTS, TIMEOUT_DEFAULT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionAttributeAdapter
public TransactionAttributeAdapter(org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute)
getIsolation
public com.liferay.portal.kernel.transaction.Isolation getIsolation()
getIsolationLevel
public int getIsolationLevel()
- Specified by:
getIsolationLevel in interface org.springframework.transaction.TransactionDefinition
getName
public String getName()
- Specified by:
getName in interface org.springframework.transaction.TransactionDefinition
getPropagation
public com.liferay.portal.kernel.transaction.Propagation getPropagation()
getPropagationBehavior
public int getPropagationBehavior()
- Specified by:
getPropagationBehavior in interface org.springframework.transaction.TransactionDefinition
getQualifier
public String getQualifier()
- Specified by:
getQualifier in interface org.springframework.transaction.interceptor.TransactionAttribute
getTimeout
public int getTimeout()
- Specified by:
getTimeout in interface org.springframework.transaction.TransactionDefinition
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly in interface org.springframework.transaction.TransactionDefinition
rollbackOn
public boolean rollbackOn(Throwable throwable)
- Specified by:
rollbackOn in interface org.springframework.transaction.interceptor.TransactionAttribute