Interface TaskResource
- All Known Implementing Classes:
TaskResourceImpl
public interface TaskResource
-
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) voidvoidvoidresolve(CompleteTaskDto dto) voidsetAssignee(UserIdDto dto) jakarta.ws.rs.core.Responsesubmit(CompleteTaskDto dto) voidunclaim()voidupdateTask(TaskDto task)
-
Method Details
-
getTask
@GET @Produces({"application/json","application/hal+json"}) Object getTask(@Context jakarta.ws.rs.core.Request request) -
getForm
-
submit
@POST @Path("/submit-form") @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response submit(CompleteTaskDto dto) -
getRenderedForm
@GET @Path("/rendered-form") @Produces("application/xhtml+xml") jakarta.ws.rs.core.Response getRenderedForm() -
getDeployedForm
@GET @Path("/deployed-form") jakarta.ws.rs.core.Response getDeployedForm() -
claim
-
unclaim
@POST @Path("/unclaim") void unclaim() -
complete
@POST @Path("/complete") @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response complete(CompleteTaskDto dto) -
resolve
-
delegate
-
setAssignee
-
getIdentityLinks
@GET @Path("/identity-links") @Produces("application/json") List<IdentityLinkDto> getIdentityLinks(@QueryParam("type") String type) -
addIdentityLink
@POST @Path("/identity-links") @Consumes("application/json") void addIdentityLink(IdentityLinkDto identityLink) -
deleteIdentityLink
@POST @Path("/identity-links/delete") @Consumes("application/json") void deleteIdentityLink(IdentityLinkDto identityLink) -
getTaskCommentResource
-
getAttachmentResource
-
getVariables
-
getLocalVariables
-
getFormVariables
@GET @Path("/form-variables") @Produces("application/json") Map<String,VariableValueDto> getFormVariables(@QueryParam("variableNames") String variableNames, @QueryParam("deserializeValues") @DefaultValue("true") boolean deserializeValues) -
updateTask
-
deleteTask
-
handleBpmnError
-
handleEscalation
@POST @Path("/bpmnEscalation") @Consumes("application/json") void handleEscalation(TaskEscalationDto dto)
-