Interface BpmnProcessService

    • Method Detail

      • list

        @GET
        @Produces({"application/json","application/yaml","application/xml"})
        List<BpmnProcess> list()
        Lists the available BPMN processes.
        Returns:
        available BPMN processs
      • get

        @GET
        @Path("{key}")
        @Produces({"application/json","application/xml"})
        javax.ws.rs.core.Response get​(@NotNull @PathParam("key")
                                      @NotNull String key)
        Exports the BPMN process for matching key.
        Parameters:
        key - BPMN process key
        Returns:
        BPMN process for matching key
      • exportDiagram

        @GET
        @Path("{key}/diagram.png")
        @Produces("image/png")
        javax.ws.rs.core.Response exportDiagram​(@NotNull @PathParam("key")
                                                @NotNull String key)
        Exports the BPMN diagram representation (if available), for matching key.
        Parameters:
        key - BPMN process key
        Returns:
        BPMN diagram representation
      • set

        @PUT
        @Path("{key}")
        @Consumes({"application/json","application/xml"})
        @Produces({"application/json","application/xml"})
        void set​(@NotNull @PathParam("key")
                 @NotNull String key,
                 @NotNull
                 @NotNull String definition)
        Imports the BPMN process under the provided key.
        Parameters:
        key - BPMN process key
        definition - BPMN process for matching kind
      • delete

        @DELETE
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        void delete​(@NotNull @PathParam("key")
                    @NotNull String key)
        Removes the BPMN process under the provided key.
        Parameters:
        key - BPMN process key