|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryCriteria
Criteria is a simplified representation of conditions the entities targeted by a query have to satisfy and that constrains the query of such entities.
Instead of providing a full representation of a criteria API by which criterion objects can be composing programmatically and that wraps each underlying persistence-specific criteria API we use, we prefer to let the developers provide their own implementation of the criteria by extendings this interface and by adapting it to their purpose.
Nested Class Summary | |
---|---|
static class |
QueryCriteria.Clause
A clause representing the criteria the entities have to match. |
Method Summary | |
---|---|
QueryCriteria.Clause |
clause()
Gets the clause the entities must match. |
PaginationCriterion |
pagination()
Gets the pagination to apply to the query. |
Method Detail |
---|
PaginationCriterion pagination()
PaginationCriterion.NO_PAGINATION
is returned.QueryCriteria.Clause clause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |