com.adobe.solutions.exm.variable

# IVariableService - AS3 Expression Manager

Package | com.adobe.solutions.exm.variable
Interface | public 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

| Method | Defined By
--- | --- | ---
|  | listVariables():mx.rpc:AsyncToken Fires an asynchronous operation for retrieving the list of available variables. | IVariableService
|  | searchVariables(searchTerm:String):mx.rpc:AsyncToken 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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00