Class Module

java.lang.Object
com.aquima.interactions.portal.model.Module
All Implemented Interfaces:
IModule, Serializable

public class Module extends Object implements IModule
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 Details

    • Module

      public Module(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. 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

      public ModuleID getId()
      Description copied from interface: IModule
      This method returns the ID of the module.
      Specified by:
      getId in interface IModule
      Returns:
      The ID of the application.
    • getMetaModel

      public IMetaModel getMetaModel()
      Description copied from interface: IModule
      This method returns the (static) meta model of the application.
      Specified by:
      getMetaModel in interface IModule
      Returns:
      The meta model of the application.
    • getFlowEngine

      public IFlowEngine getFlowEngine()
      Description copied from interface: IModule
      This method returns the (static) flow engine of the application.
      Specified by:
      getFlowEngine in interface IModule
      Returns:
      The flow engine of the application.
    • getRuleEngine

      public IRuleEngine getRuleEngine()
      Description copied from interface: IModule
      This method returns the (static) rule engine of the application.
      Specified by:
      getRuleEngine in interface IModule
      Returns:
      The rule engine of the application.
    • getComposer

      public IComposer getComposer()
      Description copied from interface: IModule
      This method returns the (static) composer of the application.
      Specified by:
      getComposer in interface IModule
      Returns:
      The composer of the application.
    • getMatchEngine

      public IMatchEngine getMatchEngine()
      Description copied from interface: IModule
      This method returns the match engine for this application.
      Specified by:
      getMatchEngine in interface IModule
      Returns:
      The match engine of this application.
    • getTreeEngine

      public ITreeEngine getTreeEngine()
      Description copied from interface: IModule
      This method returns the (static) tree engine of the application.
      Specified by:
      getTreeEngine in interface IModule
      Returns:
      The tree engine of the application.
    • getServiceCallNames

      public String[] getServiceCallNames()
      Description copied from interface: IModule
      This method returns an array containing all the service call names.
      Specified by:
      getServiceCallNames in interface IModule
      Returns:
      array containing all the service call names.
    • getServiceCallDefinition

      public IServiceCallDefinition getServiceCallDefinition(String serviceCallName)
      Description copied from interface: IModule
      This method returns a (static) service call definition for a specified name.
      Specified by:
      getServiceCallDefinition in interface IModule
      Parameters:
      serviceCallName - The service call name used for lookup (case insensitive).
      Returns:
      The service call definition, never null
    • getFunctionCallDefinition

      public IFunctionCallDefinition getFunctionCallDefinition(String functionCallName)
      Description copied from interface: IModule
      This method returns a (static) function call definition for a specified name.
      Specified by:
      getFunctionCallDefinition in interface IModule
      Parameters:
      functionCallName - The function call name used for lookup (case insensitive).
      Returns:
      The function call definition, never null
    • getDynamicContainerDefinition

      public IContainerExpanderDefinition getDynamicContainerDefinition(String name)
      Description copied from interface: IModule
      This method returns a (static) dynamic container definition for a specified name.
      Specified by:
      getDynamicContainerDefinition in interface IModule
      Parameters:
      name - The container name used for lookup (case insensitive).
      Returns:
      The dynamic container definition, never null
    • getMaskDefinition

      public IMaskCallDefinition getMaskDefinition(String maskCallName)
      Description copied from interface: IModule
      This method returns a mask definition for a specified name.
      Specified by:
      getMaskDefinition in interface IModule
      Parameters:
      maskCallName - The mask call name used for lookup (case insensitive).
      Returns:
      The mask call definition, never null
    • getMaskCallNames

      public String[] getMaskCallNames()
      Description copied from interface: IModule
      This method returns an array containing all the mask definition names.
      Specified by:
      getMaskCallNames in interface IModule
      Returns:
      array containing all the mask definition names.
    • getCommunicationEngine

      public ICommunicationEngine getCommunicationEngine()
      Description copied from interface: IModule
      Returns the Communication engine.
      Specified by:
      getCommunicationEngine in interface IModule
      Returns:
      The communication engine.
    • getWebFunctionDataType

      public DataValueType getWebFunctionDataType(String functionName)
      Description copied from interface: IModule
      This method returns an object containing the contract of the function flow.
      Specified by:
      getWebFunctionDataType in interface IModule
      Parameters:
      functionName - The name of the function flow.
      Returns:
      The contract of the function flow.
    • getTraceEngine

      public ITraceEngine getTraceEngine()
      Description copied from interface: IModule
      Returns the Trace Engine.
      Specified by:
      getTraceEngine in interface IModule
      Returns:
      The Trace engine.