com.ibm.db.beans
Interface DBBeforeListener

All Superinterfaces:
java.util.EventListener

public interface DBBeforeListener
extends java.util.EventListener

The event set listener interface for the DBBefore feature. Methods in this event set are called before actions affecting the database or the RowSet cache are performed.


Method Summary
 void aboutToChangeRow_delete(com.ibm.db.beans.DBEvent event)
          Method called when a row in the RowSet will be deleted from the database.
 void aboutToChangeRow_insert(com.ibm.db.beans.DBEvent event)
          Method called when a row in the RowSet will be inserted into the database.
 void aboutToChangeRow_update(com.ibm.db.beans.DBEvent event)
          Method called when a row in the RowSet will be updated in the database.
 void aboutToChangeRowSet_deleteRow(com.ibm.db.beans.DBEvent event)
          Method called when the cache of the RowSet will change by having a row deleted from it.
 void aboutToChangeRowSet_execute(com.ibm.db.beans.DBEvent event)
          Method called when the cache of the RowSet will change by being filled upon execution.
 void aboutToChangeRowSet_fetchRow(com.ibm.db.beans.DBEvent event)
          Method called when the cache of the RowSet will change by having one or more rows fetched into it.
 void aboutToChangeRowSet_newRow(com.ibm.db.beans.DBEvent event)
          Method called when the cache of the RowSet will change by having a new empty row added to it.
 

Method Detail

aboutToChangeRow_delete

public void aboutToChangeRow_delete(com.ibm.db.beans.DBEvent event)
Method called when a row in the RowSet will be deleted from the database.

The modifier property of the event indicates which row will be deleted.

Parameters:
event - DBEvent

aboutToChangeRow_insert

public void aboutToChangeRow_insert(com.ibm.db.beans.DBEvent event)
Method called when a row in the RowSet will be inserted into the database.

The modifier property of the event indicates which row will be inserted.

Parameters:
event - DBEvent

aboutToChangeRow_update

public void aboutToChangeRow_update(com.ibm.db.beans.DBEvent event)
Method called when a row in the RowSet will be updated in the database.

The modifier property of the event indicates which row will be updated.

Parameters:
event - DBEvent

aboutToChangeRowSet_deleteRow

public void aboutToChangeRowSet_deleteRow(com.ibm.db.beans.DBEvent event)
Method called when the cache of the RowSet will change by having a row deleted from it.

The modifier property of the event indicates which row will be deleted.

Parameters:
event - DBEvent

aboutToChangeRowSet_execute

public void aboutToChangeRowSet_execute(com.ibm.db.beans.DBEvent event)
Method called when the cache of the RowSet will change by being filled upon execution.

Parameters:
event - DBEvent

aboutToChangeRowSet_fetchRow

public void aboutToChangeRowSet_fetchRow(com.ibm.db.beans.DBEvent event)
Method called when the cache of the RowSet will change by having one or more rows fetched into it.

Parameters:
event - DBEvent

aboutToChangeRowSet_newRow

public void aboutToChangeRowSet_newRow(com.ibm.db.beans.DBEvent event)
Method called when the cache of the RowSet will change by having a new empty row added to it.

The modifier property of the event indicates which row will be added.

Parameters:
event - DBEvent