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.parsers | |
org.apache.directory.api.ldap.model.schema.registries | |
org.apache.directory.api.ldap.model.schema.registries.helper | |
org.apache.directory.api.ldap.model.subtree | |
org.apache.directory.api.ldap.schema.loader | |
org.apache.directory.api.ldap.schema.manager.impl |
Modifier and Type | Class and Description |
---|---|
class |
MutableObjectClass
An objectClass definition.
|
Modifier and Type | Method and Description |
---|---|
ObjectClass |
ObjectClass.copy()
Copy an ObjectClass
|
ObjectClass |
NameForm.getStructuralObjectClass()
Gets the STRUCTURAL ObjectClass this name form specifies naming
attributes for.
|
ObjectClass |
SchemaManager.lookupObjectClassRegistry(String oid)
Lookup for a ObjectClass in the ObjectClass registry
|
Modifier and Type | Method and Description |
---|---|
List<ObjectClass> |
DitContentRule.getAuxObjectClasses() |
List<ObjectClass> |
ObjectClass.getSuperiors()
Gets the superclasses of this ObjectClass.
|
static Iterable<ObjectClass> |
SchemaObjectSorter.sortObjectClasses(List<ObjectClass> objectClasses)
Gets an hierarchical ordered
Iterable of the given ObjectClass es. |
Modifier and Type | Method and Description |
---|---|
void |
DitContentRule.addAuxObjectClasses(ObjectClass objectClass)
Add an Auxiliary ObjectClass
|
Entry |
AttributesFactory.convert(ObjectClass objectClass,
Schema schema,
SchemaManager schemaManager)
Creates the attributes of an entry representing an objectClass.
|
String |
SchemaObjectRenderer.render(ObjectClass oc)
Renders an objectClass according to the Object Class
Description Syntax 1.3.6.1.4.1.1466.115.121.1.37.
|
static StringBuilder |
SchemaUtils.render(ObjectClass[] ocs)
Renders a list of object classes for things like a list of superior
objectClasses using the ( oid $ oid ) format.
|
static StringBuilder |
SchemaUtils.render(StringBuilder buf,
ObjectClass[] ocs)
Renders a list of object classes for things like a list of superior
objectClasses using the ( oid $ oid ) format into an existing buffer.
|
void |
NameForm.setStructuralObjectClass(ObjectClass structuralObjectClass)
Sets the structural object class this rule applies to
|
Modifier and Type | Method and Description |
---|---|
void |
DitContentRule.setAuxObjectClasses(List<ObjectClass> auxObjectClasses) |
void |
MutableObjectClass.setSuperiors(List<ObjectClass> superiors)
Sets the superior object classes
|
static Iterable<ObjectClass> |
SchemaObjectSorter.sortObjectClasses(List<ObjectClass> objectClasses)
Gets an hierarchical ordered
Iterable of the given ObjectClass es. |
void |
MutableObjectClass.updateSuperiors(List<ObjectClass> superiors)
Update the associated SUPERIORS ObjectClasses, even if the SchemaObject is readOnly
|
Modifier and Type | Method and Description |
---|---|
ObjectClass |
ObjectClassDescriptionSchemaParser.parseObjectClassDescription(String objectClassDescription)
Parses a object class definition according to RFC 4512:
|
Modifier and Type | Method and Description |
---|---|
List<ObjectClass> |
OpenLdapSchemaParser.getObjectClassTypes()
Gets the object class types.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ParserDescriptionUtils.objectClassesMatch(ObjectClass oc0,
ObjectClass oc1)
Checks two schema objectClasses for an exact match.
|
Modifier and Type | Method and Description |
---|---|
ObjectClass |
ImmutableObjectClassRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
ObjectClass |
ImmutableObjectClassRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
ObjectClass |
ImmutableObjectClassRegistry.unregister(ObjectClass schemaObject)
Removes the SchemaObject registered with this registry.
|
ObjectClass |
ObjectClassRegistry.unregister(String numericOid)
Removes the ObjectClass registered with this registry.
|
ObjectClass |
ImmutableObjectClassRegistry.unregister(String numericOid)
Removes the ObjectClass registered with this registry.
|
ObjectClass |
DefaultObjectClassRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ObjectClass> |
ObjectClassRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
Iterator<ObjectClass> |
ImmutableObjectClassRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
Iterator<ObjectClass> |
DefaultObjectClassRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
Iterator<ObjectClass> |
ImmutableObjectClassRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectClassRegistry.register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.
|
void |
ImmutableObjectClassRegistry.register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.
|
void |
ObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
ObjectClass |
ImmutableObjectClassRegistry.unregister(ObjectClass schemaObject)
Removes the SchemaObject registered with this registry.
|
void |
ObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
Modifier and Type | Method and Description |
---|---|
static void |
ObjectClassHelper.addToRegistries(ObjectClass objectClass,
List<Throwable> errors,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
static void |
ObjectClassHelper.removeFromRegistries(ObjectClass objectClass,
List<Throwable> errors,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
Modifier and Type | Method and Description |
---|---|
ObjectClass |
ItemRefinement.getItem() |
Modifier and Type | Method and Description |
---|---|
void |
ItemRefinement.setItem(ObjectClass item) |
Constructor and Description |
---|
ItemRefinement(ObjectClass item)
Creates a new instance of ItemRefinement.
|
Modifier and Type | Method and Description |
---|---|
ObjectClass |
SchemaEntityFactory.getObjectClass(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName) |
ObjectClass |
EntityFactory.getObjectClass(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName) |
Modifier and Type | Method and Description |
---|---|
ObjectClass |
DefaultSchemaManager.lookupObjectClassRegistry(String oid)
Lookup for a ObjectClass in the ObjectClass registry
|
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.