Class ProcessMappingTemplate

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

public class ProcessMappingTemplate extends AbstractReportingTemplate
Template that can be used to initialize a process mapping.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • ProcessMappingTemplate

      protected ProcessMappingTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, ApplicationTemplate model)
  • Method Details

    • getCaseDataMapping

      public MappingTemplate getCaseDataMapping()
      This method returns the template that can be used to specify the case data mapping. The case data mapping should map from the process module to the main module.
      Returns:
      the template that can be used to specify the case data mapping.
    • setCaseDataMapping

      public MappingTemplate setCaseDataMapping(String name)
    • getCaseUpdateMapping

      public MappingTemplate getCaseUpdateMapping()
      This method returns the template that can be used to specify the case update mapping. The case update mapping should map from the main module to the process module.
      Returns:
      the template that can be used to specify the case data mapping.
    • setCaseUpdateMapping

      public MappingTemplate setCaseUpdateMapping(String name)
    • getApplicationName

      protected String getApplicationName()
    • setApplicationName

      public void setApplicationName(String name)
      This method may be used to specify the name of the application containing the process definitions.
      Parameters:
      name - the name of the application containing the process definitions.
    • getApplicationVersion

      protected com.aquima.interactions.foundation.Version getApplicationVersion()
    • setApplicationVersion

      public void setApplicationVersion(com.aquima.interactions.foundation.Version version)
      This method may be used to specify the version of the application containing the process definitions. By default the mapping will refer to the
      Parameters:
      version - the version of the application containing the process definitions.
    • addTaskMapping

      public TaskMappingTemplate addTaskMapping(String taskName, String flowName)
      This method may be used to add a mapping for a specific task.
      Parameters:
      taskName - The name of the task for which the mapping is specified.
      flowName - The name of the flow the task should be mapped to.
      Returns:
      Template representing the newly added task mapping.
    • getTaskMappings

      protected List<TaskMappingTemplate> getTaskMappings()
    • toDataSource

      public com.aquima.interactions.portal.ds.IProcessMappingDS toDataSource()
      This method returns a data-source implementation based on this template.
      Returns:
      data-source implementation based on this template.
    • getCaseDataMappingName

      protected String getCaseDataMappingName()
    • getCaseUpdateMappingName

      protected String getCaseUpdateMappingName()