public interface TaskQueryBuilder extends ProcessIdQueryBuilder<TaskQueryBuilder,org.kie.api.task.model.TaskSummary>
TaskSummary
instances.
One of the main motivations behind this class is that
adding new methods to this method provides a (factorial)
increase in ways to query for TaskSummary
instances
without unnecessarily cluttering up the interface, unlike
the deprecated "get*" method signatures,Modifier and Type | Interface and Description |
---|---|
static class |
TaskQueryBuilder.OrderBy
/**
An enum used to specify the criteria for ordering the results of the query
|
Modifier and Type | Method and Description |
---|---|
TaskQueryBuilder |
activationTime(Date... activationTime)
Add one or more activation times as a criteria to the query
|
TaskQueryBuilder |
activationTimeRange(Date activationTimeMin,
Date activationTimeMax)
Specify an inclusive range of (task) activation-time dates to use as a criteria
If the lower or upper end of the range is given as null,
then an open-ended range using the non-null range end is used
as the criteria
|
TaskQueryBuilder |
actualOwner(String... actualOwnerUserId)
Add one or more (actual) task owner ids as a criteria to the query
|
TaskQueryBuilder |
archived(boolean archived)
Add whether or not the task is archived as a criteria to the query
|
TaskQueryBuilder |
ascending(TaskQueryBuilder.OrderBy orderBy)
Order the results in ascending order by the given parameter
results are ordered by default by task id.
|
TaskQueryBuilder |
businessAdmin(String... businessAdminId)
Add one or more business administrator (user) ids as a criteria to the query
|
TaskQueryBuilder |
createdBy(String... createdById)
Add one or more initiator user ids as a criteria to the query
The initiator is also the user who created the task.
|
TaskQueryBuilder |
createdOn(Date... createdOnDate)
Add one or more creation dates as a criteria to the query
|
TaskQueryBuilder |
createdOnRange(Date createdOnMin,
Date createdOnMax)
Specify an inclusive range of (task) creation dates to use as a criteria
If the lower or upper end of the range is given as null,
then an open-ended range using the non-null range end is used
as the criteria
|
TaskQueryBuilder |
deploymentId(String... deploymentId)
Add one or more deployment ids as a criteria to the query
|
TaskQueryBuilder |
descending(TaskQueryBuilder.OrderBy orderBy)
Order the results in descending order by the given parameter
results are ordered by default by task id.
|
TaskQueryBuilder |
description(String... description)
Add one or more descriptions as a criteria to the query
|
TaskQueryBuilder |
expirationTime(Date... expirationTime)
Add one or more expiration times as a criteria to the query
|
TaskQueryBuilder |
expirationTimeRange(Date expirationTimeMin,
Date expirationTimeMax)
Specify an inclusive range of (task) expiration-time dates to use as a criteria
If the lower or upper end of the range is given as null,
then an open-ended range using the non-null range end is used
as the criteria
|
TaskQueryBuilder |
formName(String... formName)
Add one or more (task) form names as a criteria to the query
|
TaskQueryBuilder |
name(String... name)
Add one or more (task) names as a criteria to the query
|
TaskQueryBuilder |
potentialOwner(String... potentialOwnerId)
Add one or more potential owner ids as a criteria to the query
|
TaskQueryBuilder |
priority(int... priority)
Add one or more priorities as a criteria to the query
|
TaskQueryBuilder |
processSessionId(long... processSessionId)
Add one or more work item ids as a criteria to the query
|
TaskQueryBuilder |
skippable(boolean skippable)
Add whether or not the task is skippable as a criteria to the query
|
TaskQueryBuilder |
stakeHolder(String... stakeHolderId)
Add one or more stake holder (user) ids as a criteria to the query
|
TaskQueryBuilder |
status(org.kie.api.task.model.Status... status)
Add one or more statuses as a criteria to the query
|
TaskQueryBuilder |
subject(String... subject)
Add one or more subjects as a criteria to the query
|
TaskQueryBuilder |
subTaskStrategy(SubTasksStrategy... subTasksStrategy)
Add one or more (task) sub-task-strategies as a criteria to the query
|
TaskQueryBuilder |
taskId(long... taskId)
Add one or more task ids as a criteria to the query
|
TaskQueryBuilder |
taskIdRange(Long taskIdMin,
Long taskIdMax)
Specify an inclusive range of (task) ids to use as a criteria
If the lower or upper end of the range is given as null,
then an open-ended range using the non-null range end is used
as the criteria
|
TaskQueryBuilder |
taskParentId(long... taskParentId)
Add one or more (task) parent ids as a criteria to the query
|
TaskQueryBuilder |
taskType(String... taskType)
Add one or more (task) types as a criteria to the query
|
TaskQueryBuilder |
workItemId(long... workItemId)
Add one or more work item ids as a criteria to the query
|
processId
processInstanceId, processInstanceIdRange
build, endGroup, newGroup
clear, equals, intersect, like, maxResults, offset, union
TaskQueryBuilder activationTime(Date... activationTime)
activationTime
- one or more Date
valuesTaskQueryBuilder
instanceTaskQueryBuilder activationTimeRange(Date activationTimeMin, Date activationTimeMax)
activationTimeMin
- the minimal (lower) date to use in the rangeactivationTimeMax
- the max (upper) date to use in the rangeTaskQueryBuilder actualOwner(String... actualOwnerUserId)
actualOwnerUserId
- TaskQueryBuilder
instanceTaskQueryBuilder archived(boolean archived)
archived
- a booleanTaskQueryBuilder
instanceTaskQueryBuilder createdBy(String... createdById)
createdById
- TaskQueryBuilder
instanceTaskQueryBuilder createdOn(Date... createdOnDate)
createdOnDate
- one or more Date
valuesTaskQueryBuilder
instanceTaskQueryBuilder createdOnRange(Date createdOnMin, Date createdOnMax)
createdOnMin
- the minimal (lower) date to use in the rangecreatedOnMax
- the max (upper) date to use in the rangeTaskQueryBuilder deploymentId(String... deploymentId)
deploymentId
- TaskQueryBuilder
instanceTaskQueryBuilder description(String... description)
description
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder expirationTime(Date... expirationTime)
expirationTime
- one or more Date
valuesTaskQueryBuilder
instanceTaskQueryBuilder expirationTimeRange(Date expirationTimeMin, Date expirationTimeMax)
expirationTimeMin
- the minimal (lower) date to use in the rangeexpirationTimeMax
- the max (upper) date to use in the rangeTaskQueryBuilder formName(String... formName)
formName
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder name(String... name)
name
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder processSessionId(long... processSessionId)
processSessionId
- one or more longsTaskQueryBuilder
instanceTaskQueryBuilder skippable(boolean skippable)
skippable
- a booleanTaskQueryBuilder
instanceTaskQueryBuilder status(org.kie.api.task.model.Status... status)
status
- TaskQueryBuilder
instanceTaskQueryBuilder subject(String... subject)
subject
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder subTaskStrategy(SubTasksStrategy... subTasksStrategy)
subTasksStrategy
- one or more SubTasksStrategy
valuesTaskQueryBuilder
instanceTaskQueryBuilder taskId(long... taskId)
taskId
- TaskQueryBuilder
instanceTaskQueryBuilder taskIdRange(Long taskIdMin, Long taskIdMax)
taskIdMin
- the minimal (lower) date to use in the rangetaskIdMax
- the max (upper) date to use in the rangeTaskQueryBuilder taskParentId(long... taskParentId)
taskParentId
- one or more longsTaskQueryBuilder
instanceTaskQueryBuilder taskType(String... taskType)
taskType
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder workItemId(long... workItemId)
workItemId
- one or more longsTaskQueryBuilder
instanceTaskQueryBuilder priority(int... priority)
priority
- one or more intsTaskQueryBuilder
instanceTaskQueryBuilder businessAdmin(String... businessAdminId)
businessAdminId
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder potentialOwner(String... potentialOwnerId)
potentialOwnerId
- TaskQueryBuilder
instanceTaskQueryBuilder stakeHolder(String... stakeHolderId)
stakeHolderId
- one or more stringsTaskQueryBuilder
instanceTaskQueryBuilder ascending(TaskQueryBuilder.OrderBy orderBy)
orderBy
- TaskQueryBuilder
instanceTaskQueryBuilder descending(TaskQueryBuilder.OrderBy orderBy)
orderBy
- TaskQueryBuilder
instanceCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.