Class ProcessInstanceRestService

    • Field Detail

      • objectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • Constructor Detail

      • ProcessInstanceRestService

        public ProcessInstanceRestService​(java.lang.String engineName)
    • Method Detail

      • getProcessInstance

        @Path("/{id}")
        public ProcessInstanceResource getProcessInstance​(@PathParam("id")
                                                          java.lang.String id)
      • getProcessInstances

        @GET
        @Produces("application/json")
        public java.util.List<ProcessInstanceDto> getProcessInstances​(@Context
                                                                      javax.ws.rs.core.UriInfo uriInfo,
                                                                      @QueryParam("firstResult")
                                                                      java.lang.Integer firstResult,
                                                                      @QueryParam("maxResults")
                                                                      java.lang.Integer maxResults)
      • queryProcessInstances

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public java.util.List<ProcessInstanceDto> queryProcessInstances​(ProcessInstanceQueryDto queryParameter,
                                                                        @QueryParam("firstResult")
                                                                        java.lang.Integer firstResult,
                                                                        @QueryParam("maxResults")
                                                                        java.lang.Integer maxResults)
      • getProcessInstancesCount

        @GET
        @Produces("application/json")
        @Path("/count")
        public CountResultDto getProcessInstancesCount​(@Context
                                                       javax.ws.rs.core.UriInfo uriInfo)
      • queryProcessInstancesCount

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/count")
        public CountResultDto queryProcessInstancesCount​(ProcessInstanceQueryDto queryParameter)
      • setObjectMapper

        public void setObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)