Package com.suncode.pwfl.workflow
Class WorkflowContext
java.lang.Object
com.suncode.pwfl.workflow.WorkflowContext
- All Implemented Interfaces:
Context
- Direct Known Subclasses:
AcceptanceContext
,ApplicationContext
,DataChooserContext
,FunctionContext
,ValidationContext
Base class for workflow contexts i.e.
AcceptanceContext
, ValidationContext
.- Author:
- RafaĆ Nowacki 13 cze 2016
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
activateFunctionContext
(String processId, String activityId) protected static void
abstract void
abstract void
getActivityDelegations
(String activityId, String userName) Get Activity Delegations.name()
Returns this context name (for identification purposes)
-
Field Details
-
NAME
- See Also:
-
enableLog
protected boolean enableLog
-
-
Constructor Details
-
WorkflowContext
-
-
Method Details
-
name
Description copied from interface:Context
Returns this context name (for identification purposes) -
getProcessId
- Returns:
- Current processId
-
getActivityId
- Returns:
- Current activityId
-
getPackageId
- Returns:
- Current packageId
-
getProcessDefId
- Returns:
- Current processDefId
-
getActivityDefId
- Returns:
- Current activityDefId
-
activateFunctionContext
-
deactivateFunctionContext
protected static void deactivateFunctionContext() -
getActivityDelegations
Get Activity Delegations.- Parameters:
activityId
- activity iduserName
- user login- Returns:
- all activity delegations
-
disableLogging
public abstract void disableLogging() -
enableLogging
public abstract void enableLogging()
-