interface XCachedDynamicResultSetStubFactory in module com::sun::star::ucb::

(Global Index)

Syntax

interface XCachedDynamicResultSetStubFactory : 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 .

Method 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.

Known Services Which Export this Interface

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

Method Details



createCachedDynamicResultSetStub

Syntax

com::sun::star::ucb::XDynamicResultSet createCachedDynamicResultSetStub (
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

Syntax

void connectToCache (
com::sun::star::ucb::XDynamicResultSet Source,
com::sun::star::ucb::XDynamicResultSet TargetCache,
sequence< com::sun::star::ucb::NumberedSortingInfo > SortingInfo,
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