Class Module
java.lang.Object
com.aquima.interactions.portal.model.Module
- All Implemented Interfaces:
IModule
,Serializable
This class hold the static data of a specific application version.
This class is not serializable.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModule
(IProject project, IModuleDS datasource, IFactoryManager factoryManager, IResourceManager resourceManager, IConnectionManager connectionManager, IInitializationReport report, boolean processEnabled, ITraceDao traceDao, ITimelineCreator timelineCreator) Constructs an application object from the provided data source. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Communication engine.This method returns the (static) composer of the application.This method returns a (static) dynamic container definition for a specified name.This method returns the (static) flow engine of the application.getFunctionCallDefinition
(String functionCallName) This method returns a (static) function call definition for a specified name.getId()
This method returns the ID of the module.String[]
This method returns an array containing all the mask definition names.getMaskDefinition
(String maskCallName) This method returns a mask definition for a specified name.This method returns the match engine for this application.This method returns the (static) meta model of the application.This method returns the (static) rule engine of the application.getServiceCallDefinition
(String serviceCallName) This method returns a (static) service call definition for a specified name.String[]
This method returns an array containing all the service call names.Returns the Trace Engine.This method returns the (static) tree engine of the application.getWebFunctionDataType
(String functionName) This method returns an object containing the contract of the function flow.
-
Constructor Details
-
Module
public Module(IProject project, IModuleDS datasource, IFactoryManager factoryManager, IResourceManager resourceManager, IConnectionManager connectionManager, IInitializationReport report, boolean processEnabled, ITraceDao traceDao, ITimelineCreator timelineCreator) throws InitializationException Constructs an application object from the provided data source. NOTE This constructor is public as it is used in test cases.- Parameters:
project
- Object containing the project wide definitions.datasource
- The data source providing all the application information.factoryManager
- The factory manager that can be used to locate factory implementations.resourceManager
- The resource manager that can be used to locate external resources like messages.connectionManager
- The connection manager that can be used to retrieve connections.report
- The report that should be used to add initialization messages to.processEnabled
- The process engine that is defined in this module, may be null.traceDao
- The trace dao that can be used to store trace messages.timelineCreator
- the timeline dao that can be used to store timeline entries.- Throws:
InitializationException
- This exception is thrown when the application could not be initialized due to errors.
-
-
Method Details
-
getId
Description copied from interface:IModule
This method returns the ID of the module. -
getMetaModel
Description copied from interface:IModule
This method returns the (static) meta model of the application.- Specified by:
getMetaModel
in interfaceIModule
- Returns:
- The meta model of the application.
-
getFlowEngine
Description copied from interface:IModule
This method returns the (static) flow engine of the application.- Specified by:
getFlowEngine
in interfaceIModule
- Returns:
- The flow engine of the application.
-
getRuleEngine
Description copied from interface:IModule
This method returns the (static) rule engine of the application.- Specified by:
getRuleEngine
in interfaceIModule
- Returns:
- The rule engine of the application.
-
getComposer
Description copied from interface:IModule
This method returns the (static) composer of the application.- Specified by:
getComposer
in interfaceIModule
- Returns:
- The composer of the application.
-
getMatchEngine
Description copied from interface:IModule
This method returns the match engine for this application.- Specified by:
getMatchEngine
in interfaceIModule
- Returns:
- The match engine of this application.
-
getTreeEngine
Description copied from interface:IModule
This method returns the (static) tree engine of the application.- Specified by:
getTreeEngine
in interfaceIModule
- Returns:
- The tree engine of the application.
-
getServiceCallNames
Description copied from interface:IModule
This method returns an array containing all the service call names.- Specified by:
getServiceCallNames
in interfaceIModule
- Returns:
- array containing all the service call names.
-
getServiceCallDefinition
public IServiceCallDefinition getServiceCallDefinition(String serviceCallName) throws UnknownServiceCallException Description copied from interface:IModule
This method returns a (static) service call definition for a specified name.- Specified by:
getServiceCallDefinition
in interfaceIModule
- Parameters:
serviceCallName
- The service call name used for lookup (case insensitive).- Returns:
- The service call definition, never null
- Throws:
UnknownServiceCallException
- Is thrown when no service call exists for the given name.
-
getFunctionCallDefinition
public IFunctionCallDefinition getFunctionCallDefinition(String functionCallName) throws UnknownFunctionCallException Description copied from interface:IModule
This method returns a (static) function call definition for a specified name.- Specified by:
getFunctionCallDefinition
in interfaceIModule
- Parameters:
functionCallName
- The function call name used for lookup (case insensitive).- Returns:
- The function call definition, never null
- Throws:
UnknownFunctionCallException
- Is thrown when no function call exists for the given name.
-
getDynamicContainerDefinition
public IContainerExpanderDefinition getDynamicContainerDefinition(String name) throws UnknownDynamicContainerException Description copied from interface:IModule
This method returns a (static) dynamic container definition for a specified name.- Specified by:
getDynamicContainerDefinition
in interfaceIModule
- Parameters:
name
- The container name used for lookup (case insensitive).- Returns:
- The dynamic container definition, never null
- Throws:
UnknownDynamicContainerException
- Is thrown when no expander exists for the given name.
-
getMaskDefinition
Description copied from interface:IModule
This method returns a mask definition for a specified name.- Specified by:
getMaskDefinition
in interfaceIModule
- Parameters:
maskCallName
- The mask call name used for lookup (case insensitive).- Returns:
- The mask call definition, never null
- Throws:
UnknownMaskCallException
- Is thrown when no mask call exists for the given name.
-
getMaskCallNames
Description copied from interface:IModule
This method returns an array containing all the mask definition names.- Specified by:
getMaskCallNames
in interfaceIModule
- Returns:
- array containing all the mask definition names.
-
getCommunicationEngine
Description copied from interface:IModule
Returns the Communication engine.- Specified by:
getCommunicationEngine
in interfaceIModule
- Returns:
- The communication engine.
-
getWebFunctionDataType
public DataValueType getWebFunctionDataType(String functionName) throws UnknownFunctionFlowException Description copied from interface:IModule
This method returns an object containing the contract of the function flow.- Specified by:
getWebFunctionDataType
in interfaceIModule
- Parameters:
functionName
- The name of the function flow.- Returns:
- The contract of the function flow.
- Throws:
UnknownFunctionFlowException
-
getTraceEngine
Description copied from interface:IModule
Returns the Trace Engine.- Specified by:
getTraceEngine
in interfaceIModule
- Returns:
- The Trace engine.
-