@Path(value="flowable/bpmnProcesses") public interface BpmnProcessService extends JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
Modifier and Type | Method and Description |
---|---|
void |
delete(@NotNull String key)
Removes the BPMN process under the provided key.
|
javax.ws.rs.core.Response |
exportDiagram(@NotNull String key)
Exports the BPMN diagram representation (if available), for matching key.
|
javax.ws.rs.core.Response |
get(@NotNull String key)
Exports the BPMN process for matching key.
|
List<BpmnProcess> |
list()
Lists the available BPMN processes.
|
void |
set(@NotNull String key,
@NotNull String definition)
Imports the BPMN process under the provided key.
|
@GET @Produces(value={"application/json","application/yaml","application/xml"}) List<BpmnProcess> list()
@GET @Path(value="{key}") @Produces(value={"application/json","application/xml"}) javax.ws.rs.core.Response get(@NotNull @PathParam(value="key") @NotNull String key)
key
- BPMN process key@GET @Path(value="{key}/diagram.png") @Produces(value="image/png") javax.ws.rs.core.Response exportDiagram(@NotNull @PathParam(value="key") @NotNull String key)
key
- BPMN process key@PUT @Path(value="{key}") @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml"}) void set(@NotNull @PathParam(value="key") @NotNull String key, @NotNull @NotNull String definition)
key
- BPMN process keydefinition
- BPMN process for matching kind@DELETE @Path(value="{key}") @Produces(value={"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam(value="key") @NotNull String key)
key
- BPMN process keyCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.