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.

Version:
$Revision: 2887 $ $Date: 2014-02-26 12:23:53 -0500 (Wed, 26 Feb 2014) $
Author:
Middleware Services

Method Summary
 void map(org.ldaptive.LdapEntry source, T dest)
          Injects data from the supplied ldap entry into the supplied destination object.
 void map(T source, org.ldaptive.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,
         org.ldaptive.LdapEntry dest)
Injects data from the supplied source object into the supplied ldap entry.

Parameters:
source - to read from
dest - to write to

map

void map(org.ldaptive.LdapEntry source,
         T dest)
Injects data from the supplied ldap entry into the supplied destination object.

Parameters:
source - to read from
dest - to write to


Copyright © 2003-2016 Virginia Tech. All Rights Reserved.