:: com :: sun :: star :: sdb ::

interface XRowSetApproveListener
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::lang::XEventListener
    |
    +-XRowSetApproveListener
Description
is used for approving the moving and changing of rowset actions.

Methods' Summary
approveCursorMove is called before a rowset's cursor is moved.
approveRowChange is called before a row is inserted, updated, or deleted.
approveRowSetChange is called before a rowset is changed, or in other words before a rowset is reexecuted.
Methods' Details
approveCursorMove
boolean
approveCursorMove(
 
[in] ::com::sun::star::lang::EventObject
 
event );

Description
is called before a rowset's cursor is moved.
Parameter event
the event which happend
Returns
true when moving is allowed, otherwise false
approveRowChange
boolean
approveRowChange(
 
[in] RowChangeEvent
 
event );

Description
is called before a row is inserted, updated, or deleted.
Parameter event
the event which happend
Returns
true when changing is allowed, otherwise false
approveRowSetChange
boolean
approveRowSetChange(
 
[in] ::com::sun::star::lang::EventObject
 
event );

Description
is called before a rowset is changed, or in other words before a rowset is reexecuted.
Parameter event
the event which happend
Returns
true when changing is allowed, otherwise false
Top of Page