Class PlatformCreateHumanTaskInterceptor
java.lang.Object
com.flowable.platform.service.BasePlatformInterceptor
com.flowable.platform.service.BasePlatformCmmnInterceptor
com.flowable.platform.service.task.PlatformCreateHumanTaskInterceptor
- All Implemented Interfaces:
CreateHumanTaskInterceptor
,Aware
,ApplicationContextAware
public class PlatformCreateHumanTaskInterceptor
extends BasePlatformCmmnInterceptor
implements CreateHumanTaskInterceptor, ApplicationContextAware
-
Field Summary
Modifier and TypeFieldDescriptionprotected ApplicationContext
protected boolean
protected boolean
Fields inherited from class com.flowable.platform.service.BasePlatformInterceptor
defaultSecurityPolicyKey, defaultSecurityPolicyModel, SECURITY_POLICY_MODEL, TRIM_COMMA_SEPARATED
-
Constructor Summary
ConstructorDescriptionPlatformCreateHumanTaskInterceptor
(String defaultSecurityPolicyKey, boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected ActionEngineConfiguration
getActionEngineConfiguration
(CmmnEngineConfiguration cmmnEngineConfiguration) protected void
handleSlaConfig
(TaskEntity taskEntity) void
setApplicationContext
(ApplicationContext applicationContext) 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
-
enableSlaAuditInstance
protected boolean enableSlaAuditInstance -
enableSlaAuditInstanceToElastic
protected boolean enableSlaAuditInstanceToElastic -
applicationContext
-
-
Constructor Details
-
PlatformCreateHumanTaskInterceptor
public PlatformCreateHumanTaskInterceptor(String defaultSecurityPolicyKey, boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic)
-
-
Method Details
-
beforeCreateHumanTask
- Specified by:
beforeCreateHumanTask
in interfaceCreateHumanTaskInterceptor
-
afterCreateHumanTask
- Specified by:
afterCreateHumanTask
in interfaceCreateHumanTaskInterceptor
-
handleSlaConfig
-
getActionEngineConfiguration
protected ActionEngineConfiguration getActionEngineConfiguration(CmmnEngineConfiguration cmmnEngineConfiguration) -
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-