Package | Description |
---|---|
org.identityconnectors.contract.test | |
org.identityconnectors.framework.api.operations | |
org.identityconnectors.framework.common.objects.filter | |
org.identityconnectors.framework.impl.api | |
org.identityconnectors.framework.impl.api.local.operations | |
org.identityconnectors.framework.impl.test | |
org.identityconnectors.test.common |
The
org.identityconnectors.test.common package offers a set
of utility classes and methods useful to connector tests. |
org.identityconnectors.test.common.spi |
Modifier and Type | Method and Description |
---|---|
static List<ConnectorObject> |
ConnectorHelper.search(ConnectorFacade connectorFacade,
ObjectClass objClass,
Filter filter,
OperationOptions opOptions)
Performs search on connector facade with specified object class, filter and operation options.
|
static Map<Uid,ConnectorObject> |
ConnectorHelper.search2Map(ConnectorFacade connectorFacade,
ObjectClass objClass,
Filter filter,
OperationOptions opOptions)
Performs search on connector facade with specified object class, filter and operation options.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchApiOp.search(ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Search the resource for all objects that match the object class and filter.
|
Modifier and Type | Class and Description |
---|---|
class |
AndFilter |
class |
AttributeFilter |
class |
ComparableAttributeFilter
Filter for an attribute value that is comparable.
|
class |
CompositeFilter
Useful for the AND, OR, XOR, etc..
|
class |
ContainsAllValuesFilter |
class |
ContainsFilter |
class |
EndsWithFilter |
class |
EqualsFilter
|
class |
GreaterThanFilter |
class |
GreaterThanOrEqualFilter |
class |
LessThanFilter |
class |
LessThanOrEqualFilter |
class |
NotFilter
Proxy the filter to return the negative of the value.
|
class |
OrFilter |
class |
SingleValueAttributeFilter
Get a single value out of the attribute to test w/.
|
class |
StartsWithFilter |
class |
StringFilter
Filter based on strings.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
FilterBuilder.and(Filter leftHandSide,
Filter rightHandSide)
Logically "ANDs" together the two specified instances of
Filter . |
static Filter |
FilterBuilder.contains(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that contains as any substring
the value of the specified Attribute . |
static Filter |
FilterBuilder.containsAllValues(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that contains all the values from the
specified Attribute . |
static Filter |
FilterBuilder.endsWith(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that contains as a final substring
the value of the specified Attribute . |
static Filter |
FilterBuilder.equalTo(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that is lexically equal to
the value of the specified Attribute . |
Filter |
NotFilter.getFilter()
Get the internal filter that is being negated.
|
Filter |
CompositeFilter.getLeft() |
Filter |
CompositeFilter.getRight() |
static Filter |
FilterBuilder.greaterThan(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that is lexically greater than
the value of the specified Attribute . |
static Filter |
FilterBuilder.greaterThanOrEqualTo(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that is lexically greater than or equal to
the value of the specified Attribute . |
static Filter |
FilterBuilder.lessThan(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that is lexically less than
the value of the specified Attribute . |
static Filter |
FilterBuilder.lessThanOrEqualTo(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that is lexically less than or equal to
the value of the specified Attribute . |
static Filter |
FilterBuilder.not(Filter filter)
Logically negate the specified
Filter . |
static Filter |
FilterBuilder.or(Filter leftHandSide,
Filter rightHandSide)
Logically "OR" together the two specified instances of
Filter . |
static Filter |
FilterBuilder.startsWith(Attribute attr)
Select only an input
ConnectorObject
with a value for the specified Attribute
that contains as an initial substring
the value of the specified Attribute . |
Modifier and Type | Method and Description |
---|---|
static Filter |
FilterBuilder.and(Filter leftHandSide,
Filter rightHandSide)
Logically "ANDs" together the two specified instances of
Filter . |
static Filter |
FilterBuilder.not(Filter filter)
Logically negate the specified
Filter . |
static Filter |
FilterBuilder.or(Filter leftHandSide,
Filter rightHandSide)
Logically "OR" together the two specified instances of
Filter . |
List<T> |
FilterTranslator.translate(Filter filter) |
List<T> |
AbstractFilterTranslator.translate(Filter filter)
Main method to be called to translate a filter
|
Constructor and Description |
---|
AndFilter(Filter left,
Filter right)
And the the left and right filters.
|
NotFilter(Filter filter)
Take the value returned from the internal filter and NOT it.
|
OrFilter(Filter left,
Filter right)
Takes the result of the left and right filter and ORs them.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConnectorFacade.search(ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Search the resource for all objects that match the object class and filter.
|
Modifier and Type | Class and Description |
---|---|
static class |
FilteredResultsHandler.PassThruFilter
Use a pass thru filter to use if a null filter is provided.
|
Modifier and Type | Method and Description |
---|---|
Filter |
ObjectNormalizerFacade.normalizeFilter(Filter filter)
Returns a filter consisting of the original with
all attributes normalized.
|
Modifier and Type | Method and Description |
---|---|
Filter |
ObjectNormalizerFacade.normalizeFilter(Filter filter)
Returns a filter consisting of the original with
all attributes normalized.
|
static void |
SearchImpl.rawSearch(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Public because it is used by TestHelpersImpl.
|
void |
SearchImpl.search(ObjectClass oclass,
Filter originalFilter,
ResultsHandler handler,
OperationOptions options)
Call the SPI search routines to return the results to the
ResultsHandler . |
Constructor and Description |
---|
FilteredResultsHandler(ResultsHandler handler,
Filter filter)
Filter chain for producers.
|
Modifier and Type | Method and Description |
---|---|
void |
TestHelpersImpl.search(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Performs a raw, unfiltered search at the SPI level,
eliminating duplicates from the result set.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestHelpers.search(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
static List<ConnectorObject> |
TestHelpers.searchToList(SearchApiOp search,
ObjectClass oclass,
Filter filter) |
static List<ConnectorObject> |
TestHelpers.searchToList(SearchApiOp search,
ObjectClass oclass,
Filter filter,
OperationOptions options) |
static List<ConnectorObject> |
TestHelpers.searchToList(SearchOp<?> search,
ObjectClass oclass,
Filter filter)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
static List<ConnectorObject> |
TestHelpers.searchToList(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
Modifier and Type | Method and Description |
---|---|
void |
TestHelpersSpi.search(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options) |
Copyright © 2013. All Rights Reserved.