Class TaskResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.task.impl.TaskResourceImpl
- All Implemented Interfaces:
TaskResource
-
Field Summary
Modifier and TypeFieldDescriptionprotected ProcessEngine
protected com.fasterxml.jackson.databind.ObjectMapper
protected String
protected String
static final List<jakarta.ws.rs.core.Variant>
-
Constructor Summary
ConstructorDescriptionTaskResourceImpl
(ProcessEngine engine, String taskId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIdentityLink
(IdentityLinkDto identityLink) void
jakarta.ws.rs.core.Response
complete
(CompleteTaskDto dto) void
void
deleteIdentityLink
(IdentityLinkDto identityLink) void
deleteTask
(String id) jakarta.ws.rs.core.Response
getForm()
getFormVariables
(String variableNames, boolean deserializeValues) getIdentityLinks
(String type) jakarta.ws.rs.core.Response
getTask
(jakarta.ws.rs.core.Request request) protected Task
getTaskById
(String id) protected String
getTaskFormMediaType
(String taskId) void
void
void
resolve
(CompleteTaskDto dto) protected <V> V
runWithoutAuthorization
(Supplier<V> action) void
setAssignee
(UserIdDto dto) jakarta.ws.rs.core.Response
submit
(CompleteTaskDto dto) void
unclaim()
void
updateTask
(TaskDto taskDto)
-
Field Details
-
VARIANTS
-
engine
-
taskId
-
rootResourcePath
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
TaskResourceImpl
public TaskResourceImpl(ProcessEngine engine, String taskId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
claim
- Specified by:
claim
in interfaceTaskResource
-
unclaim
public void unclaim()- Specified by:
unclaim
in interfaceTaskResource
-
complete
- Specified by:
complete
in interfaceTaskResource
-
submit
- Specified by:
submit
in interfaceTaskResource
-
delegate
- Specified by:
delegate
in interfaceTaskResource
-
getTask
- Specified by:
getTask
in interfaceTaskResource
-
getJsonTask
-
getHalTask
-
getForm
- Specified by:
getForm
in interfaceTaskResource
-
getRenderedForm
public jakarta.ws.rs.core.Response getRenderedForm()- Specified by:
getRenderedForm
in interfaceTaskResource
-
resolve
- Specified by:
resolve
in interfaceTaskResource
-
setAssignee
- Specified by:
setAssignee
in interfaceTaskResource
-
getIdentityLinks
- Specified by:
getIdentityLinks
in interfaceTaskResource
-
addIdentityLink
- Specified by:
addIdentityLink
in interfaceTaskResource
-
deleteIdentityLink
- Specified by:
deleteIdentityLink
in interfaceTaskResource
-
getTaskCommentResource
- Specified by:
getTaskCommentResource
in interfaceTaskResource
-
getAttachmentResource
- Specified by:
getAttachmentResource
in interfaceTaskResource
-
getLocalVariables
- Specified by:
getLocalVariables
in interfaceTaskResource
-
getVariables
- Specified by:
getVariables
in interfaceTaskResource
-
getFormVariables
public Map<String,VariableValueDto> getFormVariables(String variableNames, boolean deserializeValues) - Specified by:
getFormVariables
in interfaceTaskResource
-
updateTask
- Specified by:
updateTask
in interfaceTaskResource
-
deleteTask
- Specified by:
deleteTask
in interfaceTaskResource
-
getDeployedForm
public jakarta.ws.rs.core.Response getDeployedForm()- Specified by:
getDeployedForm
in interfaceTaskResource
-
handleBpmnError
- Specified by:
handleBpmnError
in interfaceTaskResource
-
handleEscalation
- Specified by:
handleEscalation
in interfaceTaskResource
-
getTaskById
-
getTaskFormMediaType
-
runWithoutAuthorization
-