Skip navigation links


org.identityconnectors.framework.common.objects
Interface ResultsHandler

All Known Implementing Classes:
ToListResultsHandler

public interface ResultsHandler

Callback interface for operations that are returning one or more results. Currently used only by Search, but may be used by other operations in the future.


Method Summary
 boolean handle(ConnectorObject obj)
          Call-back method to do whatever it is the caller wants to do with each ConnectorObject that is returned in the result of SearchApiOp.

 

Method Detail

handle

boolean handle(ConnectorObject obj)
Call-back method to do whatever it is the caller wants to do with each ConnectorObject that is returned in the result of SearchApiOp.
Parameters:
obj - each object return from the search.
Returns:
true if we should keep processing else false to cancel.
Throws:
java.lang.RuntimeException - the implementor should throw a RuntimeException that wraps any native exception (or that describes any other problem during execution) that is serious enough to stop the iteration.

Skip navigation links


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