Class ProcessScopeDelegate

java.lang.Object
com.aquima.interactions.portal.model.process.wrapper.ProcessScopeDelegate
All Implemented Interfaces:
IProcessScope
Direct Known Subclasses:
ReadonlyProcessScope

public abstract class ProcessScopeDelegate extends Object implements IProcessScope
Decorator class that wraps a process scope to make it immutable (read-only).
Since:
7.1
Author:
Jon van Leuven
  • Constructor Details

    • ProcessScopeDelegate

      protected ProcessScopeDelegate(IProcessScope processScope)
  • Method Details

    • activateProcessCase

      public void activateProcessCase(long id)
      Description copied from interface: IProcessScope
      This method activates a process case.
      Specified by:
      activateProcessCase in interface IProcessScope
      Parameters:
      id - The id of the process case to activate, may not be null.
    • activateProcessTask

      public void activateProcessTask(long id)
      Description copied from interface: IProcessScope
      This method activates a process task.
      Specified by:
      activateProcessTask in interface IProcessScope
      Parameters:
      id - The id of the process task to activate, may not be null.
    • addAffectedCases

      public void addAffectedCases(long[] ids)
      Description copied from interface: IProcessScope
      This method stores created and updated cases
      Specified by:
      addAffectedCases in interface IProcessScope
      Parameters:
      ids - The ids of the process cases to store, may not be null.
    • clearActiveProcessCase

      public void clearActiveProcessCase()
      Specified by:
      clearActiveProcessCase in interface IProcessScope
    • clearActiveProcessTask

      public void clearActiveProcessTask()
      Description copied from interface: IProcessScope
      This method clears the current active process task.
      Specified by:
      clearActiveProcessTask in interface IProcessScope
    • clearAffectedCases

      public void clearAffectedCases()
      Description copied from interface: IProcessScope
      This method clears the updated cases that are stored
      Specified by:
      clearAffectedCases in interface IProcessScope
    • getActiveProcessCase

      public long getActiveProcessCase()
      Description copied from interface: IProcessScope
      This method returns the current active process case.
      Specified by:
      getActiveProcessCase in interface IProcessScope
      Returns:
      The GUID of the current active process case, never null.
    • getAffectedCases

      public long[] getAffectedCases()
      Description copied from interface: IProcessScope
      This method returns the updated and created cases
      Specified by:
      getAffectedCases in interface IProcessScope
      Returns:
      The ids of the updated\created cases
    • getActiveProcessTask

      public long getActiveProcessTask()
      Description copied from interface: IProcessScope
      This method returns the current active process task.
      Specified by:
      getActiveProcessTask in interface IProcessScope
      Returns:
      The ID of the current active process task.
    • getProcessEngine

      public IProcessEngine getProcessEngine()
      Description copied from interface: IProcessScope
      This method return the process engine.
      Specified by:
      getProcessEngine in interface IProcessScope
      Returns:
      The process engine, never null.