|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TaskQuery | |
|---|---|
| org.jbpm.api | the jBPM API, Start by creating a Configuration,
build a ProcessEngine from that, and then you can find
the workflow methods on the services like ExecutionService,
TaskService. |
| Uses of TaskQuery in org.jbpm.api |
|---|
| Methods in org.jbpm.api that return TaskQuery | |
|---|---|
TaskQuery |
TaskQuery.activityName(java.lang.String activityName)
only select tasks that are associated to the given activity name. |
TaskQuery |
TaskQuery.assignee(java.lang.String userId)
only select tasks for which the given user is the assignee |
TaskQuery |
TaskQuery.candidate(java.lang.String userId)
only query for tasks for which the given user is a candidate. |
TaskQuery |
TaskService.createTaskQuery()
create a new query for tasks |
TaskQuery |
TaskQuery.notSuspended()
only select tasks that are not suspended |
TaskQuery |
TaskQuery.orderAsc(java.lang.String property)
order selected tasks ascending for certain properties |
TaskQuery |
TaskQuery.orderDesc(java.lang.String property)
order selected tasks descending for certain properties |
TaskQuery |
TaskQuery.page(int firstResult,
int maxResults)
select a specific page in the result set |
TaskQuery |
TaskQuery.processDefinitionId(java.lang.String processDefinitionId)
only select tasks that are associated to the given process definition |
TaskQuery |
TaskQuery.processInstanceId(java.lang.String processInstanceId)
only select tasks that are associated to the given process instance |
TaskQuery |
TaskQuery.suspended()
only select suspended tasks |
TaskQuery |
TaskQuery.unassigned()
only select tasks that are unassigned. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||