Interface LdapRepository<T>

All Superinterfaces:
CrudRepository<T,Name>, ListCrudRepository<T,Name>, Repository<T,Name>
All Known Implementing Classes:
QuerydslLdapRepository, SimpleLdapRepository

public interface LdapRepository<T> extends ListCrudRepository<T,Name>
Ldap specific extensions to CrudRepository.
Author:
Mattias Hellborg Arthursson, Mark Paluch
  • Method Details

    • findOne

      Optional<T> findOne(org.springframework.ldap.query.LdapQuery ldapQuery)
      Find one entry matching the specified query.
      Parameters:
      ldapQuery - the query specification.
      Returns:
      the found entry or null if no matching entry was found.
      Throws:
      IncorrectResultSizeDataAccessException - if more than one entry matches the query.
    • findAll

      List<T> findAll(org.springframework.ldap.query.LdapQuery ldapQuery)
      Find all entries matching the specified query.
      Parameters:
      ldapQuery - the query specification.
      Returns:
      the entries matching the query.