public interface LdapRepository<T> extends org.springframework.data.repository.CrudRepository<T,Name>
Modifier and Type | Method and Description |
---|---|
Iterable<T> |
findAll(LdapQuery ldapQuery)
Find all entries matching the specified query.
|
T |
findOne(LdapQuery ldapQuery)
Find one entry matching the specified query.
|
T findOne(LdapQuery ldapQuery)
ldapQuery
- the query specification.null
if no matching entry was found.IncorrectResultSizeDataAccessException
- if more than one entry matches the query.