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 |
getWorkItemXML(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.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,
String action,
String error)
This method expects a form post.
|
org.imixs.workflow.xml.XMLItemCollection |
postWorkitemJSON(InputStream requestBodyStream)
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 workitem,
String action) |
javax.ws.rs.core.Response |
putWorkitem(InputStream requestBodyStream,
String action,
String error)
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,
String action)
This method post a ItemCollection object to be processed by the
WorkflowManager.
|
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.XMLItemCollection getWorkItem(String uniqueid, String items)
uniqueid - public org.imixs.workflow.xml.XMLItemCollection getWorkItemXML(String uniqueid, String items)
public org.imixs.workflow.xml.XMLItemCollection getWorkItemJSON(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, String action, String error)
requestBodyStream - - form contentaction - - return URIpublic static final org.imixs.workflow.ItemCollection parseWorkitem(InputStream requestBodyStream)
requestBodyStream - public javax.ws.rs.core.Response postWorkitem(InputStream requestBodyStream, String action, String error)
requestBodyStream - putWorkitemDefaultpublic javax.ws.rs.core.Response putWorkitemXML(org.imixs.workflow.xml.XMLItemCollection workitem,
String action)
workitem - - new workItem datapublic javax.ws.rs.core.Response postWorkitemXML(org.imixs.workflow.xml.XMLItemCollection workitem,
String action)
public org.imixs.workflow.xml.XMLItemCollection postWorkitemJSON(InputStream requestBodyStream)
requestBodyStream - - form contentpublic 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)
Copyright © 2010-2013 Imixs Software Solutions GmbH. All Rights Reserved.