Class LdapQueryMethod

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

public class LdapQueryMethod extends org.springframework.data.repository.query.QueryMethod
QueryMethod for Ldap Queries.
Author:
Mattias Hellborg Arthursson, Eddu Melendez, Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
    LdapQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory)
    Creates a new LdapQueryMethod from the given parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check whether the target method is annotated with Query.

    Methods inherited from class org.springframework.data.repository.query.QueryMethod

    createParameters, createParameters, getDomainClass, getEntityInformation, getName, getNamedQueryName, getParameters, getResultProcessor, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, isSliceQuery, isStreamQuery, toString

    Methods inherited from class java.lang.Object

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

    • LdapQueryMethod

      public LdapQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory)
      Creates a new LdapQueryMethod from the given parameters.
      Parameters:
      method - must not be null
      metadata - must not be null
  • Method Details

    • 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.