interface XDynamicResultSet in module com::sun::star::ucb:: |
interface XDynamicResultSet : com::sun::star::lang::XComponent ;
Provides read access to a ContentResultSet .
You can either get a simple static ContentResultSet or you can listen to change-notifications and than swap from the old to a new ContentResultSet .
The following describes the dynamic use:
XDynamicResultSet provides the possibility to get notifications about changes on a ContentResultSet and have an listener-controlled update from one version to the next version. Two ContentResultSet implementations were given to the listener in the first notification as interface XResultSet .
To get notifications the listener has to be of type XDynamicResultSetListener .
After registration you will get notifications for events of type ListEvent .
The calling of XDynamicResultSetListener::notify has to happen in an own thread, because it could take a longer time and any actions til the listener returns the call. So don't block the notify-causing action.
While one notify-call is going on:
After the listener has returned the notify-call:
Method Summary |
|
getStaticResultSet | Call this, if you don't care about any changes. |
setListener | Call this, if you want to get notifications about changes. |
connectToCache | Connects this to a CachedDynamicResultSet for optimized remote data transport. |
getCapabilities | Using this method you can get information, whether the offered ContentResultSet s are sorted or filtered etc correctly as demanded during the creation of the XDynamicResultSet . |
Known Services Which Export this Interface |
Method Details |
|||||
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.