public class WorkflowClient extends DocumentClient
DEFAULT_PAGE_SIZE, DEFAULT_TYPE, ITEM_ERROR_CODE, ITEM_ERROR_MESSAGE, items, pageIndex, pageSize, sortBy, sortReverse, typebaseURI, requestFilterList| Constructor and Description |
|---|
WorkflowClient(String base_uri)
Initialize the client by a BASE_URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteWorkitem(String uniqueid)
Deletes a single workItem instance by UniqueID.
|
List<org.imixs.workflow.ItemCollection> |
getTaskListByCreator(String userid)
Returns the current task list by creator
|
List<org.imixs.workflow.ItemCollection> |
getTaskListByOwner(String userid)
Returns the current task list by owner
|
List<org.imixs.workflow.ItemCollection> |
getWorkflowEventsByWorkitem(org.imixs.workflow.ItemCollection workitem)
Returns the current task list by owner
|
org.imixs.workflow.ItemCollection |
getWorkitem(String uniqueid)
Returns a single workItem instance by UniqueID.
|
org.imixs.workflow.ItemCollection |
processWorkitem(org.imixs.workflow.ItemCollection workitem)
Process a single workitem instance.
|
countDocuments, createAdminPJob, deleteDocument, getDocument, getItems, getPageIndex, getPageSize, getSortBy, getType, isSortReverse, postXMLDataCollection, postXMLDocument, saveDocument, searchDocuments, setItems, setPageIndex, setPageSize, setSortBy, setSortOrder, setSortReverse, setTypegetBaseURI, getCustomResource, getCustomResourceXML, getWebTarget, logout, newClient, registerClientRequestFilter, setBaseURIpublic WorkflowClient(String base_uri)
base_uri - public org.imixs.workflow.ItemCollection processWorkitem(org.imixs.workflow.ItemCollection workitem)
throws RestAPIException
workitem - - a ItemCollection representing the workitem.RestAPIExceptionpublic org.imixs.workflow.ItemCollection getWorkitem(String uniqueid) throws RestAPIException
The method calls the workflow rest interface instead of the document rest interface to ensure the corresponding backend method is accessed.
uniqueid - items - RestAPIExceptionpublic void deleteWorkitem(String uniqueid) throws RestAPIException
userid - items - RestAPIExceptionpublic List<org.imixs.workflow.ItemCollection> getTaskListByCreator(String userid) throws RestAPIException
userid - RestAPIExceptionpublic List<org.imixs.workflow.ItemCollection> getTaskListByOwner(String userid) throws RestAPIException
userid - items - RestAPIExceptionpublic List<org.imixs.workflow.ItemCollection> getWorkflowEventsByWorkitem(org.imixs.workflow.ItemCollection workitem) throws RestAPIException
userid - items - RestAPIExceptionCopyright © 2018–2020 Imixs Software Solutions GmbH. All rights reserved.