ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.exm.variable 

IVariableService  - AS3 Expression Manager

Packagecom.adobe.solutions.exm.variable
Interfacepublic interface IVariableService

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

IVariableService provides infrastructure services for listing available variables.



Public Methods
 MethodDefined By
  
Fires an asynchronous operation for retrieving the list of available variables.
IVariableService
  
Fires an asynchronous operation for retrieving the list of available variables matching the given search term.
IVariableService
Method Detail

listVariables

()method
public function listVariables():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Fires an asynchronous operation for retrieving the list of available variables.

Returns
mx.rpc:AsyncToken — An RPC token which dispatches a ResultEvent when the retrieval operation completes successfully, or a FaultEvent if the operation fails. If the operation succeeds, the 'result' property of the ResultEvent contains a list of VariableVO instances corresponding to the available variables.

searchVariables

()method 
public function searchVariables(searchTerm:String):mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Fires an asynchronous operation for retrieving the list of available variables matching the given search term.

Parameters

searchTerm:String — The search term to be used for filtering variables.

Returns
mx.rpc:AsyncToken — An RPC token which dispatches a ResultEvent when the retrieval operation completes successfully, or a FaultEvent if the operation fails. If the operation succeeds, the 'result' property of the ResultEvent contains a list of VariableVO instances corresponding to the available variables which match the given search term.