| 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.schema.loader | |
| org.apache.directory.api.ldap.schema.manager.impl | |
| org.apache.directory.ldap.client.api |
| Modifier and Type | Method and Description |
|---|---|
Schema |
SchemaManager.getLoadedSchema(java.lang.String schemaName)
Gets a schema that has been loaded into these Registries.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Schema> |
SchemaManager.getDisabled() |
java.util.List<Schema> |
SchemaManager.getEnabled() |
| Modifier and Type | Method and Description |
|---|---|
Entry |
AttributesFactory.convert(AttributeType attributeType,
Schema schema,
SchemaManager schemaManager)
objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3
NAME 'metaAttributeType'
DESC 'meta definition of the AttributeType object'
SUP metaTop
STRUCTURAL
MUST ( m-name $ m-syntax )
MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $
m-substr $ m-singleValue $ m-collective $ m-noUserModification $
m-usage $ m-extensionAttributeType )
)
|
Entry |
AttributesFactory.convert(DitContentRule dITContentRule,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(DitStructureRule ditStructureRule,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(LdapSyntax syntax,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(MatchingRule matchingRule,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(MatchingRuleUse matchingRuleUse,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(NameForm nameForm,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(ObjectClass objectClass,
Schema schema,
SchemaManager schemaManager)
Creates the attributes of an entry representing an objectClass.
|
Entry |
AttributesFactory.convert(Schema schema,
SchemaManager schemaManager)
Convert a Schema to Entry
|
Entry |
AttributesFactory.convert(java.lang.String oid,
LdapComparator<? super java.lang.Object> comparator,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(java.lang.String oid,
Normalizer normalizer,
Schema schema,
SchemaManager schemaManager) |
Entry |
AttributesFactory.convert(SyntaxChecker syntaxChecker,
Schema schema,
SchemaManager schemaManager) |
boolean |
SchemaManager.disable(Schema... schemas)
Disables a set of Schemas, and returns true if all the schema have been
disabled, with all the dependent schemas, and if the registries is
still consistent.
|
boolean |
SchemaManager.disabledRelaxed(Schema... schemas)
Disables a set of Schemas, and returns true if all the schema have been
disabled, with all the dependent schemas.
|
boolean |
SchemaManager.enable(Schema... schemas)
Enables a set of Schemas, and returns true if all the schema have been
enabled, with all the dependent schemas, and if the registries is
still consistent.
|
boolean |
SchemaManager.enableRelaxed(Schema... schemas)
Enables a set of Schemas, and returns true if all the schema have been
enabled, with all the dependent schemas.
|
Entry |
AttributesFactory.getAttributes(SchemaObject obj,
Schema schema,
SchemaManager schemaManager) |
boolean |
SchemaManager.isDisabled(Schema schema)
Tells if the given Schema is disabled
|
boolean |
SchemaManager.isEnabled(Schema schema)
Tells if the given Schema is enabled
|
boolean |
SchemaManager.load(Schema... schemas)
Load some Schemas into the registries.
|
boolean |
SchemaManager.loadDisabled(Schema... schemas)
Load Schemas into the Registries, even if they are disabled.
|
boolean |
SchemaManager.loadRelaxed(Schema... schemas)
Load Schemas into the registries, even if there are some errors in the schemas.
|
boolean |
SchemaManager.loadWithDeps(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend
on.
|
boolean |
SchemaManager.loadWithDepsRelaxed(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend
on.
|
boolean |
SchemaManager.unload(Schema... schemas)
Unload the given set of Schemas
|
boolean |
SchemaManager.verify(Schema... schemas)
Check that the Schemas are consistent regarding the current Registries.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSchema
The default Schema interface implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,Schema> |
Registries.loadedSchemas
A String name to Schema object map for the schemas loaded into this
registry.
|
protected java.util.Map<java.lang.String,Schema> |
AbstractSchemaLoader.schemaMap
A map of all available schema names to schema objects.
|
| Modifier and Type | Method and Description |
|---|---|
private Schema[] |
AbstractSchemaLoader.buildSchemaArray(java.lang.String... schemaNames) |
Schema |
Registries.getLoadedSchema(java.lang.String schemaName)
Gets a schema that has been loaded into these Registries.
|
protected Schema |
AbstractSchemaLoader.getSchema(Entry entry)
Gets the schema.
|
Schema |
AbstractSchemaLoader.getSchema(java.lang.String schemaName)
Gets a schema object based on it's name.
|
Schema |
SchemaLoader.getSchema(java.lang.String schemaName)
Gets a schema object based on it's name.
|
Schema |
AbstractSchemaLoader.LowerCaseKeyMap.put(java.lang.String key,
Schema value) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Schema> |
AbstractSchemaLoader.getAllEnabled() |
java.util.Collection<Schema> |
SchemaLoader.getAllEnabled() |
java.util.Collection<Schema> |
AbstractSchemaLoader.getAllSchemas() |
java.util.Collection<Schema> |
SchemaLoader.getAllSchemas() |
java.util.Map<java.lang.String,Schema> |
Registries.getLoadedSchemas()
Gets an unmodifiable Map of schema names to loaded Schema objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSchemaLoader.addSchema(Schema schema)
Add a new schema to the schema's list
|
void |
SchemaLoader.addSchema(Schema schema)
Add a new schema to the schema's list
|
java.util.List<Entry> |
SchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
SchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
SchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
SchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
SchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
Schema |
AbstractSchemaLoader.LowerCaseKeyMap.put(java.lang.String key,
Schema value) |
void |
AbstractSchemaLoader.removeSchema(Schema schema)
Remove a schema from the schema's list
|
void |
SchemaLoader.removeSchema(Schema schema)
Remove a schema from the schema's list
|
void |
Registries.schemaLoaded(Schema schema)
Merely adds the schema to the set of loaded schemas.
|
void |
SchemaLoaderListener.schemaLoaded(Schema schema)
Listener method called to indicate a loader or other agent finished
loading the schema objects for a schema into the Registries.
|
void |
Registries.schemaUnloaded(Schema schema)
Merely removes the schema from the set of loaded schemas.
|
void |
SchemaLoaderListener.schemaUnloaded(Schema schema)
Listener method called to indicate an agent finished loading the schema
objects for a schema into the Registries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSchemaLoader.LowerCaseKeyMap.putAll(java.util.Map<? extends java.lang.String,? extends Schema> map) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
EntityFactory.getSchema(Entry entry)
Return an instance of the Schema associated to the entry
|
Schema |
SchemaEntityFactory.getSchema(Entry entry)
Return an instance of the Schema associated to the entry
|
private Schema |
SchemaEntityFactory.getSchema(java.lang.String schemaName,
Registries registries)
Get the schema from its name.
|
| Modifier and Type | Method and Description |
|---|---|
private java.io.File |
LdifSchemaLoader.getSchemaDirectory(Schema schema)
Utility method to get the file for a schema directory.
|
private java.lang.String |
JarLdifSchemaLoader.getSchemaDirectoryString(Schema schema)
Utility method to get a regex.Pattern fragment for the path for a schema directory.
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
LdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
LdifSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
LdifSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
LdifSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
LdifSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
LdifSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
LdifSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
LdifSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
LdifSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
private java.util.List<Entry> |
SingleLdifSchemaLoader.loadSchemaObjects(java.lang.String schemaObjectType,
Schema... schemas) |
java.util.List<Entry> |
SingleLdifSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
LdifSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
SingleLdifSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
LdifSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
JarLdifSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
private void |
SchemaEntityFactory.setSchemaObjectProperties(SchemaObject schemaObject,
Entry entry,
Schema schema)
Process the common attributes to all SchemaObjects :
- obsolete
- description
- names
- schemaName
- specification (if any)
- extensions
- isReadOnly
- isEnabled
|
private void |
SchemaEntityFactory.setSchemaObjectProperties(SchemaObject schemaObject,
SchemaObject description,
Schema schema)
Process the common attributes to all SchemaObjects :
- obsolete
- description
- names
- schemaName
- specification (if any)
- extensions
- isReadOnly
- isEnabled
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
DefaultSchemaManager.getLoadedSchema(java.lang.String schemaName)
Gets a schema that has been loaded into these Registries.
|
private Schema[] |
DefaultSchemaManager.toArray(java.lang.String... schemas)
Transform a String[] array of schema to a Schema[]
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Schema> |
DefaultSchemaManager.getDisabled() |
java.util.List<Schema> |
DefaultSchemaManager.getEnabled() |
| 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
|
boolean |
DefaultSchemaManager.disable(Schema... schemas)
Disables a set of Schemas, and returns true if all the schema have been
disabled, with all the dependent schemas, and if the registries is
still consistent.
|
boolean |
DefaultSchemaManager.disabledRelaxed(Schema... schemas)
Disables a set of Schemas, and returns true if all the schema have been
disabled, with all the dependent schemas.
|
boolean |
DefaultSchemaManager.enable(Schema... schemas)
Enables a set of Schemas, and returns true if all the schema have been
enabled, with all the dependent schemas, and if the registries is
still consistent.
|
boolean |
DefaultSchemaManager.enableRelaxed(Schema... schemas)
Enables a set of Schemas, and returns true if all the schema have been
enabled, with all the dependent schemas.
|
boolean |
DefaultSchemaManager.isDisabled(Schema schema)
Tells if the given Schema is disabled
|
boolean |
DefaultSchemaManager.isEnabled(Schema schema)
Tells if the given Schema is enabled
|
private boolean |
DefaultSchemaManager.load(Registries registries,
Schema schema)
Load the schema in the registries.
|
boolean |
DefaultSchemaManager.load(Schema... schemas)
Load some Schemas into 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.
|
private void |
DefaultSchemaManager.loadDepsFirstRelaxed(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.
|
boolean |
DefaultSchemaManager.loadDisabled(Schema... schemas)
Load Schemas into the Registries, even if they are disabled.
|
boolean |
DefaultSchemaManager.loadRelaxed(Schema... schemas)
Load Schemas into the registries, even if there are some errors in the schemas.
|
boolean |
DefaultSchemaManager.loadWithDeps(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend
on.
|
boolean |
DefaultSchemaManager.loadWithDepsRelaxed(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend
on.
|
private boolean |
DefaultSchemaManager.unload(Registries registries,
Schema schema)
Unload the schema from the registries.
|
boolean |
DefaultSchemaManager.unload(Schema... schemas)
Unload the given set of Schemas
|
boolean |
DefaultSchemaManager.verify(Schema... schemas)
Check that the Schemas are consistent regarding the current Registries.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Entry> |
DefaultSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
DefaultSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
DefaultSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
DefaultSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
DefaultSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
DefaultSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
DefaultSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
DefaultSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
DefaultSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
DefaultSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
DefaultSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|