|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.persistence.repository.SimpleQueryCriteria
public class SimpleQueryCriteria
A simple implementation of the QueryCriteria
interface. It provides just a QueryCriteria.Clause
instance to add each criterion as text representation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.silverpeas.persistence.repository.QueryCriteria |
---|
QueryCriteria.Clause |
Constructor Summary | |
---|---|
SimpleQueryCriteria(T parameters)
Constructs a simple query criteria with the specified parameters to use when defining the different clauses of the criteria. |
Method Summary | |
---|---|
QueryCriteria.Clause |
clause()
Gets the clause the entities must match. |
PaginationCriterion |
pagination()
Gets the pagination to apply to the query. |
SimpleQueryCriteria |
withPagination(PaginationCriterion pagination)
Adds a criterion on the pagination to apply on the query for entities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleQueryCriteria(T parameters)
T
- the concrete type of the parameters.parameters
- the parameters to use when setting the different clauses.Method Detail |
---|
public SimpleQueryCriteria withPagination(PaginationCriterion pagination)
pagination
- the pagination criterion.
public PaginationCriterion pagination()
QueryCriteria
pagination
in interface QueryCriteria
PaginationCriterion.NO_PAGINATION
is returned.public QueryCriteria.Clause clause()
QueryCriteria
clause
in interface QueryCriteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |