Class QuerydslLdapPredicateExecutor<T>
java.lang.Object
org.springframework.data.ldap.repository.support.QuerydslLdapPredicateExecutor<T>
- All Implemented Interfaces:
ListQuerydslPredicateExecutor<T>,QuerydslPredicateExecutor<T>
public class QuerydslLdapPredicateExecutor<T>
extends Object
implements ListQuerydslPredicateExecutor<T>
LDAP-specific
QuerydslPredicateExecutor.- Since:
- 2.6
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionQuerydslLdapPredicateExecutor(Class<T> entityType, ProjectionFactory projectionFactory, org.springframework.ldap.core.LdapOperations ldapOperations, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> mappingContext) Creates a newQuerydslLdapPredicateExecutor.QuerydslLdapPredicateExecutor(EntityInformation<T, ?> entityInformation, ProjectionFactory projectionFactory, org.springframework.ldap.core.LdapOperations ldapOperations, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> mappingContext) Creates a newQuerydslLdapPredicateExecutor. -
Method Summary
Modifier and TypeMethodDescriptionlongcount(com.querydsl.core.types.Predicate predicate) booleanexists(com.querydsl.core.types.Predicate predicate) findAll(com.querydsl.core.types.OrderSpecifier<?>... orders) findAll(com.querydsl.core.types.Predicate predicate) findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders) <S extends T,R>
RfindBy(com.querydsl.core.types.Predicate predicate, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) findOne(com.querydsl.core.types.Predicate predicate)
-
Constructor Details
-
QuerydslLdapPredicateExecutor
public QuerydslLdapPredicateExecutor(Class<T> entityType, ProjectionFactory projectionFactory, org.springframework.ldap.core.LdapOperations ldapOperations, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> mappingContext) Creates a newQuerydslLdapPredicateExecutor.- Parameters:
entityType- must not be null.projectionFactory- must not be null.ldapOperations- must not be null.mappingContext- must not be null.
-
QuerydslLdapPredicateExecutor
public QuerydslLdapPredicateExecutor(EntityInformation<T, ?> entityInformation, ProjectionFactory projectionFactory, org.springframework.ldap.core.LdapOperations ldapOperations, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> mappingContext) Creates a newQuerydslLdapPredicateExecutor.- Parameters:
entityInformation- must not be null.projectionFactory- must not be null.ldapOperations- must not be null.mappingContext- must not be null.
-
-
Method Details
-
findOne
- Specified by:
findOnein interfaceQuerydslPredicateExecutor<T>
-
findAll
- Specified by:
findAllin interfaceListQuerydslPredicateExecutor<T>- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>
-
count
public long count(com.querydsl.core.types.Predicate predicate) - Specified by:
countin interfaceQuerydslPredicateExecutor<T>
-
exists
public boolean exists(com.querydsl.core.types.Predicate predicate) - Specified by:
existsin interfaceQuerydslPredicateExecutor<T>
-
findAll
- Specified by:
findAllin interfaceListQuerydslPredicateExecutor<T>- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>
-
findAll
- Specified by:
findAllin interfaceListQuerydslPredicateExecutor<T>- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>
-
findAll
public List<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders) - Specified by:
findAllin interfaceListQuerydslPredicateExecutor<T>- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>
-
findAll
- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>
-
findBy
public <S extends T,R> R findBy(com.querydsl.core.types.Predicate predicate, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) - Specified by:
findByin interfaceQuerydslPredicateExecutor<T>
-