Paket | lc.foundation.util |
Klasse | public class Token |
Vererbung | Token Object |
Unterklassen | CollectionToken, ObjectToken |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Token
class provides a mechanism to specify handlers for asynchronous calls.
Usually, result handlers take a single parameter of type LiveCycleEvent
(or a subclass)
and fault handlers take a single parameter of type LiveCycleFaultEvent
(or a subclass).
For information on using this component to customize Workspace, see Customizing the Adobe Digital Enterprise Platform Document Services - Workspace User Interface .
Verwandte API-Elemente
Öffentliche Eigenschaften
Öffentliche Methoden
Methode | Definiert von | ||
---|---|---|---|
Adds a fault handler for this asynchronous invocation. | Token | ||
Adds a result and fault handler for this asynchronous invocation. | Token | ||
Adds an object to handle the result or failure for an asynchronous invocation. | Token | ||
Adds a result handler for this asynchronous invocation. | Token | ||
Calls all the fault handlers. | Token | ||
Calls all the result handlers. | Token | ||
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde. | Object | ||
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde. | Object | ||
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann. | Object | ||
Legt die Verfügbarkeit einer dynamischen Eigenschaft für Schleifenoperationen fest. | Object | ||
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas. | Object | ||
Gibt das angegebene Objekt als String zurück. | Object | ||
Gibt den Grundwert des angegebenen Objekts zurück. | Object |
Methodendetails
addFaultHandler | () | Methode |
public function addFaultHandler(handler:Function):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a fault handler for this asynchronous invocation.
Parameter
handler:Function — Specifies a function that is called when the asynchronous call fails.
|
addHandlers | () | Methode |
public function addHandlers(resultHandler:Function, faultHandler:Function):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a result and fault handler for this asynchronous invocation.
Parameter
resultHandler:Function — Specifies the function that is called when the asynchronous call completes.
| |
faultHandler:Function — Specifies athefunction that is called when the asynchronous call fails.
|
addResponder | () | Methode |
public function addResponder(responder:IResponder):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds an object to handle the result or failure for an asynchronous invocation.
Parameter
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle
the asynchronous result or failure.
|
addResultHandler | () | Methode |
public function addResultHandler(handler:Function):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a result handler for this asynchronous invocation.
Parameter
handler:Function — Specifies a function that is called when the asynchronous call completes.
|
callFaultHandlers | () | Methode |
public function callFaultHandlers(info:Object):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Calls all the fault handlers.
Parameter
info:Object — Specifies the information passed to all the fault handlers.
|
callResultHandlers | () | Methode |
public function callResultHandlers(data:Object):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Calls all the result handlers.
Parameter
data:Object — Specifies the data passed to all the result handlers.
|
Tue Jun 12 2018, 10:04 AM Z