Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: ucb ::
interface XDynamicResultSetListener
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::lang::XEventListener
          |
          +-XDynamicResultSetListener
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::XResultSet s and has to hold them. The ::com::sun::star::sdbc::XResultSet s 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

Copyright © 2003 Sun Microsystems, Inc.