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(String schemaName)
Gets a schema that has been loaded into these Registries.
|
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
SchemaManager.getAllSchemas() |
List<Schema> |
SchemaManager.getDisabled() |
Collection<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)
Converts a DitContentRule into an Entry
|
Entry |
AttributesFactory.convert(DitStructureRule ditStructureRule,
Schema schema,
SchemaManager schemaManager)
Converts a DitStructureRule into an Entry
|
Entry |
AttributesFactory.convert(LdapSyntax syntax,
Schema schema,
SchemaManager schemaManager)
Convert a Syntax instance into an Entry
|
Entry |
AttributesFactory.convert(MatchingRule matchingRule,
Schema schema,
SchemaManager schemaManager)
Converts a MatchingRule into an Entry
|
Entry |
AttributesFactory.convert(MatchingRuleUse matchingRuleUse,
Schema schema,
SchemaManager schemaManager)
Converts a MatchingRuleUse into an Entry
|
Entry |
AttributesFactory.convert(NameForm nameForm,
Schema schema,
SchemaManager schemaManager)
Converts a NameForm into an Entry
|
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)
Converts a Schema to an Entry
|
Entry |
AttributesFactory.convert(String oid,
LdapComparator<? super Object> comparator,
Schema schema,
SchemaManager schemaManager)
Convert a LdapComparator instance into an Entry
|
Entry |
AttributesFactory.convert(String oid,
Normalizer normalizer,
Schema schema,
SchemaManager schemaManager)
Convert a Normalizer instance into an Entry
|
Entry |
AttributesFactory.convert(SyntaxChecker syntaxChecker,
Schema schema,
SchemaManager schemaManager)
Convert a SyntaxChecker instance into an Entry
|
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)
Get a SchemaObject as an Entry
|
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 | Method and Description |
---|---|
Schema |
LowerCaseKeyMap.get(Object key) |
Schema |
Registries.getLoadedSchema(String schemaName)
Gets a schema that has been loaded into these Registries.
|
Schema |
SchemaLoader.getSchema(String schemaName)
Gets a schema object based on it's name.
|
Schema |
AbstractSchemaLoader.getSchema(String schemaName)
Gets a schema object based on it's name.
|
Schema |
LowerCaseKeyMap.put(String key,
Schema value) |
Schema |
LowerCaseKeyMap.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
SchemaLoader.getAllEnabled() |
Collection<Schema> |
AbstractSchemaLoader.getAllEnabled() |
Collection<Schema> |
SchemaLoader.getAllSchemas() |
Collection<Schema> |
AbstractSchemaLoader.getAllSchemas() |
Map<String,Schema> |
Registries.getLoadedSchemas()
Gets an unmodifiable Map of schema names to loaded Schema objects.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaLoader.addSchema(Schema schema)
Add a new schema to the schema's list
|
void |
AbstractSchemaLoader.addSchema(Schema schema)
Add a new schema to the schema's list
|
List<Entry> |
SchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
SchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
SchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
SchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
SchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
Schema |
LowerCaseKeyMap.put(String key,
Schema value) |
void |
SchemaLoader.removeSchema(Schema schema)
Remove a schema from the schema's list
|
void |
AbstractSchemaLoader.removeSchema(Schema schema)
Remove a schema from the schema's list
|
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.schemaLoaded(Schema schema)
Merely adds the schema to 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.
|
void |
Registries.schemaUnloaded(Schema schema)
Merely removes the schema from the set of loaded schemas.
|
Modifier and Type | Method and Description |
---|---|
void |
LowerCaseKeyMap.putAll(Map<? extends String,? extends Schema> map) |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaEntityFactory.getSchema(Entry entry)
Return an instance of the Schema associated to the entry
|
Schema |
EntityFactory.getSchema(Entry entry)
Return an instance of the Schema associated to the entry
|
Modifier and Type | Method and Description |
---|---|
List<Entry> |
SingleLdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
LdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
JarLdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
SingleLdifSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
LdifSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
JarLdifSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SingleLdifSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
LdifSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
JarLdifSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SingleLdifSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
LdifSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
JarLdifSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SingleLdifSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
LdifSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
JarLdifSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
SingleLdifSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
LdifSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
JarLdifSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SingleLdifSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
LdifSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
JarLdifSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SingleLdifSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
LdifSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
JarLdifSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
SingleLdifSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
LdifSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
JarLdifSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
SingleLdifSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
LdifSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
JarLdifSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
SingleLdifSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
List<Entry> |
LdifSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
List<Entry> |
JarLdifSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
Modifier and Type | Method and Description |
---|---|
Schema |
DefaultSchemaManager.getLoadedSchema(String schemaName)
Gets a schema that has been loaded into these Registries.
|
Modifier and Type | Method and Description |
---|---|
List<Schema> |
DefaultSchemaManager.getAllSchemas() |
List<Schema> |
DefaultSchemaManager.getDisabled() |
List<Schema> |
DefaultSchemaManager.getEnabled() |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
DefaultSchemaManager.load(Schema... schemas)
Load some Schemas into the registries.
|
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.
|
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.
|
Constructor and Description |
---|
DefaultSchemaManager(boolean relaxed,
Collection<Schema> schemas)
Creates a new instance of DefaultSchemaManager with the default schema schemaLoader
|
DefaultSchemaManager(Collection<Schema> schemas)
Creates a new instance of DefaultSchemaManager with the default schema schemaLoader
|
Modifier and Type | Method and Description |
---|---|
List<Entry> |
DefaultSchemaLoader.loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
DefaultSchemaLoader.loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
DefaultSchemaLoader.loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
DefaultSchemaLoader.loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
DefaultSchemaLoader.loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
DefaultSchemaLoader.loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
DefaultSchemaLoader.loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
DefaultSchemaLoader.loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
DefaultSchemaLoader.loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
DefaultSchemaLoader.loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
DefaultSchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.