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

翻訳前ページへ


Interface XPackage
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

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

::com::sun::星/主役にする::lang::XComponent
Description
器具/実施するd to 通知する that the 一括 has been 除去するd
::com::sun::星/主役にする::util::XModifyBroadcaster
Description
通知するs changes of the 登録 明言する/公表する of the 一括
Usage 制限s
not published
Description
反対するs of this interface 反映する a bound 一括 and are 問題/発行するd by a PackageRegistryBackend.
Since
OOo 2.0

Methods' 要約
createAbortChannel creates a 命令(する) channel to be used to asynchronously 中止する a 命令(する).  
checkPrerequisites checks if the 一括 can be 任命する/導入するd. Only if the return value is true the 一括 is 許すd to be 任命する/導入するd. In 事例/患者 of 誤った or in 事例/患者 of an exception, the 一括 must be 除去するd 完全に. After return of this 機能(する)/行事 no code from the 拡張 may be used anymore, so that the 拡張 can be 安全に 除去するd from the harddisk.  
checkDependencies checks if the dependencies for this 一括 are still 満足させるd After updateing the OpenOffice.org, some dependencies for 一括s might no longer be 満足させるd.  
isRegistered 決定するs whether the 一括 is 現在/一般に is 登録(する)d, i.e. whether it is active.  
registerPackage 登録(する)s this XPackage. NEVER call this 直接/まっすぐに. This is done by the 拡張 経営者/支配人 if necessary.  
revokePackage 取り消すs this XPackage. NEVER call this 直接/まっすぐに. This is done by the 拡張 経営者/支配人 if necessary.  
isBundle 反映するs whether this 一括 is a bundle of one or more 一括s, e.g. a zip (遺産/遺物) 一括 とじ込み/提出する or a 文書 hosting script 一括s.  
getBundle Gets 一括s of the bundle. If isRemoved returns true then getBundle may return an empty sequence in 事例/患者 the 反対する is not 登録(する)d.  
getName returns the とじ込み/提出する 指名する of the 一括.  
getIdentifier returns the unique 拡張 identifier.  
getVersion returns the textual 見解/翻訳/版 代表 of the 一括. A textual 見解/翻訳/版 代表 is a finite string に引き続いて the BNF
見解/翻訳/版 ::= [element ("." element)*]
element ::= ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9")+  
getURL returns the 場所 of the 一括.  
getDisplayName returns the 陳列する,発揮する 指名する of the 一括, e.g. for graphical 使用者 interfaces (GUI).  
getDescription returns a description string to 述べる the 一括.  
getLicenseText returns a string 含む/封じ込めるing the license text.  
getUpdateInformationURLs returns a sequence of update (警察などへの)密告,告訴(状) URLs. The sequence may be empty in 事例/患者 no update (警察などへの)密告,告訴(状) is 利用できる. If the sequence 含む/封じ込めるs more than one URL, the extra URLs must mirror the (警察などへの)密告,告訴(状) 利用できる at the first URL.  
getPublisherInfo returns the publisher info for a 一括, the strings might be empty, if there are no publisher ::com::sun::星/主役にする::beans::StringPair::First 代表するs the publisher 指名する and ::com::sun::星/主役にする::beans::StringPair::Second 代表するs the URL to the publisher.  
getPackageType returns the XPackageTypeInfo, e.g. マスコミ-type etc.  
exportTo 輸出(する)s 一括 to given 目的地 URL.  
getIcon returns an icon for a 一括.  
getRepositoryName returns the 指名する of the repository where this 反対する comes from.  
getRegistrationDataURL return a URL to a directory which 含む/封じ込めるs the 登録 data. This data may be created when calling XPackage::registerPackage. If this is the 事例/患者 is 示すd by ::com::sun::星/主役にする::beans::Optional::IsPresent of the return value. If 登録 data are created during 登録, but the 一括 is 現在/一般に not 登録(する)d, for example after calling XPackage::revokePackage, then ::com::sun::星/主役にする::beans::Optional::IsPresent is true and the ::com::sun::星/主役にする::beans::Optional::Value may be an empty string.  
isRemoved 示すs if this 反対する 代表するs a 除去するd 拡張 or 拡張 item. This is the 事例/患者 when it was created by 供給するing true for the 除去するd parameter in the 機能(する)/行事 XPackageRegistry::bindPackage.  
Methods' 詳細(に述べる)s
createAbortChannel
::com::sun::星/主役にする::仕事::XAbortChannel
createAbortChannel();

