org.identityconnectors.framework.impl.api.local.operations
Class ObjectNormalizerFacade

java.lang.Object
  extended by org.identityconnectors.framework.impl.api.local.operations.ObjectNormalizerFacade

public final class ObjectNormalizerFacade
extends Object


Constructor Summary
ObjectNormalizerFacade(ObjectClass objectClass, AttributeNormalizer normalizer)
          Create a new ObjectNormalizer
 
Method Summary
 Attribute normalizeAttribute(Attribute attribute)
          Returns the normalized value of the attribute.
 Set<Attribute> normalizeAttributes(Set<Attribute> attributes)
          Returns the normalized set of attributes or null if the original set is null.
 Filter normalizeFilter(Filter filter)
          Returns a filter consisting of the original with all attributes normalized.
 ConnectorObject normalizeObject(ConnectorObject orig)
          Returns the normalized object.
 SyncDelta normalizeSyncDelta(SyncDelta delta)
          Returns the normalized sync delta.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectNormalizerFacade

public ObjectNormalizerFacade(ObjectClass objectClass,
                              AttributeNormalizer normalizer)
Create a new ObjectNormalizer

Parameters:
objectClass - The object class
normalizer - The normalizer. May be null.
Method Detail

normalizeAttribute

public Attribute normalizeAttribute(Attribute attribute)
Returns the normalized value of the attribute. If no normalizer is specified, returns the original attribute.

Parameters:
attribute - The attribute to normalize.
Returns:
The normalized attribute

normalizeAttributes

public Set<Attribute> normalizeAttributes(Set<Attribute> attributes)
Returns the normalized set of attributes or null if the original set is null.

Parameters:
attributes - The original attributes.
Returns:
The normalized attributes or null if the original set is null.

normalizeObject

public ConnectorObject normalizeObject(ConnectorObject orig)
Returns the normalized object.

Parameters:
orig - The original object
Returns:
The normalized object.

normalizeSyncDelta

public SyncDelta normalizeSyncDelta(SyncDelta delta)
Returns the normalized sync delta.

Parameters:
delta - The original delta.
Returns:
The normalized delta.

normalizeFilter

public Filter normalizeFilter(Filter filter)
Returns a filter consisting of the original with all attributes normalized.

Parameters:
filter - The original.
Returns:
The normalized filter.


Copyright © 2011. All Rights Reserved.