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.unboundid.ldap.sdk.migrate.ldapjdk.LDAPEntry entry,
int resultNum)
Map the given
LDAPEntry onto some Object. |
Object mapLdapEntry(com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPEntry entry, int resultNum)
LDAPEntry onto some Object.entry - the LDAPEntry to mapresultNum - the number of times this mapper has been invoked
for the current LDAP search result set. One-based.LDAPEntryCopyright © 2005–2019 Sakai Project Contributor see (see NOTICE.txt). All rights reserved.