Interface ITransactionObserver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void afterCommit()
      Called by the observed transaction just after the commit operation.
      void afterRollback()
      Called by the observed transaction just after the rollback operation.
      boolean beforeCommit()
      Called by the observed transaction just before the commit operation.
      void beforeRollback()
      Called by the observed transaction just before the rollback operation.
    • Method Detail

      • beforeCommit

        boolean beforeCommit()
                      throws PortalException
        Called by the observed transaction just before the commit operation.
        Returns:
        true to indicate success; false to indicate fail, and cause the transaction to cancel commiting.
        Throws:
        PortalException
        Since:
        4.0.8
      • afterCommit

        void afterCommit()
                  throws PortalException
        Called by the observed transaction just after the commit operation.
        Throws:
        PortalException
        Since:
        4.0.8
      • beforeRollback

        void beforeRollback()
                     throws PortalException
        Called by the observed transaction just before the rollback operation.
        Throws:
        PortalException
        Since:
        4.0.8
      • afterRollback

        void afterRollback()
                    throws PortalException
        Called by the observed transaction just after the rollback operation.
        Throws:
        PortalException
        Since:
        4.0.8