interface XRowSetApproveListener in module com::sun::star::sdb::

(Global Index)

Syntax

interface XRowSetApproveListener : com::sun::star::lang::XEventListener ;

Description

is used for approving the moving and changing of rowset actions.

Method 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.

Method Details



approveCursorMove

Syntax

boolean approveCursorMove (
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

Syntax

boolean approveRowChange (
com::sun::star::sdb::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

Syntax

boolean approveRowSetChange (
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