| 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 |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Rdn |
ModifyDnRequestImpl.getNewRdn()
Gets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
Rdn |
ModifyDnRequest.getNewRdn()
Gets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyDnRequest |
ModifyDnRequestImpl.setNewRdn(Rdn newRdn)
Sets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
ModifyDnRequest |
ModifyDnRequest.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! Rdn[0] is rdns.get(n) and Rdn[n] is rdns.get(0) For instance,if the Dn is "dc=c, dc=b, dc=a", then the RDNs are stored as : [0] : dc=c [1] : dc=b [2] : dc=a |
| Modifier and Type | Method and Description |
|---|---|
Rdn |
Rdn.apply(SchemaManager schemaManager)
Transform a Rdn by changing the value to its OID counterpart and
normalizing the value accordingly to its type.
|
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 |
AntlrDnParser.relativeDistinguishedName(Rdn initialRdn)
Parses an Rdn string.
|
| 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(Rdn rdn)
RFC 4514, Section 3
attributeTypeAndValue = attributeType EQUALS attributeValue
RFC 2253, Section 3
attributeTypeAndValue = attributeType "=" attributeValue
|
int |
Rdn.compareTo(Rdn arg0) |
Rdn |
AntlrDnParser.relativeDistinguishedName(Rdn initialRdn)
Parses an Rdn string.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AntlrDnParser.relativeDistinguishedNames(List<Rdn> rdns)
Parses an 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.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.