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) |
Optional<T> |
findOne(com.querydsl.core.types.Predicate predicate) |
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAll, findAllById, findById, findOne, save, saveAllpublic 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 Optional<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–2021 Pivotal Software, Inc.. All rights reserved.