Class DefaultTransaction

java.lang.Object
de.hybris.platform.tx.Transaction
de.hybris.platform.tx.DefaultTransaction
All Implemented Interfaces:
Flushable, org.springframework.transaction.support.SmartTransactionObject

public class DefaultTransaction extends Transaction implements org.springframework.transaction.support.SmartTransactionObject
  • Constructor Details

    • DefaultTransaction

      protected DefaultTransaction()
  • Method Details

    • useCacheInternal

      public boolean useCacheInternal(AbstractCacheUnit unit)
      Description copied from class: Transaction
      by implementing this method subclasses can influence the result of Transaction.useCache(AbstractCacheUnit)
      Specified by:
      useCacheInternal in class Transaction
    • clearRollbackOnly

      public void clearRollbackOnly()
      Made public for special callers. Please do not use it generally!
      Overrides:
      clearRollbackOnly in class Transaction
    • isRollbackOnly

      public final boolean isRollbackOnly()
      From SmartTransactionObject..
      Specified by:
      isRollbackOnly in interface org.springframework.transaction.support.SmartTransactionObject
      Overrides:
      isRollbackOnly in class Transaction
    • flush

      public void flush()
      From SmartTransactionObject..
      Specified by:
      flush in interface Flushable
      Specified by:
      flush in interface org.springframework.transaction.support.SmartTransactionObject