T - the domain classID - the type of the Id of the domain classpublic class QueryDslSearchRepositoryImpl<T,ID extends Serializable> extends SearchRepositoryImpl<T,ID> implements QueryDslSearchRepository<T,ID>
QueryDslSearchRepository implementation.QueryDslSearchRepository implementations:
<repositories base-class="org.appng.persistence.repository.QueryDslSearchRepositoryImpl">See 4.6.2. Adding custom behavior to all repositories from the reference Documentation for further details.
domainClass, entityManager| Constructor and Description |
|---|
QueryDslSearchRepositoryImpl(Class<T> domainType,
javax.persistence.EntityManager entityManager) |
QueryDslSearchRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,ID> entityInformation,
javax.persistence.EntityManager entityManager) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(com.querydsl.core.types.Predicate predicate) |
boolean |
exists(com.querydsl.core.types.Predicate predicate) |
Iterable<T> |
findAll(com.querydsl.core.types.OrderSpecifier<?>... orders) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
com.querydsl.core.types.OrderSpecifier<?>... orders) |
org.springframework.data.domain.Page<T> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Sort sort) |
T |
findOne(com.querydsl.core.types.Predicate predicate) |
createSearchQuery, detach, findAll, getHistory, getRevision, getRevisionNumber, isUnique, isUnique, search, search, search, searchcount, count, count, delete, delete, delete, deleteAll, deleteAllInBatch, deleteInBatch, exists, exists, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findOne, findOne, findOne, flush, getCountQuery, getCountQuery, getDomainClass, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getRepositoryMethodMetadata, readPage, readPage, save, save, saveAndFlush, setRepositoryMethodMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSearchQuery, detach, getHistory, getRevision, getRevisionNumber, isUnique, isUnique, search, search, search, searchdeleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllcount, delete, delete, delete, deleteAll, exists, findOne, savepublic QueryDslSearchRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,ID> entityInformation, javax.persistence.EntityManager entityManager)
public T findOne(com.querydsl.core.types.Predicate predicate)
findOne in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate)
findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public org.springframework.data.domain.Page<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable)
findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public long count(com.querydsl.core.types.Predicate predicate)
count in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort)
findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public boolean exists(com.querydsl.core.types.Predicate predicate)
exists in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>Copyright © 2011–2018 aiticon GmbH. All rights reserved.