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 Modifier and Type Interface Description static class
TaskVariableQueryBuilder.OrderBy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskVariableQueryBuilder
ascending(TaskVariableQueryBuilder.OrderBy field)
Specify which field to use when ordering the results, in ascending order.TaskVariableQueryBuilder
descending(TaskVariableQueryBuilder.OrderBy field)
Specify which field to use when ordering the results, in descending order.TaskVariableQueryBuilder
id(long... id)
Specify one or more task event ids to use as a criteriaTaskVariableQueryBuilder
modificationDate(java.util.Date... logTime)
Specify one or more dates to use as a criteria for the modification date of the task variableTaskVariableQueryBuilder
modificationDateRange(java.util.Date modDateMin, java.util.Date modDateMax)
Specify an inclusive range of modification dates to use as a criteriaTaskVariableQueryBuilder
name(java.lang.String... name)
Add one or more (task variable) names as a criteria to the queryTaskVariableQueryBuilder
processId(java.lang.String... processId)
Specify one or more process (definition) id's as criteria in the queryTaskVariableQueryBuilder
taskId(long... taskId)
Specify one or more task instance ids to use as a criteria.TaskVariableQueryBuilder
taskIdRange(java.lang.Long taskIdMin, java.lang.Long taskIdMax)
Specify an inclusive range of task ids to use as a criteriaTaskVariableQueryBuilder
type(TaskVariable.VariableType... type)
Add one or more (task variable) types as a criteria to the queryTaskVariableQueryBuilder
value(java.lang.String... value)
Add one or more (task variable) values as a criteria to the query-
Methods inherited from interface org.kie.internal.query.ExtendedParametrizedQueryBuilder
build, endGroup, newGroup
-
Methods inherited from interface org.kie.internal.query.ParametrizedQueryBuilder
and, clear, equals, intersect, like, maxResults, offset, or, regex, union
-
Methods inherited from interface org.kie.internal.query.ProcessInstanceIdQueryBuilder
processInstanceId, processInstanceIdRange
-
-
-
-
Method Detail
-
id
TaskVariableQueryBuilder id(long... 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
TaskVariableQueryBuilder taskId(long... 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
TaskVariableQueryBuilder taskIdRange(java.lang.Long taskIdMin, java.lang.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- 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
TaskVariableQueryBuilder processId(java.lang.String... processId)
Specify one or more process (definition) id's as criteria in the query- Specified by:
processId
in interfaceProcessIdQueryBuilder<TaskVariableQueryBuilder,TaskVariable>
- Parameters:
processId
- one or more process ids- Returns:
- The current query builder instance
-
name
TaskVariableQueryBuilder name(java.lang.String... name)
Add one or more (task variable) names as a criteria to the query- Parameters:
name
- one or more strings- Returns:
- the current
TaskSummaryQueryBuilder
instance
-
value
TaskVariableQueryBuilder value(java.lang.String... value)
Add one or more (task variable) values as a criteria to the query- Parameters:
value
- one or more strings- Returns:
- the current
TaskSummaryQueryBuilder
instance
-
type
TaskVariableQueryBuilder type(TaskVariable.VariableType... type)
Add one or more (task variable) types as a criteria to the query- Parameters:
type
- one or moreTaskVariable.VariableType
values- Returns:
- the current
TaskSummaryQueryBuilder
instance
-
modificationDate
TaskVariableQueryBuilder modificationDate(java.util.Date... logTime)
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
TaskVariableQueryBuilder modificationDateRange(java.util.Date modDateMin, java.util.Date modDateMax)
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
TaskVariableQueryBuilder ascending(TaskVariableQueryBuilder.OrderBy field)
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
TaskVariableQueryBuilder descending(TaskVariableQueryBuilder.OrderBy field)
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
-
-