Class PartTreeLdapRepositoryQuery
java.lang.Object
org.springframework.data.ldap.repository.query.AbstractLdapRepositoryQuery
org.springframework.data.ldap.repository.query.PartTreeLdapRepositoryQuery
- All Implemented Interfaces:
RepositoryQuery
RepositoryQuery
implementation for LDAP.- Author:
- Mattias Hellborg Arthursson, Mark Paluch
-
Constructor Summary
ConstructorDescriptionPartTreeLdapRepositoryQuery
(LdapQueryMethod queryMethod, Class<?> entityType, org.springframework.ldap.core.LdapOperations ldapOperations, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> mappingContext, EntityInstantiators instantiators) Creates a newPartTreeLdapRepositoryQuery
. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.ldap.query.LdapQuery
createQuery
(org.springframework.data.ldap.repository.query.LdapParameterAccessor parameters) Creates aQuery
instance using the given parameters.Methods inherited from class org.springframework.data.ldap.repository.query.AbstractLdapRepositoryQuery
execute, getEntityClass, getQueryMethod
-
Constructor Details
-
PartTreeLdapRepositoryQuery
public PartTreeLdapRepositoryQuery(LdapQueryMethod queryMethod, Class<?> entityType, org.springframework.ldap.core.LdapOperations ldapOperations, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> mappingContext, EntityInstantiators instantiators) Creates a newPartTreeLdapRepositoryQuery
.- Parameters:
queryMethod
- must not be null.entityType
- must not be null.ldapOperations
- must not be null.mappingContext
- must not be null.instantiators
- must not be null.
-
-
Method Details
-
createQuery
protected org.springframework.ldap.query.LdapQuery createQuery(org.springframework.data.ldap.repository.query.LdapParameterAccessor parameters) Description copied from class:AbstractLdapRepositoryQuery
Creates aQuery
instance using the given parameters.- Specified by:
createQuery
in classAbstractLdapRepositoryQuery
- Parameters:
parameters
- must not be null.- Returns:
-