Packagelc.core
Classpublic class CollectionToken
InheritanceCollectionToken Inheritance Token Inheritance Object

The CollectionToken class represents a token for an asynchronous call that returns a collection. The collection can be accessed from the result property immediately after the asynchronous call, although it may not be populated at that time. This class is useful when the result is simply bound as a data provider.

See also

lc.Token


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  result : ListCollectionView
The result collection.
CollectionToken
Public Methods
 MethodDefined By
  
A CollectionToken object must be initialized with a collection.
CollectionToken
 Inherited
Adds a fault handler for this asynchronous invocation.
Token
 Inherited
addHandlers(resultHandler:Function, faultHandler:Function):void
Adds a result and fault handler for this asynchronous invocation.
Token
 Inherited
Adds an object that supports the IResponder interface to handle the result or failure for the asynchronous invocation.
Token
 Inherited
Adds a result handler for this asynchronous invocation.
Token
 Inherited
Calls all the fault handlers.
Token
 Inherited
Calls all the result handlers.
Token
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
resultproperty
result:ListCollectionView  [read-write]

The result collection. Although, the collection will be available immediately, it will not be fully populated until the result handler is called.


Implementation
    public function get result():ListCollectionView
    public function set result(value:ListCollectionView):void
Constructor Detail
CollectionToken()Constructor
public function CollectionToken(collection:ListCollectionView)

A CollectionToken object must be initialized with a collection.

Parameters
collection:ListCollectionView




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/core/CollectionToken.html