Class FlowFunction
java.lang.Object
com.aquima.interactions.portal.function.FlowFunction
- All Implemented Interfaces:
IFunction
The blueriq flow function is a function which can execute a function flow using in- and ouput parameters.
- Since:
- 10.3
- Author:
- T. van der Griend.
-
Constructor Summary
ConstructorsConstructorDescriptionFlowFunction
(CalleeParameterMapping parameterMapping, FunctionParameterValidator parameterValidator, IWebFunctionEnhancer webFunctionEnhancer) FlowFunction
(IWebFunctionEnhancer webFunctionEnhancer) -
Method Summary
Modifier and TypeMethodDescriptionhandle
(IFunctionContext callerContext) The handle method of the function is allowed to make changes to the interfaces passed along with the IFunctionContext.
-
Constructor Details
-
FlowFunction
public FlowFunction() -
FlowFunction
-
FlowFunction
public FlowFunction(CalleeParameterMapping parameterMapping, FunctionParameterValidator parameterValidator, IWebFunctionEnhancer webFunctionEnhancer)
-
-
Method Details
-
handle
public IFunctionResult handle(IFunctionContext callerContext) throws FunctionException, FunctionValidationException, FlowException Description copied from interface:IFunction
The handle method of the function is allowed to make changes to the interfaces passed along with the IFunctionContext. This means the function context is changed accordingly.- Specified by:
handle
in interfaceIFunction
- Parameters:
callerContext
- the context in which the function is called and allowed to make changes.- Returns:
- The result of this function, may be null.
- Throws:
FunctionException
- When an expected exception occurs and the portal should display certain messages.FunctionValidationException
FlowException
-