Interface OfBizTransaction

All Known Implementing Classes:
DefaultOfBizTransaction

public interface OfBizTransaction
Provides a simpler way of executing code within an OfBiz transaction.
Since:
v7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Commits the transaction.
    boolean
     
    void
    Rolls back the transaction.
  • Method Details

    • isProcessed

      boolean isProcessed()
      Returns:
      true if the transaction has been committed or rolled back, false if it is still in progress.
    • commit

      void commit()
      Commits the transaction.
    • rollback

      void rollback()
      Rolls back the transaction.