このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XDynamicResultSet
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: ucb ::

interface XDynamicResultSet
Base Interfaces
XDynamicResultSet
┗ ::com::sun::星/主役にする::lang::XComponent

::com::sun::星/主役にする::lang::XComponent
(言及/関連d interface's 要約:)
許すs to exclicitly 解放する/自由な 資源s and break cyclic 言及/関連s.
Description
供給するs read 接近 to a ContentResultSet.

You can either get a simple static ContentResultSet or you can listen to change-notifications and than 交換(する) from the old to a new ContentResultSet.

The に引き続いて 述べるs the dynamic use:

XDynamicResultSet 供給するs the 可能性 to get notifications about changes on a ContentResultSet and have an listener-controlled update from one 見解/翻訳/版 to the next 見解/翻訳/版. Two ContentResultSet 実施s were given to the listener in the first notification as interface ::com::sun::星/主役にする::sdbc::XResultSet.

To get notifications the listener has to be of type XDynamicResultSetListener.

After 登録 you will get notifications for events of type ListEvent.

The calling of XDynamicResultSetListener::通知する has to happen in an own thread, because it could take a longer time and any 活動/戦闘s til the listener returns the call. So don't 封鎖する the 通知する-原因(となる)ing 活動/戦闘.

While one 通知する-call is going on:

  1. The listener is 許すd to 接近 both ContentResultSets, they must be both valid.
  2. It is not 許すd to start a second 通知する-call.
  3. All addditional things we want to send as notification are to be 列d.
  4. Any other calls are to be 受託するd and 扱う/治療するd.

After the listener has returned the 通知する-call:

  1. The listener is 許すd to 接近 the new ContentResultSet. The new one is first 割り当てるd in the WELCOME-event and than the ResultSets are always swapped.
  2. The listener is not 許すd to 接近 the old ContentResultSet.

Methods' 要約
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 輸送(する).  
getCapabilities Using this method you can get (警察などへの)密告,告訴(状), whether the 申し込む/申し出d ContentResultSets are sorted or filtered etc 正確に as 需要・要求するd during the 創造 of the XDynamicResultSet.  
Methods' 詳細(に述べる)s
getStaticResultSet
::com::sun::星/主役にする::sdbc::XResultSet
getStaticResultSet()
raises( ListenerAlreadySetException );

Description
Call this, if you don't care about any changes.
Returns
an ::com::sun::星/主役にする::sdbc::XResultSet that is 器具/実施するd as ContentResultSet. Its content will never change. @trows ListenerAlreadySetException if someone already has 登録(する)d as listener 経由で XDynamicResultSet::setListener or if someone has 設立するd a 関係 to a CachedDynamicResultSet 経由で XDynamicResultSet::connectToCache.
setListener
無効の
setListener( [in] XDynamicResultSetListener  Listener )
raises( ListenerAlreadySetException );

Description
Call this, if you want to get notifications about changes.

The implementor has to call ::com::sun::星/主役にする::lang::XComponent::addEventListener in this method, so that we can call ::com::sun::星/主役にする::lang::XEventListener::配置する/処分する/したい気持ちにさせるing at the listener

Parameter Listener
a listener for resultset notifications
Throws
ListenerAlreadySetException if this method is called more than once during the life of the 実施 反対する or if this method is called if someone already has fetched the ContentResultSet 経由で XDynamicResultSet::getStaticResultSet.
connectToCache
無効の
connectToCache( [in] XDynamicResultSet  (武器などの)隠匿場所 )
raises( ListenerAlreadySetException,
AlreadyInitializedException,
ServiceNotFoundException );

Description
Connects this to a CachedDynamicResultSet for optimized remote data 輸送(する).

This method creates a CachedDynamicResultSetStub and 始める,決めるs it as Source to the given (武器などの)隠匿場所.

After this method has returned you can and have to use the given result 始める,決める (武器などの)隠匿場所 for その上の 接近.

Parameter (武器などの)隠匿場所
has to be an 実施 of the service CachedDynamicResultSet. In particular it has to support the interface XSourceInitialization.
Throws
ListenerAlreadySetException if if someone already has fetched the ContentResultSet 経由で XDynamicResultSet::getStaticResultSet.
Throws
AlreadyInitializedException if (武器などの)隠匿場所 was already initialized with another source.
Throws
ServiceNotFoundException
getCapabilities
short
getCapabilities();

Description
Using this method you can get (警察などへの)密告,告訴(状), whether the 申し込む/申し出d ContentResultSets are sorted or filtered etc 正確に as 需要・要求するd during the 創造 of the XDynamicResultSet.
Returns
無 or more constants of the ContentResultSetCapability constants group.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.