com.sun.data.provider
Class TransactionalDataAdapter

java.lang.Object
  extended bycom.sun.data.provider.DataAdapter
      extended bycom.sun.data.provider.TransactionalDataAdapter
All Implemented Interfaces:
DataListener, java.util.EventListener, TransactionalDataListener

public class TransactionalDataAdapter
extends DataAdapter
implements TransactionalDataListener

TransactionalDataProviderAdapter is an event listener adapter that provides a base implementation of TransactionalDataListener.

Author:
Joe Nuxoll

Constructor Summary
TransactionalDataAdapter()
           
 
Method Summary
 void changesCommitted(TransactionalDataProvider provider)
          

The commitChanges() method was called on the specified TransactionalDataProvider.

 void changesReverted(TransactionalDataProvider provider)
          

The revertChanges() method was called on the specified TransactionalDataProvider.

 
Methods inherited from class com.sun.data.provider.DataAdapter
providerChanged, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.data.provider.DataListener
providerChanged, valueChanged
 

Constructor Detail

TransactionalDataAdapter

public TransactionalDataAdapter()
Method Detail

changesCommitted

public void changesCommitted(TransactionalDataProvider provider)

The commitChanges() method was called on the specified TransactionalDataProvider.

Specified by:
changesCommitted in interface TransactionalDataListener
Parameters:
provider - TransactionalDataProvider on which this event occurred

changesReverted

public void changesReverted(TransactionalDataProvider provider)

The revertChanges() method was called on the specified TransactionalDataProvider.

Specified by:
changesReverted in interface TransactionalDataListener
Parameters:
provider - TransactionalDataProvider on which this event occurred