public abstract class AbstractLdapRepositoryQuery extends Object implements org.springframework.data.repository.query.RepositoryQuery
RepositoryQuery implementations for LDAP.| Constructor and Description |
|---|
AbstractLdapRepositoryQuery(LdapQueryMethod queryMethod,
Class<?> entityType,
org.springframework.ldap.core.LdapOperations ldapOperations,
org.springframework.data.mapping.context.MappingContext<? extends org.springframework.data.mapping.PersistentEntity<?,?>,? extends org.springframework.data.mapping.PersistentProperty<?>> mappingContext,
org.springframework.data.mapping.model.EntityInstantiators instantiators)
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.springframework.ldap.query.LdapQuery |
createQuery(org.springframework.data.ldap.repository.query.LdapParameterAccessor parameters)
Creates a
Query instance using the given parameters. |
Object |
execute(Object[] parameters) |
protected Class<?> |
getEntityClass() |
org.springframework.data.repository.query.QueryMethod |
getQueryMethod() |
public AbstractLdapRepositoryQuery(LdapQueryMethod queryMethod, Class<?> entityType, org.springframework.ldap.core.LdapOperations ldapOperations, org.springframework.data.mapping.context.MappingContext<? extends org.springframework.data.mapping.PersistentEntity<?,?>,? extends org.springframework.data.mapping.PersistentProperty<?>> mappingContext, org.springframework.data.mapping.model.EntityInstantiators instantiators)
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.public final Object execute(Object[] parameters)
execute in interface org.springframework.data.repository.query.RepositoryQueryprotected abstract org.springframework.ldap.query.LdapQuery createQuery(org.springframework.data.ldap.repository.query.LdapParameterAccessor parameters)
Query instance using the given parameters.parameters - must not be null.protected Class<?> getEntityClass()
public final org.springframework.data.repository.query.QueryMethod getQueryMethod()
getQueryMethod in interface org.springframework.data.repository.query.RepositoryQueryCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.