|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.oud.plugin.DefaultSearchResultHandler
public class DefaultSearchResultHandler
This class defines a search result handler wrapper that forwards all calls to the provided search result handler.
This class is provided for convenience only. Override the appropriate handle...() method to intercept the appropriate result.
Constructor Summary | |
---|---|
DefaultSearchResultHandler(SearchResultHandler resultHandler) Construct a new instance of this class. |
Method Summary | |
---|---|
boolean |
handleEntry(SearchResultEntry entry) Invoked each time a search result entry is returned from an asynchronous search operation. |
void |
handleErrorResult(Result error) Invoked when the operation has failed. |
boolean |
handleReference(DN dn, SearchResultReference reference) Invoked each time a search result reference is returned from an asynchronous search operation. |
void |
handleResult(Result result) Invoked when the operation has completed successfully. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.oud.responses.ResultHandler |
---|
handleErrorResult, handleResult |
Constructor Detail |
---|
public DefaultSearchResultHandler(SearchResultHandler resultHandler)
resultHandler
- the handler that will receive all calls defined by the SearchResultHandler interface.Method Detail |
---|
public boolean handleEntry(SearchResultEntry entry)
SearchResultHandler
handleEntry
in interface SearchResultHandler
entry
- The search result entry.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).public boolean handleReference(DN dn, SearchResultReference reference)
SearchResultHandler
handleReference
in interface SearchResultHandler
dn
- The DN related to the provided search reference.reference
- The search result reference.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).public void handleErrorResult(Result error)
ResultHandler
handleErrorResult
in interface ResultHandler
error
- The error result exception indicating why the operation has failed.public void handleResult(Result result)
ResultHandler
handleResult
in interface ResultHandler
result
- The result of the operation.
|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |