Package edu.vt.middleware.ldap.handler
Interface ResultHandler<R,O>
-
- Type Parameters:
R
- type of resultO
- type of output
- All Known Subinterfaces:
AttributeHandler
,ExtendedAttributeHandler
,ExtendedSearchResultHandler
,SearchResultHandler
- All Known Implementing Classes:
AbstractResultHandler
,BinaryAttributeHandler
,BinarySearchResultHandler
,CaseChangeAttributeHandler
,CaseChangeSearchResultHandler
,CopyAttributeHandler
,CopyResultHandler
,CopySearchResultHandler
,EntryDnSearchResultHandler
,FqdnSearchResultHandler
,MergeSearchResultHandler
,RecursiveAttributeHandler
,RecursiveSearchResultHandler
public interface ResultHandler<R,O>
ResultHandler provides post search processing of ldap results.- Version:
- $Revision: 1330 $
- Author:
- Middleware Services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<O>
process(SearchCriteria sc, java.util.List<? extends R> l)
Process the results from an ldap search.java.util.List<O>
process(SearchCriteria sc, javax.naming.NamingEnumeration<? extends R> en)
Process the results from an ldap search.java.util.List<O>
process(SearchCriteria sc, javax.naming.NamingEnumeration<? extends R> en, java.lang.Class<?>[] ignore)
Process the results from an ldap search.
-
-
-
Method Detail
-
process
java.util.List<O> process(SearchCriteria sc, javax.naming.NamingEnumeration<? extends R> en) throws javax.naming.NamingException
Process the results from an ldap search.- Parameters:
sc
-SearchCriteria
used to perform the searchen
-NamingEnumeration
of search results- Returns:
List
of result objects- Throws:
javax.naming.NamingException
- if the LDAP returns an error
-
process
java.util.List<O> process(SearchCriteria sc, javax.naming.NamingEnumeration<? extends R> en, java.lang.Class<?>[] ignore) throws javax.naming.NamingException
Process the results from an ldap search.- Parameters:
sc
-SearchCriteria
used to perform the searchen
-NamingEnumeration
of search resultsignore
-Class[]
of exception types to ignore results- Returns:
List
of result objects- Throws:
javax.naming.NamingException
- if the LDAP returns an error
-
process
java.util.List<O> process(SearchCriteria sc, java.util.List<? extends R> l) throws javax.naming.NamingException
Process the results from an ldap search.- Parameters:
sc
-SearchCriteria
used to perform the searchl
-List
of search results- Returns:
List
of result objects- Throws:
javax.naming.NamingException
- if the LDAP returns an error
-
-