public class PlatformStartProcessInstanceInterceptor extends BasePlatformBpmnInterceptor implements org.flowable.engine.interceptor.StartProcessInstanceInterceptor
Modifier and Type | Field and Description |
---|---|
protected boolean |
enableAuditLog |
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL
Constructor and Description |
---|
PlatformStartProcessInstanceInterceptor(String defaultSecurityPolicyKey,
boolean enableAuditLog) |
Modifier and Type | Method and Description |
---|---|
void |
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 |
setProcessInstanceName(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance,
org.flowable.bpmn.model.Process processModel) |
createProcessIdentityLink, createProcessIdentityLinks, createProcessIdentityLinkWithValue, createTaskIdentityLink, createTaskIdentityLinks, createTaskIdentityLinkWithValue, createTranslations, getExpressionValue, getExtensionElementList, getExtensionElementValue, getProcessModel, getSecurityPolicyModel
createTranslation, getDefaultSecurityPolicyModel, getSecurityPolicyModelByKey
public PlatformStartProcessInstanceInterceptor(String defaultSecurityPolicyKey, boolean enableAuditLog)
public void beforeStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceBeforeContext instanceContext)
beforeStartProcessInstance
in interface org.flowable.engine.interceptor.StartProcessInstanceInterceptor
public void afterStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceAfterContext instanceContext)
afterStartProcessInstance
in interface org.flowable.engine.interceptor.StartProcessInstanceInterceptor
protected void auditLog(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel)
protected void createProcessIdentityLinks(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)
public void beforeStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceBeforeContext instanceContext)
beforeStartSubProcessInstance
in interface org.flowable.engine.interceptor.StartProcessInstanceInterceptor
public void afterStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceAfterContext instanceContext)
afterStartSubProcessInstance
in interface org.flowable.engine.interceptor.StartProcessInstanceInterceptor
protected void log(org.flowable.engine.runtime.ProcessInstance processInstance, String auditDefinitionId, String category, String message)
protected boolean isCaseProcessInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
Copyright © 2019. All rights reserved.