|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.beans.AbstractLdapEntryMapper<T>
T - type of object to mappublic abstract class AbstractLdapEntryMapper<T>
Base implementation of an ldap entry mapper. Uses a ClassDescriptor
for decoding and encoding of objects.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class. |
| Constructor Summary | |
|---|---|
AbstractLdapEntryMapper()
|
|
| Method Summary | |
|---|---|
protected abstract ClassDescriptor |
getClassDescriptor(T object)
Returns the class descriptor. |
void |
map(org.ldaptive.LdapEntry source,
T dest)
Injects data from the supplied ldap entry into the supplied destination object. |
org.ldaptive.LdapEntry |
map(T source)
Injects data from the supplied source object into a new instance of ldap entry. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public AbstractLdapEntryMapper()
| Method Detail |
|---|
protected abstract ClassDescriptor getClassDescriptor(T object)
object - to return the class descriptor for
public String mapDn(T object)
mapDn in interface LdapEntryMapper<T>object - to retrieve the DN from
public org.ldaptive.LdapEntry map(T source)
source - to read from
public void map(T source,
org.ldaptive.LdapEntry dest)
map in interface LdapEntryMapper<T>source - to read fromdest - to write to
public void map(org.ldaptive.LdapEntry source,
T dest)
map in interface LdapEntryMapper<T>source - to read fromdest - to write to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||