Package org.kie.internal.query
Interface ExtendedParametrizedQueryBuilder<T,R>
-
- Type Parameters:
T- The type ofParametrizedQueryBuilderinstance being implemented. This type is here to facilitate the building of a fluent interface.R- The type of the result list being returned by the generatedParametrizedQuery
- All Superinterfaces:
ParametrizedQueryBuilder<T>
- All Known Subinterfaces:
AuditLogQueryBuilder<T,R>,AuditTaskQueryBuilder,NodeInstanceLogQueryBuilder,ProcessIdQueryBuilder<T,R>,ProcessInstanceIdQueryBuilder<T,R>,ProcessInstanceLogQueryBuilder,TaskAuditQueryBuilder<T,R>,TaskEventQueryBuilder,TaskSummaryQueryBuilder,TaskVariableQueryBuilder,VariableInstanceLogQueryBuilder
public interface ExtendedParametrizedQueryBuilder<T,R> extends ParametrizedQueryBuilder<T>
This is the base interface for allParametrizedQueryBuilderimplementations. It includes the basic query functions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParametrizedQuery<R>build()Create theParametrizedQueryinstance that can be used to retrieve the results, a {@link List<TaskSummary>} instance.TendGroup()Query criteria which are added to the query after this method are "AND" or "intersection" criteria.TnewGroup()Query criteria which are added to the query after this method are "AND" or "intersection" criteria.
-
-
-
Method Detail
-
newGroup
T newGroup()
Query criteria which are added to the query after this method are "AND" or "intersection" criteria. In other words, the query will only return results which match all of the criteria added (as opposed to returning results that match any of the criteria added).- Returns:
- the current query builder instance
-
endGroup
T endGroup()
Query criteria which are added to the query after this method are "AND" or "intersection" criteria. In other words, the query will only return results which match all of the criteria added (as opposed to returning results that match any of the criteria added).- Returns:
- the current query builder instance
-
build
ParametrizedQuery<R> build()
Create theParametrizedQueryinstance that can be used to retrieve the results, a {@link List<TaskSummary>} instance. Further modifications to theTaskQueryBuilderinstance will not affect the query criteria used in theParametrizedQueryproduced by this method.- Returns:
- The results of the query
-
-