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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
map(LdapEntry source, T dest)
Injects data from the supplied ldap entry into the supplied destination object.void
map(T source, LdapEntry dest)
Injects data from the supplied source object into the supplied ldap entry.String
mapDn(T object)
Returns the LDAP DN for the supplied object.
-
-
-
Method Detail
-
mapDn
String mapDn(T object)
Returns the LDAP DN for the supplied object.- Parameters:
object
- to retrieve the DN from- Returns:
- LDAP DN
-
map
void map(T source, LdapEntry dest)
Injects data from the supplied source object into the supplied ldap entry.- Parameters:
source
- to read fromdest
- to write to
-
-