Class TaskResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.task.impl.TaskResourceImpl
- All Implemented Interfaces:
TaskResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProcessEngineprotected com.fasterxml.jackson.databind.ObjectMapperprotected Stringprotected Stringstatic final List<jakarta.ws.rs.core.Variant>protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionTaskResourceImpl(ProcessEngine engine, String taskId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean withCommentAttachmentInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdentityLink(IdentityLinkDto identityLink) voidjakarta.ws.rs.core.Responsecomplete(CompleteTaskDto dto) voidvoiddeleteIdentityLink(IdentityLinkDto identityLink) voiddeleteTask(String id) jakarta.ws.rs.core.ResponsegetForm()getFormVariables(String variableNames, boolean deserializeValues) getIdentityLinks(String type) jakarta.ws.rs.core.ResponsegetTask(jakarta.ws.rs.core.Request request) protected TaskgetTaskById(String id, boolean withCommentAttachmentInfo) protected StringgetTaskFormMediaType(String taskId) voidvoidvoidresolve(CompleteTaskDto dto) protected <V> VrunWithoutAuthorization(Supplier<V> action) voidsetAssignee(UserIdDto dto) jakarta.ws.rs.core.Responsesubmit(CompleteTaskDto dto) voidunclaim()voidupdateTask(TaskDto taskDto)
-
Field Details
-
VARIANTS
-
engine
-
taskId
-
rootResourcePath
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
withCommentAttachmentInfo
protected boolean withCommentAttachmentInfo
-
-
Constructor Details
-
TaskResourceImpl
public TaskResourceImpl(ProcessEngine engine, String taskId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean withCommentAttachmentInfo)
-
-
Method Details
-
claim
- Specified by:
claimin interfaceTaskResource
-
unclaim
public void unclaim()- Specified by:
unclaimin interfaceTaskResource
-
complete
- Specified by:
completein interfaceTaskResource
-
submit
- Specified by:
submitin interfaceTaskResource
-
delegate
- Specified by:
delegatein interfaceTaskResource
-
getTask
- Specified by:
getTaskin interfaceTaskResource
-
getJsonTask
-
getHalTask
-
getForm
- Specified by:
getFormin interfaceTaskResource
-
getRenderedForm
public jakarta.ws.rs.core.Response getRenderedForm()- Specified by:
getRenderedFormin interfaceTaskResource
-
resolve
- Specified by:
resolvein interfaceTaskResource
-
setAssignee
- Specified by:
setAssigneein interfaceTaskResource
-
getIdentityLinks
- Specified by:
getIdentityLinksin interfaceTaskResource
-
addIdentityLink
- Specified by:
addIdentityLinkin interfaceTaskResource
-
deleteIdentityLink
- Specified by:
deleteIdentityLinkin interfaceTaskResource
-
getTaskCommentResource
- Specified by:
getTaskCommentResourcein interfaceTaskResource
-
getAttachmentResource
- Specified by:
getAttachmentResourcein interfaceTaskResource
-
getLocalVariables
- Specified by:
getLocalVariablesin interfaceTaskResource
-
getVariables
- Specified by:
getVariablesin interfaceTaskResource
-
getFormVariables
public Map<String,VariableValueDto> getFormVariables(String variableNames, boolean deserializeValues) - Specified by:
getFormVariablesin interfaceTaskResource
-
updateTask
- Specified by:
updateTaskin interfaceTaskResource
-
deleteTask
- Specified by:
deleteTaskin interfaceTaskResource
-
getDeployedForm
public jakarta.ws.rs.core.Response getDeployedForm()- Specified by:
getDeployedFormin interfaceTaskResource
-
handleBpmnError
- Specified by:
handleBpmnErrorin interfaceTaskResource
-
handleEscalation
- Specified by:
handleEscalationin interfaceTaskResource
-
getTaskById
-
getTaskFormMediaType
-
runWithoutAuthorization
-