Class ProcessModuleTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.ProcessModuleTemplate
Template that may be used to initialize a process module.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionProcessModuleTemplate
(ApplicationTemplate application) Constructs the template using an existing application model.ProcessModuleTemplate
(String licenseKey) Constructs a process module template with a application model. -
Method Summary
Modifier and TypeMethodDescriptionThis method may be used to add a role definition to the process engine.boolean
This method returns a boolean indicating if any processes are defined in this module.protected com.aquima.interactions.process.dao.IProcessCaseDao
com.aquima.interactions.foundation.ILicenseProvider
This method returns the template of the meta model that should be used in the process module.com.aquima.interactions.project.ModuleID
This method returns the ID of the process module.This method returns the template of the process engine that should be used in the process module.This method returns the project template that should be used by the process module.This method returns the template of the rule engine that should be used in the process module.com.aquima.interactions.process.IProcessEngineSettings
com.aquima.interactions.trace.dao.ITraceDao
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.void
setLicenseKey
(String key) void
setSettings
(com.aquima.interactions.process.IProcessEngineSettings settings) void
setTraceDao
(com.aquima.interactions.trace.dao.ITraceDao traceDao) com.aquima.interactions.process.ds.IProcessModuleDS
This method returns a data source implementation that may be used to initialize a process module.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ProcessModuleTemplate
Constructs a process module template with a application model.- Parameters:
licenseKey
- The license key needed to start the application model.
-
ProcessModuleTemplate
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
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
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
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
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
-
setLicenseKey
-
getLicenseProvider
public com.aquima.interactions.foundation.ILicenseProvider getLicenseProvider() -
addRole
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)
-