interface XRowSet in module com::sun::star::sdbc::

(Global Index)

Syntax

interface XRowSet : com::sun::star::sdbc::XResultSet ;

Description

enhances the functionality of a result set. It allows implementation of a special behavior for a result set and notifies an application on certain row set events such as a change in its value.

The XRowSet interface is unique in that it is intended to be a software layer on top of an SDBC driver. Implementations of the RowSet interface can be provided by anyone.

Method Summary

execute populates a row set with data. The description of the data source and other important information for filling the row set with data.

addRowSetListener adds the specified listener to receive the events "cursorMoved", "rowChanged", and "rowSetChanged".

removeRowSetListener removes the specified listener.

Known Services Which Export this Interface

com::sun::star::sdbc::RowSet

Method Details



execute

Syntax

void execute ();
raises ( com::sun::star::sdbc::SQLException );

Description

populates a row set with data. The description of the data source and other important information for filling the row set with data.

Throws

SQLException if a database access error occurs.

addRowSetListener

Syntax

oneway void addRowSetListener (
com::sun::star::sdbc::XRowSetListener listener );

Description

adds the specified listener to receive the events "cursorMoved", "rowChanged", and "rowSetChanged".

Parameter listener

the listener which should be registered

removeRowSetListener

Syntax

oneway void removeRowSetListener (
com::sun::star::sdbc::XRowSetListener listener );

Description

removes the specified listener.

Parameter listener

the listener which should be registered
Top of Page