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.impl.method 

FunctionService  - AS3 Expression Manager

Packagecom.adobe.solutions.exm.impl.method
Classpublic class FunctionService
InheritanceFunctionService Inheritance Object
Implements IFunctionService

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

Default implementation of the IFunctionService interface which queries the server for listing function-families and functions.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
Creates a new FunctionService instance.
FunctionService
 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
  
Fires an asynchronous RPC call for listing available function-families and returns the token.
FunctionService
  
Fires an asynchronous RPC call for listing local functions belonging to the given family, and returns the token.
FunctionService
  
Fires an asynchronous RPC call for listing remote functions belonging to the given family, and returns the token.
FunctionService
 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 this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

FunctionService

()Constructor
public function FunctionService()

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

Creates a new FunctionService instance.

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 RPC call for listing available function-families and returns the token.

Returns
mx.rpc:AsyncToken — A token for the RPC call. If the call completes successfully, the result of the token contains a list of FunctionFamilyVO instances.

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 RPC call for listing local functions belonging to the given family, and returns the token.

Parameters

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

Returns
mx.rpc:AsyncToken — A token for the RPC call. If the call completes successfully, the result of the token contains a list of FunctionVO instances.

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 RPC call for listing remote functions belonging to the given family, and returns the token.

Parameters

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

Returns
mx.rpc:AsyncToken — A token for the RPC call. If the call completes successfully, the result of the token contains a list of FunctionVO instances.