public interface LdapRepository<T> extends CrudRepository<T,Name>
Modifier and Type | Method and Description |
---|---|
Iterable<T> |
findAll(org.springframework.ldap.query.LdapQuery ldapQuery)
Find all entries matching the specified query.
|
T |
findOne(org.springframework.ldap.query.LdapQuery ldapQuery)
Find one entry matching the specified query.
|
T findOne(org.springframework.ldap.query.LdapQuery ldapQuery)
ldapQuery
- the query specification.null
if no matching entry was found.IncorrectResultSizeDataAccessException
- if more than one entry matches the query.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.