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

interface XCachedDynamicResultSetStubFactory
Description
creates a ::com::sun::star::ucb::CachedDynamicResultSetStub and connects a non-remote optimized ::com::sun::star::ucb::DynamicResultSet to a remote optimized ::com::sun::star::ucb::CachedDynamicResultSet .

Pay attention to instanciate this helper on serverside where your source ::com::sun::star::ucb::DynamicResultSet was instanciated.

Method createCachedDynamicResultSetStub can be used to create a stub on serverside.

If you have instanciated a ::com::sun::star::ucb::CachedDynamicResultSet on client side already, use method connectToCache to connect your given DynamicResultSet with this Cache.

The needed cache on server side you can create using ::com::sun::star::ucb::XCachedDynamicResultSetFactory .


Methods' Summary
createCachedDynamicResultSetStub creates a remote optimizes ::com::sun::star::ucb::XDynamicResultSet .  
connectToCache If you have instanciated a ::com::sun::star::ucb::CachedDynamicResultSet on client side already, use this to connect your given Source on server side to the TargetCache.  
Methods' Details
createCachedDynamicResultSetStub
::com::sun::star::ucb::XDynamicResultSet
createCachedDynamicResultSetStub( [in] ::com::sun::star::ucb::XDynamicResultSet  Source );

Description
creates a remote optimizes ::com::sun::star::ucb::XDynamicResultSet .
Parameter Source
must be an instance of service ::com::sun::star::ucb::DynamicResultSet .
Returns
an instance of service ::com::sun::star::ucb::CachedDynamicResultSetStub .
connectToCache
void
connectToCache( [in] ::com::sun::star::ucb::XDynamicResultSet  Source,
[in] ::com::sun::star::ucb::XDynamicResultSet  TargetCache,
[in] sequence< ::com::sun::star::ucb::NumberedSortingInfo >  SortingInfo,
[in] ::com::sun::star::ucb::XAnyCompareFactory  CompareFactory )
raises( ::com::sun::star::ucb::ListenerAlreadySetException,
::com::sun::star::ucb::AlreadyInitializedException );

Description
If you have instanciated a ::com::sun::star::ucb::CachedDynamicResultSet on client side already, use this to connect your given Source on server side to the TargetCache.
Parameter Source
is an instance of service ::com::sun::star::ucb::DynamicResultSet .
Parameter TargetCache
is an instance of service ::com::sun::star::ucb::CachedDynamicResultSet .
Parameter SortingInfo
can be an empty sequence. Otherwise, Source will be sorted according to the given sorting data.
Parameter CompareFactory
will be ignored unless SortingInfo is not empty. Then the supplied factory will be used to instanciate objects used to compare the properties that are involved in sorting.
Throws
ListenerAlreadySetException if Source is already in use.
Throws
AlreadyInitializedException if TargetCache already has been initialized.
Top of Page