Class FlowFunction
- java.lang.Object
-
- com.aquima.interactions.portal.function.FlowFunction
-
-
Constructor Summary
Constructors Constructor Description FlowFunction()
FlowFunction(CalleeParameterMapping parameterMapping, FunctionParameterValidator parameterValidator, IWebFunctionEnhancer webFunctionEnhancer)
FlowFunction(IWebFunctionEnhancer webFunctionEnhancer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFunctionResult
handle(IFunctionContext callerContext)
The handle method of the function is allowed to make changes to the interfaces passed along with the IFunctionContext.
-
-
-
Constructor Detail
-
FlowFunction
public FlowFunction()
-
FlowFunction
public FlowFunction(IWebFunctionEnhancer webFunctionEnhancer)
-
FlowFunction
public FlowFunction(CalleeParameterMapping parameterMapping, FunctionParameterValidator parameterValidator, IWebFunctionEnhancer webFunctionEnhancer)
-
-
Method Detail
-
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
-
-