@Path(value="workflows") public interface WorkflowService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
void |
delete(String anyType,
String key)
Removes the workflow definition for matching any object type, under the provided key.
|
javax.ws.rs.core.Response |
exportDiagram(String anyType,
String key)
Exports the workflow diagram representation (if available), for matching any object type and key.
|
javax.ws.rs.core.Response |
get(String anyType,
String key)
Exports the workflow definition for matching any object type and key.
|
List<WorkflowDefinitionTO> |
list(String anyType)
Lists the available workflow definitions, for the given any object type.
|
void |
set(String anyType,
String key,
String definition)
Imports the workflow definition for matching any object type, under the provided key.
|
@GET
@Path(value="{anyType}")
@Produces(value={"application/json","application/yaml","application/xml"})
List<WorkflowDefinitionTO> list(@NotNull @PathParam(value="anyType")
String anyType)
anyType - any object type@GET
@Path(value="{anyType}/{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response get(@NotNull @PathParam(value="anyType")
String anyType,
@NotNull @PathParam(value="key")
String key)
anyType - any object typekey - workflow definition key@GET
@Path(value="{anyType}/{key}/diagram.png")
@Produces(value="image/png")
javax.ws.rs.core.Response exportDiagram(@NotNull @PathParam(value="anyType")
String anyType,
@NotNull @PathParam(value="key")
String key)
anyType - any object typekey - workflow definition key@PUT
@Path(value="{anyType}/{key}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
void set(@NotNull @PathParam(value="anyType")
String anyType,
@NotNull @PathParam(value="key")
String key,
@NotNull
String definition)
anyType - any object typekey - workflow definition keydefinition - workflow definition for matching kind@DELETE
@Path(value="{anyType}/{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
void delete(@NotNull @PathParam(value="anyType")
String anyType,
@NotNull @PathParam(value="key")
String key)
anyType - any object typekey - workflow definition keyCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.