Class ProcessModuleTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.ProcessModuleTemplate

public class ProcessModuleTemplate extends AbstractReportingTemplate
Template that may be used to initialize a process module.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • ProcessModuleTemplate

      public ProcessModuleTemplate(String licenseKey)
      Constructs a process module template with a application model.
      Parameters:
      licenseKey - The license key needed to start the application model.
    • ProcessModuleTemplate

      public ProcessModuleTemplate(ApplicationTemplate application)
      Constructs the template using an existing application model.
      Parameters:
      application - The application model that should be used to take the definitions from.
  • Method Details

    • getTraceDao

      public com.aquima.interactions.trace.dao.ITraceDao getTraceDao()
      Returns:
      The ITraceDao used by applications created with this template
    • setTraceDao

      public void setTraceDao(com.aquima.interactions.trace.dao.ITraceDao traceDao)
    • getModuleId

      public com.aquima.interactions.project.ModuleID getModuleId()
      This method returns the ID of the process module.
      Returns:
      the ID of the process module.
    • getCaseDao

      protected com.aquima.interactions.process.dao.IProcessCaseDao getCaseDao()
    • setCaseDao

      public void setCaseDao(com.aquima.interactions.process.dao.IProcessCaseDao peDao)
      This method may be used to specify the DAO that should be used by the process engine.
      Parameters:
      peDao - the DAO that should be used by the process engine.
    • definesProcesses

      public boolean definesProcesses()
      This method returns a boolean indicating if any processes are defined in this module.
      Returns:
      boolean indicating if any processes are defined in this module.
    • getProject

      public ProjectTemplate getProject()
      This method returns the project template that should be used by the process module.
      Returns:
      project template that should be used by the process module.
    • getMetaModel

      public MetaModelTemplate getMetaModel()
      This method returns the template of the meta model that should be used in the process module.
      Returns:
      template of the meta model that should be used in the process module.
    • getRuleEngine

      public RuleEngineTemplate getRuleEngine()
      This method returns the template of the rule engine that should be used in the process module.
      Returns:
      template of the rule engine that should be used in the process module.
    • getProcessEngine

      public ProcessEngineTemplate getProcessEngine()
      This method returns the template of the process engine that should be used in the process module.
      Returns:
      template of the process engine that should be used in the process module.
    • toDataSource

      public com.aquima.interactions.process.ds.IProcessModuleDS toDataSource()
      This method returns a data source implementation that may be used to initialize a process module.
      Returns:
      data source implementation that may be used to initialize a process module.
    • getLicenseKey

      public String getLicenseKey()
    • setLicenseKey

      public void setLicenseKey(String key)
    • getLicenseProvider

      public com.aquima.interactions.foundation.ILicenseProvider getLicenseProvider()
    • addRole

      public RoleTemplate addRole(String name)
      This method may be used to add a role definition to the process engine.
      Parameters:
      name - The name of the role that should be added.
      Returns:
      Template representing the newly added role.
    • getSettings

      public com.aquima.interactions.process.IProcessEngineSettings getSettings()
    • setSettings

      public void setSettings(com.aquima.interactions.process.IProcessEngineSettings settings)