org.identityconnectors.framework.impl.api.local.operations
Class SearchImpl

java.lang.Object
  extended by org.identityconnectors.framework.impl.api.local.operations.APIOperationRunner
      extended by org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
          extended by org.identityconnectors.framework.impl.api.local.operations.SearchImpl
All Implemented Interfaces:
APIOperation, SearchApiOp

public class SearchImpl
extends ConnectorAPIOperationRunner
implements SearchApiOp


Nested Class Summary
static class SearchImpl.AttributesToGetSearchResultsHandler
          Simple results handler that can reduce attributes to only the set of attribute to get..
 
Field Summary
 
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
 
Constructor Summary
SearchImpl(ConnectorOperationalContext context, Connector connector)
          Initializes the operation works.
 
Method Summary
static void rawSearch(SearchOp<?> search, ObjectClass oclass, Filter filter, ResultsHandler handler, OperationOptions options)
          Public because it is used by TestHelpersImpl.
 void search(ObjectClass oclass, Filter originalFilter, ResultsHandler handler, OperationOptions options)
          Call the SPI search routines to return the results to the SearchImpl.AttributesToGetSearchResultsHandler.
 
Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchImpl

public SearchImpl(ConnectorOperationalContext context,
                  Connector connector)
Initializes the operation works.

Method Detail

search

public void search(ObjectClass oclass,
                   Filter originalFilter,
                   ResultsHandler handler,
                   OperationOptions options)
Call the SPI search routines to return the results to the SearchImpl.AttributesToGetSearchResultsHandler.

Specified by:
search in interface SearchApiOp
See Also:
SearchApiOp#search(Filter, long, long, SearchApiOp.ResultsHandler)

rawSearch

public static void rawSearch(SearchOp<?> search,
                             ObjectClass oclass,
                             Filter filter,
                             ResultsHandler handler,
                             OperationOptions options)
Public because it is used by TestHelpersImpl. Raw, SPI-level search.

Parameters:
search - The underlying implementation of search (generally the connector itself)
oclass - The object class
filter - The filter
handler - The handler
options - The options


Copyright © 2011. All Rights Reserved.