Class SearchImpl
java.lang.Object
org.identityconnectors.framework.impl.api.local.operations.APIOperationRunner
org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
org.identityconnectors.framework.impl.api.local.operations.SearchImpl
- All Implemented Interfaces:
APIOperation
,SearchApiOp
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
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
ConstructorDescriptionSearchImpl
(ConnectorOperationalContext context, Connector connector) Initializes the operation works. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
rawSearch
(SearchOp<?> search, ObjectClass objectClass, Filter filter, SearchResultsHandler handler, OperationOptions options, ConnectorOperationalContext operationalContext) Public static because it is used by TestHelpersImpl.search
(ObjectClass objectClass, Filter originalFilter, ResultsHandler handler, OperationOptions options) Call the SPI search routines to return the results to theResultsHandler
.Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
-
Constructor Details
-
SearchImpl
Initializes the operation works.
-
-
Method Details
-
search
public SearchResult search(ObjectClass objectClass, Filter originalFilter, ResultsHandler handler, OperationOptions options) Call the SPI search routines to return the results to theResultsHandler
.- Specified by:
search
in interfaceSearchApiOp
- Parameters:
objectClass
- reduces the number of entries to only those that match theObjectClass
provided.originalFilter
- Reduces the number of entries to only those that match theFilter
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.- Returns:
- The query result or
null
. - See Also:
-
rawSearch
public static void rawSearch(SearchOp<?> search, ObjectClass objectClass, Filter filter, SearchResultsHandler handler, OperationOptions options, ConnectorOperationalContext operationalContext) Public static because it is used by TestHelpersImpl. Raw, SPI-level search.- Parameters:
search
- The underlying implementation of search (generally the connector itself)objectClass
- The object classfilter
- The filterhandler
- The handleroptions
- The optionsoperationalContext
-
-