org.springframework.ldap.repository.query
Class AnnotatedLdapRepositoryQuery
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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