Uses of Class
org.apache.directory.api.ldap.model.name.Dn
-
-
Uses of Dn in org.apache.directory.api.ldap.model.cursor
Methods in org.apache.directory.api.ldap.model.cursor that return Dn Modifier and Type Method Description DnCursorLdapReferralException. getRemainingDn() -
Uses of Dn in org.apache.directory.api.ldap.model.entry
Fields in org.apache.directory.api.ldap.model.entry declared as Dn Modifier and Type Field Description private DnDefaultEntry. dnThe Dn for this entryMethods in org.apache.directory.api.ldap.model.entry that return Dn Modifier and Type Method Description DnDefaultEntry. getDn()Get this entry's Dn.DnEntry. getDn()Get this entry's Dn.DnImmutableEntry. getDn()Get this entry's Dn.private DnDefaultEntry. normalizeDn(Dn dn)Normalizes the given Dn if it was not already normalizedMethods in org.apache.directory.api.ldap.model.entry with parameters of type Dn Modifier and Type Method Description private DnDefaultEntry. normalizeDn(Dn dn)Normalizes the given Dn if it was not already normalizedvoidDefaultEntry. setDn(Dn dn)Set this entry's Dn.voidEntry. setDn(Dn dn)Set this entry's Dn.voidImmutableEntry. setDn(Dn dn)Set 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 Dn Constructor Description DefaultEntry(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 Dn Modifier and Type Field Description private DnAbstractLdapReferralException. remainingDnThe remaining Dnprivate DnLdapReferralException. remainingDnThe remaining Dnprotected DnLdapOperationException. resolvedDnThe resolved DnMethods in org.apache.directory.api.ldap.model.exception that return Dn Modifier and Type Method Description DnAbstractLdapReferralException. getRemainingDn()DnLdapReferralException. getRemainingDn()DnLdapOperationException. getResolvedDn()Methods in org.apache.directory.api.ldap.model.exception with parameters of type Dn Modifier and Type Method Description voidAbstractLdapReferralException. setRemainingDn(Dn remainingDn)voidLdapReferralException. setRemainingDn(Dn remainingDn)voidLdapOperationException. setResolvedDn(Dn resolvedDn) -
Uses of Dn in org.apache.directory.api.ldap.model.filter
Fields in org.apache.directory.api.ldap.model.filter declared as Dn Modifier and Type Field Description private DnScopeNode. baseDnthe search baseMethods in org.apache.directory.api.ldap.model.filter that return Dn Modifier and Type Method Description DnScopeNode. getBaseDn()Gets the base dn.Constructors in org.apache.directory.api.ldap.model.filter with parameters of type Dn Constructor Description ScopeNode(AliasDerefMode aliasDerefAliases, Dn baseDn, String baseId, SearchScope scope)Creates a new ScopeNode object. -
Uses of Dn in org.apache.directory.api.ldap.model.ldif
Fields in org.apache.directory.api.ldap.model.ldif declared as Dn Modifier and Type Field Description private DnLdifEntry. entryDnthe DNMethods in org.apache.directory.api.ldap.model.ldif that return Dn Modifier and Type Method Description DnLdifEntry. getDn()Methods in org.apache.directory.api.ldap.model.ldif with parameters of type Dn Modifier and Type Method Description static 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.private static LdifEntryLdifRevertor. generateModify(Dn parentDn, Entry entry, Rdn oldRdn, Rdn newRdn)A helper method to generate the modified attribute after a rename.private static LdifEntryLdifRevertor. generateReverted(Dn newSuperior, Rdn newRdn, Dn newDn, Rdn oldRdn, boolean deleteOldRdn)A helper method which generates a reverted entry for a MODDN operationstatic 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.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.private static LdifEntryLdifRevertor. revertEntry(Entry entry, Dn newDn, Dn newSuperior, Rdn oldRdn, Rdn newRdn)A small helper class to compute the simple revert.voidLdifEntry. setDn(Dn dn)Set the Distinguished NameConstructors in org.apache.directory.api.ldap.model.ldif with parameters of type Dn Constructor Description LdifEntry(Dn dn, Object... avas)Creates a LdifEntry using a list of strings representing the Ldif element -
Uses of Dn in org.apache.directory.api.ldap.model.message
Fields in org.apache.directory.api.ldap.model.message declared as Dn Modifier and Type Field Description private DnSearchRequestImpl. baseDnSearch base distinguished nameprivate DnBindRequestImpl. dnDistinguished name identifying the name of the authenticating subject - defaults to the empty stringprivate DnLdapResultImpl. matchedDnLowest matched entry Dn - defaults to empty stringprivate DnCompareRequestImpl. nameDistinguished name identifying the compared entryprivate DnDeleteRequestImpl. nameThe distinguished name of the entry to deleteprivate DnModifyDnRequestImpl. namePDU's modify Dn candidate entry distinguished name propertyprivate DnModifyRequestImpl. nameDn of the entry to modify or PDU's object fieldprivate DnModifyDnRequestImpl. newSuperiorPDU's newSuperior distinguished name propertyMethods in org.apache.directory.api.ldap.model.message that return Dn Modifier and Type Method Description DnSearchRequest. getBase()Gets the search base as a distinguished name.DnSearchRequestImpl. getBase()Gets the search base as a distinguished name.DnBindRequest. getDn()Gets the DN of the subject in this authentication request.DnBindRequestImpl. getDn()Gets the DN of the subject in this authentication request.DnAddRequest. getEntryDn()Gets the distinguished name of the entry to add.DnAddRequestImpl. getEntryDn()Gets the distinguished name of the entry to add.DnLdapResult. getMatchedDn()Gets the lowest entry in the directory that was matched.DnLdapResultImpl. getMatchedDn()Gets the lowest entry in the directory that was matched.DnCompareRequest. getName()Gets the distinguished name of the entry to be compared using the attribute value assertion.DnCompareRequestImpl. getName()Gets the distinguished name of the entry to be compared using the attribute value assertion.DnDeleteRequest. getName()Gets the distinguished name of the leaf entry to be deleted by this request.DnDeleteRequestImpl. getName()Gets the distinguished name of the leaf entry to be deleted by this request.DnModifyDnRequest. getName()Gets the entry's distinguished name representing the entry PDU field.DnModifyDnRequestImpl. getName()Gets the entry's distinguished name representing the entry PDU field.DnModifyRequest. getName()Gets the distinguished name of the entry to be modified by this request.DnModifyRequestImpl. getName()Gets the distinguished name of the entry to be modified by this request.DnModifyDnRequest. getNewSuperior()Gets the optional distinguished name of the new superior entry where the candidate entry is to be moved.DnModifyDnRequestImpl. getNewSuperior()Gets the optional distinguished name of the new superior entry where the candidate entry is to be moved.DnSearchResultEntry. getObjectName()Gets the distinguished name of the entry object returned.DnSearchResultEntryImpl. getObjectName()Gets the distinguished name of the entry object returned.Methods in org.apache.directory.api.ldap.model.message with parameters of type Dn Modifier and Type Method Description SearchRequestSearchRequest. setBase(Dn baseDn)Sets the search base as a distinguished name.SearchRequestSearchRequestImpl. setBase(Dn base)Sets the search base as a distinguished name.BindRequestBindRequest. setDn(Dn name)Sets the DN of the subject in this authentication request.BindRequestBindRequestImpl. setDn(Dn dn)Sets the DN of the subject in this authentication request.AddRequestAddRequest. setEntryDn(Dn entry)Sets the distinguished name of the entry to add.AddRequestAddRequestImpl. 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.CompareRequestCompareRequest. setName(Dn name)Sets the distinguished name of the entry to be compared using the attribute value assertion.CompareRequestCompareRequestImpl. setName(Dn name)Sets the distinguished name of the entry to be compared using the attribute value assertion.DeleteRequestDeleteRequest. setName(Dn name)Sets the distinguished name of the leaf entry to be deleted by this request.DeleteRequestDeleteRequestImpl. setName(Dn name)Sets the distinguished name of the leaf entry to be deleted by this request.ModifyDnRequestModifyDnRequest. setName(Dn name)Sets the entry's distinguished name representing the entry PDU field.ModifyDnRequestModifyDnRequestImpl. setName(Dn name)Sets the entry's distinguished name representing the entry PDU field.ModifyRequestModifyRequest. setName(Dn name)Sets the distinguished name of the entry to be modified by this request.ModifyRequestModifyRequestImpl. setName(Dn name)Sets the distinguished name of the entry to be modified by this request.ModifyDnRequestModifyDnRequest. setNewSuperior(Dn newSuperior)Sets the optional distinguished name of the new superior entry where the candidate entry is to be moved.ModifyDnRequestModifyDnRequestImpl. 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
Fields in org.apache.directory.api.ldap.model.message.controls declared as Dn Modifier and Type Field Description private DnEntryChangeImpl. previousDnThe previous DnMethods in org.apache.directory.api.ldap.model.message.controls that return Dn Modifier and Type Method Description DnEntryChange. getPreviousDn()DnEntryChangeImpl. getPreviousDn()Methods in org.apache.directory.api.ldap.model.message.controls with parameters of type Dn Modifier and Type Method Description voidEntryChange. 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 Dn Modifier and Type Field Description static DnDn. EMPTY_DNA null Dnstatic DnDn. ROOT_DSEThe rootDSEFields in org.apache.directory.api.ldap.model.name with type parameters of type Dn Modifier and Type Field Description private com.github.benmanes.caffeine.cache.Cache<String,Dn>DefaultDnFactory. dnCacheThe cache for DNsMethods in org.apache.directory.api.ldap.model.name that return Dn Modifier and Type Method Description DnDn. add(String rdn)Adds a single Rdn to the (leaf) end of this name.DnDn. add(Dn rdns)Adds all RDNs of the provided DN to the (leaf) end of this name.DnDn. add(Rdn newRdn)Adds a single Rdn to the (leaf) end of this name.private DnDn. copy()Create a copy of the current DnDnDefaultDnFactory. create(String dn)Creates a Dn form a user provided Dn.DnDefaultDnFactory. create(String... upRdns)Creates a Dn from user provided RDNs.DnDnFactory. create(String upDn)Creates a Dn form a user provided Dn.DnDnFactory. create(String... upRdns)Creates a Dn from user provided RDNs.DnDn. getAncestorOf(String descendant)Get the ancestor of a given DN, using the descendant DN.DnDn. getAncestorOf(Dn descendant)Get the ancestor of a given DN, using the descendant DN.DnDn. getDescendantOf(String ancestor)Get the descendant of a given DN, using the ancestr DN.DnDn. getDescendantOf(Dn ancestor)Get the descendant of a given DN, using the ancestor DN.DnDn. getParent()Gets the parent Dn of this Dn.(package private) static DnFastDnParser. parse(String name)Parses a Dn from a String(package private) static DnFastDnParser. parse(SchemaManager schemaManager, String name)Parses a Dn from a StringMethods in org.apache.directory.api.ldap.model.name with parameters of type Dn Modifier and Type Method Description DnDn. add(Dn rdns)Adds all RDNs of the provided DN to the (leaf) end of this name.voidAntlrDnParser. distinguishedName(SchemaManager schemaManager, Dn dn)Parses a Dn string.DnDn. getAncestorOf(Dn descendant)Get the ancestor of a given DN, using the descendant DN.DnDn. 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.(package private) static voidFastDnParser. parseDn(SchemaManager schemaManager, String name, Dn dn)Parses the given name string and fills the given Dn object.Constructors in org.apache.directory.api.ldap.model.name with parameters of type Dn Constructor Description Dn(Rdn rdn, Dn dn)Creates a Dn concatenating a Rdn and a Dn.Dn(SchemaManager schemaManager, Dn dn)Construct an empty Schema aware Dn object -
Uses of Dn in org.apache.directory.api.ldap.model.schema
Methods in org.apache.directory.api.ldap.model.schema that return Dn Modifier and Type Method Description DnSchemaManager. getNamingContext() -
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 Modifier and Type Method Description private DnDnComparator. getDn(Object obj)private DnParsedDnComparator. getDn(Object obj)DnUniqueMemberComparator. getDn(Object obj)Get the DN from the given object -
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 Modifier and Type Method Description StringDnNormalizer. normalize(Dn value)Normalize a Dn -
Uses of Dn in org.apache.directory.api.ldap.model.subtree
Fields in org.apache.directory.api.ldap.model.subtree declared as Dn Modifier and Type Field Description private DnBaseSubtreeSpecification. basethe subtree base relative to the administration pointprivate DnSubtreeSpecificationModifier. basethe subtree base relative to the administration pointFields in org.apache.directory.api.ldap.model.subtree with type parameters of type Dn Modifier and Type Field Description private Set<Dn>BaseSubtreeSpecification. chopAfterthe set of subordinates entries whose subordinates are to be excludedprivate Set<Dn>SubtreeSpecificationModifier. chopAfterthe set of subordinates entries whose subordinates are to be excludedprivate Set<Dn>AntlrSubtreeSpecificationParser. chopAfterExclusionsprivate Set<Dn>BaseSubtreeSpecification. chopBeforethe set of subordinates entries and their subordinates to excludeprivate Set<Dn>SubtreeSpecificationModifier. chopBeforethe set of subordinates entries and their subordinates to excludeprivate Set<Dn>AntlrSubtreeSpecificationParser. chopBeforeExclusionsMethods in org.apache.directory.api.ldap.model.subtree that return Dn Modifier and Type Method Description DnAntlrSubtreeSpecificationParser. distinguishedName()DnBaseSubtreeSpecification. getBase()DnSubtreeSpecification. 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 Dn Modifier and Type Method Description Set<Dn>BaseSubtreeSpecification. getChopAfterExclusions()Set<Dn>SubtreeSpecification. getChopAfterExclusions()A set of RDNs relative to the base entry representing chopAfter specificExclusions from the subtree.Set<Dn>BaseSubtreeSpecification. getChopBeforeExclusions()Set<Dn>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 Dn Modifier and Type Method Description voidSubtreeSpecificationModifier. setBase(Dn base)Sets the subtree base relative to the administration point.Method parameters in org.apache.directory.api.ldap.model.subtree with type arguments of type Dn Modifier and Type Method Description voidSubtreeSpecificationModifier. 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 Dn Constructor Description BaseSubtreeSpecification(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 Dn Constructor Description 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. -
Uses of Dn in org.apache.directory.api.ldap.model.url
Fields in org.apache.directory.api.ldap.model.url declared as Dn Modifier and Type Field Description private DnLdapUrl. dnThe DnMethods in org.apache.directory.api.ldap.model.url that return Dn Modifier and Type Method Description DnLdapUrl. getDn()Methods in org.apache.directory.api.ldap.model.url with parameters of type Dn Modifier and Type Method Description voidLdapUrl. setDn(Dn dn)Sets the dn.
-