Package org.ldaptive.beans
Interface LdapEntryMapper<T>
- Type Parameters:
T
- type of object to map
- All Known Implementing Classes:
AbstractLdapEntryMapper
,DefaultLdapEntryMapper
,SpringLdapEntryMapper
public interface LdapEntryMapper<T>
Interface for ldap entry mappers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Injects data from the supplied ldap entry into the supplied destination object.void
Injects data from the supplied source object into the supplied ldap entry.Returns the LDAP DN for the supplied object.
-
Method Details
-
mapDn
Returns the LDAP DN for the supplied object.- Parameters:
object
- to retrieve the DN from- Returns:
- LDAP DN
-
map
Injects data from the supplied source object into the supplied ldap entry.- Parameters:
source
- to read fromdest
- to write to
-
map
Injects data from the supplied ldap entry into the supplied destination object.- Parameters:
source
- to read fromdest
- to write to
-