public interface SchemaLoader
Modifier and Type | Method and Description |
---|---|
void |
addSchema(Schema schema)
Add a new schema to the schema's list
|
Collection<Schema> |
getAllEnabled() |
Collection<Schema> |
getAllSchemas() |
Schema |
getSchema(String schemaName)
Gets a schema object based on it's name.
|
boolean |
isRelaxed() |
boolean |
isStrict() |
List<Entry> |
loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadAttributeTypes(String... schemaNames)
Build a list of AttributeTypes read from the underlying storage for
a list of specific schema, using their name
|
List<Entry> |
loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadComparators(String... schemaNames)
Build a list of Comparators read from the underlying storage for
a list of specific schema, using their name
|
List<Entry> |
loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadDitContentRules(String... schemaNames)
Build a list of DitContentRules read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadDitStructureRules(String... schemaNames)
Build a list of DitStructureRules read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
loadMatchingRules(String... schemaNames)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema, using their name
|
List<Entry> |
loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadMatchingRuleUses(String... schemaNames)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadNameForms(String... schemaNames)
Build a list of NameForms read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadNormalizers(String... schemaNames)
Build a list of Normalizers read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadObjectClasses(String... schemaNames)
Build a list of ObjectClasses read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadSyntaxCheckers(String... schemaNames)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema names
|
List<Entry> |
loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadSyntaxes(String... schemaNames)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema names
|
void |
removeSchema(Schema schema)
Remove a schema from the schema's list
|
void |
setRelaxed(boolean relaxed)
Set the SchemzLoader in STRICT or RELAXED mode.
|
Schema getSchema(String schemaName)
schemaName
- the name of the schema to loadList<Entry> loadAttributeTypes(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which AttributeTypes are loadedLdapException
- if there are failures accessing AttributeType informationIOException
- If we can't read the schemaObjectList<Entry> loadAttributeTypes(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which AttributeTypes are loadedLdapException
- if there are failures accessing AttributeType informationIOException
- If we can't read the schemaObjectList<Entry> loadComparators(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Comparators are loadedLdapException
- if there are failures accessing Comparator informationIOException
- If we can't read the schemaObjectList<Entry> loadComparators(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which Comparators are loadedLdapException
- if there are failures accessing Comparator informationIOException
- If we can't read the schemaObjectList<Entry> loadDitContentRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which DitContentRules are loadedLdapException
- if there are failures accessing DitContentRule informationIOException
- If we can't read the schemaObjectList<Entry> loadDitContentRules(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which DitContentRules are loadedLdapException
- if there are failures accessing DitContentRule informationIOException
- If we can't read the schemaObjectList<Entry> loadDitStructureRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which DitStructureRules are loadedLdapException
- if there are failures accessing DitStructureRule informationIOException
- If we can't read the schemaObjectList<Entry> loadDitStructureRules(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which DitStructureRules are loadedLdapException
- if there are failures accessing DitStructureRule informationIOException
- If we can't read the schemaObjectList<Entry> loadMatchingRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which MatchingRules are loadedLdapException
- if there are failures accessing MatchingRule informationIOException
- If we can't read the schemaObjectList<Entry> loadMatchingRules(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which MatchingRules are loadedLdapException
- if there are failures accessing MatchingRule informationIOException
- If we can't read the schemaObjectList<Entry> loadMatchingRuleUses(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which MatchingRuleUses are loadedLdapException
- if there are failures accessing MatchingRuleUse informationIOException
- If we can't read the schemaObjectList<Entry> loadMatchingRuleUses(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which MatchingRuleUses are loadedLdapException
- if there are failures accessing MatchingRuleUses informationIOException
- If we can't read the schemaObjectList<Entry> loadNameForms(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which NameForms are loadedLdapException
- if there are failures accessing NameForm informationIOException
- If we can't read the schemaObjectList<Entry> loadNameForms(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which NameForms are loadedLdapException
- if there are failures accessing NameForms informationIOException
- If we can't read the schemaObjectList<Entry> loadNormalizers(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Normalizers are loadedLdapException
- if there are failures accessing Normalizer informationIOException
- If we can't read the schemaObjectList<Entry> loadNormalizers(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which Normalizers are loadedLdapException
- if there are failures accessing Normalizer informationIOException
- If we can't read the schemaObjectList<Entry> loadObjectClasses(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which ObjectClasses are loadedLdapException
- if there are failures accessing ObjectClass informationIOException
- If we can't read the schemaObjectList<Entry> loadObjectClasses(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which ObjectClasses are loadedLdapException
- if there are failures accessing ObjectClasses informationIOException
- If we can't read the schemaObjectList<Entry> loadSyntaxes(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Syntaxes are loadedLdapException
- if there are failures accessing Syntax informationIOException
- If we can't read the schemaObjectList<Entry> loadSyntaxes(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which Syntaxes are loadedLdapException
- if there are failures accessing Syntax informationIOException
- If we can't read the schemaObjectList<Entry> loadSyntaxCheckers(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which SyntaxCheckers are loadedLdapException
- if there are failures accessing SyntaxChecker informationIOException
- If we can't read the schemaObjectList<Entry> loadSyntaxCheckers(String... schemaNames) throws LdapException, IOException
schemaNames
- the schema names from which SyntaxCheckers are loadedLdapException
- if there are failures accessing SyntaxChecker informationIOException
- If we had some issues loading the schemasIOException
- If we can't read the schemaObjectCollection<Schema> getAllEnabled()
Collection<Schema> getAllSchemas()
void addSchema(Schema schema)
schema
- The schema to addvoid removeSchema(Schema schema)
schema
- The schema to removeboolean isRelaxed()
boolean isStrict()
void setRelaxed(boolean relaxed)
relaxed
- if true
, the SchemaLoader will be in relaxed mode, otherwise
it will be in strict mode (the default)Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.