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

翻訳前ページへ


Interface XPackageManager
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

deprecated unpublished interface XPackageManager
Base Interfaces
XPackageManager
┣ ::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
deprecated
not published
Deprecation Info
Use XExtensionManager.
Description
The XPackageManager interface is used to 追加する or 除去する 一括s to a 明確な/細部 repository. This interface 代表するs a particular repository. 一括s are deployable とじ込み/提出するs, e.g. scripts or UNO 構成要素s.

追加するing an UNO 一括 means that a copy of the 一括 is 蓄える/店d in the repository.

除去するing an UNO 一括 means that the 以前 追加するd 一括 is 除去するd from the repository.

All interface methods do neither 登録(する) nor 取り消す an 拡張. This happens 排他的に by XExtensionManager.

反対するs of this interface are created using the XPackageManagerFactory service resp. the singleton /singletons/com.sun.星/主役にする.(軍隊などの)展開,配備.thePackageManagerFactory .

Since
OOo 2.0
See also
thePackageManagerFactory

Methods' 要約
getContext returns the underlying (軍隊などの)展開,配備 状況, that is, the 指名する of the repository..  
getSupportedPackageTypes gets the supported XPackageTypeInfos.  
createAbortChannel creates a 命令(する) channel to be used to asynchronously 中止する a 命令(する).  
addPackage 追加するs an UNO 一括. The 所有物/資産/財産s argument is 現在/一般に only used to 抑える the license (警察などへの)密告,告訴(状) for 株d 拡張s.  
importExtension 追加するs an 拡張. This copies the 拡張. If it was from the same repository, which is 代表するd by this XPackageManager insterface, then nothing happens.  
removePackage 除去するs an UNO 一括.  
getDeployedPackage gets a (軍隊を)展開する,配備するd 一括.  
getDeployedPackages gets all 現在/一般に (軍隊を)展開する,配備するd 一括s.  
reinstallDeployedPackages 専門家 feature: erases the underlying registry (武器などの)隠匿場所 and reinstalls all 以前 追加するd 一括s. Please keep in mind that all 登録 status get lost.  
isReadOnly 示すs that this 実施 cannot be used for 仕事s which 要求する 令状 接近 to the 場所 where the 拡張s are 任命する/導入するd.  
synchronize synchronizes the 拡張 database with the contents of the 拡張s folder. 追加するd 拡張s will be 追加するd to the database and 除去するd 拡張s will be 除去するd from the database.  
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.  
checkPrerequisites checks if the 拡張 can be used. The 拡張 must be managed by this 一括 経営者/支配人, that is, it must be 記録,記録的な/記録するd in its database. The 一括 経営者/支配人 calls XPackage::checkPrerequisites and updates its data base with the result. The result, which is from 必要条件s will be returned.  
Methods' 詳細(に述べる)s
getContext
string
getContext();

Description
returns the underlying (軍隊などの)展開,配備 状況, that is, the 指名する of the repository..
Returns
underlying (軍隊などの)展開,配備 状況
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
addPackage
XPackage
addPackage( [in] string  url,
[in] sequence< ::com::sun::星/主役にする::beans::NamedValue >  所有物/資産/財産s,
[in] string  mediaType,
[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 UNO 一括. 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 mediaType
マスコミ-type of 一括, empty string if to be (悪事,秘密などを)発見するd
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 追加するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
XPackage 扱う
importExtension
XPackage
importExtension( [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
追加するs an 拡張. This copies the 拡張. If it was from the same repository, which is 代表するd by this XPackageManager insterface, then nothing happens.
Parameter 拡張
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 追加するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
XPackage 扱う
removePackage
無効の
removePackage( [in] string  identifier,
[in] string  fileName,
[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 UNO 一括.
Parameter identifier
一括 identifier
Parameter fileName
一括 とじ込み/提出する 指名する
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 除去するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
getDeployedPackage
XPackage
getDeployedPackage( [in] string  identifier,
[in] string  fileName,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
gets a (軍隊を)展開する,配備するd 一括.
Parameter identifier
一括 identifier
Parameter fileName
一括 とじ込み/提出する 指名する
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
XPackage 扱う
getDeployedPackages
sequence< XPackage >
getDeployedPackages( [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.
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 除去するing 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
all 現在/一般に (軍隊を)展開する,配備するd 一括s
reinstallDeployedPackages
無効の
reinstallDeployedPackages( [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 xAbortChannel
中止する channel to asynchronously 中止する the 追加するing 過程
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
isReadOnly
boolean
isReadOnly();

Description
示すs that this 実施 cannot be used for 仕事s which 要求する 令状 接近 to the 場所 where the 拡張s are 任命する/導入するd.

普通は one would call a method and 扱う the exception if 令状ing failed. However, a GUI interface may need to know beforehand if 令状ing is 許すd. For example, the 拡張 経営者/支配人 dialog needs to enable / 無能にする the 追加する button depending if the 使用者 has 令状 許可. Only the XPackageManager 実施 knows the 場所 of the 任命する/導入するd 拡張s. Therefore it is not possible to check "externally" for 令状 許可.

synchronize
boolean
synchronize( [in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException );

Description
synchronizes the 拡張 database with the contents of the 拡張s folder. 追加するd 拡張s will be 追加するd to the database and 除去するd 拡張s will be 除去するd from the database.
Parameter xAddedExtension
new 拡張s which may need to be 登録(する)d.
Parameter 除去するd
拡張s which must be 取り消すd
Returns
If true - then at least one 拡張 was 除去するd or 追加するd. さもなければ nothing was chaned.
getExtensionsWithUnacceptedLicenses
sequence< XPackage >
getExtensionsWithUnacceptedLicenses( [in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException );

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.
checkPrerequisites
long
checkPrerequisites( [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
checks if the 拡張 can be used. The 拡張 must be managed by this 一括 経営者/支配人, that is, it must be 記録,記録的な/記録するd in its database. The 一括 経営者/支配人 calls XPackage::checkPrerequisites and updates its data base with the result. The result, which is from 必要条件s will be returned.
最高の,を越す 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.