|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use QueryBuilder | |
---|---|
ch.elca.el4j.services.persistence.jpa.criteria | |
ch.elca.el4j.services.persistence.jpa.dao |
Uses of QueryBuilder in ch.elca.el4j.services.persistence.jpa.criteria |
---|
Methods in ch.elca.el4j.services.persistence.jpa.criteria that return QueryBuilder | |
---|---|
QueryBuilder |
QueryBuilder.addSelectParameter(Object... parameters)
TODO: what's this? |
QueryBuilder |
QueryBuilder.clearOrderBy()
drops all ordering constraints. |
QueryBuilder |
QueryBuilder.endBuilder()
Mark this query as completed. |
QueryBuilder |
QueryBuilder.from(Class<?>... entityClasses)
Specifies on which classes the query is based. |
QueryBuilder |
QueryBuilder.from(String... from)
Specifies on which tables the query is based. |
QueryBuilder |
QueryBuilder.fromIf(String fromExp,
boolean cond)
same as from(String...) except that
from clause is added iff condition evaluates to true. |
QueryBuilder |
QueryBuilder.innerJoin(String join,
String on)
Only used for native sql. |
QueryBuilder |
QueryBuilder.innerJoin(String join,
String on,
Object... params)
Only used for native sql. |
QueryBuilder |
QueryBuilder.join(String join)
Dont need 'on', used for JPQL. |
QueryBuilder |
QueryBuilder.joinIf(String join,
boolean cond)
Dont need 'on', used for JPQL. |
QueryBuilder |
QueryBuilder.joinIf(String join,
String on,
boolean cond,
Object... params)
like joinIf(String, String, boolean, Object...) but join is
performed iff cond evaluates to true. |
QueryBuilder |
QueryBuilder.leftJoin(String join,
String on)
|
QueryBuilder |
QueryBuilder.leftJoin(String join,
String on,
Object... params)
Only used for native sql. |
QueryBuilder |
QueryBuilder.orderBy(SortOrder sortOrder,
String orderBy)
appends the given column to the ordering restrictions iff not already ordered by the given column. |
QueryBuilder |
QueryBuilder.orderByIf(SortOrder sortOrder,
String orderBy,
boolean cond)
Appends given column to the ordering restrictions iff cond evaluates to true. |
QueryBuilder |
QueryBuilder.rightJoin(String join,
String on)
|
QueryBuilder |
QueryBuilder.rightJoin(String join,
String on,
Object... params)
Only used for native sql. |
static QueryBuilder |
QueryBuilder.select(String... select)
Creates a new Query with the given SELECT clause. |
QueryBuilder |
QueryBuilder.union(QueryBuilder builder)
|
Methods in ch.elca.el4j.services.persistence.jpa.criteria that return types with arguments of type QueryBuilder | |
---|---|
QueryBuilder.ConditionList<QueryBuilder> |
QueryBuilder.startAnd()
marks the beginning of a list of predicates to be ANDed. |
QueryBuilder.ConditionList<QueryBuilder> |
QueryBuilder.startOr()
marks the beginning of a list of predicates to be ORed. |
Methods in ch.elca.el4j.services.persistence.jpa.criteria with parameters of type QueryBuilder | |
---|---|
QueryBuilder.ConditionList<T> |
QueryBuilder.ConditionList.exist(QueryBuilder subQueryBuilder)
adds an EXISTS ( subquery ) to this condition. |
QueryBuilder.ConditionList<T> |
QueryBuilder.ConditionList.existIf(QueryBuilder subQueryBuilder,
boolean cond)
same as QueryBuilder.ConditionList.exist(QueryBuilder) iff cond evaluates to true. |
QueryBuilder.ConditionList<T> |
QueryBuilder.ConditionList.existIfNotNull(QueryBuilder subQueryBuilder,
Object obj)
|
QueryBuilder |
QueryBuilder.union(QueryBuilder builder)
|
Uses of QueryBuilder in ch.elca.el4j.services.persistence.jpa.dao |
---|
Methods in ch.elca.el4j.services.persistence.jpa.dao with parameters of type QueryBuilder | |
---|---|
List<T> |
ConvenienceGenericJpaDao.findByQuery(QueryBuilder criteria)
Retrieves all the domain objects matching the JPA criteria. |
List<T> |
GenericJpaDao.findByQuery(QueryBuilder criteria)
Retrieves all the domain objects matching the JPA criteria. |
List<T> |
ConvenienceGenericJpaDao.findByQuery(QueryBuilder criteria,
DataExtent extent)
Retrieves all the domain objects matching the JPA criteria. |
List<T> |
GenericJpaDao.findByQuery(QueryBuilder criteria,
DataExtent extent)
Retrieves all the domain objects matching the JPA criteria. |
List<T> |
ConvenienceGenericJpaDao.findByQuery(QueryBuilder criteria,
int firstResult,
int maxResults)
Retrieves a range of domain objects matching the JPA criteria. |
List<T> |
GenericJpaDao.findByQuery(QueryBuilder criteria,
int firstResult,
int maxResults)
Retrieves a range of domain objects matching the JPA criteria. |
List<T> |
ConvenienceGenericJpaDao.findByQuery(QueryBuilder criteria,
int firstResult,
int maxResults,
DataExtent extent)
Retrieves a range of domain objects matching the JPA criteria. |
List<T> |
GenericJpaDao.findByQuery(QueryBuilder criteria,
int firstResult,
int maxResults,
DataExtent extent)
Retrieves a range of domain objects matching the JPA criteria. |
int |
ConvenienceGenericJpaDao.findCountByQuery(QueryBuilder criteria)
Retrieves the number of domain objects matching the JPA criteria. |
int |
GenericJpaDao.findCountByQuery(QueryBuilder criteria)
Retrieves the number of domain objects matching the JPA criteria. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |