com.adobe.solutions.exm.method

# IFunctionService - AS3 Expression Manager

Package | com.adobe.solutions.exm.method
Interface | public interface IFunctionService
Implementors | FunctionService

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 10

Runtime Versions: | AIR (unsupported), Flash Player 10.2

IFunctionService provides infrastructure services for listing functions and function-families.

Public Methods

| Method | Defined By
--- | --- | ---
|  | listFunctionFamilies():mx.rpc:AsyncToken Fires an asynchronous operation for retrieving the list of available function-families. | IFunctionService
|  | listLocalFunctions(familyId:String):mx.rpc:AsyncToken Fires an asynchronous operation for retrieving the list of local functions belonging to the given family. | IFunctionService
|  | listServices(familyId:String):mx.rpc:AsyncToken Fires an asynchronous operation for retrieving the list of remote functions (services) belonging to the given family. | IFunctionService

Method Detail

### listFunctionFamilies

()
method

`public function listFunctionFamilies():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 function-families.

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 FunctionFamilyVO instances corresponding to the available function-families.

### listLocalFunctions

()
method

`public function listLocalFunctions(familyId: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 local functions belonging to the given family.

Parameters

| `familyId:String` — The ID of the family for which local functions are being listed. Can be null, in which case all local functions will be listed.

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 FunctionVO instances corresponding to the local functions belonging to the given family.

### listServices

()
method

`public function listServices(familyId: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 remote functions (services) belonging to the given family.

Parameters

| `familyId:String` — The ID of the family for which remote functions are being listed. Can be null, in which case all remote functions will be listed.

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 FunctionVO instances corresponding to the remote functions belonging to the given family.

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