Package org.kie.internal.task.query
Interface TaskVariableQueryBuilder
- All Superinterfaces:
ExtendedParametrizedQueryBuilder<TaskVariableQueryBuilder,,TaskVariable> ParametrizedQueryBuilder<TaskVariableQueryBuilder>,ProcessIdQueryBuilder<TaskVariableQueryBuilder,,TaskVariable> ProcessInstanceIdQueryBuilder<TaskVariableQueryBuilder,TaskVariable>
public interface TaskVariableQueryBuilder
extends ProcessIdQueryBuilder<TaskVariableQueryBuilder,TaskVariable>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionSpecify which field to use when ordering the results, in ascending order.Specify which field to use when ordering the results, in descending order.id(long... id) Specify one or more task event ids to use as a criteriamodificationDate(Date... logTime) Specify one or more dates to use as a criteria for the modification date of the task variablemodificationDateRange(Date modDateMin, Date modDateMax) Specify an inclusive range of modification dates to use as a criteriaAdd one or more (task variable) names as a criteria to the querySpecify one or more process (definition) id's as criteria in the querytaskId(long... taskId) Specify one or more task instance ids to use as a criteria.taskIdRange(Long taskIdMin, Long taskIdMax) Specify an inclusive range of task ids to use as a criteriatype(TaskVariable.VariableType... type) Add one or more (task variable) types as a criteria to the queryAdd one or more (task variable) values as a criteria to the queryMethods 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, processInstanceIdRange
-
Method Details
-
id
Specify one or more task event ids to use as a criteria- Parameters:
id- one or more task event entity ids- Returns:
- The current query builder instance
-
taskId
Specify one or more task instance ids to use as a criteria.- Parameters:
taskId- one or more task ids- Returns:
- The current query builder instance
-
taskIdRange
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- Parameters:
taskIdMin- the minimal (lower) taskId to use in the rangetaskIdMax- the max (upper) taskId to use in the range- Returns:
- The current query builder instance
-
processId
Specify one or more process (definition) id's as criteria in the query- Specified by:
processIdin interfaceProcessIdQueryBuilder<TaskVariableQueryBuilder,TaskVariable> - Parameters:
processId- one or more process ids- Returns:
- The current query builder instance
-
name
Add one or more (task variable) names as a criteria to the query- Parameters:
name- one or more strings- Returns:
- the current
TaskSummaryQueryBuilderinstance
-
value
Add one or more (task variable) values as a criteria to the query- Parameters:
value- one or more strings- Returns:
- the current
TaskSummaryQueryBuilderinstance
-
type
Add one or more (task variable) types as a criteria to the query- Parameters:
type- one or moreTaskVariable.VariableTypevalues- Returns:
- the current
TaskSummaryQueryBuilderinstance
-
modificationDate
Specify one or more dates to use as a criteria for the modification date of the task variable- Parameters:
logTime- one or more dates- Returns:
- The current query builder instance
-
modificationDateRange
Specify an inclusive range of modification 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:
modDateMin- the minimal (lower) date to use in the rangemodDateMax- the max (upper) date to use in the range- 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
-