public class WorkflowClient extends DocumentClient
| Modifier and Type | Field and Description |
|---|---|
static String |
ITEM_ERROR_CODE |
static String |
ITEM_ERROR_MESSAGE |
baseURI, DEFAULT_PAGE_SIZE, DEFAULT_TYPE, items, pageIndex, pageSize, requestFilterList, sortBy, sortReverse, type| 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.
|
createAdminPJob, deleteDocument, getBaseURI, getCustomResource, getCustomResourceXML, getDocument, getItems, getPageIndex, getPageSize, getSortBy, getType, isSortReverse, newClient, registerClientRequestFilter, saveDocument, setBaseURI, setItems, setPageIndex, setPageSize, setSortBy, setSortOrder, setSortReverse, setTypepublic static final String ITEM_ERROR_CODE
public static final String ITEM_ERROR_MESSAGE
public 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
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–2019 Imixs Software Solutions GmbH. All rights reserved.