@Deprecated @Path(value="/v3/workflow") @Produces(value={"text/html","application/xml","application/json","text/xml"}) public class WorkflowRestServiceV3 extends Object
Constructor and Description |
---|
WorkflowRestServiceV3()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EntityCollection |
getEvents(String uniqueid)
Deprecated.
Returns a collection of events of a workitem, visible to the current user
|
javax.ws.rs.core.StreamingOutput |
getHelpHTML()
Deprecated.
|
EntityCollection |
getTaskListByAuthor(String user,
int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
Returns a collection of workitems representing the worklist by the
current user
|
EntityCollection |
getTaskListByCreator(String creator,
int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
|
EntityCollection |
getTaskListByGroup(String processgroup,
int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
|
EntityCollection |
getTaskListByOwner(String owner,
int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
|
EntityCollection |
getTaskListByProcessID(int processid,
int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
|
EntityCollection |
getTaskListByRef(String uniqueid,
int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
|
XMLItemCollection |
getWorkItem(String uniqueid,
String items)
Deprecated.
returns a singel workitem defined by $uniqueid
|
javax.ws.rs.core.Response |
getWorkItemFile(String uniqueid,
String file,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Returns a file attachment located in the property $file of the specified
workitem
The file name will be encoded.
|
EntityCollection |
getWorkList(int start,
int count,
String type,
int sortorder,
String items)
Deprecated.
Returns a collection of workitems representing the worklist by the
current user
|
static ItemCollection |
parseWorkitem(InputStream requestBodyStream)
Deprecated.
This method expects a form post.
|
javax.ws.rs.core.Response |
postWorkitem(InputStream requestBodyStream)
Deprecated.
This method expects a form post.
|
javax.ws.rs.core.Response |
postWorkitemByUniqueIDJSON(String uniqueid,
InputStream requestBodyStream,
String error,
String encoding)
Deprecated.
|
javax.ws.rs.core.Response |
postWorkitemByUniqueIDXML(String uniqueid,
XMLItemCollection xmlworkitem)
Deprecated.
|
javax.ws.rs.core.Response |
postWorkitemJSON(InputStream requestBodyStream,
String error,
String encoding)
Deprecated.
This method expects a form post and processes the WorkItem by the
WorkflowService EJB.
|
javax.ws.rs.core.Response |
postWorkitemsXML(EntityCollection worklist)
Deprecated.
|
javax.ws.rs.core.Response |
postWorkitemXML(XMLItemCollection xmlworkitem)
Deprecated.
This method post a ItemCollection object to be processed by the
WorkflowManager.
|
javax.ws.rs.core.Response |
putWorkitem(InputStream requestBodyStream)
Deprecated.
This method expects a form post and processes the WorkItem by the
WorkflowService EJB.
|
javax.ws.rs.core.Response |
putWorkitemsXML(EntityCollection worklist)
Deprecated.
This method post a collection of ItemCollection objects to be processed
by the WorkflowManager.
|
javax.ws.rs.core.Response |
putWorkitemXML(XMLItemCollection workitem)
Deprecated.
|
@GET @Produces(value="text/html") @Path(value="/help") public javax.ws.rs.core.StreamingOutput getHelpHTML()
@GET @Path(value="/workitem/{uniqueid}") public XMLItemCollection getWorkItem(@PathParam(value="uniqueid") String uniqueid, @QueryParam(value="items") String items)
uniqueid
- @GET @Path(value="/workitem/{uniqueid}/file/{file}") public javax.ws.rs.core.Response getWorkItemFile(@PathParam(value="uniqueid") String uniqueid, @PathParam(value="file") @Encoded String file, @Context javax.ws.rs.core.UriInfo uriInfo)
uniqueid
- @GET @Path(value="/workitem/events/{uniqueid}") public EntityCollection getEvents(@PathParam(value="uniqueid") String uniqueid)
uniqueid
- of workitem@GET @Path(value="/worklist") public EntityCollection getWorkList(@DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
start
- count
- type
- sortorder
- @GET @Path(value="/tasklist/owner/{owner}") public EntityCollection getTaskListByOwner(@PathParam(value="owner") String owner, @DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
@GET @Path(value="/tasklist/author/{user}") public EntityCollection getTaskListByAuthor(@PathParam(value="user") String user, @DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
start
- count
- type
- sortorder
- @GET @Path(value="/tasklist/creator/{creator}") public EntityCollection getTaskListByCreator(@PathParam(value="creator") String creator, @DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
@GET @Path(value="/tasklist/processid/{processid}") public EntityCollection getTaskListByProcessID(@PathParam(value="processid") int processid, @DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
@GET @Path(value="/tasklist/group/{processgroup}") public EntityCollection getTaskListByGroup(@PathParam(value="processgroup") String processgroup, @DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
@GET @Path(value="/tasklist/ref/{uniqueid}") public EntityCollection getTaskListByRef(@PathParam(value="uniqueid") String uniqueid, @DefaultValue(value="0") @QueryParam(value="start") int start, @DefaultValue(value="10") @QueryParam(value="count") int count, @QueryParam(value="type") String type, @DefaultValue(value="0") @QueryParam(value="sortorder") int sortorder, @QueryParam(value="items") String items)
@POST @Path(value="/workitem") @Consumes(value="application/x-www-form-urlencoded") @Produces(value="application/xml") public javax.ws.rs.core.Response putWorkitem(InputStream requestBodyStream)
requestBodyStream
- - form contentaction
- - return URI@PUT @Path(value="/workitem") @Consumes(value="application/x-www-form-urlencoded") @Produces(value="application/xml") public javax.ws.rs.core.Response postWorkitem(InputStream requestBodyStream)
requestBodyStream
- putWorkitemDefault
@POST @Path(value="/workitem") @Produces(value="application/xml") @Consumes(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response postWorkitemXML(XMLItemCollection xmlworkitem)
workitem
- - new workItem data@POST @Path(value="/workitem/{uniqueid}") @Produces(value="application/xml") @Consumes(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response postWorkitemByUniqueIDXML(@PathParam(value="uniqueid") String uniqueid, XMLItemCollection xmlworkitem)
@PUT @Path(value="/workitem") @Produces(value="application/xml") @Consumes(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response putWorkitemXML(XMLItemCollection workitem)
@POST @Path(value="/workitem.json") @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response postWorkitemJSON(InputStream requestBodyStream, @QueryParam(value="error") String error, @QueryParam(value="encoding") String encoding)
... value":{"@type":"xs:int","$":"10"}
requestBodyStream
- - form contentException
@POST @Path(value="/workitem.json/{uniqueid}") @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response postWorkitemByUniqueIDJSON(@PathParam(value="uniqueid") String uniqueid, InputStream requestBodyStream, @QueryParam(value="error") String error, @QueryParam(value="encoding") String encoding)
@POST @Path(value="/workitems") @Consumes(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response putWorkitemsXML(EntityCollection worklist)
worklist
- - workitem list data@PUT @Path(value="/workitems") @Consumes(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response postWorkitemsXML(EntityCollection worklist)
public static 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–2019 Imixs Software Solutions GmbH. All rights reserved.