|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SchemaLoader
Loads schemas into registries.
| Method Summary | |
|---|---|
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 |
void |
setListener(SchemaLoaderListener listener)
Sets listener used to notify of newly loaded schemas. |
| Method Detail |
|---|
void setListener(SchemaLoaderListener listener)
listener - the listener to notify (only one is enough for us)Schema getSchema(String schemaName)
schemaName - the name of the schema to load
List<Entry> loadAttributeTypes(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which AttributeTypes are loaded
Exception - if there are failures accessing AttributeType information
LdapException
IOException
List<Entry> loadAttributeTypes(String... schemaNames)
throws Exception
schemaNames - the schema names from which AttributeTypes are loaded
Exception - if there are failures accessing AttributeType information
List<Entry> loadComparators(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which Comparators are loaded
Exception - if there are failures accessing Comparator information
LdapException
IOException
List<Entry> loadComparators(String... schemaNames)
throws Exception
schemaNames - the schema names from which Comparators are loaded
Exception - if there are failures accessing Comparator information
List<Entry> loadDitContentRules(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which DitContentRules are loaded
Exception - if there are failures accessing DitContentRule information
LdapException
IOException
List<Entry> loadDitContentRules(String... schemaNames)
throws Exception
schemaNames - the schema names from which DitContentRules are loaded
Exception - if there are failures accessing DitContentRule information
List<Entry> loadDitStructureRules(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which DitStructureRules are loaded
Exception - if there are failures accessing DitStructureRule information
LdapException
IOException
List<Entry> loadDitStructureRules(String... schemaNames)
throws Exception
schemaNames - the schema names from which DitStructureRules are loaded
Exception - if there are failures accessing DitStructureRule information
List<Entry> loadMatchingRules(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which MatchingRules are loaded
Exception - if there are failures accessing MatchingRule information
LdapException
IOException
List<Entry> loadMatchingRules(String... schemaNames)
throws Exception
schemaNames - the schema names from which MatchingRules are loaded
Exception - if there are failures accessing MatchingRule information
List<Entry> loadMatchingRuleUses(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which MatchingRuleUses are loaded
Exception - if there are failures accessing MatchingRuleUse information
LdapException
IOException
List<Entry> loadMatchingRuleUses(String... schemaNames)
throws Exception
schemaNames - the schema names from which MatchingRuleUses are loaded
Exception - if there are failures accessing MatchingRuleUses information
List<Entry> loadNameForms(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which NameForms are loaded
Exception - if there are failures accessing NameForm information
LdapException
IOException
List<Entry> loadNameForms(String... schemaNames)
throws Exception
schemaNames - the schema names from which NameForms are loaded
Exception - if there are failures accessing NameForms information
List<Entry> loadNormalizers(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which Normalizers are loaded
Exception - if there are failures accessing Normalizer information
LdapException
IOException
List<Entry> loadNormalizers(String... schemaNames)
throws Exception
schemaNames - the schema names from which Normalizers are loaded
Exception - if there are failures accessing Normalizer information
List<Entry> loadObjectClasses(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which ObjectClasses are loaded
Exception - if there are failures accessing ObjectClass information
LdapException
IOException
List<Entry> loadObjectClasses(String... schemaNames)
throws Exception
schemaNames - the schema names from which ObjectClasses are loaded
Exception - if there are failures accessing ObjectClasses information
List<Entry> loadSyntaxes(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which Syntaxes are loaded
Exception - if there are failures accessing Syntax information
LdapException
IOException
List<Entry> loadSyntaxes(String... schemaNames)
throws Exception
schemaNames - the schema names from which Syntaxes are loaded
Exception - if there are failures accessing Syntax information
List<Entry> loadSyntaxCheckers(Schema... schemas)
throws LdapException,
IOException
schemas - the schemas from which SyntaxCheckers are loaded
Exception - if there are failures accessing SyntaxChecker information
LdapException
IOException
List<Entry> loadSyntaxCheckers(String... schemaNames)
throws Exception
schemaNames - the schema names from which SyntaxCheckers are loaded
Exception - if there are failures accessing SyntaxChecker information
Collection<Schema> getAllEnabled()
throws Exception
Exception - TODO
Collection<Schema> getAllSchemas()
throws Exception
Exception - TODOvoid addSchema(Schema schema)
void removeSchema(Schema schema)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||