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 objectClass,
Filter filter,
SearchResultsHandler handler,
OperationOptions options,
ConnectorOperationalContext operationalContext)
Public static because it is used by TestHelpersImpl.
|
SearchResult |
search(ObjectClass objectClass,
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 SearchResult search(ObjectClass objectClass, Filter originalFilter, ResultsHandler handler, OperationOptions options)
ResultsHandler
.search
in interface SearchApiOp
objectClass
- 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.null
.SearchOp.executeQuery(org.identityconnectors.framework.common.objects.ObjectClass, T, org.identityconnectors.framework.common.objects.ResultsHandler, org.identityconnectors.framework.common.objects.OperationOptions)
public static void rawSearch(SearchOp<?> search, ObjectClass objectClass, Filter filter, SearchResultsHandler handler, OperationOptions options, ConnectorOperationalContext operationalContext)
search
- The underlying implementation of search (generally the connector itself)objectClass
- The object classfilter
- The filterhandler
- The handleroptions
- The optionsoperationalContext
- Copyright © 2022. All rights reserved.