Class AnnotatedLdapRepositoryQuery

java.lang.Object
org.springframework.data.ldap.repository.query.AbstractLdapRepositoryQuery
org.springframework.data.ldap.repository.query.AnnotatedLdapRepositoryQuery
All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery

public class AnnotatedLdapRepositoryQuery extends AbstractLdapRepositoryQuery
Handles queries for repository methods annotated with Query.
Author:
Mattias Hellborg Arthursson, Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnnotatedLdapRepositoryQuery(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)
    Construct a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.ldap.query.LdapQuery
    createQuery(org.springframework.data.ldap.repository.query.LdapParameterAccessor parameters)
    Creates a Query instance using the given parameters.

    Methods inherited from class org.springframework.data.ldap.repository.query.AbstractLdapRepositoryQuery

    execute, getEntityClass, getQueryMethod

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnnotatedLdapRepositoryQuery

      public AnnotatedLdapRepositoryQuery(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)
      Construct a new instance.
      Parameters:
      queryMethod - the QueryMethod.
      entityType - the managed class.
      ldapOperations - the LdapOperations instance to use.
      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 a Query instance using the given parameters.
      Specified by:
      createQuery in class AbstractLdapRepositoryQuery
      Parameters:
      parameters - must not be null.
      Returns: