public interface TaskResource
@GET @Produces(value={"application/json","application/hal+json"}) Object getTask(@Context javax.ws.rs.core.Request request)
@GET @Path(value="/form") @Produces(value="application/json") FormDto getForm()
@POST @Path(value="/submit-form") @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response submit(CompleteTaskDto dto)
@GET @Path(value="/rendered-form") @Produces(value="application/xhtml+xml") javax.ws.rs.core.Response getRenderedForm()
@GET @Path(value="/deployed-form") javax.ws.rs.core.Response getDeployedForm()
@POST @Path(value="/claim") @Consumes(value="application/json") void claim(UserIdDto dto)
@POST @Path(value="/unclaim") void unclaim()
@POST @Path(value="/complete") @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response complete(CompleteTaskDto dto)
@POST @Path(value="/resolve") @Consumes(value="application/json") void resolve(CompleteTaskDto dto)
@POST @Path(value="/delegate") @Consumes(value="application/json") void delegate(UserIdDto delegatedUser)
@POST @Path(value="/assignee") @Consumes(value="application/json") void setAssignee(UserIdDto dto)
@GET @Path(value="/identity-links") @Produces(value="application/json") List<IdentityLinkDto> getIdentityLinks(@QueryParam(value="type") String type)
@POST @Path(value="/identity-links") @Consumes(value="application/json") void addIdentityLink(IdentityLinkDto identityLink)
@POST @Path(value="/identity-links/delete") @Consumes(value="application/json") void deleteIdentityLink(IdentityLinkDto identityLink)
@Path(value="/comment") TaskCommentResource getTaskCommentResource()
@Path(value="/attachment") TaskAttachmentResource getAttachmentResource()
@Path(value="/variables") VariableResource getVariables()
@Path(value="/localVariables") VariableResource getLocalVariables()
@GET @Path(value="/form-variables") @Produces(value="application/json") Map<String,VariableValueDto> getFormVariables(@QueryParam(value="variableNames") String variableNames, @QueryParam(value="deserializeValues") @DefaultValue(value="true") boolean deserializeValues)
@PUT @Consumes(value="application/json") void updateTask(TaskDto task)
@DELETE void deleteTask(@PathParam(value="id") String id)
@POST @Path(value="/bpmnError") @Consumes(value="application/json") void handleBpmnError(TaskBpmnErrorDto dto)
@POST @Path(value="/bpmnEscalation") @Consumes(value="application/json") void handleEscalation(TaskEscalationDto dto)
Copyright © 2021. All rights reserved.