Class PlatformStartProcessInstanceInterceptor
java.lang.Object
com.flowable.platform.service.BasePlatformInterceptor
com.flowable.platform.service.BasePlatformBpmnInterceptor
com.flowable.platform.service.process.PlatformStartProcessInstanceInterceptor
- All Implemented Interfaces:
StartProcessInstanceInterceptor
public class PlatformStartProcessInstanceInterceptor
extends BasePlatformBpmnInterceptor
implements StartProcessInstanceInterceptor
-
Field Summary
Fields inherited from class com.flowable.platform.service.BasePlatformInterceptor
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL, TRIM_COMMA_SEPARATED
-
Constructor Summary
ConstructorDescriptionPlatformStartProcessInstanceInterceptor
(String defaultSecurityPolicyKey, boolean enableAuditLog) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterStartProcessInstance
(StartProcessInstanceAfterContext instanceContext) void
afterStartSubProcessInstance
(StartSubProcessInstanceAfterContext instanceContext) protected void
auditLog
(ExecutionEntity processInstance, Process processModel) void
beforeStartProcessInstance
(StartProcessInstanceBeforeContext instanceContext) void
beforeStartSubProcessInstance
(StartSubProcessInstanceBeforeContext instanceContext) protected void
createProcessIdentityLinks
(ExecutionEntity processInstance, Process processModel) protected boolean
isCaseProcessInstance
(ExecutionEntity processInstance) protected void
log
(ProcessInstance processInstance, String auditDefinitionId, String category, String message) protected void
setProcessInstanceBusinessKey
(ExecutionEntity processInstance, Process processModel) protected void
setProcessInstanceBusinessStatus
(ExecutionEntity processInstance, Process processModel) protected void
setProcessInstanceName
(ExecutionEntity processInstance, Process processModel) protected void
setProcessInstanceSequenceVariable
(ExecutionEntity processInstance, Process processModel) protected void
validateRequiredInputVariables
(Process process, Map<String, Object> variables) Methods inherited from class com.flowable.platform.service.BasePlatformBpmnInterceptor
createGroupIdentityLinks, createGroupTaskIdentityLinks, createIdentityLinks, createProcessIdentityLinks, createProcessIdentityLinkWithValue, createTranslations, createUserIdentityLinks, createUserTaskIdentityLinks, getExpressionManager, getExtensionElement, getExtensionElementList, getExtensionElementValue, getExtensionElementValue, getIdentityLinkService, getProcessModel, getSecurityPolicyModel
Methods inherited from class com.flowable.platform.service.BasePlatformInterceptor
createIdentityLinkWithValue, createTranslation, getDefaultSecurityPolicyModel, getExpressionCollectionValue, getExpressionStringValue, getExpressionValue, getSecurityPolicyModelByKey
-
Field Details
-
enableAuditLog
protected boolean enableAuditLog
-
-
Constructor Details
-
PlatformStartProcessInstanceInterceptor
public PlatformStartProcessInstanceInterceptor(String defaultSecurityPolicyKey, boolean enableAuditLog)
-
-
Method Details
-
beforeStartProcessInstance
- Specified by:
beforeStartProcessInstance
in interfaceStartProcessInstanceInterceptor
-
afterStartProcessInstance
- Specified by:
afterStartProcessInstance
in interfaceStartProcessInstanceInterceptor
-
auditLog
-
createProcessIdentityLinks
-
setProcessInstanceSequenceVariable
protected void setProcessInstanceSequenceVariable(ExecutionEntity processInstance, Process processModel) -
setProcessInstanceName
-
setProcessInstanceBusinessKey
-
setProcessInstanceBusinessStatus
protected void setProcessInstanceBusinessStatus(ExecutionEntity processInstance, Process processModel) -
beforeStartSubProcessInstance
- Specified by:
beforeStartSubProcessInstance
in interfaceStartProcessInstanceInterceptor
-
afterStartSubProcessInstance
- Specified by:
afterStartSubProcessInstance
in interfaceStartProcessInstanceInterceptor
-
log
protected void log(ProcessInstance processInstance, String auditDefinitionId, String category, String message) -
isCaseProcessInstance
-
validateRequiredInputVariables
-