public class QueryDslLdapRepository<T> extends SimpleLdapRepository<T> implements org.springframework.data.querydsl.QueryDslPredicateExecutor<T>
| Constructor and Description |
|---|
QueryDslLdapRepository(org.springframework.ldap.core.LdapOperations ldapOperations,
org.springframework.ldap.odm.core.ObjectDirectoryMapper odm,
Class<T> entityType)
Creates a new
QueryDslLdapRepository. |
| 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) |
List<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) |
public QueryDslLdapRepository(org.springframework.ldap.core.LdapOperations ldapOperations,
org.springframework.ldap.odm.core.ObjectDirectoryMapper odm,
Class<T> entityType)
QueryDslLdapRepository.ldapOperations - must not be null.odm - must not be null.entityType - must not be null.public T findOne(com.querydsl.core.types.Predicate predicate)
findOne in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate)
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 boolean exists(com.querydsl.core.types.Predicate predicate)
exists 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 Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.