Class NormalizingFilter
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.filter.ExternallyChainedFilter
-
- org.identityconnectors.framework.impl.api.local.operations.NormalizingFilter
-
- All Implemented Interfaces:
Filter
public class NormalizingFilter extends ExternallyChainedFilter
Proxy the filter to filter based on object normalized version. Similar to ObjectNormalizerFacade.NormalizeFilter, but this one DOES NOT expect that it gets object to be accepted/rejected in normalized form - it normalizes the object just before deciding. Currently used for case insensitive filtering.- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description NormalizingFilter(Filter filter, ObjectNormalizerFacade normalizerFacade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(ConnectorObject obj)
Return the decision based on normalized version of the object.<R,P>
Raccept(FilterVisitor<R,P> v, P p)
Applies aFilterVisitor
to thisFilter
.String
toString()
-
Methods inherited from class org.identityconnectors.framework.common.objects.filter.ExternallyChainedFilter
getFilter
-
-
-
-
Constructor Detail
-
NormalizingFilter
public NormalizingFilter(Filter filter, ObjectNormalizerFacade normalizerFacade)
-
-
Method Detail
-
accept
public boolean accept(ConnectorObject obj)
Return the decision based on normalized version of the object.- Parameters:
obj
- - The specified ConnectorObject.- Returns:
-
accept
public <R,P> R accept(FilterVisitor<R,P> v, P p)
Description copied from interface:Filter
Applies aFilterVisitor
to thisFilter
.- Type Parameters:
R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's methods.- Parameters:
v
- The filter visitor.p
- Optional additional visitor parameter.- Returns:
- A result as specified by the visitor.
-
-