| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
| org.apache.directory.api.ldap.model.schema.registries | |
| org.apache.directory.api.ldap.model.schema.registries.helper | |
| org.apache.directory.api.ldap.schema.loader | |
| org.apache.directory.api.ldap.schema.manager.impl |
| Modifier and Type | Method and Description |
|---|---|
Registries |
SchemaManager.getRegistries() |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaManager.setRegistries(Registries registries)
Associate a new Registries to the SchemaManager
|
| Modifier and Type | Method and Description |
|---|---|
Registries |
Registries.clone()
Clone the Registries.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DitContentRuleHelper.addToRegistries(DitContentRule ditContentRule,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the DitContentRule into the registries, updating the references to
other SchemaObject
|
static void |
DitStructureRuleHelper.addToRegistries(DitStructureRule ditStructureRule,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the DitContentRule into the registries, updating the references to
other SchemaObject
|
static void |
LdapSyntaxHelper.addToRegistries(LdapSyntax ldapSyntax,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the LdapSyntax into the registries, updating the references to
other SchemaObject
|
static void |
MatchingRuleUseHelper.addToRegistries(MatchingRuleUse matchingRuleUse,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the MatchingRuleUse into the registries, updating the references to
other SchemaObject
|
static void |
AttributeTypeHelper.addToRegistries(MutableAttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the AttributeType into the Registries, updating the references to
other SchemaObject
If one of the referenced SchemaObject does not exist (SUP, EQUALITY, ORDERING, SUBSTR, SYNTAX),
an exception is thrown.
|
static void |
MatchingRuleHelper.addToRegistries(MutableMatchingRule matchingRule,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the MatchingRule into the Registries, updating the references to
other SchemaObject
|
static void |
NameFormHelper.addToRegistries(NameForm nameForm,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the NameForm into the registries, updating the references to
other SchemaObject
|
static void |
ObjectClassHelper.addToRegistries(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
private static void |
AttributeTypeHelper.buildEquality(MutableAttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the EQUALITY MR reference for an AttributeType
|
private static void |
ObjectClassHelper.buildMay(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build and check the MAY AT for this ObjectClass
|
private static void |
ObjectClassHelper.buildMust(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build and check the MUST AT for this ObjectClass.
|
private static void |
AttributeTypeHelper.buildOrdering(MutableAttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the ORDERING MR reference for an AttributeType
|
private static void |
AttributeTypeHelper.buildSubstring(MutableAttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the SUBSTR MR reference for an AttributeType
|
private static boolean |
AttributeTypeHelper.buildSuperior(MutableAttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the Superior AttributeType reference for an AttributeType
|
private static void |
ObjectClassHelper.buildSuperiors(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the references to this ObjectClass SUPERIORS, checking that the type
hierarchy is correct.
|
private static void |
AttributeTypeHelper.buildSyntax(MutableAttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the SYNTAX reference for an AttributeType
|
static void |
AttributeTypeHelper.removeFromRegistries(AttributeType attributeType,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Remove the AttributeType from the registries, updating the references to
other SchemaObject.
|
static void |
LdapSyntaxHelper.removeFromRegistries(LdapSyntax ldapSyntax,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Remove the LdapSyntax from the Registries, updating the references to
other SchemaObject.
|
static void |
MatchingRuleHelper.removeFromRegistries(MatchingRule matchingRule,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Remove the MatchingRule from the Registries, updating the references to
other SchemaObject.
|
static void |
ObjectClassHelper.removeFromRegistries(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
EntityFactory.getAttributeType(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Construct an AttributeType from an entry representing an AttributeType.
|
AttributeType |
SchemaEntityFactory.getAttributeType(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Construct an AttributeType from an entry representing an AttributeType.
|
LdapComparator<?> |
EntityFactory.getLdapComparator(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Retrieve and load a Comparator class from the DIT.
|
LdapComparator<?> |
SchemaEntityFactory.getLdapComparator(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Retrieve and load a Comparator class from the DIT.
|
LdapComparator<?> |
EntityFactory.getLdapComparator(SchemaManager schemaManager,
LdapComparatorDescription comparatorDescription,
Registries targetRegistries,
java.lang.String schemaName)
Construct a LdapComparator from a description of a comparator.
|
LdapComparator<?> |
SchemaEntityFactory.getLdapComparator(SchemaManager schemaManager,
LdapComparatorDescription comparatorDescription,
Registries targetRegistries,
java.lang.String schemaName)
Construct a LdapComparator from a description of a comparator.
|
MatchingRule |
EntityFactory.getMatchingRule(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Construct an MatchingRule from an entry get from the Dit
|
MatchingRule |
SchemaEntityFactory.getMatchingRule(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Construct an MatchingRule from an entry get from the Dit
|
Normalizer |
EntityFactory.getNormalizer(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Retrieve and load a Normalizer class from the DIT.
|
Normalizer |
SchemaEntityFactory.getNormalizer(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Retrieve and load a Normalizer class from the DIT.
|
Normalizer |
EntityFactory.getNormalizer(SchemaManager schemaManager,
NormalizerDescription normalizerDescription,
Registries targetRegistries,
java.lang.String schemaName)
Create a new instance of a Normalizer
|
Normalizer |
SchemaEntityFactory.getNormalizer(SchemaManager schemaManager,
NormalizerDescription normalizerDescription,
Registries targetRegistries,
java.lang.String schemaName)
Create a new instance of a Normalizer
|
ObjectClass |
EntityFactory.getObjectClass(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName) |
ObjectClass |
SchemaEntityFactory.getObjectClass(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName) |
private Schema |
SchemaEntityFactory.getSchema(java.lang.String schemaName,
Registries registries)
Get the schema from its name.
|
LdapSyntax |
EntityFactory.getSyntax(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName) |
LdapSyntax |
SchemaEntityFactory.getSyntax(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName) |
SyntaxChecker |
EntityFactory.getSyntaxChecker(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Retrieve and load a syntaxChecker class from the DIT.
|
SyntaxChecker |
SchemaEntityFactory.getSyntaxChecker(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName)
Retrieve and load a syntaxChecker class from the DIT.
|
SyntaxChecker |
EntityFactory.getSyntaxChecker(SchemaManager schemaManager,
SyntaxCheckerDescription syntaxCheckerDescription,
Registries targetRegistries,
java.lang.String schemaName)
Create a new instance of a SyntaxChecker
|
SyntaxChecker |
SchemaEntityFactory.getSyntaxChecker(SchemaManager schemaManager,
SyntaxCheckerDescription syntaxCheckerDescription,
Registries targetRegistries,
java.lang.String schemaName)
Create a new instance of a SyntaxChecker
|
| Modifier and Type | Field and Description |
|---|---|
private Registries |
DefaultSchemaManager.registries
The global registries for this namingContext
|
| Modifier and Type | Method and Description |
|---|---|
private Registries |
DefaultSchemaManager.cloneRegistries()
Clone the registries before doing any modification on it.
|
Registries |
DefaultSchemaManager.getRegistries() |
| Modifier and Type | Method and Description |
|---|---|
private void |
DefaultSchemaManager.addAttributeTypes(Schema schema,
Registries registries)
Add all the Schema's AttributeTypes
|
private void |
DefaultSchemaManager.addComparators(Schema schema,
Registries registries)
Add all the Schema's comparators
|
private void |
DefaultSchemaManager.addMatchingRules(Schema schema,
Registries registries)
Add all the Schema's MatchingRules
|
private void |
DefaultSchemaManager.addNormalizers(Schema schema,
Registries registries)
Add all the Schema's Normalizers
|
private void |
DefaultSchemaManager.addObjectClasses(Schema schema,
Registries registries)
Add all the Schema's ObjectClasses
|
private SchemaObject |
DefaultSchemaManager.addSchemaObject(Registries registries,
SchemaObject schemaObject,
Schema schema)
Add the schemaObject into the registries.
|
private void |
DefaultSchemaManager.addSchemaObjects(Schema schema,
Registries registries) |
private void |
DefaultSchemaManager.addSyntaxCheckers(Schema schema,
Registries registries)
Add
Register all the Schema's SyntaxCheckers
|
private void |
DefaultSchemaManager.addSyntaxes(Schema schema,
Registries registries)
Add all the Schema's Syntaxes
|
private void |
DefaultSchemaManager.deleteSchemaObjects(Schema schema,
Registries registries)
Delete all the schemaObjects for a given schema from the registries
|
private boolean |
DefaultSchemaManager.load(Registries registries,
Schema schema)
Load the schema in the registries.
|
private void |
DefaultSchemaManager.loadDepsFirst(Registries registries,
Schema schema)
Recursive method which loads schema's with their dependent schemas first
and tracks what schemas it has seen so the recursion does not go out of
control with dependency cycle detection.
|
void |
DefaultSchemaManager.setRegistries(Registries registries)
Associate a new Registries to the SchemaManager
|
private boolean |
DefaultSchemaManager.unload(Registries registries,
Schema schema)
Unload the schema from the registries.
|