Class SearchOperationWorker

All Implemented Interfaces:
OperationWorker<SearchRequest,SearchResponse>

public class SearchOperationWorker extends AbstractOperationWorker<SearchOperation,SearchRequest,SearchResponse>
Executes multiple ldap search operations asynchronously.
  • Constructor Details

    • SearchOperationWorker

      public SearchOperationWorker()
      Default constructor.
    • SearchOperationWorker

      public SearchOperationWorker(SearchOperation op)
      Creates a new search operation worker.
      Parameters:
      op - search operation to execute
  • Method Details

    • execute

      public Collection<SearchResponse> execute(String... filters)
      Performs search operations for the supplied filters.
      Parameters:
      filters - to search with
      Returns:
      search results
    • execute

      public Collection<SearchResponse> execute(FilterTemplate... templates)
      Performs search operations for the supplied filters.
      Parameters:
      templates - to search with
      Returns:
      search results
    • execute

      public Collection<SearchResponse> execute(String[] filters, String... attrs)
      Performs search operations for the supplied filters with the supplied return attributes
      Parameters:
      filters - to search with
      attrs - attributes to return
      Returns:
      search results
    • execute

      public Collection<SearchResponse> execute(FilterTemplate[] templates, String... attrs)
      Performs search operations for the supplied filters with the supplied return attributes
      Parameters:
      templates - to search with
      attrs - attributes to return
      Returns:
      search results