public class ModelRestService extends Object
| Constructor and Description |
|---|
ModelRestService() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteModel(String version) |
org.imixs.workflow.xml.DocumentCollection |
findAllEventsByTask(String version,
int processid,
String items) |
org.imixs.workflow.xml.DocumentCollection |
findAllTasks(String version,
String items) |
org.imixs.workflow.xml.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() |
org.imixs.workflow.xml.XMLItemCollection |
getTask(String version,
int processid,
String items) |
javax.ws.rs.core.Response |
postBPMNModel(org.imixs.workflow.bpmn.BPMNModel bpmnmodel) |
void |
postModel(org.imixs.workflow.xml.DocumentCollection ecol) |
void |
postModelByVersion(String sModelVersion,
org.imixs.workflow.xml.DocumentCollection ecol) |
javax.ws.rs.core.Response |
putBPMNModel(org.imixs.workflow.bpmn.BPMNModel bpmnmodel)
This method consumes a Imixs BPMN model file and updates the
corresponding model information.
|
void |
putModel(org.imixs.workflow.xml.DocumentCollection ecol)
This method updates a Model provided in a EntityCollection object.
|
void |
putModelByVersion(String sModelVersion,
org.imixs.workflow.xml.DocumentCollection ecol)
This method updates a Model provided in a EntityCollection object for a
provided model version.
|
public javax.ws.rs.core.StreamingOutput getModelOverview()
public String getModelXML()
public org.imixs.workflow.xml.DocumentCollection findAllTasks(String version, String items)
public javax.ws.rs.core.Response getModelFile(String version, @Context javax.ws.rs.core.UriInfo uriInfo)
public org.imixs.workflow.xml.XMLItemCollection getTask(String version, int processid, String items)
public org.imixs.workflow.xml.DocumentCollection findAllEventsByTask(String version, int processid, String items)
public List<String> getGroups(String version, String items)
version - public org.imixs.workflow.xml.DocumentCollection findTasksByGroup(String version, String group, String items)
version - public void deleteModel(String version)
public javax.ws.rs.core.Response putBPMNModel(org.imixs.workflow.bpmn.BPMNModel bpmnmodel)
model - public javax.ws.rs.core.Response postBPMNModel(org.imixs.workflow.bpmn.BPMNModel bpmnmodel)
public void putModelByVersion(String sModelVersion, org.imixs.workflow.xml.DocumentCollection ecol)
version - - $modelversionecol - - model datapublic void postModelByVersion(String sModelVersion, org.imixs.workflow.xml.DocumentCollection ecol)
public void putModel(org.imixs.workflow.xml.DocumentCollection ecol)
ecol - public void postModel(org.imixs.workflow.xml.DocumentCollection ecol)
Copyright © 2006–2018 Imixs Software Solutions GmbH. All rights reserved.