public interface SchemaLoader
| Modifier and Type | Method and Description |
|---|---|
void |
addSchema(Schema schema)
Add a new schema to the schema's list
|
java.util.Collection<Schema> |
getAllEnabled() |
java.util.Collection<Schema> |
getAllSchemas() |
Schema |
getSchema(java.lang.String schemaName)
Gets a schema object based on it's name.
|
boolean |
isRelaxed() |
boolean |
isStrict() |
java.util.List<Entry> |
loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
loadAttributeTypes(java.lang.String... schemaNames)
Build a list of AttributeTypes read from the underlying storage for
a list of specific schema, using their name
|
java.util.List<Entry> |
loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadComparators(java.lang.String... schemaNames)
Build a list of Comparators read from the underlying storage for
a list of specific schema, using their name
|
java.util.List<Entry> |
loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadDitContentRules(java.lang.String... schemaNames)
Build a list of DitContentRules read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadDitStructureRules(java.lang.String... schemaNames)
Build a list of DitStructureRules read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
loadMatchingRules(java.lang.String... schemaNames)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema, using their name
|
java.util.List<Entry> |
loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadMatchingRuleUses(java.lang.String... schemaNames)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadNameForms(java.lang.String... schemaNames)
Build a list of NameForms read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
loadNormalizers(java.lang.String... schemaNames)
Build a list of Normalizers read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadObjectClasses(java.lang.String... schemaNames)
Build a list of ObjectClasses read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
loadSyntaxCheckers(java.lang.String... schemaNames)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema names
|
java.util.List<Entry> |
loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
loadSyntaxes(java.lang.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(java.lang.String schemaName)
schemaName - the name of the schema to loadjava.util.List<Entry> loadAttributeTypes(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which AttributeTypes are loadedjava.lang.Exception - if there are failures accessing AttributeType informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadAttributeTypes(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which AttributeTypes are loadedjava.lang.Exception - if there are failures accessing AttributeType informationjava.util.List<Entry> loadComparators(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which Comparators are loadedjava.lang.Exception - if there are failures accessing Comparator informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadComparators(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which Comparators are loadedjava.lang.Exception - if there are failures accessing Comparator informationjava.util.List<Entry> loadDitContentRules(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which DitContentRules are loadedjava.lang.Exception - if there are failures accessing DitContentRule informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadDitContentRules(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which DitContentRules are loadedjava.lang.Exception - if there are failures accessing DitContentRule informationjava.util.List<Entry> loadDitStructureRules(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which DitStructureRules are loadedjava.lang.Exception - if there are failures accessing DitStructureRule informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadDitStructureRules(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which DitStructureRules are loadedjava.lang.Exception - if there are failures accessing DitStructureRule informationjava.util.List<Entry> loadMatchingRules(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which MatchingRules are loadedjava.lang.Exception - if there are failures accessing MatchingRule informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadMatchingRules(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which MatchingRules are loadedjava.lang.Exception - if there are failures accessing MatchingRule informationjava.util.List<Entry> loadMatchingRuleUses(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which MatchingRuleUses are loadedjava.lang.Exception - if there are failures accessing MatchingRuleUse informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadMatchingRuleUses(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which MatchingRuleUses are loadedjava.lang.Exception - if there are failures accessing MatchingRuleUses informationjava.util.List<Entry> loadNameForms(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which NameForms are loadedjava.lang.Exception - if there are failures accessing NameForm informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadNameForms(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which NameForms are loadedjava.lang.Exception - if there are failures accessing NameForms informationjava.util.List<Entry> loadNormalizers(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which Normalizers are loadedjava.lang.Exception - if there are failures accessing Normalizer informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadNormalizers(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which Normalizers are loadedjava.lang.Exception - if there are failures accessing Normalizer informationjava.util.List<Entry> loadObjectClasses(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which ObjectClasses are loadedjava.lang.Exception - if there are failures accessing ObjectClass informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadObjectClasses(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which ObjectClasses are loadedjava.lang.Exception - if there are failures accessing ObjectClasses informationjava.util.List<Entry> loadSyntaxes(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which Syntaxes are loadedjava.lang.Exception - if there are failures accessing Syntax informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadSyntaxes(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which Syntaxes are loadedjava.lang.Exception - if there are failures accessing Syntax informationjava.util.List<Entry> loadSyntaxCheckers(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which SyntaxCheckers are loadedjava.lang.Exception - if there are failures accessing SyntaxChecker informationLdapExceptionjava.io.IOExceptionjava.util.List<Entry> loadSyntaxCheckers(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames - the schema names from which SyntaxCheckers are loadedjava.lang.Exception - if there are failures accessing SyntaxChecker informationjava.util.Collection<Schema> getAllEnabled() throws java.lang.Exception
java.lang.Exception - TODOjava.util.Collection<Schema> getAllSchemas() throws java.lang.Exception
java.lang.Exception - TODOvoid addSchema(Schema schema)
void 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)