@Path(value="/v40/model") @Produces(value={"text/html","application/xhtml+xml","application/xml","application/json","text/xml"}) public class ModelRestServiceV40 extends Object
Constructor and Description |
---|
ModelRestServiceV40() |
Modifier and Type | Method and Description |
---|---|
void |
deleteModel(String version) |
DocumentCollection |
findAllEventsByTask(String version,
int processid,
String items) |
DocumentCollection |
findAllTasks(String version,
String items) |
DocumentCollection |
findTasksByGroup(String version,
String group,
String items)
Returns a list of all Tasks of a specific workflow group.
|
List<String> |
getGroups(String version,
String items)
Retuns a list of all Start Entities from each workflowgroup
|
javax.ws.rs.core.Response |
getModelFile(String version,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.StreamingOutput |
getModelOverview() |
String |
getModelXML() |
XMLItemCollection |
getTask(String version,
int processid,
String items) |
javax.ws.rs.core.Response |
postBPMNModel(BPMNModel bpmnmodel) |
void |
postModel(DocumentCollection ecol) |
void |
postModelByVersion(String sModelVersion,
DocumentCollection ecol) |
javax.ws.rs.core.Response |
putBPMNModel(BPMNModel bpmnmodel)
This method consumes a Imixs BPMN model file and updates the
corresponding model information.
|
void |
putModel(DocumentCollection ecol)
This method updates a Model provided in a EntityCollection object.
|
void |
putModelByVersion(String sModelVersion,
DocumentCollection ecol)
This method updates a Model provided in a EntityCollection object for a
provided model version.
|
@GET @Produces(value="text/html") public javax.ws.rs.core.StreamingOutput getModelOverview()
@GET @Produces(value={"application/xml","text/xml"}) public String getModelXML()
@GET @Path(value="/{version}/tasks/") public DocumentCollection findAllTasks(@PathParam(value="version") String version, @QueryParam(value="items") String items)
@GET @Path(value="/{version}/bpmn") public javax.ws.rs.core.Response getModelFile(@PathParam(value="version") String version, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="/{version}/tasks/{taskid}") public XMLItemCollection getTask(@PathParam(value="version") String version, @PathParam(value="taskid") int processid, @QueryParam(value="items") String items)
@GET @Path(value="/{version}/tasks/{taskid}/events") public DocumentCollection findAllEventsByTask(@PathParam(value="version") String version, @PathParam(value="taskid") int processid, @QueryParam(value="items") String items)
@GET @Path(value="/{version}/groups") public List<String> getGroups(@PathParam(value="version") String version, @QueryParam(value="items") String items)
version
- @GET @Path(value="/{version}/groups/{group}") public DocumentCollection findTasksByGroup(@PathParam(value="version") String version, @PathParam(value="group") String group, @QueryParam(value="items") String items)
version
- @DELETE @Path(value="/{version}") public void deleteModel(@PathParam(value="version") String version)
@PUT @Path(value="/bpmn") @Consumes(value={"application/xml","application/octet-stream","text/plain"}) public javax.ws.rs.core.Response putBPMNModel(BPMNModel bpmnmodel)
model
- @POST @Path(value="/bpmn") @Consumes(value={"application/xml","application/octet-stream","text/plain"}) public javax.ws.rs.core.Response postBPMNModel(BPMNModel bpmnmodel)
@PUT @Path(value="/{version}") @Consumes(value={"application/xml","text/xml"}) public void putModelByVersion(@PathParam(value="version") String sModelVersion, DocumentCollection ecol)
version
- - $modelversionecol
- - model data@POST @Path(value="/{version}") @Consumes(value={"application/xml","text/xml"}) public void postModelByVersion(@PathParam(value="version") String sModelVersion, DocumentCollection ecol)
@PUT @Consumes(value={"application/xml","text/xml"}) public void putModel(DocumentCollection ecol)
ecol
- @POST @Consumes(value={"application/xml","text/xml"}) public void postModel(DocumentCollection ecol)
Copyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.