Class ProcessMapping

java.lang.Object
com.aquima.interactions.portal.model.process.ProcessMapping
All Implemented Interfaces:
IProcessMapping

public class ProcessMapping extends Object implements IProcessMapping
Class managing the task and case data mappings.
Since:
7.1
Author:
O. Kerpershoek, Jon van Leuven
  • Constructor Details

  • Method Details

    • getProcessEngine

      protected IProcessEngine getProcessEngine()
    • getTaskMapping

      public TaskMapping getTaskMapping(String taskName, InferenceContext context)
      Description copied from interface: IProcessMapping
      Gets the appropriate task mapping.

      The task mappings are parsed in the definition order and the first one the satisfies the following conditions is returned:

      Specified by:
      getTaskMapping in interface IProcessMapping
      Parameters:
      taskName - The task for which the task mapping should be returned
      context - The context used to evaluate the precondition expressions against
      Returns:
      The task mapping as described above
    • getTaskMapping

      public TaskMapping getTaskMapping(String taskName)
      Description copied from interface: IProcessMapping
      Gets the appropriate task mapping.

      The task mappings are parsed in the definition order and the first one the satisfies the following conditions is returned:

      Specified by:
      getTaskMapping in interface IProcessMapping
      Parameters:
      taskName - The task for which the task mapping should be returned
      Returns:
      The task mapping as described above
    • getApplicationName

      public String getApplicationName()
      Description copied from interface: IProcessMapping
      This method returns the name of the application that contains the process definitions.
      Specified by:
      getApplicationName in interface IProcessMapping
      Returns:
      The name of the application that contains the process definitions.
    • getApplicationVersion

      public Version getApplicationVersion()
      Description copied from interface: IProcessMapping
      This method returns the version of the application that contains the process definitions.
      Specified by:
      getApplicationVersion in interface IProcessMapping
      Returns:
      The version of the application that contains the process definitions.
    • getCaseDataMapping

      public IMapping getCaseDataMapping()
      Description copied from interface: IProcessMapping
      This method returns the mapper that may be used to map the model of the process engine to the model of this application.
      Specified by:
      getCaseDataMapping in interface IProcessMapping
      Returns:
      The profile mapper, may be null.
    • getCaseUpdateMapping

      public IMapping getCaseUpdateMapping()
      Description copied from interface: IProcessMapping
      This method returns the mapper that may be used to map the model of this application to the model of the process engine.
      Specified by:
      getCaseUpdateMapping in interface IProcessMapping
      Returns:
      The profile mapper, may be null.