Interface AttributeTypeRegistry

    • Method Detail

      • getNormalizerMapping

        Map<String,​OidNormalizergetNormalizerMapping()
        Gets an oid/name to normalizer mapping used to normalize distinguished names.
        Returns:
        a map of OID Strings to OidNormalizer instances
      • hasDescendants

        boolean hasDescendants​(String ancestorId)
                        throws LdapException
        Quick lookup to see if an attribute has descendants.
        Parameters:
        ancestorId - the name alias or OID for an attributeType
        Returns:
        an Iterator over the AttributeTypes which have the ancestor within their superior chain to the top
        Throws:
        LdapException - if the ancestor attributeType cannot be discerned from the ancestorId supplied
      • hasDescendants

        boolean hasDescendants​(AttributeType ancestor)
                        throws LdapException
        Quick lookup to see if an attribute has descendants.
        Parameters:
        ancestor - the attributeType we are looking for
        Returns:
        an Iterator over the AttributeTypes which have the ancestor within their superior chain to the top
        Throws:
        LdapException - if the ancestor attributeType cannot be discerned from the ancestorId supplied
      • descendants

        Iterator<AttributeTypedescendants​(String ancestorId)
                                     throws LdapException
        Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.
        Parameters:
        ancestorId - the name alias or OID for an attributeType
        Returns:
        an Iterator over the AttributeTypes which have the ancestor within their superior chain to the top
        Throws:
        LdapException - if the ancestor attributeType cannot be discerned from the ancestorId supplied
      • descendants

        Iterator<AttributeTypedescendants​(AttributeType ancestor)
                                     throws LdapException
        Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.
        Parameters:
        ancestor - the AttributeType we are looking for
        Returns:
        an Iterator over the AttributeTypes which have the ancestor within their superior chain to the top
        Throws:
        LdapException - if the ancestor attributeType cannot be discerned from the ancestorId supplied