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.expression 

IExpressionService  - AS3 Expression Manager

Packagecom.adobe.solutions.exm.expression
Interfacepublic interface IExpressionService

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

IExpressionService provides infrastructure services for expression persistence.



Public Methods
 MethodDefined By
  
Creates a new expression in the expression repository.
IExpressionService
  
Deletes an expression from the expression repository.
IExpressionService
  
Fires an asynchronous operation for retrieving a given expression from the expression repository.
IExpressionService
  
Fires an asynchronous operation for retrieving the list of available expressions from the expression repository.
IExpressionService
  
Fires an asynchronous operation for retrieving the list of available expressions in the repository which match the given search term.
IExpressionService
  
Updates an expression in the expression repository.
IExpressionService
Method Detail

createExpression

()method
public function createExpression(expr:ExpressionVO):mx.rpc:AsyncToken

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

Creates a new expression in the expression repository.

Parameters

expr:ExpressionVO — The expression to be created.

Returns
mx.rpc:AsyncToken — An RPC token which dispatches a ResultEvent when the create operation completes successfully, or a FaultEvent if the operation fails.

deleteExpression

()method 
public function deleteExpression(expr:ExpressionVO):mx.rpc:AsyncToken

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

Deletes an expression from the expression repository.

Parameters

expr:ExpressionVO — The expression to be delete.

Returns
mx.rpc:AsyncToken — An RPC token which dispatches a ResultEvent when the delete operation completes successfully, or a FaultEvent if the operation fails.

getExpression

()method 
public function getExpression(exprId: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 a given expression from the expression repository.

Parameters

exprId:String — The unique ID of the expression to be retrieved.

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 an ExpressionVO instance corresponding to the retrieved expression.

listExpressions

()method 
public function listExpressions():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 expressions from the expression repository.

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 ExpressionVO instances corresponding to the expressions available in the repository.

searchExpressions

()method 
public function searchExpressions(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 expressions in the repository which match the given search term.

Parameters

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

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 ExpressionVO instances corresponding to the expressions in the repository which match the given search term.

updateExpression

()method 
public function updateExpression(expr:ExpressionVO):mx.rpc:AsyncToken

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

Updates an expression in the expression repository.

Parameters

expr:ExpressionVO — The expression to be updated.

Returns
mx.rpc:AsyncToken — An RPC token which dispatches a ResultEvent when the update operation completes successfully, or a FaultEvent if the operation fails.