Interface LdapRepository<T>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,,Name> org.springframework.data.repository.ListCrudRepository<T,,Name> org.springframework.data.repository.Repository<T,Name>
- All Known Implementing Classes:
QuerydslLdapRepository,SimpleLdapRepository
public interface LdapRepository<T>
extends org.springframework.data.repository.ListCrudRepository<T,Name>
Ldap specific extensions to
CrudRepository.- Author:
- Mattias Hellborg Arthursson, Mark Paluch
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
-
Method Details
-
findOne
Find one entry matching the specified query.- Parameters:
ldapQuery- the query specification.- Returns:
- the found entry or
nullif no matching entry was found. - Throws:
org.springframework.dao.IncorrectResultSizeDataAccessException- if more than one entry matches the query.
-
findAll
Find all entries matching the specified query.- Parameters:
ldapQuery- the query specification.- Returns:
- the entries matching the query.
-