Package com.aquima.interactions.portal
Interface IProcessScope
- All Known Implementing Classes:
ProcessScope
,ProcessScopeDelegate
,ReadonlyProcessScope
Deprecated.
The process scope is intended to store the 'active' case or task in the session. Process related
services, such as AQ_GetCaseInfo or AQ_GetTaskStatus can use this when the optional case or task id is
not provided. This usage is discouraged: be explicit about the tasks and cases that you want to
manipulate. In DCM 2.0, this concept is no longer used. The case or task to which something should happen
always needs to be explicitly specified.
This process scope manages process element activation, and holds the process engine.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateProcessCase
(long id) Deprecated.This method activates a process case.void
activateProcessTask
(long id) Deprecated.This method activates a process task.void
addAffectedCases
(long[] ids) Deprecated.This method stores created and updated casesvoid
Deprecated.void
Deprecated.This method clears the current active process task.void
Deprecated.This method clears the updated cases that are storedlong
Deprecated.This method returns the current active process case.long
Deprecated.This method returns the current active process task.long[]
Deprecated.This method returns the updated and created casesDeprecated.This method return the process engine.
-
Method Details
-
activateProcessCase
void activateProcessCase(long id) Deprecated.This method activates a process case.- Parameters:
id
- The id of the process case to activate, may not be null.
-
activateProcessTask
void activateProcessTask(long id) Deprecated.This method activates a process task.- Parameters:
id
- The id of the process task to activate, may not be null.
-
addAffectedCases
void addAffectedCases(long[] ids) Deprecated.This method stores created and updated cases- Parameters:
ids
- The ids of the process cases to store, may not be null.
-
clearActiveProcessCase
void clearActiveProcessCase()Deprecated. -
clearActiveProcessTask
void clearActiveProcessTask()Deprecated.This method clears the current active process task. -
clearAffectedCases
void clearAffectedCases()Deprecated.This method clears the updated cases that are stored -
getActiveProcessCase
long getActiveProcessCase()Deprecated.This method returns the current active process case.- Returns:
- The GUID of the current active process case, never null.
- Throws:
NotActivatedException
- Is thrown when no process case is active.
-
getActiveProcessTask
long getActiveProcessTask()Deprecated.This method returns the current active process task.- Returns:
- The ID of the current active process task.
- Throws:
NotActivatedException
- Is thrown when no process task is active.
-
getAffectedCases
long[] getAffectedCases()Deprecated.This method returns the updated and created cases- Returns:
- The ids of the updated\created cases
-
getProcessEngine
IProcessEngine getProcessEngine()Deprecated.This method return the process engine.- Returns:
- The process engine, never null.
-