Class TransactionCommitListenerWrapper

  • All Implemented Interfaces:
    com.dassault_systemes.modeler.foundation.transaction.TransactionListener

    public class TransactionCommitListenerWrapper
    extends java.lang.Object
    implements com.dassault_systemes.modeler.foundation.transaction.TransactionListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void allTransactionsCompleted​(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options)
      Invoked when all transactions (master and nested) are completed.
      TransactionCommitListener getListener()  
      java.lang.String toString()  
      void transactionCompleted​(java.util.Collection<java.beans.PropertyChangeEvent> events, com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options)
      Notifies that transaction is completed and provides changes done in the transaction.
      void transactionStarted​(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options)
      Invoked when transaction is started.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • transactionStarted

        public void transactionStarted​(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options)
        Description copied from interface: com.dassault_systemes.modeler.foundation.transaction.TransactionListener
        Invoked when transaction is started.
        Specified by:
        transactionStarted in interface com.dassault_systemes.modeler.foundation.transaction.TransactionListener
      • transactionCompleted

        public void transactionCompleted​(java.util.Collection<java.beans.PropertyChangeEvent> events,
                                         com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options)
        Description copied from interface: com.dassault_systemes.modeler.foundation.transaction.TransactionListener
        Notifies that transaction is completed and provides changes done in the transaction. Listener can modify model.
        Specified by:
        transactionCompleted in interface com.dassault_systemes.modeler.foundation.transaction.TransactionListener
        Parameters:
        events - events recorded during transaction.
      • allTransactionsCompleted

        public void allTransactionsCompleted​(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options)
        Description copied from interface: com.dassault_systemes.modeler.foundation.transaction.TransactionListener
        Invoked when all transactions (master and nested) are completed.
        Specified by:
        allTransactionsCompleted in interface com.dassault_systemes.modeler.foundation.transaction.TransactionListener
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object