public interface JpaEntityGraphQueryDslPredicateExecutor<T>
extends org.springframework.data.querydsl.QueryDslPredicateExecutor<T>
| Modifier and Type | Method and Description |
|---|---|
Iterable<T> |
findAll(EntityGraph entityGraph,
com.querydsl.core.types.OrderSpecifier<?>... orders)
Returns all entities ordered by the given
OrderSpecifiers. |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
EntityGraph entityGraph)
Returns all entities matching the given
Predicate. |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
EntityGraph entityGraph,
com.querydsl.core.types.OrderSpecifier<?>... orders)
Returns all entities matching the given
Predicate applying the given OrderSpecifiers. |
org.springframework.data.domain.Page<T> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable,
EntityGraph entityGraph)
Returns a
Page of entities matching the given Predicate. |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Sort sort,
EntityGraph entityGraph)
Returns all entities matching the given
Predicate applying the given Sort. |
T |
findOne(com.querydsl.core.types.Predicate predicate,
EntityGraph entityGraph)
Returns a single entity matching the given
Predicate or null if none was found. |
T findOne(com.querydsl.core.types.Predicate predicate, EntityGraph entityGraph)
Predicate or null if none was found.predicate - can be null.entityGraph - can be null.Predicate or null if none was found.org.springframework.dao.IncorrectResultSizeDataAccessException - if the predicate yields more than one
result.Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, EntityGraph entityGraph)
Predicate. In case no match could be found an empty
Iterable is returned.predicate - can be null.entityGraph - can be null.Predicate.Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort, EntityGraph entityGraph)
Predicate applying the given Sort. In case no match could
be found an empty Iterable is returned.predicate - can be null.sort - the Sort specification to sort the results by, must not be null.entityGraph - can be null.Predicate.Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, EntityGraph entityGraph, com.querydsl.core.types.OrderSpecifier<?>... orders)
Predicate applying the given OrderSpecifiers. In case no
match could be found an empty Iterable is returned.predicate - can be null.entityGraph - can be null.orders - the OrderSpecifiers to sort the results byPredicate applying the given OrderSpecifiers.Iterable<T> findAll(EntityGraph entityGraph, com.querydsl.core.types.OrderSpecifier<?>... orders)
OrderSpecifiers.orders - the OrderSpecifiers to sort the results by.entityGraph - can be null.OrderSpecifiers.org.springframework.data.domain.Page<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable, EntityGraph entityGraph)
Page of entities matching the given Predicate. In case no match could be found, an empty
Page is returned.predicate - can be null.pageable - can be null.entityGraph - can be null.Page of entities matching the given Predicate.Copyright © 2017 Cosium. All rights reserved.