public class WorkflowRestService extends Object
| Constructor and Description |
|---|
WorkflowRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.StreamingOutput |
getHelpHTML() |
org.imixs.workflow.xml.XMLItemCollection |
getWorkItem(String uniqueid,
String items)
returns a singel workitem defined by $uniqueid
|
javax.ws.rs.core.Response |
getWorkItemFile(String uniqueid,
String file,
javax.ws.rs.core.UriInfo uriInfo)
Returns a file attachment located in the property $file of the specified
workitem
The file name will be encoded.
|
org.imixs.workflow.xml.XMLItemCollection |
getWorkItemJSON(String uniqueid,
String items) |
org.imixs.workflow.xml.XMLItemCollection |
getWorkItemJSONPath(String uniqueid,
String items) |
org.imixs.workflow.xml.XMLItemCollection |
getWorkItemXML(String uniqueid,
String items) |
org.imixs.workflow.xml.XMLItemCollection |
getWorkItemXMLPath(String uniqueid,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkList(int start,
int count,
String type,
int sortorder,
String items)
Returns a collection of workitems representing the worklist by the
current user
|
org.imixs.workflow.xml.EntityCollection |
getWorkListByAuthor(String user,
int start,
int count,
String type,
int sortorder,
String items)
Returns a collection of workitems representing the worklist by the
current user
|
org.imixs.workflow.xml.EntityCollection |
getWorkListByAuthorJSON(String user,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByAuthorXML(String user,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByCreator(String creator,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByCreatorJSON(String creator,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByCreatorXML(String creator,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByGroup(String processgroup,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByGroupJSON(String processgroup,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByGroupXML(String processgroup,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByOwner(String owner,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByOwnerJSON(String owner,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByOwnerXML(String owner,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByProcessID(int processid,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByProcessIDJSON(int processid,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByProcessIDXML(int processid,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByRef(String uniqueid,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByRefJSON(String uniqueid,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByRefXML(String uniqueid,
int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByWriteAccess(int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByWriteAccessJSON(int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListByWriteAccessXML(int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.XMLCount |
getWorkListCountByQuery(String query)
Returns the size of a result set by JPQL Query
|
org.imixs.workflow.xml.EntityCollection |
getWorkListJSON(int start,
int count,
String type,
int sortorder,
String items) |
org.imixs.workflow.xml.EntityCollection |
getWorkListXML(int start,
int count,
String type,
int sortorder,
String items) |
static org.imixs.workflow.ItemCollection |
parseWorkitem(InputStream requestBodyStream)
This method expects a form post.
|
javax.ws.rs.core.Response |
postWorkitem(InputStream requestBodyStream)
This method expects a form post.
|
javax.ws.rs.core.Response |
postWorkitemJSON(InputStream requestBodyStream,
String error,
String encoding)
This method expects a form post and processes the WorkItem by the
WorkflowService EJB.
|
javax.ws.rs.core.Response |
postWorkitemsXML(org.imixs.workflow.xml.EntityCollection worklist) |
javax.ws.rs.core.Response |
postWorkitemXML(org.imixs.workflow.xml.XMLItemCollection xmlworkitem)
This method post a ItemCollection object to be processed by the
WorkflowManager.
|
javax.ws.rs.core.Response |
putWorkitem(InputStream requestBodyStream)
This method expects a form post and processes the WorkItem by the
WorkflowService EJB.
|
javax.ws.rs.core.Response |
putWorkitemsXML(org.imixs.workflow.xml.EntityCollection worklist)
This method post a collection of ItemCollection objects to be processed
by the WorkflowManager.
|
javax.ws.rs.core.Response |
putWorkitemXML(org.imixs.workflow.xml.XMLItemCollection workitem) |
public javax.ws.rs.core.StreamingOutput getHelpHTML()
public org.imixs.workflow.xml.EntityCollection getWorkList(int start,
int count,
String type,
int sortorder,
String items)
start - count - type - sortorder - public org.imixs.workflow.xml.EntityCollection getWorkListXML(int start,
int count,
String type,
int sortorder,
String items)
start - count - type - sortorder - public org.imixs.workflow.xml.EntityCollection getWorkListJSON(int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByAuthor(String user, int start, int count, String type, int sortorder, String items)
start - count - type - sortorder - public org.imixs.workflow.xml.EntityCollection getWorkListByAuthorXML(String user, int start, int count, String type, int sortorder, String items)
start - count - type - sortorder - public org.imixs.workflow.xml.EntityCollection getWorkListByAuthorJSON(String user, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByCreator(String creator, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByCreatorXML(String creator, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByCreatorJSON(String creator, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByProcessID(int processid,
int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByProcessIDXML(int processid,
int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByProcessIDJSON(int processid,
int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByGroup(String processgroup, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByGroupXML(String processgroup, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByGroupJSON(String processgroup, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByOwner(String owner, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByOwnerXML(String owner, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByOwnerJSON(String owner, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccess(int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccessXML(int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccessJSON(int start,
int count,
String type,
int sortorder,
String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByRef(String uniqueid, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByRefXML(String uniqueid, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.EntityCollection getWorkListByRefJSON(String uniqueid, int start, int count, String type, int sortorder, String items)
public org.imixs.workflow.xml.XMLCount getWorkListCountByQuery(String query)
query - public org.imixs.workflow.xml.XMLItemCollection getWorkItem(String uniqueid, String items)
uniqueid - public org.imixs.workflow.xml.XMLItemCollection getWorkItemXML(String uniqueid, String items)
public org.imixs.workflow.xml.XMLItemCollection getWorkItemXMLPath(String uniqueid, String items)
public org.imixs.workflow.xml.XMLItemCollection getWorkItemJSON(String uniqueid, String items)
public org.imixs.workflow.xml.XMLItemCollection getWorkItemJSONPath(String uniqueid, String items)
public javax.ws.rs.core.Response getWorkItemFile(String uniqueid, @Encoded String file, @Context javax.ws.rs.core.UriInfo uriInfo)
uniqueid - public javax.ws.rs.core.Response putWorkitem(InputStream requestBodyStream)
requestBodyStream - - form contentaction - - return URIpublic javax.ws.rs.core.Response postWorkitem(InputStream requestBodyStream)
requestBodyStream - putWorkitemDefaultpublic javax.ws.rs.core.Response postWorkitemXML(org.imixs.workflow.xml.XMLItemCollection xmlworkitem)
workitem - - new workItem datapublic javax.ws.rs.core.Response putWorkitemXML(org.imixs.workflow.xml.XMLItemCollection workitem)
public javax.ws.rs.core.Response postWorkitemJSON(InputStream requestBodyStream, String error, String encoding)
... value":{"@type":"xs:int","$":"10"}
requestBodyStream - - form contentExceptionpublic javax.ws.rs.core.Response putWorkitemsXML(org.imixs.workflow.xml.EntityCollection worklist)
worklist - - workitem list datapublic javax.ws.rs.core.Response postWorkitemsXML(org.imixs.workflow.xml.EntityCollection worklist)
public static final org.imixs.workflow.ItemCollection parseWorkitem(InputStream requestBodyStream)
------------------------------1a26f3661ff7
Content-Disposition: form-data; name="query"
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------195571638125373
Content-Length: 5680
-----------------------------195571638125373
requestBodyStream - Copyright © 2006–2015 Imixs Software Solutions GmbH. All rights reserved.