org.identityconnectors.framework.common.objects
Interface ResultsHandler
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.
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:
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.
Copyright © 2012. All Rights Reserved.