|
Spring LDAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.core.CollectingNameClassPairCallbackHandler<T>
public abstract class CollectingNameClassPairCallbackHandler<T>
A NameClassPairCallbackHandler to collect all results in an internal List.
LdapTemplate| Constructor Summary | |
|---|---|
CollectingNameClassPairCallbackHandler()
|
|
| Method Summary | |
|---|---|
List<T> |
getList()
Get the assembled list. |
abstract T |
getObjectFromNameClassPair(NameClassPair nameClassPair)
Handle a NameClassPair and transform it to an Object of the desired type and with data from the NameClassPair. |
void |
handleNameClassPair(NameClassPair nameClassPair)
Pass on the supplied NameClassPair to getObjectFromNameClassPair(NameClassPair) and add the result to
the internal list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectingNameClassPairCallbackHandler()
| Method Detail |
|---|
public List<T> getList()
public final void handleNameClassPair(NameClassPair nameClassPair)
throws NamingException
getObjectFromNameClassPair(NameClassPair) and add the result to
the internal list.
handleNameClassPair in interface NameClassPairCallbackHandlernameClassPair - the NameClassPair returned from the
NamingEnumeration.
NamingException - if an error occurs.
public abstract T getObjectFromNameClassPair(NameClassPair nameClassPair)
throws NamingException
nameClassPair - a NameClassPair from a search operation.
NamingException - if an error occurs.
|
Spring LDAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||