Class PlatformStartProcessInstanceInterceptor
java.lang.Object
com.flowable.platform.service.BasePlatformInterceptor
com.flowable.platform.service.BasePlatformBpmnInterceptor
com.flowable.platform.service.process.PlatformStartProcessInstanceInterceptor
- All Implemented Interfaces:
org.flowable.engine.interceptor.StartProcessInstanceInterceptor
public class PlatformStartProcessInstanceInterceptor
extends BasePlatformBpmnInterceptor
implements org.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
Field Summary
FieldsFields inherited from class com.flowable.platform.service.BasePlatformInterceptor
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL, TRIM_COMMA_SEPARATED
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformStartProcessInstanceInterceptor
(String defaultSecurityPolicyKey, boolean enableAuditLog) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterStartProcessInstance
(org.flowable.engine.interceptor.StartProcessInstanceAfterContext instanceContext) void
afterStartSubProcessInstance
(org.flowable.engine.interceptor.StartSubProcessInstanceAfterContext instanceContext) protected void
auditLog
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) void
beforeStartProcessInstance
(org.flowable.engine.interceptor.StartProcessInstanceBeforeContext instanceContext) void
beforeStartSubProcessInstance
(org.flowable.engine.interceptor.StartSubProcessInstanceBeforeContext instanceContext) protected void
createProcessIdentityLinks
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected boolean
isCaseProcessInstance
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) protected void
log
(org.flowable.engine.runtime.ProcessInstance processInstance, String auditDefinitionId, String category, String message) protected void
setProcessInstanceBusinessKey
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected void
setProcessInstanceBusinessStatus
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected void
setProcessInstanceName
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected void
setProcessInstanceSequenceVariable
(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected void
validateRequiredInputVariables
(org.flowable.bpmn.model.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
public void beforeStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceBeforeContext instanceContext) - Specified by:
beforeStartProcessInstance
in interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
afterStartProcessInstance
public void afterStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceAfterContext instanceContext) - Specified by:
afterStartProcessInstance
in interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
auditLog
protected void auditLog(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) -
createProcessIdentityLinks
protected void createProcessIdentityLinks(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) -
setProcessInstanceSequenceVariable
protected void setProcessInstanceSequenceVariable(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) -
setProcessInstanceName
protected void setProcessInstanceName(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) -
setProcessInstanceBusinessKey
protected void setProcessInstanceBusinessKey(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) -
setProcessInstanceBusinessStatus
protected void setProcessInstanceBusinessStatus(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) -
beforeStartSubProcessInstance
public void beforeStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceBeforeContext instanceContext) - Specified by:
beforeStartSubProcessInstance
in interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
afterStartSubProcessInstance
public void afterStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceAfterContext instanceContext) - Specified by:
afterStartSubProcessInstance
in interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
log
-
isCaseProcessInstance
protected boolean isCaseProcessInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) -
validateRequiredInputVariables
-