Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


oracle.oud.responses
Interface SearchResultHandler

All Superinterfaces:
ResultHandler
All Known Implementing Classes:
DefaultSearchResultHandler

public interface SearchResultHandler
extends ResultHandler

A completion handler for consuming the results of a Search operation.

The handleEntry(oracle.oud.responses.SearchResultEntry) method is invoked each time a Search Result Entry is returned from the Directory Server. The handleReference(oracle.oud.types.DN, oracle.oud.responses.SearchResultReference) method is invoked for each Search Result Reference returned from the Directory Server.

Implementations of these methods should complete in a timely manner so as to avoid keeping the invoking thread from dispatching to other completion handlers.


Method Summary
 boolean handleEntry(SearchResultEntry entry)
          Invoked each time a search result entry is returned from an asynchronous search operation.
 boolean handleReference(DN dn, SearchResultReference reference)
          Invoked each time a search result reference is returned from an asynchronous search operation.

 

Methods inherited from interface oracle.oud.responses.ResultHandler
handleErrorResult, handleResult

 

Method Detail

handleEntry

boolean handleEntry(SearchResultEntry entry)
Invoked each time a search result entry is returned from an asynchronous search operation.
Parameters:
entry - The search result entry.
Returns:
true if this handler should continue to be notified of any remaining entries and references, or false if the remaining entries and references should be skipped for some reason (e.g. a client side size limit has been reached).

handleReference

boolean handleReference(DN dn,
                        SearchResultReference reference)
Invoked each time a search result reference is returned from an asynchronous search operation.
Parameters:
dn - The DN related to the provided search reference.
reference - The search result reference.
Returns:
true if this handler should continue to be notified of any remaining entries and references, or false if the remaining entries and references should be skipped for some reason (e.g. a client side size limit has been reached).

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.