Class PlatformUserTaskStateInterceptor
java.lang.Object
com.flowable.platform.service.task.PlatformUserTaskStateInterceptor
- All Implemented Interfaces:
UserTaskStateInterceptor
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
-
Constructor Summary
ConstructorDescriptionPlatformUserTaskStateInterceptor
(boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected LocalDateTime
convertToLocalDateTime
(Date date) createJobStepMap
(List<Job> timerJobs, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected PlatformRuntimeService
protected String
void
handleClaim
(TaskEntity task, String userId) void
handleComplete
(TaskEntity task, String userId) void
handleCompleteWithForm
(TaskEntity task, FormInfo formInfo, String userId, String outcome, Map<String, Object> payload) void
handleInProgressStart
(TaskEntity task, String userId) void
handleUnclaim
(TaskEntity task, String userId) protected void
updateSlaAuditInstanceForClaim
(TaskEntity task, String userId) protected void
updateSlaAuditInstanceForComplete
(TaskEntity task, String userId) protected void
updateSlaAuditInstanceForInProgressStart
(TaskEntity task, String userId) protected void
protected void
updateSlaAuditInstanceWithBuilder
(String slaAuditInstanceId, String tenantId, UpdateSlaAuditInstanceBuilder slaAuditInstanceBuilder, com.fasterxml.jackson.databind.ObjectMapper objectMapper, JobServiceConfiguration jobServiceConfiguration)
-
Field Details
-
enableSlaAuditInstance
protected boolean enableSlaAuditInstance -
enableSlaAuditInstanceToElastic
protected boolean enableSlaAuditInstanceToElastic
-
-
Constructor Details
-
PlatformUserTaskStateInterceptor
public PlatformUserTaskStateInterceptor(boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic)
-
-
Method Details
-
handleInProgressStart
- Specified by:
handleInProgressStart
in interfaceUserTaskStateInterceptor
-
handleClaim
- Specified by:
handleClaim
in interfaceUserTaskStateInterceptor
-
handleUnclaim
- Specified by:
handleUnclaim
in interfaceUserTaskStateInterceptor
-
handleComplete
- Specified by:
handleComplete
in interfaceUserTaskStateInterceptor
-
handleCompleteWithForm
public void handleCompleteWithForm(TaskEntity task, FormInfo formInfo, String userId, String outcome, Map<String, Object> payload) - Specified by:
handleCompleteWithForm
in interfaceUserTaskStateInterceptor
-
cleanupInProgressStartTimers
-
cleanupCompletionTimers
-
updateSlaAuditInstanceForInProgressStart
-
updateSlaAuditInstanceForClaim
-
updateSlaAuditInstanceForUnclaim
-
updateSlaAuditInstanceForComplete
-
updateSlaAuditInstanceWithBuilder
protected void updateSlaAuditInstanceWithBuilder(String slaAuditInstanceId, String tenantId, UpdateSlaAuditInstanceBuilder slaAuditInstanceBuilder, com.fasterxml.jackson.databind.ObjectMapper objectMapper, JobServiceConfiguration jobServiceConfiguration) -
createJobStepMap
-
getSlaAuditInstanceId
-
convertToLocalDateTime
-
getPlatformRuntimeService
-