Class FunctionCallVisitor
java.lang.Object
com.aquima.interactions.portal.model.def.FunctionCallVisitor
- All Implemented Interfaces:
IFunctionCallVisitor
- Since:
- 10.3
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FunctionCallVisitor
(IParserFactory parserFactory, Map<String, IFunctionCallDefinition> result) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFunctionCall
(IFunctionCallDS datasource) This method should be invoked by the data-source implementation to notify the portal engine of the existence of a service call.static Map
<String, IFunctionCallDefinition> process
(IModuleDS datasource, IParserFactory parserFactory) This method will initialize a map containing the function call definitions.
-
Constructor Details
-
FunctionCallVisitor
protected FunctionCallVisitor(IParserFactory parserFactory, Map<String, IFunctionCallDefinition> result)
-
-
Method Details
-
addFunctionCall
Description copied from interface:IFunctionCallVisitor
This method should be invoked by the data-source implementation to notify the portal engine of the existence of a service call. The method should be invoked for each function call.- Specified by:
addFunctionCall
in interfaceIFunctionCallVisitor
- Parameters:
datasource
- The function call datasource.
-
process
public static Map<String,IFunctionCallDefinition> process(IModuleDS datasource, IParserFactory parserFactory) This method will initialize a map containing the function call definitions.- Parameters:
datasource
- The data source that should be used to read the function calls from.parserFactory
- Factory that may be used to create an expression parser.- Returns:
- Map containing the function call definitions.
- Throws:
InitializationException
- This exception is thrown when the function calls could not be initialized.
-