Interface SchemaLoader

    • Method Detail

      • getSchema

        Schema getSchema​(String schemaName)
        Gets a schema object based on it's name.
        Parameters:
        schemaName - the name of the schema to load
        Returns:
        the Schema object associated with the name
      • loadAttributeTypes

        List<EntryloadAttributeTypes​(Schema... schemas)
                                throws LdapException,
                                       IOException
        Build a list of AttributeTypes read from the underlying storage for a list of specified schema
        Parameters:
        schemas - the schemas from which AttributeTypes are loaded
        Returns:
        The list of loaded AttributeTypes
        Throws:
        LdapException - if there are failures accessing AttributeType information
        IOException - If we can't read the schemaObject
      • loadAttributeTypes

        List<EntryloadAttributeTypes​(String... schemaNames)
                                throws LdapException,
                                       IOException
        Build a list of AttributeTypes read from the underlying storage for a list of specific schema, using their name
        Parameters:
        schemaNames - the schema names from which AttributeTypes are loaded
        Returns:
        The list of loaded AttributeTypes
        Throws:
        LdapException - if there are failures accessing AttributeType information
        IOException - If we can't read the schemaObject
      • loadComparators

        List<EntryloadComparators​(Schema... schemas)
                             throws LdapException,
                                    IOException
        Build a list of Comparators read from the underlying storage for a list of specific schema.
        Parameters:
        schemas - the schemas from which Comparators are loaded
        Returns:
        The list of loaded Comparators
        Throws:
        LdapException - if there are failures accessing Comparator information
        IOException - If we can't read the schemaObject
      • loadComparators

        List<EntryloadComparators​(String... schemaNames)
                             throws LdapException,
                                    IOException
        Build a list of Comparators read from the underlying storage for a list of specific schema, using their name
        Parameters:
        schemaNames - the schema names from which Comparators are loaded
        Returns:
        The list of loaded Comparators
        Throws:
        LdapException - if there are failures accessing Comparator information
        IOException - If we can't read the schemaObject
      • loadDitContentRules

        List<EntryloadDitContentRules​(Schema... schemas)
                                 throws LdapException,
                                        IOException
        Build a list of DitContentRules read from the underlying storage for a list of specific schema.
        Parameters:
        schemas - the schemas from which DitContentRules are loaded
        Returns:
        The list of loaded DitContentRules
        Throws:
        LdapException - if there are failures accessing DitContentRule information
        IOException - If we can't read the schemaObject
      • loadDitContentRules

        List<EntryloadDitContentRules​(String... schemaNames)
                                 throws LdapException,
                                        IOException
        Build a list of DitContentRules read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which DitContentRules are loaded
        Returns:
        The list of loaded DitContentRules
        Throws:
        LdapException - if there are failures accessing DitContentRule information
        IOException - If we can't read the schemaObject
      • loadDitStructureRules

        List<EntryloadDitStructureRules​(Schema... schemas)
                                   throws LdapException,
                                          IOException
        Build a list of DitStructureRules read from the underlying storage for a list of specific schema.
        Parameters:
        schemas - the schemas from which DitStructureRules are loaded
        Returns:
        The list of loaded DitStructureRules
        Throws:
        LdapException - if there are failures accessing DitStructureRule information
        IOException - If we can't read the schemaObject
      • loadDitStructureRules

        List<EntryloadDitStructureRules​(String... schemaNames)
                                   throws LdapException,
                                          IOException
        Build a list of DitStructureRules read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which DitStructureRules are loaded
        Returns:
        The list of loaded DitStructureRules
        Throws:
        LdapException - if there are failures accessing DitStructureRule information
        IOException - If we can't read the schemaObject
      • loadMatchingRules

        List<EntryloadMatchingRules​(Schema... schemas)
                               throws LdapException,
                                      IOException
        Build a list of MatchingRules read from the underlying storage for a list of specific schema
        Parameters:
        schemas - the schemas from which MatchingRules are loaded
        Returns:
        The list of loaded MatchingRules
        Throws:
        LdapException - if there are failures accessing MatchingRule information
        IOException - If we can't read the schemaObject
      • loadMatchingRules

        List<EntryloadMatchingRules​(String... schemaNames)
                               throws LdapException,
                                      IOException
        Build a list of MatchingRules read from the underlying storage for a list of specific schema, using their name
        Parameters:
        schemaNames - the schema names from which MatchingRules are loaded
        Returns:
        The list of loaded MatchingRules
        Throws:
        LdapException - if there are failures accessing MatchingRule information
        IOException - If we can't read the schemaObject
      • loadMatchingRuleUses

        List<EntryloadMatchingRuleUses​(Schema... schemas)
                                  throws LdapException,
                                         IOException
        Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.
        Parameters:
        schemas - the schemas from which MatchingRuleUses are loaded
        Returns:
        The list of loaded MatchingRuleUses
        Throws:
        LdapException - if there are failures accessing MatchingRuleUse information
        IOException - If we can't read the schemaObject
      • loadMatchingRuleUses

        List<EntryloadMatchingRuleUses​(String... schemaNames)
                                  throws LdapException,
                                         IOException
        Build a list of MatchingRuleUses read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which MatchingRuleUses are loaded
        Returns:
        The list of loaded MatchingRuleUses
        Throws:
        LdapException - if there are failures accessing MatchingRuleUses information
        IOException - If we can't read the schemaObject
      • loadNameForms

        List<EntryloadNameForms​(Schema... schemas)
                           throws LdapException,
                                  IOException
        Build a list of NameForms read from the underlying storage for a list of specific schema.
        Parameters:
        schemas - the schemas from which NameForms are loaded
        Returns:
        The list of loaded NameForms
        Throws:
        LdapException - if there are failures accessing NameForm information
        IOException - If we can't read the schemaObject
      • loadNameForms

        List<EntryloadNameForms​(String... schemaNames)
                           throws LdapException,
                                  IOException
        Build a list of NameForms read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which NameForms are loaded
        Returns:
        The list of loaded NameForms
        Throws:
        LdapException - if there are failures accessing NameForms information
        IOException - If we can't read the schemaObject
      • loadNormalizers

        List<EntryloadNormalizers​(Schema... schemas)
                             throws LdapException,
                                    IOException
        Build a list of Normalizers read from the underlying storage for a list of specified schema
        Parameters:
        schemas - the schemas from which Normalizers are loaded
        Returns:
        The list of loaded Normalizers
        Throws:
        LdapException - if there are failures accessing Normalizer information
        IOException - If we can't read the schemaObject
      • loadNormalizers

        List<EntryloadNormalizers​(String... schemaNames)
                             throws LdapException,
                                    IOException
        Build a list of Normalizers read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which Normalizers are loaded
        Returns:
        The list of loaded Normalizers
        Throws:
        LdapException - if there are failures accessing Normalizer information
        IOException - If we can't read the schemaObject
      • loadObjectClasses

        List<EntryloadObjectClasses​(Schema... schemas)
                               throws LdapException,
                                      IOException
        Build a list of ObjectClasses read from the underlying storage for a list of specific schema.
        Parameters:
        schemas - the schemas from which ObjectClasses are loaded
        Returns:
        The list of loaded ObjectClasses
        Throws:
        LdapException - if there are failures accessing ObjectClass information
        IOException - If we can't read the schemaObject
      • loadObjectClasses

        List<EntryloadObjectClasses​(String... schemaNames)
                               throws LdapException,
                                      IOException
        Build a list of ObjectClasses read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which ObjectClasses are loaded
        Returns:
        The list of loaded ObjectClasses
        Throws:
        LdapException - if there are failures accessing ObjectClasses information
        IOException - If we can't read the schemaObject
      • loadSyntaxes

        List<EntryloadSyntaxes​(Schema... schemas)
                          throws LdapException,
                                 IOException
        Build a list of Syntaxes read from the underlying storage for a list of specified schema
        Parameters:
        schemas - the schemas from which Syntaxes are loaded
        Returns:
        The list of loaded Syntaxes
        Throws:
        LdapException - if there are failures accessing Syntax information
        IOException - If we can't read the schemaObject
      • loadSyntaxes

        List<EntryloadSyntaxes​(String... schemaNames)
                          throws LdapException,
                                 IOException
        Build a list of Syntaxes read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which Syntaxes are loaded
        Returns:
        The list of loaded Syntaxes
        Throws:
        LdapException - if there are failures accessing Syntax information
        IOException - If we can't read the schemaObject
      • loadSyntaxCheckers

        List<EntryloadSyntaxCheckers​(Schema... schemas)
                                throws LdapException,
                                       IOException
        Build a list of SyntaxCheckers read from the underlying storage for a list of specified schema
        Parameters:
        schemas - the schemas from which SyntaxCheckers are loaded
        Returns:
        The list of loaded SyntaxeCheckers
        Throws:
        LdapException - if there are failures accessing SyntaxChecker information
        IOException - If we can't read the schemaObject
      • loadSyntaxCheckers

        List<EntryloadSyntaxCheckers​(String... schemaNames)
                                throws LdapException,
                                       IOException
        Build a list of SyntaxCheckers read from the underlying storage for a list of specified schema names
        Parameters:
        schemaNames - the schema names from which SyntaxCheckers are loaded
        Returns:
        A list of loaded SyntaxCheckers
        Throws:
        LdapException - if there are failures accessing SyntaxChecker information
        IOException - If we had some issues loading the schemas
        IOException - If we can't read the schemaObject
      • addSchema

        void addSchema​(Schema schema)
        Add a new schema to the schema's list
        Parameters:
        schema - The schema to add
      • removeSchema

        void removeSchema​(Schema schema)
        Remove a schema from the schema's list
        Parameters:
        schema - The schema to remove
      • isRelaxed

        boolean isRelaxed()
        Returns:
        Tells if the SchemaLoader is in RELAXED mode
      • isStrict

        boolean isStrict()
        Returns:
        Tells if the SchemaLoader is in STRICT mode
      • setRelaxed

        void setRelaxed​(boolean relaxed)
        Set the SchemzLoader in STRICT or RELAXED mode.
        Parameters:
        relaxed - if true, the SchemaLoader will be in relaxed mode, otherwise it will be in strict mode (the default)