SearchQuery<T> |
SearchQuery.and(String clause) |
Adds a parameterless JPQL AND-clause to this query.
Usage example:
|
SearchQuery<T> |
SearchQuery.and(String clause,
Map<String,Object> params) |
Adds a parameterized JPQL AND-clause to this query.
|
SearchQuery<T> |
SearchQuery.contains(String name,
Object value) |
Checks if the attribute is contains the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchRepository.createSearchQuery() |
|
SearchQuery<T> |
SearchRepositoryImpl.createSearchQuery() |
|
SearchQuery<T> |
SearchQuery.distinct() |
Causes the JPQL-query to select distinct entities only.
|
SearchQuery<T> |
SearchQuery.endsWith(String name,
Object value) |
Checks if the attribute is ends with the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.equals(String name,
Object value) |
Checks if the attribute equals the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.greaterEquals(String name,
Object value) |
Checks if the attribute is greater or equals the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.greaterThan(String name,
Object value) |
Checks if the attribute is greater than the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.in(String name,
Collection<?> values) |
Checks if the attribute is in the given values.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.isNotNull(String name) |
Checks if the attribute is not null.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.isNull(String name) |
Checks if the attribute is null.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.join(String joinQuery) |
Adds one or more joins to the resulting JPQL-query.
The alias for the entity is e , so you could add a join like
|
SearchQuery<T> |
SearchQuery.lessEquals(String name,
Object value) |
Checks if the attribute is less or equals the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.lessThan(String name,
Object value) |
Checks if the attribute is less than the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.like(String name,
Object value) |
Checks if the attribute is like the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.notEquals(String name,
Object value) |
Checks if the attribute not equals the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.notIn(String name,
Collection<?> values) |
Checks if the attribute is not in the given values.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.notLike(String name,
Object value) |
Checks if the attribute is not like the given value.
JPQL-fragment:
|
SearchQuery<T> |
SearchQuery.setEntityAlias(String entityAlias) |
Sets the entity alias to by used in JPQL queries
|
protected SearchQuery<T> |
SearchQuery.setQueryParameters(javax.persistence.Query... queries) |
Sets the parameters defined by criteria for the given queries.
|
SearchQuery<T> |
SearchQuery.startsWith(String name,
Object value) |
Checks if the attribute is starts with the given value.
JPQL-fragment:
|