gistoolkit.datasources
Interface DataSourceListener


public interface DataSourceListener

Publishes events about the datasource.


Method Summary
 void recordDeleted(DataSourceEvent inEvent)
          Called when the datasource deletes a record.
 void recordInserted(DataSourceEvent inEvent)
          Called when the datasource inserts a record.
 void recordRead(DataSourceEvent inEvent)
          Called when the datasource reads a record.
 void recordUpdated(DataSourceEvent inEvent)
          Called when the datasource updates a record.
 void transactionCommitted(DataSourceEvent inEvent)
          Called when the datasource commits the data.
 void transactionRolledBack(DataSourceEvent inEvent)
          Called when the datasource rollsback the data.
 

Method Detail

recordRead

public void recordRead(DataSourceEvent inEvent)
Called when the datasource reads a record.


recordInserted

public void recordInserted(DataSourceEvent inEvent)
Called when the datasource inserts a record.


recordUpdated

public void recordUpdated(DataSourceEvent inEvent)
Called when the datasource updates a record.


recordDeleted

public void recordDeleted(DataSourceEvent inEvent)
Called when the datasource deletes a record.


transactionCommitted

public void transactionCommitted(DataSourceEvent inEvent)
Called when the datasource commits the data.


transactionRolledBack

public void transactionRolledBack(DataSourceEvent inEvent)
Called when the datasource rollsback the data.