@Path(value="workflows/{kind}")
public interface WorkflowService
extends JAXRSService
DEFAULT_PARAM_PAGE, DEFAULT_PARAM_PAGE_VALUE, DEFAULT_PARAM_SIZE, DEFAULT_PARAM_SIZE_VALUE, PARAM_DETAILS, PARAM_FIQL, PARAM_ORDERBY, PARAM_PAGE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
exportDefinition(SubjectType kind)
Exports workflow definition for matching kind.
|
javax.ws.rs.core.Response |
exportDiagram(SubjectType kind)
Exports workflow diagram representation.
|
javax.ws.rs.core.Response |
getOptions(SubjectType kind)
Checks whether Activiti is enabled (for users or roles).
|
void |
importDefinition(SubjectType kind,
String definition)
Imports workflow definition for matching kind.
|
@OPTIONS
javax.ws.rs.core.Response getOptions(@NotNull@PathParam(value="kind")
SubjectType kind)
kind - user or roleRESTHeaders.ACTIVITI_USER_ENABLED,
RESTHeaders.ACTIVITI_ROLE_ENABLED@GET
@Produces(value={"application/xml","application/json"})
javax.ws.rs.core.Response exportDefinition(@NotNull@PathParam(value="kind")
SubjectType kind)
kind - user or role@GET
@Path(value="diagram.png")
@Produces(value="image/png")
javax.ws.rs.core.Response exportDiagram(@NotNull@PathParam(value="kind")
SubjectType kind)
kind - user or role@PUT
@Consumes(value={"application/xml","application/json"})
void importDefinition(@NotNull@PathParam(value="kind")
SubjectType kind,
@NotNull
String definition)
kind - user or roledefinition - workflow definition for matching kindCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.