Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

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


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
XDynamicResultSet
createCachedDynamicResultSetStub( [in] 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] XDynamicResultSet  Source,
[in] XDynamicResultSet  TargetCache,
[in] sequence< NumberedSortingInfo >  SortingInfo,
[in] XAnyCompareFactory  CompareFactory )
raises( ListenerAlreadySetException,
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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.