(Beta)
Package | lc.foundation.util |
Class | public class Token |
Inheritance | Token Object |
Subclasses | CollectionToken, ObjectToken |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, 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 LiveCycle Workspace ES2, see Customizing the LiveCycle Workspace ES2 User Interface .
Related API Elements
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
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 | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Method Detail
addFaultHandler | () | method |
public function addFaultHandler(handler:Function):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Adds a fault handler for this asynchronous invocation.
Parameters
handler:Function — Specifies a function that is called when the asynchronous call fails.
|
addHandlers | () | method |
public function addHandlers(resultHandler:Function, faultHandler:Function):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Adds a result and fault handler for this asynchronous invocation.
Parameters
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 | () | method |
public function addResponder(responder:IResponder):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Adds an object to handle the result or failure for an asynchronous invocation.
Parameters
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle
the asynchronous result or failure.
|
addResultHandler | () | method |
public function addResultHandler(handler:Function):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Adds a result handler for this asynchronous invocation.
Parameters
handler:Function — Specifies a function that is called when the asynchronous call completes.
|
callFaultHandlers | () | method |
public function callFaultHandlers(info:Object):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Calls all the fault handlers.
Parameters
info:Object — Specifies the information passed to all the fault handlers.
|
callResultHandlers | () | method |
public function callResultHandlers(data:Object):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Calls all the result handlers.
Parameters
data:Object — Specifies the data passed to all the result handlers.
|
Wed Nov 21 2018, 06:34 AM -08:00