public class WorkflowClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PAGE_SIZE |
static String |
DEFAULT_TYPE |
| Constructor and Description |
|---|
WorkflowClient(String base_uri)
Initialize the client by a BASE_URL.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.imixs.workflow.ItemCollection> |
getCustomResource(String uri)
Returns the custom data list by uri
|
String |
getItems() |
int |
getPageIndex() |
int |
getPageSize() |
String |
getSortBy() |
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
|
String |
getType()
retruns the document type.
|
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.
|
boolean |
isSortReverse() |
org.imixs.workflow.ItemCollection |
processWorkitem(org.imixs.workflow.ItemCollection workitem)
Process a single workitem instance.
|
void |
registerClientRequestFilter(javax.ws.rs.client.ClientRequestFilter filter)
Register a ClientRequestFilter instance.
|
void |
setItems(String items) |
void |
setPageIndex(int pageIndex) |
void |
setPageSize(int pageSize) |
void |
setSortBy(String sortBy) |
void |
setSortOrder(String sortBy,
boolean sortReverse) |
void |
setSortReverse(boolean sortReverse) |
void |
setType(String type) |
public static final int DEFAULT_PAGE_SIZE
public static final String DEFAULT_TYPE
public WorkflowClient(String base_uri)
base_uri - public void registerClientRequestFilter(javax.ws.rs.client.ClientRequestFilter filter)
filter - - request filter instance.public int getPageSize()
public void setPageSize(int pageSize)
public int getPageIndex()
public void setPageIndex(int pageIndex)
public String getItems()
public void setItems(String items)
public String getType()
public void setType(String type)
public String getSortBy()
public void setSortBy(String sortBy)
public boolean isSortReverse()
public void setSortReverse(boolean sortReverse)
public void setSortOrder(String sortBy, boolean sortReverse)
public org.imixs.workflow.ItemCollection processWorkitem(org.imixs.workflow.ItemCollection workitem)
workitem - - a ItemCollection representing the workitem.public org.imixs.workflow.ItemCollection getWorkitem(String uniqueid)
uniqueid - items - public List<org.imixs.workflow.ItemCollection> getTaskListByCreator(String userid)
userid - items - public List<org.imixs.workflow.ItemCollection> getTaskListByOwner(String userid)
userid - items - public List<org.imixs.workflow.ItemCollection> getWorkflowEventsByWorkitem(org.imixs.workflow.ItemCollection workitem)
userid - items - Copyright © 2018 Imixs Software Solutions GmbH. All rights reserved.