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.
|
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
|
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 loadedException
- if there are failures accessing AttributeType informationLdapException
IOException
List<Entry> loadAttributeTypes(String... schemaNames) throws Exception
schemaNames
- the schema names from which AttributeTypes are loadedException
- if there are failures accessing AttributeType informationList<Entry> loadComparators(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Comparators are loadedException
- if there are failures accessing Comparator informationLdapException
IOException
List<Entry> loadComparators(String... schemaNames) throws Exception
schemaNames
- the schema names from which Comparators are loadedException
- if there are failures accessing Comparator informationList<Entry> loadDitContentRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which DitContentRules are loadedException
- if there are failures accessing DitContentRule informationLdapException
IOException
List<Entry> loadDitContentRules(String... schemaNames) throws Exception
schemaNames
- the schema names from which DitContentRules are loadedException
- if there are failures accessing DitContentRule informationList<Entry> loadDitStructureRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which DitStructureRules are loadedException
- if there are failures accessing DitStructureRule informationLdapException
IOException
List<Entry> loadDitStructureRules(String... schemaNames) throws Exception
schemaNames
- the schema names from which DitStructureRules are loadedException
- if there are failures accessing DitStructureRule informationList<Entry> loadMatchingRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which MatchingRules are loadedException
- if there are failures accessing MatchingRule informationLdapException
IOException
List<Entry> loadMatchingRules(String... schemaNames) throws Exception
schemaNames
- the schema names from which MatchingRules are loadedException
- if there are failures accessing MatchingRule informationList<Entry> loadMatchingRuleUses(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which MatchingRuleUses are loadedException
- if there are failures accessing MatchingRuleUse informationLdapException
IOException
List<Entry> loadMatchingRuleUses(String... schemaNames) throws Exception
schemaNames
- the schema names from which MatchingRuleUses are loadedException
- if there are failures accessing MatchingRuleUses informationList<Entry> loadNameForms(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which NameForms are loadedException
- if there are failures accessing NameForm informationLdapException
IOException
List<Entry> loadNameForms(String... schemaNames) throws Exception
schemaNames
- the schema names from which NameForms are loadedException
- if there are failures accessing NameForms informationList<Entry> loadNormalizers(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Normalizers are loadedException
- if there are failures accessing Normalizer informationLdapException
IOException
List<Entry> loadNormalizers(String... schemaNames) throws Exception
schemaNames
- the schema names from which Normalizers are loadedException
- if there are failures accessing Normalizer informationList<Entry> loadObjectClasses(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which ObjectClasses are loadedException
- if there are failures accessing ObjectClass informationLdapException
IOException
List<Entry> loadObjectClasses(String... schemaNames) throws Exception
schemaNames
- the schema names from which ObjectClasses are loadedException
- if there are failures accessing ObjectClasses informationList<Entry> loadSyntaxes(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Syntaxes are loadedException
- if there are failures accessing Syntax informationLdapException
IOException
List<Entry> loadSyntaxes(String... schemaNames) throws Exception
schemaNames
- the schema names from which Syntaxes are loadedException
- if there are failures accessing Syntax informationList<Entry> loadSyntaxCheckers(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which SyntaxCheckers are loadedException
- if there are failures accessing SyntaxChecker informationLdapException
IOException
List<Entry> loadSyntaxCheckers(String... schemaNames) throws Exception
schemaNames
- the schema names from which SyntaxCheckers are loadedException
- if there are failures accessing SyntaxChecker informationCollection<Schema> getAllEnabled() throws Exception
Exception
- TODOCollection<Schema> getAllSchemas() throws Exception
Exception
- TODOvoid removeSchema(Schema schema)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.