public interface LdapEntryMapper
org.springframework.jdbc.core.RowMapper, but
for LDAPSearchResults rather than ResultSets.
The callback method signature is slightly different than
org.springframework.jdbc.core.RowMapper#mapRow(java.sql.ResultSet, int)
due to API differences between Novell and JDBC libraries.
Clients interact with LDAPSearchResults as if it were
a collection of LDAPEntry, so passing the entire
LDAPSearchResults object to
{@link #mapLdapEntry(LDAPEntry, int)} places undue burden on
implementations.| Modifier and Type | Method and Description |
|---|---|
Object |
mapLdapEntry(com.novell.ldap.LDAPEntry searchResult,
int resultNum)
Map the given
LDAPEntry onto some Object. |
Object mapLdapEntry(com.novell.ldap.LDAPEntry searchResult, int resultNum)
LDAPEntry onto some Object.searchResult - the LDAPEntry to mapresultNum - the number of times this mapper has been invoked
for the current LDAP search result set. One-based.LDAPEntryCopyright © 2003–2022 Sakai Project. All rights reserved.