Class Hierarchy All Classes All Fields and Methods

Interface com.ibm.db.beans.DBBeforeListener

public interface DBBeforeListener
extends 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 Index
Method Description
void aboutToChangeRow_delete(DBEvent) Method called when the a row in the RowSet will be deleted from the database.
void aboutToChangeRow_insert(DBEvent) Method called when the a row in the RowSet will be inserted into the database.
void aboutToChangeRow_update(DBEvent) Method called when the a row in the RowSet will be updated in the database.
void aboutToChangeRowSet_deleteRow(DBEvent) Method called when the cache of the RowSet will change by having a row deleted from it.
void aboutToChangeRowSet_execute(DBEvent) Method called when the cache of the RowSet will change by being filled upon execution.
void aboutToChangeRowSet_fetchRow(DBEvent) Method called when the cache of the RowSet will change by having one or more rows fetched into it.
void aboutToChangeRowSet_newRow(DBEvent) Method called when the cache of the RowSet will change by having a new empty row added to it.

Methods

aboutToChangeRow_delete

public void aboutToChangeRow_delete(DBEvent event) 

Method called when the a row in the RowSet will be deleted from the database.

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

aboutToChangeRow_insert

public void aboutToChangeRow_insert(DBEvent event) 

Method called when the a row in the RowSet will be inserted into the database.

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

aboutToChangeRow_update

public void aboutToChangeRow_update(DBEvent event) 

Method called when the a row in the RowSet will be updated in the database.

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

aboutToChangeRowSet_deleteRow

public void aboutToChangeRowSet_deleteRow(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.

aboutToChangeRowSet_execute

public void aboutToChangeRowSet_execute(DBEvent event) 

Method called when the cache of the RowSet will change by being filled upon execution.

aboutToChangeRowSet_fetchRow

public void aboutToChangeRowSet_fetchRow(DBEvent event) 

Method called when the cache of the RowSet will change by having one or more rows fetched into it.

aboutToChangeRowSet_newRow

public void aboutToChangeRowSet_newRow(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.

Class Hierarchy All Classes All Fields and Methods