| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.cursor | |
| org.apache.directory.api.ldap.model.entry | |
| org.apache.directory.api.ldap.model.filter | |
| org.apache.directory.api.ldap.model.ldif | |
| org.apache.directory.api.ldap.model.message | |
| 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 |
| Modifier and Type | Method and Description |
|---|---|
Entry |
SearchCursor.getEntry() |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultEntry
A default implementation of a ServerEntry which should suite most
use cases.
This class is final, it should not be extended. |
class |
ImmutableEntry
A default implementation of a ServerEntry which should suite most
use cases.
|
| Modifier and Type | Field and Description |
|---|---|
private Entry |
ImmutableEntry.entry
The wrapped Entry for this entry
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
Entry.add(Attribute... attributes)
Add some Attributes to the current Entry.
|
Entry |
DefaultEntry.add(Attribute... attributes)
Add some Attributes to the current Entry.
|
Entry |
ImmutableEntry.add(Attribute... attributes)
Add some Attributes to the current Entry.
|
Entry |
Entry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
DefaultEntry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
ImmutableEntry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
Entry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
DefaultEntry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
ImmutableEntry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
Entry.add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
DefaultEntry.add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
ImmutableEntry.add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
Entry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
DefaultEntry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
ImmutableEntry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
Entry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
DefaultEntry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
ImmutableEntry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
Entry.add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
DefaultEntry.add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
ImmutableEntry.add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
Entry.add(String upId,
byte[]... values)
Add some binary values to the current Entry.
|
Entry |
DefaultEntry.add(String upId,
byte[]... values)
Add some binary values to the current Entry.
|
Entry |
ImmutableEntry.add(String upId,
byte[]... values)
Add some binary values to the current Entry.
|
Entry |
Entry.add(String upId,
String... values)
Add some String values to the current Entry.
|
Entry |
DefaultEntry.add(String upId,
String... values)
Add some String values to the current Entry.
|
Entry |
ImmutableEntry.add(String upId,
String... values)
Add some String values to the current Entry.
|
Entry |
Entry.add(String upId,
Value... values)
Add some Values to the current Entry.
|
Entry |
DefaultEntry.add(String upId,
Value... values)
Add some Values to the current Entry.
|
Entry |
ImmutableEntry.add(String upId,
Value... values)
Add some Values to the current Entry.
|
Entry |
Entry.clone()
Clone the current entry
|
Entry |
DefaultEntry.clone()
Clone an entry.
|
Entry |
ImmutableEntry.clone()
Clone an entry.
|
private Entry |
DefaultEntry.createEntry(SchemaManager schemaManager,
Object... elements) |
Entry |
Entry.shallowClone()
Shallow Clone the current entry.
|
Entry |
DefaultEntry.shallowClone()
Shallow clone an entry.
|
Entry |
ImmutableEntry.shallowClone()
Shallow Clone the current entry.
|
static Entry |
AttributeUtils.toEntry(Attributes attributes,
Dn dn)
Convert a BasicAttributes or a AttributesImpl to an Entry
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AttributeUtils.applyModification(Entry entry,
Modification modification)
A method to apply a modification to an existing entry.
|
static Attributes |
AttributeUtils.toAttributes(Entry entry)
Converts an
Entry to an Attributes. |
| Constructor and Description |
|---|
DefaultEntry(SchemaManager schemaManager,
Entry entry)
Creates a new instance of DefaultEntry, copying
another entry.
|
ImmutableEntry(Entry entry)
Creates a new instance of DefaultEntry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Assertion.assertCandidate(Entry entry)
Checks to see if a candidate is valid by asserting an arbitrary predicate
against the candidate.
|
| Modifier and Type | Field and Description |
|---|---|
private Entry |
LdifEntry.entry
the entry
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
LdifEntry.getEntry()
Get the entry's entry
|
private Entry |
LdifAttributesReader.parseEntry(SchemaManager schemaManager)
Parse a ldif file.
|
Entry |
LdifAttributesReader.parseEntry(SchemaManager schemaManager,
String ldif)
A method which parses a ldif string and returns an Entry.
|
Entry |
LdifAttributesReader.parseEntry(String ldif)
A method which parses a ldif string and returns an Entry.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
LdifUtils.convertAttributesToLdif(Entry entry)
Convert all the Entry's attributes to LDIF.
|
static String |
LdifUtils.convertAttributesToLdif(Entry entry,
int length)
Convert the Entry's attributes to LDIF.
|
static String |
LdifUtils.convertToLdif(Entry entry)
Convert an Entry to LDIF
|
static String |
LdifUtils.convertToLdif(Entry entry,
boolean includeVersionInfo)
Convert an Entry to LDIF including a version number at the top
|
static String |
LdifUtils.convertToLdif(Entry entry,
int length)
Convert an Entry as LDIF
|
private static LdifEntry |
LdifRevertor.generateModify(Dn parentDn,
Entry entry,
Rdn oldRdn,
Rdn newRdn)
A helper method to generate the modified attribute after a rename.
|
private void |
LdifAttributesReader.parseEntryAttribute(SchemaManager schemaManager,
Entry entry,
String line,
String lowerLine)
Parse an AttributeType/AttributeValue
|
static LdifEntry |
LdifRevertor.reverseDel(Dn dn,
Entry deletedEntry)
Compute a reverse LDIF of a DeleteRequest.
|
static LdifEntry |
LdifRevertor.reverseModify(Dn dn,
List<Modification> forwardModifications,
Entry modifiedEntry)
Compute the reversed LDIF for a modify request.
|
static List<LdifEntry> |
LdifRevertor.reverseMoveAndRename(Entry entry,
Dn newSuperior,
Rdn newRdn,
boolean deleteOldRdn)
Revert a Dn to it's previous version by removing the first Rdn and adding the given Rdn.
|
static List<LdifEntry> |
LdifRevertor.reverseRename(Entry entry,
Rdn newRdn,
boolean deleteOldRdn)
Revert a Dn to it's previous version by removing the first Rdn and adding the given Rdn.
|
private static LdifEntry |
LdifRevertor.revertEntry(Entry entry,
Dn newDn,
Dn newSuperior,
Rdn oldRdn,
Rdn newRdn)
A small helper class to compute the simple revert.
|
| Constructor and Description |
|---|
LdifEntry(Entry entry)
Creates a new LdifEntry object, storing an Entry
|
| Modifier and Type | Field and Description |
|---|---|
private Entry |
AddRequestImpl.entry
A MultiMap of the new entry's attributes and their values
|
private Entry |
SearchResultEntryImpl.entry
Entry returned in response to search
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
AddRequest.getEntry()
Gets the entry to add.
|
Entry |
AddRequestImpl.getEntry()
Gets the entry to add.
|
Entry |
SearchResultEntry.getEntry()
Gets the entry.
|
Entry |
SearchResultEntryImpl.getEntry()
Gets the entry
|
| Modifier and Type | Method and Description |
|---|---|
AddRequest |
AddRequest.setEntry(Entry entry)
Sets the Entry to add.
|
AddRequest |
AddRequestImpl.setEntry(Entry entry)
Sets the Entry to add.
|
void |
SearchResultEntry.setEntry(Entry entry)
Sets an entry
|
void |
SearchResultEntryImpl.setEntry(Entry entry)
Sets the entry.
|
| 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
|
Entry |
AttributesFactory.getAttributes(SchemaObject obj,
Schema schema,
SchemaManager schemaManager)
Get a SchemaObject as an Entry
|
static Entry |
SchemaUtils.getTargetEntry(List<? extends Modification> mods,
Entry entry)
Gets the target entry as it would look after a modification operation
were performed on it.
|
| Modifier and Type | Method and Description |
|---|---|
static Entry |
SchemaUtils.getTargetEntry(List<? extends Modification> mods,
Entry entry)
Gets the target entry as it would look after a modification operation
were performed on it.
|
private void |
AttributesFactory.injectCommon(SchemaObject object,
Entry entry,
SchemaManager schemaManager) |
private void |
AttributesFactory.injectNames(List<String> names,
Entry entry,
SchemaManager schemaManager) |
| Modifier and Type | Method and Description |
|---|---|
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.loadAttributeTypes(String... schemaNames)
Build a list of AttributeTypes read from the underlying storage for
a list of specific schema, using their name
|
List<Entry> |
AbstractSchemaLoader.loadAttributeTypes(String... schemaNames)
Build a list of AttributeTypes read from the underlying storage for
a list of specific schema, using their name
|
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.loadComparators(String... schemaNames)
Build a list of Comparators read from the underlying storage for
a list of specific schema, using their name
|
List<Entry> |
AbstractSchemaLoader.loadComparators(String... schemaNames)
Build a list of Comparators read from the underlying storage for
a list of specific schema, using their name
|
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.loadDitContentRules(String... schemaNames)
Build a list of DitContentRules read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadDitContentRules(String... schemaNames)
Build a list of DitContentRules read from the underlying storage for
a list of specified schema names
|
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.loadDitStructureRules(String... schemaNames)
Build a list of DitStructureRules read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadDitStructureRules(String... schemaNames)
Build a list of DitStructureRules read from the underlying storage for
a list of specified schema names
|
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.loadMatchingRules(String... schemaNames)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema, using their name
|
List<Entry> |
AbstractSchemaLoader.loadMatchingRules(String... schemaNames)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema, using their name
|
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.loadMatchingRuleUses(String... schemaNames)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadMatchingRuleUses(String... schemaNames)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specified schema names
|
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.loadNameForms(String... schemaNames)
Build a list of NameForms read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadNameForms(String... schemaNames)
Build a list of NameForms read from the underlying storage for
a list of specified schema names
|
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.loadNormalizers(String... schemaNames)
Build a list of Normalizers read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadNormalizers(String... schemaNames)
Build a list of Normalizers read from the underlying storage for
a list of specified schema names
|
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.loadObjectClasses(String... schemaNames)
Build a list of ObjectClasses read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadObjectClasses(String... schemaNames)
Build a list of ObjectClasses read from the underlying storage for
a list of specified schema names
|
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.loadSyntaxCheckers(String... schemaNames)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadSyntaxCheckers(String... schemaNames)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema names
|
List<Entry> |
SchemaLoader.loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
List<Entry> |
SchemaLoader.loadSyntaxes(String... schemaNames)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema names
|
List<Entry> |
AbstractSchemaLoader.loadSyntaxes(String... schemaNames)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema names
|
| Modifier and Type | Method and Description |
|---|---|
protected Schema |
AbstractSchemaLoader.getSchema(Entry entry)
Gets the schema.
|
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.