|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaLoader
Loads schemas into registres.
Method Summary | |
---|---|
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. |
java.util.List<Entry> |
loadAttributeTypes(Schema... schemas)
Loads a set of schemas. |
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 |
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(java.lang.String schemaName)
schemaName
- the name of the schema to load
java.util.List<Entry> loadAttributeTypes(Schema... schemas) throws java.lang.Exception
registries
- the registries to populate with these schemascheck
- tells if the Registries must be checked after having been loadedschemas
- the set of schemas to loadregistries
- the registry to load all enabled schemas intocheck
- tells if the Registries must be checked after having been loadedschema
- the schema to loadregistries
- the registries to populate with these schemasisDepLoad
- tells the loader if this load request is to satisfy a dependencyschemas
- the schemas from which AttributeTypes are loaded
java.lang.Exception
- if any kind of problems are encountered during the load
Listjava.lang.Exception
- if there are any failures
Listjava.lang.Exception
- if any kind of problems are encountered during the load
void load( Schema schema, Registries registries, boolean isDepLoad ) throws Exception;
/**
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
java.lang.Exception
- if there are failures accessing AttributeType informationjava.util.List<Entry> loadAttributeTypes(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames
- the schema names from which AttributeTypes are loaded
java.lang.Exception
- if there are failures accessing AttributeType informationjava.util.List<Entry> loadComparators(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which Comparators are loaded
java.lang.Exception
- if there are failures accessing Comparator informationjava.util.List<Entry> loadComparators(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames
- the schema names from which Comparators are loaded
java.lang.Exception
- if there are failures accessing Comparator informationjava.util.List<Entry> loadDitContentRules(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which DitContentRules are loaded
java.lang.Exception
- if there are failures accessing DitContentRule informationjava.util.List<Entry> loadDitContentRules(java.lang.String... schemanames) throws java.lang.Exception
schemaNames
- the schema names from which DitContentRules are loaded
java.lang.Exception
- if there are failures accessing DitContentRule informationjava.util.List<Entry> loadDitStructureRules(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which DitStructureRules are loaded
java.lang.Exception
- if there are failures accessing DitStructureRule informationjava.util.List<Entry> loadDitStructureRules(java.lang.String... schemanames) throws java.lang.Exception
schemaNames
- the schema names from which DitStructureRules are loaded
java.lang.Exception
- if there are failures accessing DitStructureRule informationjava.util.List<Entry> loadMatchingRules(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which MatchingRules are loaded
java.lang.Exception
- if there are failures accessing MatchingRule informationjava.util.List<Entry> loadMatchingRules(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames
- the schema names from which MatchingRules are loaded
java.lang.Exception
- if there are failures accessing MatchingRule informationjava.util.List<Entry> loadMatchingRuleUses(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which MatchingRuleUses are loaded
java.lang.Exception
- if there are failures accessing MatchingRuleUse informationjava.util.List<Entry> loadMatchingRuleUses(java.lang.String... schemanames) throws java.lang.Exception
schemaNames
- the schema names from which MatchingRuleUses are loaded
java.lang.Exception
- if there are failures accessing MatchingRuleUses informationjava.util.List<Entry> loadNameForms(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which NameForms are loaded
java.lang.Exception
- if there are failures accessing NameForm informationjava.util.List<Entry> loadNameForms(java.lang.String... schemanames) throws java.lang.Exception
schemaNames
- the schema names from which NameForms are loaded
java.lang.Exception
- if there are failures accessing NameForms informationjava.util.List<Entry> loadNormalizers(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which Normalizers are loaded
java.lang.Exception
- if there are failures accessing Normalizer informationjava.util.List<Entry> loadNormalizers(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames
- the schema names from which Normalizers are loaded
java.lang.Exception
- if there are failures accessing Normalizer informationjava.util.List<Entry> loadObjectClasses(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which ObjectClasses are loaded
java.lang.Exception
- if there are failures accessing ObjectClass informationjava.util.List<Entry> loadObjectClasses(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames
- the schema names from which ObjectClasses are loaded
java.lang.Exception
- if there are failures accessing ObjectClasses informationjava.util.List<Entry> loadSyntaxes(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which Syntaxes are loaded
java.lang.Exception
- if there are failures accessing Syntax informationjava.util.List<Entry> loadSyntaxes(java.lang.String... schemaNames) throws java.lang.Exception
schemaNames
- the schema names from which Syntaxes are loaded
java.lang.Exception
- if there are failures accessing Syntax informationjava.util.List<Entry> loadSyntaxCheckers(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which SyntaxCheckers are loaded
java.lang.Exception
- if there are failures accessing SyntaxChecker informationjava.util.List<Entry> loadSyntaxCheckers(java.lang.String... schemanames) throws java.lang.Exception
schemaNames
- the schema names from which SyntaxCheckers are loaded
java.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |