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

翻訳前ページへ


Interface XLibraryContainerPassword
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XLibraryContainerPassword
Description
拡張 of XLibraryContainer to 供給する password functionality. This interface should be 器具/実施するd together with XLibraryContainer2


Methods' 要約
isLibraryPasswordProtected Returns true if the 接近d library item is 保護するd by a password. If a library with the this 指名する doesn't 存在する a com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown.  
isLibraryPasswordVerified Returns true if the 接近d library item is 保護するd by a password (see isLibraryPasswordProtected) and the password was already 立証するd with verifyLibraryPassword or if an 初期の password was 始める,決める with changeLibraryPassword. If a library with the this 指名する doesn't 存在する a com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown. If the library 存在するs but isn't password 保護するd a com::sun::星/主役にする::lang::IllegalArgumentException is thrown.  
verifyLibraryPassword 立証するs the library's password. If the 訂正する password was passed, the method returns true and その上の calls to isLibraryPasswordVerified will also return true. If a library with the this 指名する doesn't 存在する a com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown. If the library 存在するs but isn't password 保護するd a com::sun::星/主役にする::lang::IllegalArgumentException is thrown. If the library password is already 立証するd a com::sun::星/主役にする::lang::IllegalArgumentException is thrown.  
changeLibraryPassword Changes the library's password. If the library wasn't password 保護するd before: The OldPassword parameter has to be an empty string. Afterwards calls to isLibraryPasswordProtected and isLibraryPasswordVerified for this library will return true. If the library already was password 保護するd: The OldPassword parameter has to be 始める,決める to the previous defined password. If then the NewPassword parameter is an empty string the library password 保護 will be 無能にするd afterwards (afterwards calls to isLibraryPasswordProtected for this library will return 誤った). If the NewPassword parameter is not an empty string it will 受託するd as the new password for the library. If a library with the this 指名する doesn't 存在する but isn't com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown. If the library 存在するs and is password 保護するd and a wrong OldPassword is passed to the method a com::sun::星/主役にする::lang::IllegalArgumentException is thrown. If the library 存在するs and isn't password 保護するd and the OldPassword isn't an empty string or the library is read only a com::sun::星/主役にする::lang::IllegalArgumentException is thrown.  
Methods' 詳細(に述べる)s
isLibraryPasswordProtected
boolean
isLibraryPasswordProtected( [in] string  指名する )
raises( ::com::sun::星/主役にする::コンテナ::NoSuchElementException );

Description
Returns true if the 接近d library item is 保護するd by a password. If a library with the this 指名する doesn't 存在する a com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown.
isLibraryPasswordVerified
boolean
isLibraryPasswordVerified( [in] string  指名する )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::コンテナ::NoSuchElementException );

Description
Returns true if the 接近d library item is 保護するd by a password (see isLibraryPasswordProtected) and the password was already 立証するd with verifyLibraryPassword or if an 初期の password was 始める,決める with changeLibraryPassword. If a library with the this 指名する doesn't 存在する a com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown. If the library 存在するs but isn't password 保護するd a com::sun::星/主役にする::lang::IllegalArgumentException is thrown.
verifyLibraryPassword
boolean
verifyLibraryPassword( [in] string  指名する,
[in] string  Password )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::コンテナ::NoSuchElementException );

Description
立証するs the library's password. If the 訂正する password was passed, the method returns true and その上の calls to isLibraryPasswordVerified will also return true. If a library with the this 指名する doesn't 存在する a com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown. If the library 存在するs but isn't password 保護するd a com::sun::星/主役にする::lang::IllegalArgumentException is thrown. If the library password is already 立証するd a com::sun::星/主役にする::lang::IllegalArgumentException is thrown.
changeLibraryPassword
無効の
changeLibraryPassword( [in] string  指名する,
[in] string  OldPassword,
[in] string  NewPassword )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::コンテナ::NoSuchElementException );

Description
Changes the library's password. If the library wasn't password 保護するd before: The OldPassword parameter has to be an empty string. Afterwards calls to isLibraryPasswordProtected and isLibraryPasswordVerified for this library will return true. If the library already was password 保護するd: The OldPassword parameter has to be 始める,決める to the previous defined password. If then the NewPassword parameter is an empty string the library password 保護 will be 無能にするd afterwards (afterwards calls to isLibraryPasswordProtected for this library will return 誤った). If the NewPassword parameter is not an empty string it will 受託するd as the new password for the library. If a library with the this 指名する doesn't 存在する but isn't com::sun::星/主役にする::コンテナ::NoSuchElementException is thrown. If the library 存在するs and is password 保護するd and a wrong OldPassword is passed to the method a com::sun::星/主役にする::lang::IllegalArgumentException is thrown. If the library 存在するs and isn't password 保護するd and the OldPassword isn't an empty string or the library is read only a com::sun::星/主役にする::lang::IllegalArgumentException is thrown.
最高の,を越す 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.