Interface ResultHandler<R,​O>

    • 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 search
        en - 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 search
        en - NamingEnumeration of search results
        ignore - 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 search
        l - List of search results
        Returns:
        List of result objects
        Throws:
        javax.naming.NamingException - if the LDAP returns an error