Class ModuleDS

java.lang.Object
com.aquima.interactions.portal.report.ReportingDelegate
com.aquima.interactions.portal.ds.sys.ModuleDS
All Implemented Interfaces:
IReportingDS, IModuleDS

public class ModuleDS extends ReportingDelegate implements IModuleDS
Portal engine data source wrapper that adds the system entity and resource messages.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • ModuleDS

      public ModuleDS(IModuleDS datasource, boolean processEnabled)
      Constructs the data source with the original data source that should be wrapped.
      Parameters:
      datasource - the original data source that should be wrapped.
      processEnabled - Boolean indicating if process related pre-processing should be done (i.e. replace flow nodes).
      Throws:
      InitializationException - This exception is thrown when model could not be initialized.
  • Method Details

    • getModuleId

      public ModuleID getModuleId()
      Description copied from interface: IModuleDS
      This method should return the unique identifier of the application. The identifier consists of the application name and version.
      Specified by:
      getModuleId in interface IModuleDS
      Returns:
      The unique identifier of the application.
    • cachingEnabled

      public boolean cachingEnabled()
      Description copied from interface: IModuleDS
      Indicating if models should be cached on the server. At the moment the caching is enabled or disabled for all applications running on the server.
      Specified by:
      cachingEnabled in interface IModuleDS
      Returns:
      boolean indicating if application models should be cached.
    • getFlowEngineDS

      public IFlowEngineDS getFlowEngineDS()
      Description copied from interface: IModuleDS
      This method should return a datasource implementation that can be used to initialize the flow engine for the application.
      Specified by:
      getFlowEngineDS in interface IModuleDS
      Returns:
      Flow engine datasource implementation for the current application.
    • getMetaModelDS

      public IMetaModelDS getMetaModelDS()
      Description copied from interface: IModuleDS
      This method should return a meta-model datasource implementation for the application this interface represents. The returned datasource will be used to initialize the meta-model component.
      Specified by:
      getMetaModelDS in interface IModuleDS
      Returns:
      IMetaModelDS implementation for the application.
    • getRuleEngineDS

      public IRuleEngineDS getRuleEngineDS()
      Description copied from interface: IModuleDS
      This method should return a datasource implementation that can be used to initialize the rule engine for the application.
      Specified by:
      getRuleEngineDS in interface IModuleDS
      Returns:
      Rule engine datasource implementation for the current application.
    • getTreeEngineDS

      public ITreeEngineDS getTreeEngineDS()
      Description copied from interface: IModuleDS
      This method should return a datasource implementation that can be used to initialize the tree engine for the application.
      Specified by:
      getTreeEngineDS in interface IModuleDS
      Returns:
      Tree engine datasource implementation for the current application.
    • getMatchEngineDS

      public IMatchEngineDS getMatchEngineDS()
      Description copied from interface: IModuleDS
      This method should return a data source implementation that can be used to initialize a match engine for the application.
      Specified by:
      getMatchEngineDS in interface IModuleDS
      Returns:
      The match engine data-source implementation.
    • getComposerDS

      public IComposerDS getComposerDS()
      Description copied from interface: IModuleDS
      This method should return a datasource implementation that can be used to initialize the composer for the application.
      Specified by:
      getComposerDS in interface IModuleDS
      Returns:
      Composer datasource implementation for the current application.
    • iterateServiceCalls

      public void iterateServiceCalls(IServiceCallVisitor visitor)
      Description copied from interface: IModuleDS
      This method should iterate over all the service calls and invoke the visitor for each call definition that should be added.
      Specified by:
      iterateServiceCalls in interface IModuleDS
      Parameters:
      visitor - The visitor that should be used to add service call definitions to.
    • iterateFunctionCalls

      public void iterateFunctionCalls(IFunctionCallVisitor visitor)
      Description copied from interface: IModuleDS
      This method should iterate over all the function calls and invoke the visitor for each call definition that should be added.
      Specified by:
      iterateFunctionCalls in interface IModuleDS
      Parameters:
      visitor - The visitor that should be used to add function call definitions to.
    • iterateContainerExpanders

      public void iterateContainerExpanders(IContainerExpanderVisitor visitor)
      Description copied from interface: IModuleDS
      This method should iterate over all the (dynamic) container expanders, and invoke the visitor for each call definition that should be added.
      Specified by:
      iterateContainerExpanders in interface IModuleDS
      Parameters:
      visitor - The visitor that should be used to add dynamic container expander definitions to.
    • iterateMaskCalls

      public void iterateMaskCalls(IMaskCallVisitor visitor)
      Description copied from interface: IModuleDS
      This method should iterate over all the mask calls and invoke the visitor for each call definition that should be added.
      Specified by:
      iterateMaskCalls in interface IModuleDS
      Parameters:
      visitor - The visitor that should be used to add mask call definitions to.
    • getCommunicationEngineDS

      public ICommunicationEngineDS getCommunicationEngineDS()
      Description copied from interface: IModuleDS
      This method should return a datasource implementation that can be used to initialize the communication engine for the application.
      Specified by:
      getCommunicationEngineDS in interface IModuleDS
      Returns:
      Communication engine datasource implementation for the current application.