Uses of Class
org.apache.directory.api.ldap.model.name.Dn
Packages that use Dn
Package
Description
Contains interfaces and base classes for representing the LDAP schema domain
model.
-
Uses of Dn in org.apache.directory.api.ldap.model.cursor
Methods in org.apache.directory.api.ldap.model.cursor that return Dn -
Uses of Dn in org.apache.directory.api.ldap.model.entry
Methods in org.apache.directory.api.ldap.model.entry that return DnModifier and TypeMethodDescriptionDefaultEntry.getDn()Get this entry's Dn.Entry.getDn()Get this entry's Dn.ImmutableEntry.getDn()Get this entry's Dn.Methods in org.apache.directory.api.ldap.model.entry with parameters of type DnModifier and TypeMethodDescriptionvoidSet this entry's Dn.voidSet this entry's Dn.voidSet this entry's Dn.static EntryAttributeUtils.toEntry(Attributes attributes, Dn dn) Convert a BasicAttributes or a AttributesImpl to an EntryConstructors in org.apache.directory.api.ldap.model.entry with parameters of type DnModifierConstructorDescriptionDefaultEntry(Dn dn) Creates a new instance of DefaultEntry, with a Dn.DefaultEntry(Dn dn, Object... elements) Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(SchemaManager schemaManager, Dn dn) Creates a new instance of DefaultEntry, schema aware.DefaultEntry(SchemaManager schemaManager, Dn dn, Object... elements) Creates a new instance of DefaultEntry, with a Dn and a list of IDs. -
Uses of Dn in org.apache.directory.api.ldap.model.exception
Fields in org.apache.directory.api.ldap.model.exception declared as DnMethods in org.apache.directory.api.ldap.model.exception that return DnModifier and TypeMethodDescriptionAbstractLdapReferralException.getRemainingDn()Get the remaining DnLdapReferralException.getRemainingDn()LdapOperationException.getResolvedDn()Get the resolved DNMethods in org.apache.directory.api.ldap.model.exception with parameters of type DnModifier and TypeMethodDescriptionvoidAbstractLdapReferralException.setRemainingDn(Dn remainingDn) Set the remaining DnvoidLdapReferralException.setRemainingDn(Dn remainingDn) voidLdapOperationException.setResolvedDn(Dn resolvedDn) Set the resolved DN -
Uses of Dn in org.apache.directory.api.ldap.model.filter
Methods in org.apache.directory.api.ldap.model.filter that return DnConstructors in org.apache.directory.api.ldap.model.filter with parameters of type DnModifierConstructorDescriptionScopeNode(AliasDerefMode aliasDerefAliases, Dn baseDn, String baseId, SearchScope scope) Creates a new ScopeNode object. -
Uses of Dn in org.apache.directory.api.ldap.model.ldif
Methods in org.apache.directory.api.ldap.model.ldif that return DnMethods in org.apache.directory.api.ldap.model.ldif with parameters of type DnModifier and TypeMethodDescriptionstatic StringLdifUtils.convertToLdif(Attributes attrs, Dn dn) Convert an Attributes as LDIF.static StringLdifUtils.convertToLdif(Attributes attrs, Dn dn, int length) Convert an Attributes as LDIF.static LdifEntryLdifRevertor.reverseAdd(Dn dn) Compute a reverse LDIF of an AddRequest.static LdifEntryLdifRevertor.reverseDel(Dn dn, Entry deletedEntry) Compute a reverse LDIF of a DeleteRequest.static LdifEntryLdifRevertor.reverseModify(Dn dn, List<Modification> forwardModifications, Entry modifiedEntry) Compute the reversed LDIF for a modify request.static LdifEntryLdifRevertor.reverseMove(Dn newSuperiorDn, Dn modifiedDn) Compute a reverse LDIF for a forward change which if in LDIF format would represent a Move operation.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.voidSet the Distinguished NameConstructors in org.apache.directory.api.ldap.model.ldif with parameters of type Dn -
Uses of Dn in org.apache.directory.api.ldap.model.message
Methods in org.apache.directory.api.ldap.model.message that return DnModifier and TypeMethodDescriptionSearchRequest.getBase()Gets the search base as a distinguished name.SearchRequestImpl.getBase()Gets the search base as a distinguished name.BindRequest.getDn()Gets the DN of the subject in this authentication request.BindRequestImpl.getDn()Gets the DN of the subject in this authentication request.AddRequest.getEntryDn()Gets the distinguished name of the entry to add.AddRequestImpl.getEntryDn()Gets the distinguished name of the entry to add.LdapResult.getMatchedDn()Gets the lowest entry in the directory that was matched.LdapResultImpl.getMatchedDn()Gets the lowest entry in the directory that was matched.CompareRequest.getName()Gets the distinguished name of the entry to be compared using the attribute value assertion.CompareRequestImpl.getName()Gets the distinguished name of the entry to be compared using the attribute value assertion.DeleteRequest.getName()Gets the distinguished name of the leaf entry to be deleted by this request.DeleteRequestImpl.getName()Gets the distinguished name of the leaf entry to be deleted by this request.ModifyDnRequest.getName()Gets the entry's distinguished name representing the entry PDU field.ModifyDnRequestImpl.getName()Gets the entry's distinguished name representing the entry PDU field.ModifyRequest.getName()Gets the distinguished name of the entry to be modified by this request.ModifyRequestImpl.getName()Gets the distinguished name of the entry to be modified by this request.ModifyDnRequest.getNewSuperior()Gets the optional distinguished name of the new superior entry where the candidate entry is to be moved.ModifyDnRequestImpl.getNewSuperior()Gets the optional distinguished name of the new superior entry where the candidate entry is to be moved.SearchResultEntry.getObjectName()Gets the distinguished name of the entry object returned.SearchResultEntryImpl.getObjectName()Gets the distinguished name of the entry object returned.Methods in org.apache.directory.api.ldap.model.message with parameters of type DnModifier and TypeMethodDescriptionSets the search base as a distinguished name.Sets the search base as a distinguished name.Sets the DN of the subject in this authentication request.Sets the DN of the subject in this authentication request.AddRequest.setEntryDn(Dn entry) Sets the distinguished name of the entry to add.AddRequestImpl.setEntryDn(Dn dn) Sets the distinguished name of the entry to add.voidLdapResult.setMatchedDn(Dn dn) Sets the lowest entry in the directory that was matched.voidLdapResultImpl.setMatchedDn(Dn matchedDn) Sets the lowest entry in the directory that was matched.Sets the distinguished name of the entry to be compared using the attribute value assertion.Sets the distinguished name of the entry to be compared using the attribute value assertion.Sets the distinguished name of the leaf entry to be deleted by this request.Sets the distinguished name of the leaf entry to be deleted by this request.Sets the entry's distinguished name representing the entry PDU field.Sets the entry's distinguished name representing the entry PDU field.Sets the distinguished name of the entry to be modified by this request.Sets the distinguished name of the entry to be modified by this request.ModifyDnRequest.setNewSuperior(Dn newSuperior) Sets the optional distinguished name of the new superior entry where the candidate entry is to be moved.ModifyDnRequestImpl.setNewSuperior(Dn newSuperior) Sets the optional distinguished name of the new superior entry where the candidate entry is to be moved.voidSearchResultEntry.setObjectName(Dn objectName) Sets the distinguished name of the entry object returned.voidSearchResultEntryImpl.setObjectName(Dn objectName) Sets the distinguished name of the entry object returned. -
Uses of Dn in org.apache.directory.api.ldap.model.message.controls
Methods in org.apache.directory.api.ldap.model.message.controls that return DnMethods in org.apache.directory.api.ldap.model.message.controls with parameters of type DnModifier and TypeMethodDescriptionvoidEntryChange.setPreviousDn(Dn previousDn) Sets the previous DNvoidEntryChangeImpl.setPreviousDn(Dn previousDn) Sets the previous DN -
Uses of Dn in org.apache.directory.api.ldap.model.name
Fields in org.apache.directory.api.ldap.model.name declared as DnModifier and TypeFieldDescriptionstatic final DnDn.EMPTY_DNA null Dnstatic final DnDn.ROOT_DSEThe rootDSEMethods in org.apache.directory.api.ldap.model.name that return DnModifier and TypeMethodDescriptionAdds a single Rdn to the (leaf) end of this name.Adds all RDNs of the provided DN to the (leaf) end of this name.Adds a single Rdn to the (leaf) end of this name.Creates a Dn form a user provided Dn.Creates a Dn from user provided RDNs.Creates a Dn form a user provided Dn.Creates a Dn from user provided RDNs.Dn.getAncestorOf(String descendant) Get the ancestor of a given DN, using the descendant DN.Dn.getAncestorOf(Dn descendant) Get the ancestor of a given DN, using the descendant DN.Dn.getDescendantOf(String ancestor) Get the descendant of a given DN, using the ancestr DN.Dn.getDescendantOf(Dn ancestor) Get the descendant of a given DN, using the ancestor DN.Dn.getParent()Gets the parent Dn of this Dn.Methods in org.apache.directory.api.ldap.model.name with parameters of type DnModifier and TypeMethodDescriptionAdds all RDNs of the provided DN to the (leaf) end of this name.Dn.getAncestorOf(Dn descendant) Get the ancestor of a given DN, using the descendant DN.Dn.getDescendantOf(Dn ancestor) Get the descendant of a given DN, using the ancestor DN.booleanDn.isAncestorOf(Dn dn) Tells if the current Dn is a parent of another Dn.
For instance, dc=com is a ancestor of dc=example, dc=combooleanDn.isDescendantOf(Dn dn) Tells if a Dn is a child of another Dn.
For instance, dc=example, dc=apache, dc=com is a descendant of dc=comstatic booleanDn.isNullOrEmpty(Dn dn) Check if a DistinguishedName is null or empty.Constructors in org.apache.directory.api.ldap.model.name with parameters of type Dn -
Uses of Dn in org.apache.directory.api.ldap.model.schema
Methods in org.apache.directory.api.ldap.model.schema that return Dn -
Uses of Dn in org.apache.directory.api.ldap.model.schema.comparators
Methods in org.apache.directory.api.ldap.model.schema.comparators that return Dn -
Uses of Dn in org.apache.directory.api.ldap.model.schema.normalizers
Methods in org.apache.directory.api.ldap.model.schema.normalizers with parameters of type Dn -
Uses of Dn in org.apache.directory.api.ldap.model.subtree
Methods in org.apache.directory.api.ldap.model.subtree that return DnModifier and TypeMethodDescriptionBaseSubtreeSpecification.getBase()SubtreeSpecification.getBase()Gets an Rdn relative to the administrative context where the subtree scope begins.Methods in org.apache.directory.api.ldap.model.subtree that return types with arguments of type DnModifier and TypeMethodDescriptionBaseSubtreeSpecification.getChopAfterExclusions()SubtreeSpecification.getChopAfterExclusions()A set of RDNs relative to the base entry representing chopAfter specificExclusions from the subtree.BaseSubtreeSpecification.getChopBeforeExclusions()SubtreeSpecification.getChopBeforeExclusions()A set of RDNs relative to the base entry representing chopBefore specificExclusions from the subtree.Methods in org.apache.directory.api.ldap.model.subtree with parameters of type DnModifier and TypeMethodDescriptionvoidSubtreeSpecificationModifier.addChopAfterExclusions(Dn chopAfterExclusion) Add a subordinate entries and its subordinate to exclude.voidSubtreeSpecificationModifier.addChopBeforeExclusions(Dn chopBeforeExclusion) Add a subordinate entries and its subordinate to exclude.voidSets the subtree base relative to the administration point.Method parameters in org.apache.directory.api.ldap.model.subtree with type arguments of type DnModifier and TypeMethodDescriptionvoidSubtreeSpecificationModifier.setChopAfterExclusions(Set<Dn> chopAfterExclusions) Sets the set of subordinates entries whose subordinates are to be excluded.voidSubtreeSpecificationModifier.setChopBeforeExclusions(Set<Dn> chopBeforeExclusions) Sets the set of subordinates entries and their subordinates to exclude.Constructors in org.apache.directory.api.ldap.model.subtree with parameters of type DnModifierConstructorDescriptionBaseSubtreeSpecification(Dn base) Creates a simple subtree whose administrative point above the base and all subordinates underneath the base (excluding those that are part of inner areas) are part of the the subtree.BaseSubtreeSpecification(Dn base, int minBaseDistance, int maxBaseDistance, Set<Dn> chopAfter, Set<Dn> chopBefore) Creates a subtree without a refinement filter where all other aspects can be varied.BaseSubtreeSpecification(Dn base, int minBaseDistance, int maxBaseDistance, Set<Dn> chopAfter, Set<Dn> chopBefore, ExprNode refinement) Creates a subtree which may be a refinement filter where all aspects of the specification can be set.Constructor parameters in org.apache.directory.api.ldap.model.subtree with type arguments of type DnModifierConstructorDescriptionBaseSubtreeSpecification(Dn base, int minBaseDistance, int maxBaseDistance, Set<Dn> chopAfter, Set<Dn> chopBefore) Creates a subtree without a refinement filter where all other aspects can be varied.BaseSubtreeSpecification(Dn base, int minBaseDistance, int maxBaseDistance, Set<Dn> chopAfter, Set<Dn> chopBefore, ExprNode refinement) Creates a subtree which may be a refinement filter where all aspects of the specification can be set. -
Uses of Dn in org.apache.directory.api.ldap.model.url
Methods in org.apache.directory.api.ldap.model.url that return DnMethods in org.apache.directory.api.ldap.model.url with parameters of type Dn