Spring LDAP

org.springframework.ldap.repository.query
Class LdapQueryMethod

java.lang.Object
  extended by org.springframework.data.repository.query.QueryMethod
      extended by org.springframework.ldap.repository.query.LdapQueryMethod

public class LdapQueryMethod
extends org.springframework.data.repository.query.QueryMethod

QueryMethod for Ldap Queries.

Since:
2.0
Author:
Mattias Hellborg Arthursson

Constructor Summary
LdapQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata)
          Creates a new LdapQueryMethod from the given parameters.
 
Method Summary
 boolean hasQueryAnnotation()
          Check whether the target method is annotated with Query.
 
Methods inherited from class org.springframework.data.repository.query.QueryMethod
createParameters, getDomainClass, getEntityInformation, getName, getNamedQueryName, getParameters, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapQueryMethod

public LdapQueryMethod(Method method,
                       org.springframework.data.repository.core.RepositoryMetadata metadata)
Creates a new LdapQueryMethod from the given parameters.

Parameters:
method - must not be null
metadata - must not be null
Method Detail

hasQueryAnnotation

public boolean hasQueryAnnotation()
Check whether the target method is annotated with Query.

Returns:
true if the target method is annotated with Query, false otherwise.

Spring LDAP