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

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

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
used to receive notifications from an XDynamicResultSet.

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

Description
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