Description
creates a 命令(する) channel to be used to asynchronously 中止する a 命令(する).
Returns
中止する channel
checkPrerequisites
long
checkPrerequisites( [in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv,
[in] boolean  alreadyInstalled )
raises( DeploymentException,
ExtensionRemovedException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException );

Description
checks if the 一括 can be 任命する/導入するd. Only if the return value is true the 一括 is 許すd to be 任命する/導入するd. In 事例/患者 of 誤った or in 事例/患者 of an exception, the 一括 must be 除去するd 完全に. After return of this 機能(する)/行事 no code from the 拡張 may be used anymore, so that the 拡張 can be 安全に 除去するd from the harddisk.
Parameter xCmdEnv
命令(する) 環境 for error 扱うing and other interaction. @alreadyInstalled 示すs that an 拡張 with the same identifyer is already 任命する/導入するd.
Returns
null - all 必要条件s are met. さもなければ, a value from 必要条件s 示すing what 必要条件s are 行方不明の.
checkDependencies
boolean
checkDependencies( [in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
ExtensionRemovedException,
::com::sun::星/主役にする::ucb::CommandFailedException );

Description
checks if the dependencies for this 一括 are still 満足させるd After updateing the OpenOffice.org, some dependencies for 一括s might no longer be 満足させるd.
Since
OOo 3.2
Parameter xCmdEnv
命令(する) 環境 for error 扱うing and other interaction.
Returns
true - all dependencies are 満足させるd 誤った - at least one dependency failed.
isRegistered
::com::sun::星/主役にする::beans::Optional< ::com::sun::星/主役にする::beans::あいまいな< boolean > >
isRegistered( [in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException );

Description
決定するs whether the 一括 is 現在/一般に is 登録(する)d, i.e. whether it is active.
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 登録 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
status whether the 一括 is 登録(する)d (true, 誤った) or the status is あいまいな. Additionally, a 登録 status may not 適用する, e.g. in 事例/患者 of an empty 一括 bundle.
registerPackage
無効の
registerPackage( [in] boolean  startup,
[in] ::com::sun::星/主役にする::仕事::XAbortChannel  xAbortChannel,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
ExtensionRemovedException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
登録(する)s this XPackage. NEVER call this 直接/まっすぐに. This is done by the 拡張 経営者/支配人 if necessary.
Parameter startup
示すs that 登録 is adapted to the particular startup シナリオ. That is, it is 始める,決める to true, when called from XExtensionManager::synchronize
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 登録 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
revokePackage
無効の
revokePackage( [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 this XPackage. NEVER call this 直接/まっすぐに. This is done by the 拡張 経営者/支配人 if necessary.
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 登録 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
isBundle
boolean
isBundle();

Description
反映するs whether this 一括 is a bundle of one or more 一括s, e.g. a zip (遺産/遺物) 一括 とじ込み/提出する or a 文書 hosting script 一括s.
Returns
in 事例/患者 this 一括 relfects a 一括 bundle
getBundle
sequence< XPackage >
getBundle( [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 一括s of the bundle. If isRemoved returns true then getBundle may return an empty sequence in 事例/患者 the 反対する is not 登録(する)d.
Parameter xAbortChannel
中止する channel to asynchronously 中止する the 登録 過程, or null
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
Returns
始める,決める of 一括s enclosed in this 一括
getName
string
getName();

Description
returns the とじ込み/提出する 指名する of the 一括.
Returns
とじ込み/提出する 指名する of the 一括
getIdentifier
::com::sun::星/主役にする::beans::Optional< ::com::sun::星/主役にする::beans::あいまいな< boolean > >
getIdentifier();

Description
returns the unique 拡張 identifier.
Returns
the 拡張 identifier (a "org.openoffice.遺産/遺物." one if the 拡張 does not explicitly 明示する one), or an empty Optional if this 一括 does not 代表する an 拡張
getVersion
string
getVersion()
raises( ExtensionRemovedException );

Description
returns the textual 見解/翻訳/版 代表 of the 一括. A textual 見解/翻訳/版 代表 is a finite string に引き続いて the BNF
見解/翻訳/版 ::= [element ("." element)*]
element ::= ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9")+
Returns
the textual 見解/翻訳/版 代表
getURL
string
getURL();

Description
returns the 場所 of the 一括.
Returns
場所 of 一括
getDisplayName
string
getDisplayName()
raises( ExtensionRemovedException );

Description
returns the 陳列する,発揮する 指名する of the 一括, e.g. for graphical 使用者 interfaces (GUI).
Returns
陳列する,発揮する 指名する of the 一括
getDescription
string
getDescription()
raises( ExtensionRemovedException );

Description
returns a description string to 述べる the 一括.
Returns
description
getLicenseText
string
getLicenseText()
raises( ExtensionRemovedException );

Description
returns a string 含む/封じ込めるing the license text.
Returns
license
getUpdateInformationURLs
sequence< string >
getUpdateInformationURLs()
raises( ExtensionRemovedException );

Description
returns a sequence of update (警察などへの)密告,告訴(状) URLs. The sequence may be empty in 事例/患者 no update (警察などへの)密告,告訴(状) is 利用できる. If the sequence 含む/封じ込めるs more than one URL, the extra URLs must mirror the (警察などへの)密告,告訴(状) 利用できる at the first URL.
Returns
update (警察などへの)密告,告訴(状) URLs
getPublisherInfo
::com::sun::星/主役にする::beans::StringPair
getPublisherInfo()
raises( ExtensionRemovedException );

Description
returns the publisher info for a 一括, the strings might be empty, if there are no publisher ::com::sun::星/主役にする::beans::StringPair::First 代表するs the publisher 指名する and ::com::sun::星/主役にする::beans::StringPair::Second 代表するs the URL to the publisher.
getPackageType
XPackageTypeInfo
getPackageType();

Description
returns the XPackageTypeInfo, e.g. マスコミ-type etc.
Returns
マスコミ type of 一括
exportTo
無効の
exportTo( [in] string  destFolderURL,
[in] string  newTitle,
[in] long  nameClashAction,
[in] ::com::sun::星/主役にする::ucb::XCommandEnvironment  xCmdEnv )
raises( ExtensionRemovedException,
::com::sun::星/主役にする::ucb::CommandFailedException,
::com::sun::星/主役にする::ucb::CommandAbortedException );

Description
輸出(する)s 一括 to given 目的地 URL.
Parameter destFolderURL
一括 目的地 folder URL, must be UCB 適合する
Parameter newTitle
new 一括 指名する
Parameter nameClashAction
one of ::com::sun::星/主役にする::ucb::NameClash
Parameter xCmdEnv
命令(する) 環境 for error and 進歩 扱うing
getIcon
::com::sun::星/主役にする::graphic::XGraphic
getIcon( [in] boolean  highContrast )
raises( ExtensionRemovedException );

Description
returns an icon for a 一括.
Parameter highContrast
return high contrast icon
Returns
the icon which should be used to 代表する the (米)棚上げする/(英)提議する in the database 使用/適用 window, or NULL if the default icon should be used.
getRepositoryName
string
getRepositoryName();

Description
returns the 指名する of the repository where this 反対する comes from.
getRegistrationDataURL
::com::sun::星/主役にする::beans::Optional< ::com::sun::星/主役にする::beans::あいまいな< boolean > >
getRegistrationDataURL()
raises( ExtensionRemovedException );

Description
return a URL to a directory which 含む/封じ込めるs the 登録 data. This data may be created when calling XPackage::registerPackage. If this is the 事例/患者 is 示すd by ::com::sun::星/主役にする::beans::Optional::IsPresent of the return value. If 登録 data are created during 登録, but the 一括 is 現在/一般に not 登録(する)d, for example after calling XPackage::revokePackage, then ::com::sun::星/主役にする::beans::Optional::IsPresent is true and the ::com::sun::星/主役にする::beans::Optional::Value may be an empty string.
isRemoved
boolean
isRemoved();

Description
示すs if this 反対する 代表するs a 除去するd 拡張 or 拡張 item. This is the 事例/患者 when it was created by 供給するing true for the 除去するd parameter in the 機能(する)/行事 XPackageRegistry::bindPackage.
最高の,を越す 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.