Spring LDAP

org.springframework.ldap.repository.query
Class AnnotatedLdapRepositoryQuery

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

public class AnnotatedLdapRepositoryQuery
extends Object

Handles queries for repository methods annotated with Query.

Since:
2.0
Author:
Mattias Hellborg Arthursson

Constructor Summary
AnnotatedLdapRepositoryQuery(LdapQueryMethod queryMethod, Class<?> clazz, LdapOperations ldapOperations)
          Construct a new instance.
 
Method Summary
protected  LdapQuery createQuery(Object[] parameters)
           
 Object execute(Object[] parameters)
           
 org.springframework.data.repository.query.QueryMethod getQueryMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedLdapRepositoryQuery

public AnnotatedLdapRepositoryQuery(LdapQueryMethod queryMethod,
                                    Class<?> clazz,
                                    LdapOperations ldapOperations)
Construct a new instance.

Parameters:
queryMethod - the QueryMethod.
clazz - the managed class.
ldapOperations - the LdapOperations instance to use.
Method Detail

createQuery

protected LdapQuery createQuery(Object[] parameters)

execute

public final Object execute(Object[] parameters)
Specified by:
execute in interface org.springframework.data.repository.query.RepositoryQuery

getQueryMethod

public final org.springframework.data.repository.query.QueryMethod getQueryMethod()
Specified by:
getQueryMethod in interface org.springframework.data.repository.query.RepositoryQuery

Spring LDAP