Uses of Class
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
-
-
Uses of LdapInvalidDnException in org.apache.directory.api.ldap.model.entry
Methods in org.apache.directory.api.ldap.model.entry that throw LdapInvalidDnException Modifier and Type Method Description voidDefaultEntry. setDn(String dn)Set this entry's Dn.voidEntry. setDn(String dn)Set this entry's Dn.voidImmutableEntry. setDn(String dn)Set this entry's Dn.Constructors in org.apache.directory.api.ldap.model.entry that throw LdapInvalidDnException Constructor Description DefaultEntry(String dn)Creates a new instance of DefaultEntry, with a Dn.DefaultEntry(SchemaManager schemaManager, String dn)Creates a new instance of DefaultEntry, schema aware. -
Uses of LdapInvalidDnException in org.apache.directory.api.ldap.model.ldif
Methods in org.apache.directory.api.ldap.model.ldif that throw LdapInvalidDnException Modifier and Type Method Description 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 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 LdifEntryLdifRevertor. revertEntry(Entry entry, Dn newDn, Dn newSuperior, Rdn oldRdn, Rdn newRdn)A small helper class to compute the simple revert.voidLdifEntry. setDn(String dn)Set the Distinguished NameConstructors in org.apache.directory.api.ldap.model.ldif that throw LdapInvalidDnException Constructor Description LdifEntry(String dn, Object... strings)Creates a LdifEntry using a list of strings representing the Ldif element -
Uses of LdapInvalidDnException in org.apache.directory.api.ldap.model.name
Subclasses of LdapInvalidDnException in org.apache.directory.api.ldap.model.name Modifier and Type Class Description classTooComplexDnExceptionThis exception is used to signal that the complex parser should be used.Methods in org.apache.directory.api.ldap.model.name that throw LdapInvalidDnException 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 voidRdn. addAVA(SchemaManager schemaManager, String type, Value value)Add an Ava to the current Rdn(package private) voidRdn. addAVA(SchemaManager schemaManager, Ava addedAva)Add an Ava to the current schema aware Rdn(package private) static List<Ava>Rdn. addOrdered(List<Ava> avaList, Ava newAva)Add an AVA in a List of Ava, at the right place (ordered)private voidAva. apply(SchemaManager schemaManager)Apply a SchemaManager to the Ava.DnDefaultDnFactory. 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.private voidAva. createAva(String upType, Value upValue)Construct an Ava.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.ObjectRdn. getValue(String type)Get the value of the Ava which type is given as an argument.private static StringFastDnParser. matchAttributeType(char[] name, org.apache.directory.api.util.Position pos)Matches attribute type.private static StringFastDnParser. matchAttributeTypeDescr(char[] name, org.apache.directory.api.util.Position pos)Matches attribute type descr.private static StringFastDnParser. matchAttributeTypeNumericOid(char[] name, org.apache.directory.api.util.Position pos)Matches attribute type numeric OID.private static voidFastDnParser. matchEquals(char[] name, org.apache.directory.api.util.Position pos)Matches the equals character.private static voidFastDnParser. matchSpaces(char[] name, org.apache.directory.api.util.Position pos)Matches and forgets optional spaces.private static StringFastDnParser. matchValue(char[] name, org.apache.directory.api.util.Position pos)Matches the assertion value.private static charFastDnParser. nextChar(char[] name, org.apache.directory.api.util.Position pos, boolean increment)Gets the next character.private static voidRdn. parse(SchemaManager schemaManager, String rdnStr, Rdn rdn)Parse a NameComponent :(package private) StringComplexDnParser. parseDn(SchemaManager schemaManager, String name, List<Rdn> rdns)Parses an Dn.(package private) static StringFastDnParser. parseDn(SchemaManager schemaManager, String name, List<Rdn> rdns)(package private) static voidFastDnParser. parseDn(SchemaManager schemaManager, String name, Dn dn)Parses the given name string and fills the given Dn object.private static StringDn. parseInternal(SchemaManager schemaManager, String name, List<Rdn> rdns)Parse a Dn.(package private) voidComplexDnParser. parseRdn(SchemaManager schemaManager, String name, Rdn rdn)Parses an Rdn.(package private) static voidFastDnParser. parseRdn(SchemaManager schemaManager, String name, Rdn rdn)Parses the given name string and fills the given Rdn object.private static voidFastDnParser. parseRdnInternal(SchemaManager schemaManager, String name, org.apache.directory.api.util.Position pos, Rdn rdn)(package private) voidAva. setAttributeType(SchemaManager schemaManager, String upType)Constructors in org.apache.directory.api.ldap.model.name that throw LdapInvalidDnException Constructor Description Ava(String upType, byte[] upValue)Construct an Ava containing a binary value.Ava(String upType, String upValue)Construct an Ava with a String value.Ava(String upType, String normType, Value value, String upName)Construct an Ava.Ava(AttributeType attributeType, String upType, String normType, Value value, String upName)Construct an Ava.Ava(SchemaManager schemaManager, String upType, byte[] upValue)Construct a schema aware Ava containing a binary value.Ava(SchemaManager schemaManager, String upType, String upValue)Construct a schema aware Ava with a String value.Ava(SchemaManager schemaManager, String upType, String upName, byte[] upValue)Construct a schema aware Ava containing a binary value.Ava(SchemaManager schemaManager, String upType, String upName, String upValue)Construct a schema aware Ava with a String value.Ava(SchemaManager schemaManager, String upType, String normType, Value value)Construct an Ava.Ava(SchemaManager schemaManager, Ava ava)Constructs new Ava using the provided SchemaManager and AVADn(String... upRdns)Creates a new instance of Dn, using varargs to declare the RDNs.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, String... upRdns)Creates a new instance of schema aware Dn, using varargs to declare the RDNs.Dn(SchemaManager schemaManager, Dn dn)Construct an empty Schema aware Dn objectDn(SchemaManager schemaManager, Rdn... rdns)Creates a Schema aware Dn from a list of Rdns.Rdn(String rdn)A constructor that parse a String representing a Rdn.Rdn(String upType, String upValue)A constructor that constructs a Rdn from a type and a value.Rdn(Ava... avas)Creates a new RDN from a list of AVARdn(SchemaManager schemaManager, String rdn)A constructor that parse a String representing a schema aware Rdn.Rdn(SchemaManager schemaManager, String upType, String upValue)A constructor that constructs a schema aware Rdn from a type and a value.Rdn(SchemaManager schemaManager, Ava... avas)Creates a new schema aware RDN from a list of AVARdn(SchemaManager schemaManager, Rdn rdn)Constructs an Rdn from the given rdn. -
Uses of LdapInvalidDnException in org.apache.directory.api.ldap.model.schema.comparators
Methods in org.apache.directory.api.ldap.model.schema.comparators that throw LdapInvalidDnException 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 LdapInvalidDnException in org.apache.directory.api.ldap.model.schema.normalizers
Methods in org.apache.directory.api.ldap.model.schema.normalizers that throw LdapInvalidDnException Modifier and Type Method Description StringBooleanNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringBooleanNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.
-