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 TypeMethodDescriptionvoidafterStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceAfterContext instanceContext) voidafterStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceAfterContext instanceContext) protected voidauditLog(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) voidbeforeStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceBeforeContext instanceContext) voidbeforeStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceBeforeContext instanceContext) protected voidcreateProcessIdentityLinks(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected booleanisCaseProcessInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) protected voidlog(org.flowable.engine.runtime.ProcessInstance processInstance, String auditDefinitionId, String category, String message) protected voidsetProcessInstanceBusinessKey(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected voidsetProcessInstanceBusinessStatus(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected voidsetProcessInstanceName(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected voidsetProcessInstanceSequenceVariable(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, org.flowable.bpmn.model.Process processModel) protected voidvalidateRequiredInputVariables(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, getSecurityPolicyModelMethods 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:
beforeStartProcessInstancein interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
afterStartProcessInstance
public void afterStartProcessInstance(org.flowable.engine.interceptor.StartProcessInstanceAfterContext instanceContext) - Specified by:
afterStartProcessInstancein 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:
beforeStartSubProcessInstancein interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
afterStartSubProcessInstance
public void afterStartSubProcessInstance(org.flowable.engine.interceptor.StartSubProcessInstanceAfterContext instanceContext) - Specified by:
afterStartSubProcessInstancein interfaceorg.flowable.engine.interceptor.StartProcessInstanceInterceptor
-
log
-
isCaseProcessInstance
protected boolean isCaseProcessInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) -
validateRequiredInputVariables
-