Package org.kie.internal.query
Interface ParametrizedQuery<T>
-
- Type Parameters:
T
- The type being queried and of the (results) list being returned.
public interface ParametrizedQuery<T>
Instances of this class can be built by variousParametrizedQueryBuilder
implemetnations, including those in the jbpm-audit or jbpm-human-task-core modules.ParametrizedQueryBuilder
implementations are responsible for allowing a user to dynamically (at compile-time) specify the criteria to be used in querying various data sources. The result of theParametrizedQueryBuilder
is an instance of this class, which contains the criteria specified in theParametrizedQueryBuilder
instance. When thegetResultList()
method is called, the specified query will be executed, returning a (possibly empty) list of the data that fulfills the query criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<T>
getResultList()
Execute the query and return the list of entities found by the query.
-
-
-
Method Detail
-
getResultList
java.util.List<T> getResultList()
Execute the query and return the list of entities found by the query.- Returns:
- The query result
-
-