許すs to exclicitly 解放する/自由な 資源s and break cyclic 言及/関連s.
Usage 制限s
not published
Description
encapsulates 操作/手術s on a database form.
This instance 許すs for 操作/手術s on a 使用者 interface form, by saving its (弁護士の)依頼人s
from さまざまな tedious and error-傾向がある 操作/手術s.
As an example, imagine you have a database form, 陳列する,発揮するd in some 使用者
interface, which you want to move to the next 記録,記録的な/記録する.
It is as 平易な as calling com:::sun::星/主役にする::sdbc::XResultSet::next
on this form, 権利? Wrong. First, you need to care for saving the 現在の
記録,記録的な/記録する, so the 使用者 doesn't lose her input. So you need to call
::com::sun::星/主役にする::sdbc::XResultSetUpdate::updateRow or
::com::sun::星/主役にする::sdbc::XResultSetUpdate::insertRow, depending
on the form's ::com::sun::星/主役にする::sdb::RowSet::IsNew 所有物/資産/財産.
But then you're done, 権利? Wrong, again.
When the 使用者 just entered some data into one of the form fields, but did not yet
leave this field, then the data is not yet committed to the form, not to talk
about 存在 committed to the underlying database. So, before everything else,
you would nee to 得る the active 支配(する)/統制する of the form, and commit it. Now you're done ...
As another example, consider that you want to 削除する the 現在の 記録,記録的な/記録する from the
form. You have to take into account any ::com::sun::星/主役にする::form::XConfirmDeleteListeners
登録(する)d at the ::com::sun::星/主役にする::form::FormController or the
::com::sun::星/主役にする::form::構成要素::DataForm.
If you agree that this is ugly to do and 持続する, then XFormOperations
is for you. It 供給するs a 遂行する/発効させる method, which will do all of the above
for you; 加える some 類似の convenient wrappers for 類似の functionality.
You would usually use this to update some 使用者 interface to 反映する this 明言する/公表する.
For instance, you could imagine a toolbar button which is associated with a given feature.
This button would be enabled if and only if the 各々の feature is 現在/一般に
利用できる, and be checked if and only if the feature 明言する/公表する is a boolean
評価するing to true.
Parameter Feature
the feature whose 明言する/公表する is to be determimed. Must be one of the FormFeature
constants.
An 無効の value here will be silently ignored, and 簡単に return a FeatureState
示すing 無能にするd with a NULL 明言する/公表する.
the feature whose 明言する/公表する is to be determimed. Must be one of the FormFeature
constants.
An 無効の value here will be silently ignored, and 簡単に return 誤った.
遂行する/発効させるs the 操作/手術 associated with the given feature
Parameter Feature
the feature which is to be 遂行する/発効させるd. Must be one of the FormFeature
constants.
Throws
::com::sun::星/主役にする::lang::IllegalArgumentException
if the given Feature is unknown, not executable, or striclty 要求するs arguments
to be 遂行する/発効させるd.
Throws
::com::sun::星/主役にする::sdbc::SQLException
if a database 接近 erorr occurs
Throws
::com::sun::星/主役にする::lang::WrappedTargetException
if an exception is caught which is no ::com::sun::星/主役にする::uno::RuntimeException
and no ::com::sun::星/主役にする::sdbc::SQLException.
遂行する/発効させるs the 操作/手術 associated with the given feature, with passing arguments for 死刑執行
Parameter Feature
the feature which is to be 遂行する/発効させるd. Must be one of the FormFeature
constants.
Parameter Arguments
the 指名するd arguments for the feature to 遂行する/発効させる. See the FormFeature 名簿(に載せる)/表(にあげる)
for features which 要求する arguments.
Throws
::com::sun::星/主役にする::lang::IllegalArgumentException
if the given feature is unknown, or not executable
Throws
::com::sun::星/主役にする::lang::IllegalArgumentException
if the given arguments are not 十分な to 遂行する/発効させる the feature
Throws
::com::sun::星/主役にする::sdbc::SQLException
if a database 接近 erorr occurs
Throws
::com::sun::星/主役にする::lang::WrappedTargetException
if an exception is caught which is no ::com::sun::星/主役にする::uno::RuntimeException
and no ::com::sun::星/主役にする::sdbc::SQLException.
供給するs 接近 to the form 監査役 which the instance is operating on.
公式文書,認める that it is possible to operate on a 使用者 interface form without
現実に having 接近 to the form 監査役 instance. However, in this
事例/患者 some functionality will not be 利用できる. In particular, every feature
which relies on the active 支配(する)/統制する of the 監査役 might be of 限られた/立憲的な use.
denotes the instance which should be 通知するd about features whose 明言する/公表する might have changed.
If this せいにする is not NULL, the instance which it denotes will be 通知するd
whenever the 明言する/公表する of any supported feature might have changed.
For instance, imagine a form whose 現在の 列/漕ぐ/騒動 has just been moved to another
記録,記録的な/記録する, using the 遂行する/発効させる method. This means that 潜在的に, the 明言する/公表する
of all movement-関係のある features might have changed.
公式文書,認める that the instance does not 現実に 通知する changes in the feature 明言する/公表するs, but only
可能性のある changes: It's up to the callee to 反応する on this 適切な. This is
since OpenOffice.org's 使用/適用 枠組み features own 機械装置s to (武器などの)隠匿場所 and 無効にする
feature 明言する/公表するs, so we do not 重荷(を負わせる) this 実施 here with such 機械装置s.