public class QueryDslLdapRepository<T> extends SimpleLdapRepository<T> implements 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) |
Page<T> |
findAll(com.querydsl.core.types.Predicate predicate,
Pageable pageable) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
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 QueryDslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate)
findAll in interface QueryDslPredicateExecutor<T>public long count(com.querydsl.core.types.Predicate predicate)
count in interface QueryDslPredicateExecutor<T>public boolean exists(com.querydsl.core.types.Predicate predicate)
exists in interface QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, Sort sort)
findAll in interface QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface QueryDslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface QueryDslPredicateExecutor<T>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.