Interface TaskResource
- All Known Implementing Classes:
TaskResourceImpl
public interface TaskResource
-
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) void
void
void
resolve
(CompleteTaskDto dto) void
setAssignee
(UserIdDto dto) jakarta.ws.rs.core.Response
submit
(CompleteTaskDto dto) void
unclaim()
void
updateTask
(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)
-