Spring LDAP

org.springframework.ldap.repository.query
Class LdapQueryCreator

java.lang.Object
  extended by org.springframework.data.repository.query.parser.AbstractQueryCreator<LdapQuery,ContainerCriteria>
      extended by org.springframework.ldap.repository.query.LdapQueryCreator

public class LdapQueryCreator
extends org.springframework.data.repository.query.parser.AbstractQueryCreator<LdapQuery,ContainerCriteria>

Creator of dynamic queries based on method names.

Since:
2.0
Author:
Mattias Hellborg Arthursson

Constructor Summary
LdapQueryCreator(org.springframework.data.repository.query.parser.PartTree tree, org.springframework.data.repository.query.Parameters<?,?> parameters, Class<?> clazz, ObjectDirectoryMapper mapper, Object[] values)
          Construct a new instance.
 
Method Summary
protected  ContainerCriteria and(org.springframework.data.repository.query.parser.Part part, ContainerCriteria base, Iterator<Object> iterator)
           
protected  LdapQuery complete(ContainerCriteria criteria, org.springframework.data.domain.Sort sort)
           
protected  ContainerCriteria create(org.springframework.data.repository.query.parser.Part part, Iterator<Object> iterator)
           
protected  ContainerCriteria or(ContainerCriteria base, ContainerCriteria criteria)
           
 
Methods inherited from class org.springframework.data.repository.query.parser.AbstractQueryCreator
createQuery, createQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapQueryCreator

public LdapQueryCreator(org.springframework.data.repository.query.parser.PartTree tree,
                        org.springframework.data.repository.query.Parameters<?,?> parameters,
                        Class<?> clazz,
                        ObjectDirectoryMapper mapper,
                        Object[] values)
Construct a new instance.

Method Detail

create

protected ContainerCriteria create(org.springframework.data.repository.query.parser.Part part,
                                   Iterator<Object> iterator)
Specified by:
create in class org.springframework.data.repository.query.parser.AbstractQueryCreator<LdapQuery,ContainerCriteria>

and

protected ContainerCriteria and(org.springframework.data.repository.query.parser.Part part,
                                ContainerCriteria base,
                                Iterator<Object> iterator)
Specified by:
and in class org.springframework.data.repository.query.parser.AbstractQueryCreator<LdapQuery,ContainerCriteria>

or

protected ContainerCriteria or(ContainerCriteria base,
                               ContainerCriteria criteria)
Specified by:
or in class org.springframework.data.repository.query.parser.AbstractQueryCreator<LdapQuery,ContainerCriteria>

complete

protected LdapQuery complete(ContainerCriteria criteria,
                             org.springframework.data.domain.Sort sort)
Specified by:
complete in class org.springframework.data.repository.query.parser.AbstractQueryCreator<LdapQuery,ContainerCriteria>

Spring LDAP