com.niggle.data
Interface DataChangeNotifier

All Known Subinterfaces:
MutableDataSource

public interface DataChangeNotifier

Interface implemented by objects that will send out notifications about data changes. Objects wanting to be notified much implement the DataListener interface

See Also:
DataListener

Method Summary
 void addDataListener(DataListener dl)
          Add a listener that gets notified if ever a record is inserted, updated or deleted.
 void removeDataListener(DataListener dl)
          Remove a listener that gets notified if ever a record is inserted, updated or deleted.
 

Method Detail

addDataListener

public void addDataListener(DataListener dl)
                     throws java.io.IOException
Add a listener that gets notified if ever a record is inserted, updated or deleted.
Parameters:
dl - the listener

removeDataListener

public void removeDataListener(DataListener dl)
                        throws java.io.IOException
Remove a listener that gets notified if ever a record is inserted, updated or deleted.
Parameters:
dl - the listener