Package org.kie.internal.task.query
Interface AuditTaskQueryBuilder
- All Superinterfaces:
ExtendedParametrizedQueryBuilder<AuditTaskQueryBuilder,,AuditTask> ParametrizedQueryBuilder<AuditTaskQueryBuilder>,ProcessInstanceIdQueryBuilder<AuditTaskQueryBuilder,,AuditTask> TaskAuditQueryBuilder<AuditTaskQueryBuilder,AuditTask>
public interface AuditTaskQueryBuilder
extends TaskAuditQueryBuilder<AuditTaskQueryBuilder,AuditTask>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionactivationTime(Date... activationTime) Specify one or more dates to use as a criteria for the activation time of the task as logged in the task eventactivationTimeRange(Date activationTimeMin, Date activationTimeMax) Specify an inclusive range of (task) activation-time dates to use as a criteriaactualOwner(String... actualOwnerUserId) Specify one or more user ids to use as a criteria for the actual owner of the task as logged in the task eventSpecify which field to use when ordering the results, in ascending order.Specify one or more user ids to use as a criteria for the creator of the task as logged in the task eventSpecify one or more dates to use as a criteria for the created-on date of a task as logged in the task eventcreatedOnRange(Date createdOnMin, Date createdOnMax) Specify an inclusive range of created-on dates to use as a criteriadeploymentId(String... deploymentId) Specify one or more deployment ids to use as a criteriaSpecify which field to use when ordering the results, in descending order.description(String... description) Specify one or more task description to use as a criteria.Specify one or more (task) due dates to use as a criteria for the activation time of the task as logged in the task eventdueDateRange(Date dueDateMin, Date dueDateMax) Specify an inclusive range of (task) due dates to use as a criteriapriority(int... priority) Specify one or more (task) priorities to use as a criteria.Specify one or more process (definition) id's as criteria in the queryprocessSessionId(long... processSessionId) Specify one or more process session ids associated with a task to use as a criteriaSpecify one or more task names to use as a criteria.taskParentId(long... parentId) Specify one or more (task) parent ids to use as a criteriataskStatus(org.kie.api.task.model.Status... status) Specify one or more task statuses to use as a criteria.workItemId(long... workItemId) Specify one or more (task-related) work item ids to use as a criteria.Methods inherited from interface org.kie.internal.query.ExtendedParametrizedQueryBuilder
build, endGroup, newGroupMethods inherited from interface org.kie.internal.query.ParametrizedQueryBuilder
and, clear, equals, intersect, like, maxResults, offset, or, regex, unionMethods inherited from interface org.kie.internal.query.ProcessInstanceIdQueryBuilder
processInstanceId, processInstanceIdRangeMethods inherited from interface org.kie.internal.task.query.TaskAuditQueryBuilder
id, taskId, taskIdRange
-
Method Details
-
processId
Specify one or more process (definition) id's as criteria in the query- Parameters:
processId- one or more process ids- Returns:
- The current query builder instance
-
taskStatus
Specify one or more task statuses to use as a criteria.- Parameters:
status- one or more task statuses- Returns:
- The current query builder instance
-
actualOwner
Specify one or more user ids to use as a criteria for the actual owner of the task as logged in the task event- Parameters:
actualOwnerUserId- one or more (string) user ids- Returns:
- The current query builder instance
-
deploymentId
Specify one or more deployment ids to use as a criteria- Parameters:
deploymentId- one or more (string) deployment ids- Returns:
- The current query builder instance
-
createdOn
Specify one or more dates to use as a criteria for the created-on date of a task as logged in the task event- Parameters:
createdOn- one or more dates- Returns:
- The current query builder instance
-
createdOnRange
Specify an inclusive range of created-on 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- Parameters:
createdOnMin- the minimal (lower) date to use in the rangecreatedOnMax- the max (upper) date to use in the range- Returns:
- The current query builder instance
-
taskParentId
Specify one or more (task) parent ids to use as a criteria- Parameters:
parentId- one or more longs- Returns:
- The current query builder instance
-
createdBy
Specify one or more user ids to use as a criteria for the creator of the task as logged in the task event- Parameters:
createdByUserId- one or more (string) user ids- Returns:
- The current query builder instance
-
activationTime
Specify one or more dates to use as a criteria for the activation time of the task as logged in the task event- Parameters:
activationTime- one or more dates- Returns:
- The current query builder instance
-
activationTimeRange
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- Parameters:
activationTimeMin- the minimal (lower) date to use in the rangeactivationTimeMax- the max (upper) date to use in the range- Returns:
- The current query builder instance
-
description
Specify one or more task description to use as a criteria.- Parameters:
description- one or more description string- Returns:
- The current query builder instance
-
priority
Specify one or more (task) priorities to use as a criteria.- Parameters:
priority- one or more ints- Returns:
- The current query builder instance
-
taskName
Specify one or more task names to use as a criteria.- Parameters:
name- one or more string- Returns:
- The current query builder instance
-
processSessionId
Specify one or more process session ids associated with a task to use as a criteria- Parameters:
processSessionId- one or more process session ids- Returns:
- The current query builder instance
-
dueDate
Specify one or more (task) due dates to use as a criteria for the activation time of the task as logged in the task event- Parameters:
dueDate- one or more dates- Returns:
- The current query builder instance
-
dueDateRange
Specify an inclusive range of (task) due 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- Parameters:
dueDateMin- the minimal (lower) date to use in the rangedueDateMax- the max (upper) date to use in the range- Returns:
- The current query builder instance
-
workItemId
Specify one or more (task-related) work item ids to use as a criteria.- Parameters:
workItemId- one or more long work item ids- Returns:
- The current query builder instance
-
ascending
Specify which field to use when ordering the results, in ascending order. If this method is not used, the results will be ordered in ascending order by the id field.- Parameters:
field- the field by which the query results should be ordered- Returns:
- The current instance of this query builder
-
descending
Specify which field to use when ordering the results, in descending order. If this method is not used, the results will be ordered in ascending order by the id field.- Parameters:
field- the field by which the query results should be ordered- Returns:
- The current instance of this query builder
-