| Package | com.adobe.livecycle.rca.service |
| Classe | public class DefaultResponder |
| Héritage | DefaultResponder Object |
| Implémente | IResponder |
Déconseillé depuis Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs dont use a default responder.
| Version du langage: | ActionScript 3.0 |
| Version du produit: | Bloc de création Review, Commenting & Approval 9.5 |
| Versions du moteur d’exécution: | 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.
Propriétés publiques
Méthodes publiques
| Méthode | Défini par | ||
|---|---|---|---|
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 | ||
![]() |
Indique si la propriété spécifiée d’un objet est définie. | Object | |
![]() |
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | |
![]() |
Indique si la propriété spécifiée existe et est énumérable. | Object | |
This method is called by a service when the return value
has been received. | DefaultResponder | ||
![]() |
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | |
![]() |
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | |
![]() |
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | |
![]() |
Renvoie la valeur primitive de l’objet spécifié. | Object | |
Détails du constructeur
DefaultResponder | () | Constructeur |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)| Version du langage: | ActionScript 3.0 |
| Version du produit: | Bloc de création Review, Commenting & Approval 9.5 |
| Versions du moteur d’exécution: | 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.
|
Détails de la méthode
fault | () | méthode |
public function fault(info:Object):void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Bloc de création Review, Commenting & Approval 9.5 |
| Versions du moteur d’exécution: | 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.
Paramètres
info:Object |
result | () | méthode |
public function result(data:Object):void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Bloc de création Review, Commenting & Approval 9.5 |
| Versions du moteur d’exécution: | 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.
Paramètres
data:Object |
Tue Jun 12 2018, 09:30 AM Z
Masquer les propriétés publiques héritées
Afficher les propriétés publiques héritées