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

翻訳前ページへ


Interface XExtensionManager
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: (軍隊などの)展開,配備 ::

unpublished interface XExtensionManager
Base Interfaces
XExtensionManager
┣ ::com::sun::星/主役にする::lang::XComponent
┗ ::com::sun::星/主役にする::util::XModifyBroadcaster

::com::sun::星/主役にする::lang::XComponent
Description
interface to 通知する 配置する/処分する/したい気持ちにさせるing
::com::sun::星/主役にする::util::XModifyBroadcaster
Description
interface to 通知する changes of the 始める,決める of (軍隊を)展開する,配備するd 一括s of this 経営者/支配人
Usage 制限s
not published
Description
The XExtensionManager interface is used to manage 拡張s in the 使用者, 株d and bundled repository.
Since
OOo 3.3
See also
ExtensionManager

Methods' 要約
getSupportedPackageTypes gets the supported XPackageTypeInfos.  
createAbortChannel creates a 命令(する) channel to be used to asynchronously 中止する a 命令(する).  
addExtension 追加するs an 拡張. The 所有物/資産/財産s argument is 現在/一般に only used to 抑える the license (警察などへの)密告,告訴(状) for 株d 拡張s.  
removeExtension 除去するs an 拡張.  
enableExtension enable an 拡張. If the 拡張 is not from the 使用者 repository then an IllegalArgumentException is thrown.  
disableExtension 無能にする an 拡張. If the 拡張 is not from the 使用者 repository then an IllegalArgumentException is thrown.  
getDeployedExtensions gets all 現在/一般に 任命する/導入するd 拡張s, 含むing 無能にするd 使用者 拡張s.  
getDeployedExtension gets an 任命する/導入するd 拡張s.  
getExtensionsWithSameIdentifier gets all 拡張s with the same identifer from all repositories. The 拡張 at the first position in the returned sequence 代表するs the 拡張 from the 使用者 repository. The next element is from the 株d and the last one is from the bundled repository. If one repository does not 含む/封じ込める this 拡張, then the 各々の element is a null 言及/関連.  
getAllExtensions returns a sequence 含む/封じ込めるing all 任命する/導入するd 拡張s. The members of the returned sequence correspond to an 拡張 with a particular 拡張 identifer. The members are also sequences which 含む/封じ込める as many elements as there are repositories. Those are ordered によれば the 優先 of the repository. That is, the first member is the 拡張 from the 使用者 repository, the second is from the 株d repository and the last is from the bundled repository.  
reinstallDeployedExtensions 専門家 feature: erases the underlying registry (武器などの)隠匿場所 and reinstalls all 以前 追加するd 拡張s. Please keep in mind that all 登録 status get lost.  
synchronize synchronizes the 拡張 database with the contents of the 拡張s folder of 株d and bundled extensinos. 追加するd 拡張s will be 追加するd to the database and 除去するd 拡張s will be 除去するd from the database. The active 拡張s are 決定するd. That is, 株d or bundled 拡張s are not necessaryly 登録(する)d (XPackage::registerPackage).  
synchronizeBundledPrereg synchronizes the special bundled_prereg repository, which is based on the bundled 拡張s and has its 登録 data folder at $BUNDLED_EXTENSIONS_PREREG (for example openoffice.org3/株/prereg). All bundled 拡張s are 登録(する)d (XPackage::registerPackage). The active 拡張s are NOT 決定するd, because this 機能(する)/行事 only 作品 with bundled 拡張s. This 機能(する)/行事 is ーするつもりであるd to be called during the 取り付け・設備 of OOo. OOo will copy parts of the 登録 data folder to the 使用者 取り付け・設備 at the first startup.  
getExtensionsWithUnacceptedLicenses returns all 拡張s which are 現在/一般に not in use because the 使用者 did not 受託する the license. The 機能(する)/行事 will not return any 反対する for the 使用者 repository, because a 使用者 拡張 will not be kept in the 使用者 repository if its license is 拒絶する/低下するd. Only 拡張s which are 登録(する)d at start-up of OOo, that is, 株d and bundled 拡張s, can be returned. 拡張s which 許す the license to be 抑えるd, that is, it does not need to be 陳列する,発揮するd, and which are 任命する/導入するd with the corresponding 選択, are also not returned. 拡張s returned by this 機能(する)/行事s are not returned by ::XExtensionManger::getDeployedExtension ::XExtensionManger::getDeployedExtensions ::XExtensionManger::getAllExtensions ::XExtensionManger::getExtensionsWithSameIdentifier  
checkPrerequisitesAndEnable check if all 必要条件s for the 拡張 are 実行するd and 活動させる/戦時編成するs it, if possible.  
isReadOnlyRepository 決定するs if the 現在の 使用者 has 令状 接近 to the 拡張s folder of the repository.  
Methods' 詳細(に述べる)s
getSupportedPackageTypes
sequence< XPackageTypeInfo >
getSupportedPackageTypes();

Description
gets the supported XPackageTypeInfos.
Returns
supported XPackageTypeInfos.
createAbortChannel
::com::sun::星/主役にする::仕事::XAbortChannel
createAbortChannel();

