Package com.flowable.core.service.task
Class CoreTaskService
- java.lang.Object
-
- com.flowable.core.service.task.CoreTaskService
-
@Transactional public class CoreTaskService extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.cmmn.api.CmmnHistoryServicecmmnHistoryServiceprotected org.flowable.cmmn.api.CmmnRuntimeServicecmmnRuntimeServiceprotected org.flowable.cmmn.api.CmmnTaskServicecmmnTaskServiceprotected FlowableFormDecoratorInvokerformDecoratorInvokerprotected org.flowable.form.api.FormServiceformServiceprotected org.flowable.engine.HistoryServicehistoryServiceprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected org.flowable.engine.RuntimeServiceruntimeServiceprotected org.flowable.engine.TaskServicetaskService
-
Constructor Summary
Constructors Constructor Description CoreTaskService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleteTaskForm(java.lang.String taskId, CompleteFormRepresentation formRepresentation)org.flowable.form.api.FormInfogetTaskForm(java.lang.String taskId)java.util.Map<java.lang.String,java.lang.Object>getTaskVariables(java.lang.String taskId)voidsaveTaskForm(java.lang.String taskId, SaveFormRepresentation saveFormRepresentation)
-
-
-
Field Detail
-
taskService
@Autowired protected org.flowable.engine.TaskService taskService
-
cmmnTaskService
@Autowired protected org.flowable.cmmn.api.CmmnTaskService cmmnTaskService
-
runtimeService
@Autowired protected org.flowable.engine.RuntimeService runtimeService
-
cmmnRuntimeService
@Autowired protected org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService
-
historyService
@Autowired protected org.flowable.engine.HistoryService historyService
-
cmmnHistoryService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService
-
formService
@Autowired protected org.flowable.form.api.FormService formService
-
formDecoratorInvoker
@Autowired(required=false) protected FlowableFormDecoratorInvoker formDecoratorInvoker
-
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Method Detail
-
getTaskVariables
public java.util.Map<java.lang.String,java.lang.Object> getTaskVariables(java.lang.String taskId)
-
getTaskForm
public org.flowable.form.api.FormInfo getTaskForm(java.lang.String taskId)
-
completeTaskForm
public void completeTaskForm(java.lang.String taskId, CompleteFormRepresentation formRepresentation)
-
saveTaskForm
public void saveTaskForm(java.lang.String taskId, SaveFormRepresentation saveFormRepresentation)
-
-