Package | Description |
---|---|
org.apache.directory.shared.ldap.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
org.apache.directory.shared.ldap.schema.loader.ldif | |
org.apache.directory.shared.ldap.schema.manager.impl | |
org.apache.directory.shared.ldap.schema.registries |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaManager.getLoadedSchema(String schemaName)
Gets a schema that has been loaded into these Registries.
|
Schema |
EntityFactory.getSchema(Entry entry)
Return an instance of the Schema associated to the entry
|
Schema |
SchemaDao.getSchema(String schemaName) |
Modifier and Type | Method and Description |
---|---|
List<Schema> |
SchemaManager.getDisabled() |
List<Schema> |
SchemaManager.getEnabled() |
Map<String,Schema> |
SchemaDao.getSchemas()
Gets a Map of Schemas managed by a schema store.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 | Method and Description |
---|---|
Schema |
SchemaEntityFactory.getSchema(Entry entry)
Return an instance of the Schema associated to the entry
|
Modifier and Type | Method and Description |
---|---|
List<Entry> |
JarLdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Loads a set of schemas.
|
List<Entry> |
LdifSchemaLoader.loadAttributeTypes(Schema... schemas)
Loads a set of schemas.
|
List<Entry> |
JarLdifSchemaLoader.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.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.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.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.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.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.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.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.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.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
|
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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSchema
The default Schema interface implementation.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Schema> |
Registries.loadedSchemas
A String name to Schema object map for the schemas loaded into this
registry.
|
protected Map<String,Schema> |
AbstractSchemaLoader.schemaMap
A map of all available schema names to schema objects.
|
Modifier and Type | Method and Description |
---|---|
Schema |
Registries.getLoadedSchema(String schemaName)
Gets a schema that has been loaded into these Registries.
|
protected Schema |
AbstractSchemaLoader.getSchema(Entry entry) |
Schema |
AbstractSchemaLoader.getSchema(String schemaName)
Gets a schema object based on it's name.
|
Schema |
SchemaLoader.getSchema(String schemaName)
Gets a schema object based on it's name.
|
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
AbstractSchemaLoader.getAllEnabled() |
Collection<Schema> |
SchemaLoader.getAllEnabled() |
Collection<Schema> |
AbstractSchemaLoader.getAllSchemas() |
Collection<Schema> |
SchemaLoader.getAllSchemas() |
Map<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
|
List<Entry> |
SchemaLoader.loadAttributeTypes(Schema... schemas)
Loads a set of schemas.
|
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
|
protected void |
AbstractSchemaLoader.notifyListenerOrRegistries(Schema schema,
Registries registries) |
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 |
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.
|
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.