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, save
Methods 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
null
if no matching entry was found. - Throws:
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.
-