| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.ldif | |
| org.apache.directory.api.ldap.model.message | |
| org.apache.directory.api.ldap.model.name |
| Modifier and Type | Method and Description |
|---|---|
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 static LdifEntry |
LdifRevertor.generateReverted(Dn newSuperior,
Rdn newRdn,
Dn newDn,
Rdn oldRdn,
boolean deleteOldRdn)
A helper method which generates a reverted entry for a MODDN operation
|
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.
|
| Modifier and Type | Field and Description |
|---|---|
private Rdn |
ModifyDnRequestImpl.newRdn
PDU's newrdn relative distinguished name property
|
| Modifier and Type | Method and Description |
|---|---|
Rdn |
ModifyDnRequest.getNewRdn()
Gets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
Rdn |
ModifyDnRequestImpl.getNewRdn()
Gets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyDnRequest |
ModifyDnRequest.setNewRdn(Rdn newRdn)
Sets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
ModifyDnRequest |
ModifyDnRequestImpl.setNewRdn(Rdn newRdn)
Sets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
| Modifier and Type | Field and Description |
|---|---|
static Rdn |
Rdn.EMPTY_RDN
An empty Rdn
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Rdn> |
Dn.rdns
The RDNs that are elements of the Dn
NOTE THAT THESE ARE IN THE OPPOSITE ORDER FROM THAT IMPLIED BY THE JAVADOC! |
| Modifier and Type | Method and Description |
|---|---|
Rdn |
Rdn.clone()
Clone the Rdn
|
Rdn |
Dn.getRdn()
Retrieves the last (leaf) component of this name.
|
Rdn |
Dn.getRdn(int posn)
Retrieves a component of this name.
|
Rdn |
Dn.RdnIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
List<Rdn> |
Dn.getRdns()
Retrieves all the components of this name.
|
Iterator<Rdn> |
Dn.iterator()
Iterate over the inner Rdn.
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
Dn.add(Rdn newRdn)
Adds a single Rdn to the (leaf) end of this name.
|
String |
AntlrDnParser.attributeTypeAndValue(SchemaManager schemaManager,
Rdn rdn)
RFC 4514, Section 3
attributeTypeAndValue = attributeType EQUALS attributeValue
RFC 2253, Section 3
attributeTypeAndValue = attributeType "=" attributeValue
|
int |
Rdn.compareTo(Rdn otherRdn)
Compare the current RDN with the provided one.
|
private static void |
Rdn.parse(SchemaManager schemaManager,
String dn,
Rdn rdn)
Parse a NameComponent :
<name-component> ::= <attributeType> <spaces> '=' <spaces> <attributeValue> <nameComponents> |
(package private) void |
ComplexDnParser.parseRdn(SchemaManager schemaManager,
String name,
Rdn rdn)
Parses an Rdn.
|
(package private) static void |
FastDnParser.parseRdn(SchemaManager schemaManager,
String name,
Rdn rdn)
Parses the given name string and fills the given Rdn object.
|
private static void |
FastDnParser.parseRdnInternal(SchemaManager schemaManager,
String name,
org.apache.directory.api.util.Position pos,
Rdn rdn) |
void |
AntlrDnParser.relativeDistinguishedName(SchemaManager schemaManager,
Rdn rdn)
Parses a Rdn string.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
ComplexDnParser.parseDn(SchemaManager schemaManager,
String name,
List<Rdn> rdns)
Parses an Dn.
|
(package private) static String |
FastDnParser.parseDn(SchemaManager schemaManager,
String name,
List<Rdn> rdns) |
private static String |
Dn.parseInternal(SchemaManager schemaManager,
String name,
List<Rdn> rdns)
Parse a Dn.
|
String |
AntlrDnParser.relativeDistinguishedNames(SchemaManager schemaManager,
List<Rdn> rdns)
Parses a Dn string.
|
| Constructor and Description |
|---|
Dn(Rdn... rdns)
Creates a Dn from a list of Rdns.
|
Dn(Rdn rdn,
Dn dn)
Creates a Dn concatenating a Rdn and a Dn.
|
Dn(SchemaManager schemaManager,
Rdn... rdns)
Creates a Schema aware Dn from a list of Rdns.
|
Rdn(Rdn rdn)
Constructs an Rdn from the given rdn.
|
Rdn(SchemaManager schemaManager,
Rdn rdn)
Constructs an Rdn from the given rdn.
|
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.