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
Fields Modifier and Type Field Description protected boolean
enableAuditLog
Fields inherited from class com.flowable.platform.service.BasePlatformInterceptor
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL
-
Constructor Summary
Constructors Constructor Description PlatformStartProcessInstanceInterceptor(java.lang.String defaultSecurityPolicyKey, boolean enableAuditLog)
-
Method Summary
Modifier and Type Method 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, java.lang.String auditDefinitionId, java.lang.String category, java.lang.String message)
protected void
setProcessInstanceName(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel)
Methods inherited from class com.flowable.platform.service.BasePlatformBpmnInterceptor
createGroupIdentityLinks, createGroupTaskIdentityLinks, createIdentityLinks, createProcessIdentityLinks, createProcessIdentityLinkWithValue, createTranslations, createUserIdentityLinks, createUserTaskIdentityLinks, getExpressionManager, getExtensionElementList, 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(java.lang.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) -
setProcessInstanceName
protected void setProcessInstanceName(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
protected void log(org.flowable.engine.runtime.ProcessInstance processInstance, java.lang.String auditDefinitionId, java.lang.String category, java.lang.String message) -
isCaseProcessInstance
protected boolean isCaseProcessInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
-