Class ObjectNormalizerFacade


  • public final class ObjectNormalizerFacade
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectNormalizerFacade​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.spi.AttributeNormalizer normalizer)
      Create a new ObjectNormalizer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.identityconnectors.framework.common.objects.Attribute normalizeAttribute​(org.identityconnectors.framework.common.objects.Attribute attribute)
      Returns the normalized value of the attribute.
      Set<org.identityconnectors.framework.common.objects.Attribute> normalizeAttributes​(Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
      Returns the normalized set of attributes or null if the original set is null.
      org.identityconnectors.framework.common.objects.filter.Filter normalizeFilter​(org.identityconnectors.framework.common.objects.filter.Filter filter)
      Returns a filter consisting of the original with all attributes normalized.
      org.identityconnectors.framework.common.objects.LiveSyncDelta normalizeLiveSyncDelta​(org.identityconnectors.framework.common.objects.LiveSyncDelta delta)
      Returns the normalized live sync delta.
      org.identityconnectors.framework.common.objects.ConnectorObject normalizeObject​(org.identityconnectors.framework.common.objects.ConnectorObject orig)
      Returns the normalized object.
      org.identityconnectors.framework.common.objects.SyncDelta normalizeSyncDelta​(org.identityconnectors.framework.common.objects.SyncDelta delta)
      Returns the normalized sync delta.
    • Constructor Detail

      • ObjectNormalizerFacade

        public ObjectNormalizerFacade​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                      org.identityconnectors.framework.spi.AttributeNormalizer normalizer)
        Create a new ObjectNormalizer.
        Parameters:
        objectClass - The object class
        normalizer - The normalizer. May be null.
    • Method Detail

      • normalizeAttribute

        public org.identityconnectors.framework.common.objects.Attribute normalizeAttribute​(org.identityconnectors.framework.common.objects.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<org.identityconnectors.framework.common.objects.Attribute> normalizeAttributes​(Set<org.identityconnectors.framework.common.objects.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 org.identityconnectors.framework.common.objects.ConnectorObject normalizeObject​(org.identityconnectors.framework.common.objects.ConnectorObject orig)
        Returns the normalized object.
        Parameters:
        orig - The original object
        Returns:
        The normalized object.
      • normalizeSyncDelta

        public org.identityconnectors.framework.common.objects.SyncDelta normalizeSyncDelta​(org.identityconnectors.framework.common.objects.SyncDelta delta)
        Returns the normalized sync delta.
        Parameters:
        delta - The original delta.
        Returns:
        The normalized delta.
      • normalizeLiveSyncDelta

        public org.identityconnectors.framework.common.objects.LiveSyncDelta normalizeLiveSyncDelta​(org.identityconnectors.framework.common.objects.LiveSyncDelta delta)
        Returns the normalized live sync delta.
        Parameters:
        delta - The original delta.
        Returns:
        The normalized delta.
      • normalizeFilter

        public org.identityconnectors.framework.common.objects.filter.Filter normalizeFilter​(org.identityconnectors.framework.common.objects.filter.Filter filter)
        Returns a filter consisting of the original with all attributes normalized.
        Parameters:
        filter - The original.
        Returns:
        The normalized filter.