Class PlatformStartCaseInstanceInterceptor
java.lang.Object
com.flowable.platform.service.BasePlatformInterceptor
com.flowable.platform.service.BasePlatformCmmnInterceptor
com.flowable.platform.service.caze.PlatformStartCaseInstanceInterceptor
- All Implemented Interfaces:
StartCaseInstanceInterceptor
public class PlatformStartCaseInstanceInterceptor
extends BasePlatformCmmnInterceptor
implements StartCaseInstanceInterceptor
-
Field Summary
Fields inherited from class com.flowable.platform.service.BasePlatformInterceptor
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL, TRIM_COMMA_SEPARATED
-
Constructor Summary
ConstructorDescriptionPlatformStartCaseInstanceInterceptor
(String defaultSecurityPolicyKey, boolean auditLogEnable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterStartCaseInstance
(StartCaseInstanceAfterContext instanceContext) protected void
auditLog
(CaseInstanceEntity caseInstance, Case caseModel) void
beforeStartCaseInstance
(StartCaseInstanceBeforeContext instanceContext) protected void
createIdentityLinks
(CaseInstanceEntity caseInstance, Case caseModel) protected Process
getProcessModel
(String processDefinitionId) protected String
getRootTemplate
(String caseInstanceId, CmmnEngineConfiguration cmmnEngineConfiguration) protected void
log
(CaseInstance caseInstance, String auditDefinitionId, String category, String message) protected void
setCaseInstanceBusinessKey
(CaseInstanceEntity caseInstance, Case caseModel) protected void
setCaseInstanceBusinessStatus
(CaseInstanceEntity caseInstance, Case caseModel) protected void
setCaseInstanceName
(CaseInstanceEntity caseInstance, Case caseModel) protected void
setCaseInstanceSequenceVariable
(CaseInstanceEntity caseInstance, Case caseModel) protected void
validateRequiredInputVariables
(Case caseModel, Map<String, Object> variables) Methods inherited from class com.flowable.platform.service.BasePlatformCmmnInterceptor
createCaseIdentityLink, createCaseIdentityLinks, createCaseIdentityLinkWithValue, createGroupIdentityLinks, createGroupTaskIdentityLinks, createIdentityLinks, createPlanItemIdentityLinks, createPlanItemIdentityLinkWithValue, createTranslations, createUserIdentityLinks, createUserTaskIdentityLinks, getCaseModel, getExpressionManager, getExtensionElement, getExtensionElementList, getExtensionElementValue, getExtensionElementValue, getIdentityLinkService, getSecurityPolicyModel
Methods inherited from class com.flowable.platform.service.BasePlatformInterceptor
createIdentityLinkWithValue, createTranslation, getDefaultSecurityPolicyModel, getExpressionCollectionValue, getExpressionStringValue, getExpressionValue, getSecurityPolicyModelByKey
-
Field Details
-
auditLogEnable
protected boolean auditLogEnable
-
-
Constructor Details
-
PlatformStartCaseInstanceInterceptor
public PlatformStartCaseInstanceInterceptor(String defaultSecurityPolicyKey, boolean auditLogEnable)
-
-
Method Details
-
beforeStartCaseInstance
- Specified by:
beforeStartCaseInstance
in interfaceStartCaseInstanceInterceptor
-
afterStartCaseInstance
- Specified by:
afterStartCaseInstance
in interfaceStartCaseInstanceInterceptor
-
createIdentityLinks
-
setCaseInstanceSequenceVariable
-
setCaseInstanceName
-
setCaseInstanceBusinessKey
-
setCaseInstanceBusinessStatus
-
auditLog
-
getRootTemplate
protected String getRootTemplate(String caseInstanceId, CmmnEngineConfiguration cmmnEngineConfiguration) -
getProcessModel
-
log
protected void log(CaseInstance caseInstance, String auditDefinitionId, String category, String message) -
validateRequiredInputVariables
-