(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XRowSet
Base Interfaces
XRowSetXResultSet

XResultSet
(referenced interface's summary:)
provides the navigation on a table of data. A ResultSet object is usually generated by executing a Statement .
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.


Methods' 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.  
Methods' Details
execute
void
execute()
raises( 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
[oneway] void
addRowSetListener( [in] XRowSetListener  listener );

Description
adds the specified listener to receive the events "cursorMoved", "rowChanged", and "rowSetChanged".
Parameter listener
the listener which should be registered
removeRowSetListener
[oneway] void
removeRowSetListener( [in] XRowSetListener  listener );

Description
removes the specified listener.
Parameter listener
the listener which should be registered
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.