| パッケージ | com.adobe.livecycle.rca.service |
| クラス | public class DefaultResponder |
| 継承 | DefaultResponder Object |
| 実装 | IResponder |
以降、非推奨 Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs dont use a default responder.
| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Review, Commenting, and Approval Building Block 9.5 |
| ランタイムバージョン: | Flash Player 9, Flash Player 10, AIR (unsupported) |
IResponder and allows a result and fault handler to be defined. Use this class
instead of defining these functions everywhere an asynchronous call is made.
パブリックプロパティ
パブリックメソッド
| メソッド | 定義元 | ||
|---|---|---|---|
Constructs a DefaultResponder based on the specified result and fault handlers. | DefaultResponder | ||
This method is called by a service when an error has been received. | DefaultResponder | ||
![]() |
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | Object | |
![]() |
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。 | Object | |
![]() |
指定されたプロパティが存在し、列挙できるかどうかを示します。 | Object | |
This method is called by a service when the return value
has been received. | DefaultResponder | ||
![]() |
ループ処理に対するダイナミックプロパティの可用性を設定します。 | Object | |
![]() |
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | Object | |
![]() |
指定されたオブジェクトのストリング表現を返します。 | Object | |
![]() |
指定されたオブジェクトのプリミティブな値を返します。 | Object | |
コンストラクターの詳細
DefaultResponder | () | コンストラクター |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Review, Commenting, and Approval Building Block 9.5 |
| ランタイムバージョン: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Constructs a DefaultResponder based on the specified result and fault handlers.
resultHandler:Function — Optional function to call when the asynchronous operation is successful.
| |
faultHandler:Function — Optional function to call when the asynchronous operation fails.
|
メソッドの詳細
fault | () | メソッド |
public function fault(info:Object):void| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Review, Commenting, and Approval Building Block 9.5 |
| ランタイムバージョン: | Flash Player 9, Flash Player 10, AIR (unsupported) |
This method is called by a service when an error has been received.
While info is typed as Object it is often
(but not always) an mx.rpc.events.FaultEvent.
パラメーター
info:Object |
result | () | メソッド |
public function result(data:Object):void| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Review, Commenting, and Approval Building Block 9.5 |
| ランタイムバージョン: | Flash Player 9, Flash Player 10, AIR (unsupported) |
This method is called by a service when the return value
has been received.
While data is typed as Object, it is often
(but not always) an mx.rpc.events.ResultEvent.
パラメーター
data:Object |
Tue Jun 12 2018, 10:34 AM Z
継承されるパブリックプロパティを隠す
継承されるパブリックプロパティを表示