Pakket | com.adobe.livecycle.rca.service |
Klasse | public class DefaultResponder |
Overerving | DefaultResponder Object |
Implementatie | IResponder |
Vervangen vanaf Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs dont use a default responder.
Taalversie: | ActionScript 3.0 |
Productversie: | Review, Commenting, and Approval Building Block 9.5 |
Runtimeversies: | 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.
Openbare eigenschappen
Openbare methoden
Methode | Gedefinieerd door | ||
---|---|---|---|
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 | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
This method is called by a service when the return value
has been received. | DefaultResponder | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constructordetails
DefaultResponder | () | Constructor |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)
Taalversie: | ActionScript 3.0 |
Productversie: | Review, Commenting, and Approval Building Block 9.5 |
Runtimeversies: | 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.
|
Methodedetails
fault | () | methode |
public function fault(info:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Review, Commenting, and Approval Building Block 9.5 |
Runtimeversies: | 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.
Parameters
info:Object |
result | () | methode |
public function result(data:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Review, Commenting, and Approval Building Block 9.5 |
Runtimeversies: | 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.
Parameters
data:Object |
Wed Jun 13 2018, 11:42 AM Z