Description
creates a 命令(する) channel to be used to asynchronously 中止する a 命令(する).
Returns
中止する channel
addExtension
XPackage
addExtension( [in] string  url,
[in] sequence< ::com::sun::星/主役にする::beans::NamedValue >  所有物/資産/財産s,
[in] string  repository,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
追加するs an 拡張. The 所有物/資産/財産s argument is 現在/一般に only used to 抑える the license (警察などへの)密告,告訴(状) for 株d 拡張s.
Parameter url
一括 URL, must be UCB 適合する
Parameter 所有物/資産/財産s
付加 所有物/資産/財産s, for example, that the license is to be 抑えるd (if supported by the 拡張)
Parameter repository
the 指名する of the repository
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 追加するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
反対する 代表するing the 拡張.
removeExtension
無効の
removeExtension( [in] string  identifier,
[in] string  fileName,
[in] string  repository,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
除去するs an 拡張.
Parameter identifier
一括 identifier
Parameter fileName
一括 とじ込み/提出する 指名する
Parameter repository
the 指名する of the repository
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 除去するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
enableExtension
無効の
enableExtension( [in] XPackage  拡張,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
enable an 拡張. If the 拡張 is not from the 使用者 repository then an IllegalArgumentException is thrown.
Parameter 拡張
the 拡張 which is to be enabled.
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 除去するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
disableExtension
無効の
disableExtension( [in] XPackage  拡張,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
無能にする an 拡張. If the 拡張 is not from the 使用者 repository then an IllegalArgumentException is thrown.
Parameter 拡張
the 拡張 which is to be 無能にするd
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 除去するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
getDeployedExtensions
sequence< XPackage >
getDeployedExtensions( [in] string  repository,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
gets all 現在/一般に 任命する/導入するd 拡張s, 含むing 無能にするd 使用者 拡張s.
Parameter repository
the repository from which the 拡張s are returned
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 除去するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
all 現在/一般に 任命する/導入するd 一括s
getDeployedExtension
XPackage
getDeployedExtension( [in] string  repository,
[in] string  identifier,
[in] string  fileName,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
gets an 任命する/導入するd 拡張s.
Parameter repositroy
the 指名する of the repository
Parameter identifier
拡張 identifier
Parameter fileName
拡張 とじ込み/提出する 指名する
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
XPackage 反対する
getExtensionsWithSameIdentifier
sequence< XPackage >
getExtensionsWithSameIdentifier( [in] string  identifier,
[in] string  fileName,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
gets all 拡張s with the same identifer from all repositories. The 拡張 at the first position in the returned sequence 代表するs the 拡張 from the 使用者 repository. The next element is from the 株d and the last one is from the bundled repository. If one repository does not 含む/封じ込める this 拡張, then the 各々の element is a null 言及/関連.
getAllExtensions
sequence< sequence< XPackage > >
getAllExtensions( [in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
returns a sequence 含む/封じ込めるing all 任命する/導入するd 拡張s. The members of the returned sequence correspond to an 拡張 with a particular 拡張 identifer. The members are also sequences which 含む/封じ込める as many elements as there are repositories. Those are ordered によれば the 優先 of the repository. That is, the first member is the 拡張 from the 使用者 repository, the second is from the 株d repository and the last is from the bundled repository.
reinstallDeployedExtensions
無効の
reinstallDeployedExtensions( [in] string  repository,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
専門家 feature: erases the underlying registry (武器などの)隠匿場所 and reinstalls all 以前 追加するd 拡張s. Please keep in mind that all 登録 status get lost.

Please use this in 事例/患者 of 嫌疑者,容疑者/疑うd (武器などの)隠匿場所 inconsistencies only.

Parameter repositroy
the 指名する of the repository
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 追加するing 過程
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
synchronize
boolean
synchronize( [in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
synchronizes the 拡張 database with the contents of the 拡張s folder of 株d and bundled extensinos. 追加するd 拡張s will be 追加するd to the database and 除去するd 拡張s will be 除去するd from the database. The active 拡張s are 決定するd. That is, 株d or bundled 拡張s are not necessaryly 登録(する)d (XPackage::registerPackage).
Returns
If true - then at least one 拡張 was 除去するd or 追加するd. さもなければ nothing was chaned.
synchronizeBundledPrereg
無効の
synchronizeBundledPrereg( [in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException );

Description
synchronizes the special bundled_prereg repository, which is based on the bundled 拡張s and has its 登録 data folder at $BUNDLED_EXTENSIONS_PREREG (for example openoffice.org3/株/prereg). All bundled 拡張s are 登録(する)d (XPackage::registerPackage). The active 拡張s are NOT 決定するd, because this 機能(する)/行事 only 作品 with bundled 拡張s. This 機能(する)/行事 is ーするつもりであるd to be called during the 取り付け・設備 of OOo. OOo will copy parts of the 登録 data folder to the 使用者 取り付け・設備 at the first startup.
getExtensionsWithUnacceptedLicenses
sequence< XPackage >
getExtensionsWithUnacceptedLicenses( [in] string  repository,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
returns all 拡張s which are 現在/一般に not in use because the 使用者 did not 受託する the license. The 機能(する)/行事 will not return any 反対する for the 使用者 repository, because a 使用者 拡張 will not be kept in the 使用者 repository if its license is 拒絶する/低下するd. Only 拡張s which are 登録(する)d at start-up of OOo, that is, 株d and bundled 拡張s, can be returned. 拡張s which 許す the license to be 抑えるd, that is, it does not need to be 陳列する,発揮するd, and which are 任命する/導入するd with the corresponding 選択, are also not returned. 拡張s returned by this 機能(する)/行事s are not returned by ::XExtensionManger::getDeployedExtension ::XExtensionManger::getDeployedExtensions ::XExtensionManger::getAllExtensions ::XExtensionManger::getExtensionsWithSameIdentifier
checkPrerequisitesAndEnable
long
checkPrerequisitesAndEnable( [in] XPackage  拡張,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
check if all 必要条件s for the 拡張 are 実行するd and 活動させる/戦時編成するs it, if possible.
isReadOnlyRepository
boolean
isReadOnlyRepository( [in] string  repository );

Description
決定するs if the 現在の 使用者 has 令状 接近 to the 拡張s folder of the repository.
最高の,を越す of Page

The ASF

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

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