Interface BpmnProcessService

All Superinterfaces:
JAXRSService

@Path("flowable/bpmnProcesses") public interface BpmnProcessService extends JAXRSService
REST operations for BPMN processes.
  • Method Details

    • 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"}) jakarta.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") jakarta.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