The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15



Tips ‘n’ Tricks


:: com :: sun :: star :: ucb ::

interface XDynamicResultSetListener
Base Interfaces
┗ ::com::sun::star::lang::XEventListener

(referenced interface's summary:)
base interface for all event listeners interfaces.
used to receive notifications from an XDynamicResultSet.

Methods' Summary
notify A method used to propagate changes of a resultset.  
Methods' Details
notify( [in] ListEvent  Changes );

A method used to propagate changes of a resultset.

In the first notify-call the listener gets two(!) ::com::sun::star::sdbc::XResultSets and has to hold them. The ::com::sun::star::sdbc::XResultSets are implementations of the service ContentResultSet.

The notified new ::com::sun::star::sdbc::XResultSet will stay valid after returning from this method. The old one will become invalid after returning.

While in notify-call the listener is allowed to read from old and new resultset, except in the first call, where only the new resultset is valid.

The Listener is allowed to stay (block) this call, until he really wants to use the new resultset. The only situation, where the listener has to return immediately is while he disposes his broadcaster or while he is removing himself as listener (otherwise you deadlock)!!!

Parameter Changes
the changes to notify.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.