org.imixs.workflow.jaxrs
Class ModelRestService
java.lang.Object
org.imixs.workflow.jaxrs.ModelRestService
public class ModelRestService
- extends Object
The WorkflowService Handler supports methods to process different kind of
request URIs
- Author:
- rsoika
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelRestService
public ModelRestService()
getAllVersions
public String getAllVersions()
getProcessList
public org.imixs.workflow.xml.EntityCollection getProcessList(String version)
getProcessListXML
public org.imixs.workflow.xml.EntityCollection getProcessListXML(String version)
getActivityList
public org.imixs.workflow.xml.EntityCollection getActivityList(String version,
int processid)
getActivityListXML
public org.imixs.workflow.xml.EntityCollection getActivityListXML(String version,
int processid)
deleteModel
public void deleteModel(String version)
putModelByVersion
public void putModelByVersion(String sModelVersion,
org.imixs.workflow.xml.EntityCollection ecol)
- This method updates a Model provided in a EntityCollection object for a
provided model version. The Method expects a subresource with a
ModelVersion. Next the method updates each Entity object with the
property $ModelVersion. An old version will be automatically removed
before update.
- Parameters:
version - - $modelversionecol - - model data
putModel
public void putModel(org.imixs.workflow.xml.EntityCollection ecol)
- This method updates a Model provided in a EntityCollection object.
The method takes the first entity to get the provided $modelVersion. An
old version will be automatically removed before update.
- Parameters:
ecol -
postModelByVersion
public void postModelByVersion(String sModelVersion,
org.imixs.workflow.xml.EntityCollection ecol)
postModel
public void postModel(org.imixs.workflow.xml.EntityCollection ecol)
Copyright © 2010-2011 Imixs Software Solutions GmbH. All Rights Reserved.