Interface TaskResource

  • All Known Implementing Classes:
    TaskResourceImpl

    public interface TaskResource
    • Method Detail

      • getTask

        @GET
        @Produces({"application/json","application/hal+json"})
        java.lang.Object getTask​(@Context
                                 javax.ws.rs.core.Request request)
      • getForm

        @GET
        @Path("/form")
        @Produces("application/json")
        FormDto getForm()
      • submit

        @POST
        @Path("/submit-form")
        @Consumes("application/json")
        @Produces("application/json")
        javax.ws.rs.core.Response submit​(CompleteTaskDto dto)
      • getRenderedForm

        @GET
        @Path("/rendered-form")
        @Produces("application/xhtml+xml")
        javax.ws.rs.core.Response getRenderedForm()
      • getDeployedForm

        @GET
        @Path("/deployed-form")
        javax.ws.rs.core.Response getDeployedForm()
      • claim

        @POST
        @Path("/claim")
        @Consumes("application/json")
        void claim​(UserIdDto dto)
      • unclaim

        @POST
        @Path("/unclaim")
        void unclaim()
      • complete

        @POST
        @Path("/complete")
        @Consumes("application/json")
        @Produces("application/json")
        javax.ws.rs.core.Response complete​(CompleteTaskDto dto)
      • resolve

        @POST
        @Path("/resolve")
        @Consumes("application/json")
        void resolve​(CompleteTaskDto dto)
      • delegate

        @POST
        @Path("/delegate")
        @Consumes("application/json")
        void delegate​(UserIdDto delegatedUser)
      • setAssignee

        @POST
        @Path("/assignee")
        @Consumes("application/json")
        void setAssignee​(UserIdDto dto)
      • getIdentityLinks

        @GET
        @Path("/identity-links")
        @Produces("application/json")
        java.util.List<IdentityLinkDto> getIdentityLinks​(@QueryParam("type")
                                                         java.lang.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)
      • getLocalVariables

        @Path("/localVariables")
        VariableResource getLocalVariables()
      • getFormVariables

        @GET
        @Path("/form-variables")
        @Produces("application/json")
        java.util.Map<java.lang.String,​VariableValueDto> getFormVariables​(@QueryParam("variableNames")
                                                                                java.lang.String variableNames,
                                                                                @QueryParam("deserializeValues") @DefaultValue("true")
                                                                                boolean deserializeValues)
      • updateTask

        @PUT
        @Consumes("application/json")
        void updateTask​(TaskDto task)
      • deleteTask

        @DELETE
        void deleteTask​(@PathParam("id")
                        java.lang.String id)
      • handleBpmnError

        @POST
        @Path("/bpmnError")
        @Consumes("application/json")
        void handleBpmnError​(TaskBpmnErrorDto dto)
      • handleEscalation

        @POST
        @Path("/bpmnEscalation")
        @Consumes("application/json")
        void handleEscalation​(TaskEscalationDto dto)