Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XCachedDynamicResultSetStubFactory

Base Interface
com::sun::star::uno::XInterface

Description
creates a CachedDynamicResultSetStub and connects a non-remote optimized DynamicResultSet to a remote optimized CachedDynamicResultSet .

Pay attention to instanciate this helper on serverside where your source DynamicResultSet was instanciated.

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

If you have instanciated a 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 XCachedDynamicResultSetFactory .



Known Services which Export this Interface

com::sun::star::ucb::CachedDynamicResultSetStubFactory is a factory for CachedDynamicResultSetStub implementations.

Methods' Summary

createCachedDynamicResultSetStub creates a remote optimizes XDynamicResultSet .
connectToCache If you have instanciated a 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 XDynamicResultSet .
Parameter Source
must be an instance of service DynamicResultSet .
Returns
an instance of service 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 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 DynamicResultSet .
Parameter TargetCache
is an instance of service 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