public class SearchImpl extends ConnectorAPIOperationRunner implements SearchApiOp
Modifier and Type | Class and Description |
---|---|
static class |
SearchImpl.AttributesToGetSearchResultsHandler
Simple results handler that can reduce attributes to only the set of
attribute to get..
|
NO_TIMEOUT
Constructor and Description |
---|
SearchImpl(ConnectorOperationalContext context,
Connector connector)
Initializes the operation works.
|
Modifier and Type | Method and Description |
---|---|
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
ResultsHandler . |
getConnector, getNormalizer, getOperationalContext
public SearchImpl(ConnectorOperationalContext context, Connector connector)
public void search(ObjectClass oclass, Filter originalFilter, ResultsHandler handler, OperationOptions options)
ResultsHandler
.search
in interface SearchApiOp
oclass
- reduces the number of entries to only those that match the
ObjectClass
provided.originalFilter
- Reduces the number of entries to only those that match the
Filter
provided, if any. May be null.handler
- class responsible for working with the objects returned from
the search.options
- additional options that impact the way this operation is run.
May be null.SearchApiOp#search(Filter, long, long, SearchApiOp.ResultsHandler)
public static void rawSearch(SearchOp<?> search, ObjectClass oclass, Filter filter, ResultsHandler handler, OperationOptions options)
search
- The underlying implementation of search
(generally the connector itself)oclass
- The object classfilter
- The filterhandler
- The handleroptions
- The optionsCopyright © 2013. All Rights Reserved.