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 Modifier and Type Field Description protected booleanauditLogEnable-
Fields inherited from class com.flowable.platform.service.BasePlatformInterceptor
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL, TRIM_COMMA_SEPARATED
-
-
Constructor Summary
Constructors Constructor Description PlatformStartCaseInstanceInterceptor(String defaultSecurityPolicyKey, boolean auditLogEnable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterStartCaseInstance(StartCaseInstanceAfterContext instanceContext)protected voidauditLog(CaseInstanceEntity caseInstance, Case caseModel)voidbeforeStartCaseInstance(StartCaseInstanceBeforeContext instanceContext)protected voidcreateIdentityLinks(CaseInstanceEntity caseInstance, Case caseModel)protected ProcessgetProcessModel(String processDefinitionId)protected StringgetRootTemplate(String caseInstanceId, CmmnEngineConfiguration cmmnEngineConfiguration)protected voidlog(CaseInstance caseInstance, String auditDefinitionId, String category, String message)protected voidsetCaseInstanceBusinessKey(CaseInstanceEntity caseInstance, Case caseModel)protected voidsetCaseInstanceBusinessStatus(CaseInstanceEntity caseInstance, Case caseModel)protected voidsetCaseInstanceName(CaseInstanceEntity caseInstance, Case caseModel)protected voidsetCaseInstanceSequenceVariable(CaseInstanceEntity caseInstance, Case caseModel)-
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
-
-
-
-
Constructor Detail
-
PlatformStartCaseInstanceInterceptor
public PlatformStartCaseInstanceInterceptor(String defaultSecurityPolicyKey, boolean auditLogEnable)
-
-
Method Detail
-
beforeStartCaseInstance
public void beforeStartCaseInstance(StartCaseInstanceBeforeContext instanceContext)
- Specified by:
beforeStartCaseInstancein interfaceStartCaseInstanceInterceptor
-
afterStartCaseInstance
public void afterStartCaseInstance(StartCaseInstanceAfterContext instanceContext)
- Specified by:
afterStartCaseInstancein interfaceStartCaseInstanceInterceptor
-
createIdentityLinks
protected void createIdentityLinks(CaseInstanceEntity caseInstance, Case caseModel)
-
setCaseInstanceSequenceVariable
protected void setCaseInstanceSequenceVariable(CaseInstanceEntity caseInstance, Case caseModel)
-
setCaseInstanceName
protected void setCaseInstanceName(CaseInstanceEntity caseInstance, Case caseModel)
-
setCaseInstanceBusinessKey
protected void setCaseInstanceBusinessKey(CaseInstanceEntity caseInstance, Case caseModel)
-
setCaseInstanceBusinessStatus
protected void setCaseInstanceBusinessStatus(CaseInstanceEntity caseInstance, Case caseModel)
-
auditLog
protected void auditLog(CaseInstanceEntity caseInstance, Case caseModel)
-
getRootTemplate
protected String getRootTemplate(String caseInstanceId, CmmnEngineConfiguration cmmnEngineConfiguration)
-
log
protected void log(CaseInstance caseInstance, String auditDefinitionId, String category, String message)
-
-