Uses of Class
org.apache.directory.api.ldap.model.exception.LdapException
-
-
Uses of LdapException in org.apache.directory.api.dsmlv2.engine
Methods in org.apache.directory.api.dsmlv2.engine that throw LdapException Modifier and Type Method Description protected voidDsmlv2Engine. bind(int messageId)Binds to the ldap server -
Uses of LdapException in org.apache.directory.api.dsmlv2.request
Methods in org.apache.directory.api.dsmlv2.request that throw LdapException Modifier and Type Method Description voidAddRequestDsml. addAttributeType(String type)Create a new attributeValuevoidAddRequestDsml. addAttributeValue(byte[] value)Add a new value to the current attributevoidAddRequestDsml. addAttributeValue(Object value)Add a new value to the current attributevoidAddRequestDsml. addAttributeValue(String value)Add a new value to the current attributevoidAddRequestDsml. addAttributeValue(Value value)Add a new value to the current attributevoidModifyRequestDsml. addAttributeValue(byte[] value)Add a new value to the current attributevoidModifyRequestDsml. addAttributeValue(String value)Add a new value to the current attributeSearchRequestSearchRequestDsml. setFilter(String filter)Sets the search filter associated with this search request. -
Uses of LdapException in org.apache.directory.api.dsmlv2.response
Methods in org.apache.directory.api.dsmlv2.response that throw LdapException Modifier and Type Method Description voidSearchResultEntryDsml. addAttribute(String type)Create a new attributevoidSearchResultEntryDsml. addAttributeValue(Object value)Add a new value to the current attribute -
Uses of LdapException in org.apache.directory.api.ldap.model.cursor
Methods in org.apache.directory.api.ldap.model.cursor that throw LdapException Modifier and Type Method Description voidCursor. after(E element)Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidEmptyCursor. after(E element)Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidListCursor. after(E element)Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidSetCursor. after(E element)Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidSingletonCursor. after(E element)Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidCursor. afterLast()Positions this Cursor after the last element.voidEmptyCursor. afterLast()Positions this Cursor after the last element.voidListCursor. afterLast()Positions this Cursor after the last element.voidSetCursor. afterLast()Positions this Cursor after the last element.voidSingletonCursor. afterLast()Positions this Cursor after the last element.voidCursor. before(E element)Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidEmptyCursor. before(E element)Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidListCursor. before(E element)Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidSetCursor. before(E element)Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidSingletonCursor. before(E element)Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.voidCursor. beforeFirst()Positions this Cursor before the first element.voidEmptyCursor. beforeFirst()Positions this Cursor before the first element.voidListCursor. beforeFirst()Positions this Cursor before the first element.voidSetCursor. beforeFirst()Positions this Cursor before the first element.voidSingletonCursor. beforeFirst()Positions this Cursor before the first element.booleanCursor. first()Positions this Cursor at the first element.booleanEmptyCursor. first()Positions this Cursor at the first element.booleanListCursor. first()Positions this Cursor at the first element.booleanSetCursor. first()Positions this Cursor at the first element.booleanSingletonCursor. first()Positions this Cursor at the first element.EntrySearchCursor. getEntry()IntermediateResponseSearchCursor. getIntermediate()ReferralSearchCursor. getReferral()booleanCursor. last()Positions this Cursor at the last element.booleanEmptyCursor. last()Positions this Cursor at the last element.booleanListCursor. last()Positions this Cursor at the last element.booleanSetCursor. last()Positions this Cursor at the last element.booleanSingletonCursor. last()Positions this Cursor at the last element.booleanCursor. next()Advances this Cursor to the next position.booleanEmptyCursor. next()Advances this Cursor to the next position.booleanListCursor. next()Advances this Cursor to the next position.booleanSetCursor. next()Advances this Cursor to the next position.booleanSingletonCursor. next()Advances this Cursor to the next position.booleanCursor. previous()Advances this Cursor to the previous position.booleanEmptyCursor. previous()Advances this Cursor to the previous position.booleanListCursor. previous()Advances this Cursor to the previous position.booleanSetCursor. previous()Advances this Cursor to the previous position.booleanSingletonCursor. previous()Advances this Cursor to the previous position. -
Uses of LdapException in org.apache.directory.api.ldap.model.entry
Methods in org.apache.directory.api.ldap.model.entry that throw LdapException Modifier and Type Method Description EntryDefaultEntry. add(String upId, byte[]... values)Add some binary values to the current Entry.EntryDefaultEntry. add(String upId, String... values)Add some String values to the current Entry.EntryDefaultEntry. add(String upId, Value... values)Add some Values to the current Entry.EntryDefaultEntry. add(String upId, AttributeType attributeType, byte[]... values)Add an attribute (represented by its AttributeType and some binary values) into an entry.EntryDefaultEntry. add(String upId, AttributeType attributeType, String... values)Add an attribute (represented by its AttributeType and some String values) into an entry.EntryDefaultEntry. add(String upId, AttributeType attributeType, Value... values)Add an attribute (represented by its AttributeType and some values) into an entry.EntryDefaultEntry. add(Attribute... attributes)Add some Attributes to the current Entry.EntryDefaultEntry. add(AttributeType attributeType, byte[]... values)Add an attribute (represented by its AttributeType and some binary values) into an entry.EntryDefaultEntry. add(AttributeType attributeType, String... values)Add an attribute (represented by its AttributeType and some String values) into an entry.EntryDefaultEntry. add(AttributeType attributeType, Value... values)Add an attribute (represented by its AttributeType and some values) into an entry.EntryEntry. add(String upId, byte[]... values)Add some binary values to the current Entry.EntryEntry. add(String upId, String... values)Add some String values to the current Entry.EntryEntry. add(String upId, Value... values)Add some Values to the current Entry.EntryEntry. add(String upId, AttributeType attributeType, byte[]... values)Add an attribute (represented by its AttributeType and some binary values) into an entry.EntryEntry. add(String upId, AttributeType attributeType, String... values)Add an attribute (represented by its AttributeType and some String values) into an entry.EntryEntry. add(String upId, AttributeType attributeType, Value... values)Add an attribute (represented by its AttributeType and some values) into an entry.EntryEntry. add(Attribute... attributes)Add some Attributes to the current Entry.EntryEntry. add(AttributeType attributeType, byte[]... values)Add an attribute (represented by its AttributeType and some binary values) into an entry.EntryEntry. add(AttributeType attributeType, String... values)Add an attribute (represented by its AttributeType and some String values) into an entry.EntryEntry. add(AttributeType attributeType, Value... values)Add an attribute (represented by its AttributeType and some values) into an entry.EntryImmutableEntry. add(String upId, byte[]... values)Add some binary values to the current Entry.EntryImmutableEntry. add(String upId, String... values)Add some String values to the current Entry.EntryImmutableEntry. add(String upId, Value... values)Add some Values to the current Entry.EntryImmutableEntry. add(String upId, AttributeType attributeType, byte[]... values)Add an attribute (represented by its AttributeType and some binary values) into an entry.EntryImmutableEntry. add(String upId, AttributeType attributeType, String... values)Add an attribute (represented by its AttributeType and some String values) into an entry.EntryImmutableEntry. add(String upId, AttributeType attributeType, Value... values)Add an attribute (represented by its AttributeType and some values) into an entry.EntryImmutableEntry. add(Attribute... attributes)Add some Attributes to the current Entry.EntryImmutableEntry. add(AttributeType attributeType, byte[]... values)Add an attribute (represented by its AttributeType and some binary values) into an entry.EntryImmutableEntry. add(AttributeType attributeType, String... values)Add an attribute (represented by its AttributeType and some String values) into an entry.EntryImmutableEntry. add(AttributeType attributeType, Value... values)Add an attribute (represented by its AttributeType and some values) into an entry.static voidAttributeUtils. applyModification(Entry entry, Modification modification)A method to apply a modification to an existing entry.protected AttributeTypeDefaultEntry. getAttributeType(String upId)Returns the attributeType from an Attribute ID.AttributeDefaultEntry. put(String upId, AttributeType attributeType, byte[]... values)Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.AttributeDefaultEntry. put(String upId, AttributeType attributeType, String... values)Places a new attribute with the supplied AttributeType and some String values into the attribute collection.AttributeDefaultEntry. put(String upId, AttributeType attributeType, Value... values)Places a new attribute with the supplied AttributeType and some values into the attribute collection.List<Attribute>DefaultEntry. put(Attribute... attributes)Places attributes in the attribute collection.AttributeDefaultEntry. put(AttributeType attributeType, byte[]... values)Places a new attribute with the supplied AttributeType and binary values into the attribute collection.AttributeDefaultEntry. put(AttributeType attributeType, String... values)Places a new attribute with the supplied AttributeType and String values into the attribute collection.AttributeDefaultEntry. put(AttributeType attributeType, Value... values)Places a new attribute with the supplied AttributeType and some values into the attribute collection.AttributeEntry. put(String upId, AttributeType attributeType, byte[]... values)Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.AttributeEntry. put(String upId, AttributeType attributeType, String... values)Places a new attribute with the supplied AttributeType and some String values into the attribute collection.AttributeEntry. put(String upId, AttributeType attributeType, Value... values)Places a new attribute with the supplied AttributeType and some values into the attribute collection.List<Attribute>Entry. put(Attribute... attributes)Places attributes in the attribute collection.AttributeEntry. put(AttributeType attributeType, byte[]... values)Places a new attribute with the supplied AttributeType and binary values into the attribute collection.AttributeEntry. put(AttributeType attributeType, String... values)Places a new attribute with the supplied AttributeType and String values into the attribute collection.AttributeEntry. put(AttributeType attributeType, Value... values)Places a new attribute with the supplied AttributeType and some values into the attribute collection.AttributeImmutableEntry. put(String upId, AttributeType attributeType, byte[]... values)Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.AttributeImmutableEntry. put(String upId, AttributeType attributeType, String... values)Places a new attribute with the supplied AttributeType and some String values into the attribute collection.AttributeImmutableEntry. put(String upId, AttributeType attributeType, Value... values)Places a new attribute with the supplied AttributeType and some values into the attribute collection.List<Attribute>ImmutableEntry. put(Attribute... attributes)Places attributes in the attribute collection.AttributeImmutableEntry. put(AttributeType attributeType, byte[]... values)Places a new attribute with the supplied AttributeType and binary values into the attribute collection.AttributeImmutableEntry. put(AttributeType attributeType, String... values)Places a new attribute with the supplied AttributeType and String values into the attribute collection.AttributeImmutableEntry. put(AttributeType attributeType, Value... values)Places a new attribute with the supplied AttributeType and some values into the attribute collection.booleanDefaultEntry. remove(String upId, byte[]... values)Removes the specified binary values from an attribute.booleanDefaultEntry. remove(String upId, String... values)Removes the specified String values from an attribute.booleanDefaultEntry. remove(String upId, Value... values)Removes the specified values from an attribute.List<Attribute>DefaultEntry. remove(Attribute... attributes)Removes the specified attributes.booleanDefaultEntry. remove(AttributeType attributeType, byte[]... values)Removes the specified binary values from an attribute.booleanDefaultEntry. remove(AttributeType attributeType, String... values)Removes the specified String values from an attribute.booleanDefaultEntry. remove(AttributeType attributeType, Value... values)Removes the specified values from an attribute.booleanEntry. remove(String upId, byte[]... values)Removes the specified binary values from an attribute.booleanEntry. remove(String upId, String... values)Removes the specified String values from an attribute.booleanEntry. remove(String upId, Value... values)Removes the specified values from an attribute.List<Attribute>Entry. remove(Attribute... attributes)Removes the specified attributes.booleanEntry. remove(AttributeType attributeType, byte[]... values)Removes the specified binary values from an attribute.booleanEntry. remove(AttributeType attributeType, String... values)Removes the specified String values from an attribute.booleanEntry. remove(AttributeType attributeType, Value... values)Removes the specified values from an attribute.booleanImmutableEntry. remove(String upId, byte[]... values)Removes the specified binary values from an attribute.booleanImmutableEntry. remove(String upId, String... values)Removes the specified String values from an attribute.booleanImmutableEntry. remove(String upId, Value... values)Removes the specified values from an attribute.List<Attribute>ImmutableEntry. remove(Attribute... attributes)Removes the specified attributes.booleanImmutableEntry. remove(AttributeType attributeType, byte[]... values)Removes the specified binary values from an attribute.booleanImmutableEntry. remove(AttributeType attributeType, String... values)Removes the specified String values from an attribute.booleanImmutableEntry. remove(AttributeType attributeType, Value... values)Removes the specified values from an attribute.static EntryAttributeUtils. toEntry(Attributes attributes, Dn dn)Convert a BasicAttributes or a AttributesImpl to an EntryConstructors in org.apache.directory.api.ldap.model.entry that throw LdapException Constructor Description DefaultAttribute(AttributeType attributeType, Attribute attribute)Creates a new instance of schema aware Attribute, by copying another attribute.DefaultEntry(String dn, Object... elements)Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(Dn dn, Object... elements)Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(SchemaManager schemaManager, String dn, Object... elements)Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(SchemaManager schemaManager, Entry entry)Creates a new instance of DefaultEntry, copying another entry.DefaultEntry(SchemaManager schemaManager, Dn dn, Object... elements)Creates a new instance of DefaultEntry, with a Dn and a list of IDs. -
Uses of LdapException in org.apache.directory.api.ldap.model.exception
Subclasses of LdapException in org.apache.directory.api.ldap.model.exception Modifier and Type Class Description classAbstractLdapReferralExceptionALdapOperationExceptionwhich associates a resultCode namely theResultCodeEnum.REFERRALresultCode with the exception.classLdapAdminLimitExceededExceptionA LdapTimeLimitExceededException which associates a resultCode namely theResultCodeEnum.ADMIN_LIMIT_EXCEEDEDresultCode with the exception.classLdapAffectMultipleDsaExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.AFFECTS_MULTIPLE_DSASvalue with the type.classLdapAliasDereferencingExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.ALIAS_DEREFERENCING_PROBLEMvalue with the type.classLdapAliasExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.ALIAS_PROBLEMvalue with the type.classLdapAttributeInUseExceptionA subclass ofLdapOperationExceptionwhich holds the LDAP resultCode associated with the exception.classLdapAuthenticationExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.INVALID_CREDENTIALSvalue with the type.classLdapAuthenticationNotSupportedExceptionA subclass of theLdapOperationExceptioncarrying along an unequivocal ResultCodeEnum value.classLdapCannotCancelExceptionA LdapCannotCancelException which associates a resultCode, namely theResultCodeEnum.CANNOT_CANCELresultCode with the exception.classLdapConfigurationExceptionALdapExceptionwhich associates a resultCode namely theResultCodeEnum.OTHERresultCode with the exception.classLdapContextNotEmptyExceptionA LdapContextNotEmptyException which contains an LDAP result code.classLdapEntryAlreadyExistsExceptionALdapOperationExceptionwhich contains LDAP specific information such as a result code.classLdapInvalidAttributeTypeExceptionA subclass ofLdapOperationExceptionwhich holds the LDAP resultCode associated with the exception.classLdapInvalidAttributeValueExceptionMakes aLdapOperationExceptionunambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.classLdapInvalidDnExceptionA subclass ofLdapOperationExceptiondesigned to hold an unequivocal LDAP result code.classLdapInvalidSearchFilterExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.INAPPROPRIATE_MATCHINGvalue with the type.classLdapLoopDetectedExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.LOOP_DETECTvalue with the type.classLdapNoPermissionExceptionALdapOperationExceptionwhich associates a resultCode namely theResultCodeEnum.INSUFFICIENT_ACCESS_RIGHTSresultCode with the exception.classLdapNoSuchAttributeExceptionA subclass ofLdapOperationExceptionwhich holds the LDAP resultCode associated with the exception.classLdapNoSuchObjectExceptionALdapOperationExceptionholding LDAP specific information such as the LDAP ResultCode.classLdapNoSuchOperationExceptionA LdapNoSuchOperationException which associates a resultCode, namely theResultCodeEnum.NO_SUCH_OPERATIONresultCode with the exception.classLdapOperationErrorExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.OPERATIONS_ERRORvalue with the type.classLdapOperationExceptionAn class for LDAP operation exceptions which add LDAP specific information to Exceptions.classLdapOtherExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.OTHERvalue with the type.classLdapPartialResultExceptionALdapOperationExceptionwhich associates a resultCode namely theResultCodeEnum.REFERRALresultCode with the exception.classLdapProtocolErrorExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.PROTOCOL_ERRORvalue with the type.classLdapReferralExceptionALdapOperationExceptionwhich associates a resultCode namely theResultCodeEnum.REFERRALresultCode with the exception.classLdapSchemaExceptionA subclass ofLdapExceptionwhich is used to report issues during the integrity check of the schema by the SchemaManager.classLdapSchemaViolationExceptionMakes aLdapOperationExceptionunambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.classLdapServiceUnavailableExceptionLDAP specificLdapOperationExceptionthat preserves resultCode resolution.classLdapSizeLimitExceededExceptionA LdapSizeLimitExceededException which associates a resultCode namely theResultCodeEnum.SIZE_LIMIT_EXCEEDEDresultCode with the exception.classLdapStrongAuthenticationRequiredExceptionA subclass ofLdapOperationExceptionwhich associates theResultCodeEnum.STRONG_AUTH_REQUIREDvalue with the type.classLdapTimeLimitExceededExceptionA LdapTimeLimitExceededException which associates a resultCode namely theResultCodeEnum.TIME_LIMIT_EXCEEDEDresultCode with the exception.classLdapTlsHandshakeExceptionA LdapTlsException is thrown if the SSL/TLS handshake failed.classLdapTooLateExceptionA LdapTooLateException which associates a resultCode namely theResultCodeEnum.TOO_LATEresultCode with the exception.classLdapUnknownExceptionA LdapUnknownException which associates a resultCode, namely theResultCodeEnum.UNKNOWNresultCode with the exception.classLdapUnwillingToPerformExceptionAn LDAPException that extends theLdapOperationExceptioncarrying with it the corresponding result codes for this condition.classLdapUriExceptionThe URI parsing and escape encoding exception.classLdapURLEncodingExceptionThrown when a LdapStringEncodingDecoder has encountered a failure condition during the String creation.classOperationAbandonedExceptionMarker exception thrown when an operation is cancelled.classUrlDecoderExceptionThrown when a Decoder has encountered a failure condition during a decode. -
Uses of LdapException in org.apache.directory.api.ldap.model.filter
Methods in org.apache.directory.api.ldap.model.filter that throw LdapException Modifier and Type Method Description PatternSubstringNode. getRegex(Normalizer normalizer)Gets the compiled regular expression for the substring expression. -
Uses of LdapException in org.apache.directory.api.ldap.model.ldif
Subclasses of LdapException in org.apache.directory.api.ldap.model.ldif Modifier and Type Class Description classLdapLdifExceptionAn exception throws when we get an error while parsing a LDIF file.Methods in org.apache.directory.api.ldap.model.ldif that throw LdapException Modifier and Type Method Description voidLdifEntry. addAttribute(String id, Object... values)Add an attribute to the entryvoidLdifEntry. addAttribute(Attribute attr)Add an attribute to the entrystatic StringLdifUtils. convertToLdif(Attributes attrs)Convert an Attributes as LDIFstatic StringLdifUtils. convertToLdif(Attributes attrs, int length)Convert an Attributes as LDIFstatic 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 StringLdifUtils. convertToLdif(LdifEntry entry)Convert an LdifEntry to LDIFstatic StringLdifUtils. convertToLdif(LdifEntry entry, int length)Convert an LdifEntry to LDIFstatic AttributesLdifUtils. createJndiAttributes(Object... avas)Build a new Attributes instance from a LDIF list of lines.voidLdifReader. init()Initialize the LdifReadervoidLdifReader. parseAttributeValue(LdifEntry entry, String line, String lowerLine)Parse an AttributeType/AttributeValueprotected LdifEntryLdifReader. parseEntry()Parse a ldif file.List<LdifEntry>LdifReader. parseLdif(BufferedReader reader)The main entry point of the LdifParser.voidLdifEntry. putAttribute(String id, Object value)Add an attribute value to an existing attributestatic 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.Constructors in org.apache.directory.api.ldap.model.ldif that throw LdapException Constructor Description LdifReader(InputStream in)A constructor which takes an InputStream.LdifReader(Reader in)A constructor which takes a Reader. -
Uses of LdapException in org.apache.directory.api.ldap.model.message
Methods in org.apache.directory.api.ldap.model.message that throw LdapException Modifier and Type Method Description voidAddRequestImpl. addAttributeType(String type)Create a new attributeValuevoidAddRequestImpl. addAttributeValue(byte[] value)Add a new value to the current attributevoidAddRequestImpl. addAttributeValue(String value)Add a new value to the current attributevoidAddRequestImpl. addAttributeValue(Value value)Add a new value to the current attributestatic booleanResultCodeEnum. processResponse(ResultResponse response)Process the response, throwing the associated exception if needed.SearchRequestSearchRequest. setFilter(String filter)Sets the search filter associated with this search request.SearchRequestSearchRequestImpl. setFilter(String filter)Sets the search filter associated with this search request. -
Uses of LdapException in org.apache.directory.api.ldap.model.name
Subclasses of LdapException 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 LdapException Modifier and Type Method Description (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 String -
Uses of LdapException in org.apache.directory.api.ldap.model.schema
Methods in org.apache.directory.api.ldap.model.schema that throw LdapException Modifier and Type Method Description booleanSchemaManager. add(SchemaObject schemaObject)Registers a new SchemaObject.EntryAttributesFactory. convert(AttributeType attributeType, Schema schema, SchemaManager schemaManager)objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3 NAME 'metaAttributeType' DESC 'meta definition of the AttributeType object' SUP metaTop STRUCTURAL MUST ( m-name $ m-syntax ) MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $ m-substr $ m-singleValue $ m-collective $ m-noUserModification $ m-usage $ m-extensionAttributeType ) )EntryAttributesFactory. convert(LdapSyntax syntax, Schema schema, SchemaManager schemaManager)Convert a Syntax instance into an EntryEntryAttributesFactory. convert(MatchingRule matchingRule, Schema schema, SchemaManager schemaManager)Converts a MatchingRule into an EntryEntryAttributesFactory. convert(ObjectClass objectClass, Schema schema, SchemaManager schemaManager)Creates the attributes of an entry representing an objectClass.EntryAttributesFactory. convert(Schema schema, SchemaManager schemaManager)Converts a Schema to an EntrybooleanSchemaManager. delete(SchemaObject schemaObject)Unregisters a new SchemaObject.booleanSchemaManager. disable(String... schemas)Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.booleanSchemaManager. disable(Schema... schemas)Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.booleanSchemaManager. enable(String... schemas)Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.booleanSchemaManager. enable(Schema... schemas)Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.EntryAttributesFactory. getAttributes(SchemaObject obj, Schema schema, SchemaManager schemaManager)Get a SchemaObject as an Entrystatic EntrySchemaUtils. getTargetEntry(List<? extends Modification> mods, Entry entry)Gets the target entry as it would look after a modification operation were performed on it.voidSchemaManager. initialize()Initializes the SchemaServicebooleanSchemaManager. load(String... schemas)Load some Schemas into the registries.booleanSchemaManager. load(Schema... schemas)Load some Schemas into the registries.booleanSchemaManager. loadAllEnabled()Load all the enabled schema into the Registries.booleanSchemaManager. loadAllEnabledRelaxed()Load all the enabled schema into the Registries.booleanSchemaManager. loadDisabled(String... schemas)Load Schemas into the Registries, even if they are disabled.booleanSchemaManager. loadDisabled(Schema... schemas)Load Schemas into the Registries, even if they are disabled.booleanSchemaManager. loadRelaxed(String... schemas)Load Schemas into the registries, even if there are some errors in the schemas.booleanSchemaManager. loadRelaxed(Schema... schemas)Load Schemas into the registries, even if there are some errors in the schemas.booleanSchemaManager. loadWithDeps(String... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.booleanSchemaManager. loadWithDeps(Schema... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.booleanSchemaManager. loadWithDepsRelaxed(String... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.booleanSchemaManager. loadWithDepsRelaxed(Schema... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.AttributeTypeSchemaManager. lookupAttributeTypeRegistry(String oid)Lookup for an AttributeType in the AttributeType registryLdapComparator<?>SchemaManager. lookupComparatorRegistry(String oid)Lookup for a Comparator in the Comparator registryLdapSyntaxSchemaManager. lookupLdapSyntaxRegistry(String oid)Lookup for an LdapSyntax in the LdapSyntax registryMatchingRuleSchemaManager. lookupMatchingRuleRegistry(String oid)Lookup for a MatchingRule in the MatchingRule registryNormalizerSchemaManager. lookupNormalizerRegistry(String oid)Lookup for a Normalizer in the Normalizer registryObjectClassSchemaManager. lookupObjectClassRegistry(String oid)Lookup for a ObjectClass in the ObjectClass registrySyntaxCheckerSchemaManager. lookupSyntaxCheckerRegistry(String oid)Lookup for a SyntaxChecker in the SyntaxChecker registryabstract StringNormalizer. normalize(String value)Gets the normalized value of AssertionValues.abstract StringNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringPreparedNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value.booleanSchemaManager. unload(String... schemas)Unload the given set of SchemasbooleanSchemaManager. unload(Schema... schemas)Unload the given set of SchemasSchemaObjectSchemaManager. unregisterAttributeType(String attributeTypeOid)Removes the registered attributeType from the attributeTypeRegistrySchemaObjectSchemaManager. unregisterComparator(String comparatorOid)Removes the registered Comparator from the ComparatorRegistrySchemaObjectSchemaManager. unregisterDitControlRule(String ditControlRuleOid)Removes the registered DitControlRule from the DitControlRuleRegistrySchemaObjectSchemaManager. unregisterDitStructureRule(String ditStructureRuleOid)Removes the registered DitStructureRule from the DitStructureRuleRegistrySchemaObjectSchemaManager. unregisterLdapSyntax(String ldapSyntaxOid)Removes the registered LdapSyntax from the LdapSyntaxRegistrySchemaObjectSchemaManager. unregisterMatchingRule(String matchingRuleOid)Removes the registered MatchingRule from the MatchingRuleRegistrySchemaObjectSchemaManager. unregisterMatchingRuleUse(String matchingRuleUseOid)Removes the registered MatchingRuleUse from the MatchingRuleUseRegistrySchemaObjectSchemaManager. unregisterNameForm(String nameFormOid)Removes the registered NameForm from the NameFormRegistrySchemaObjectSchemaManager. unregisterNormalizer(String normalizerOid)Removes the registered Normalizer from the NormalizerRegistrySchemaObjectSchemaManager. unregisterObjectClass(String objectClassOid)Removes the registered ObjectClass from the ObjectClassRegistrySchemaObjectSchemaManager. unregisterSyntaxChecker(String syntaxCheckerOid)Removes the registered SyntaxChecker from the SyntaxCheckerRegistrybooleanSchemaManager. verify(String... schemas)Check that the Schemas are consistent regarding the current Registries.booleanSchemaManager. verify(Schema... schemas)Check that the Schemas are consistent regarding the current Registries. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema.normalizers
Methods in org.apache.directory.api.ldap.model.schema.normalizers that throw LdapException Modifier and Type Method Description StringDeepTrimNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringDeepTrimNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringDeepTrimToLowerNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringDeepTrimToLowerNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringDnNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringDnNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringDnNormalizer. normalize(Dn value)Normalize a DnStringGeneralizedTimeNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringGeneralizedTimeNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringNameOrNumericIdNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringNameOrNumericIdNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringNumericNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringNumericNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.ValueNumericNormalizer. normalize(Value value)Normalize a ValueStringObjectIdentifierNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringObjectIdentifierNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.StringTelephoneNumberNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringTelephoneNumberNormalizer. normalize(String value, PrepareString.AssertionType assertiontype)Gets the normalized value of a substring assertion.StringUniqueMemberNormalizer. normalize(String value)Gets the normalized value of AssertionValues.StringUniqueMemberNormalizer. normalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.ObjectConcreteNameComponentNormalizer. normalizeByName(String name, byte[] value)Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.ObjectConcreteNameComponentNormalizer. normalizeByName(String name, String value)Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.ObjectConcreteNameComponentNormalizer. normalizeByName(AttributeType attributeType, String value)Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.ObjectNameComponentNormalizer. normalizeByName(String attributeName, byte[] value)Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.ObjectNameComponentNormalizer. normalizeByName(String attributeName, String value)Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.ObjectNameComponentNormalizer. normalizeByName(AttributeType attributeType, String value)Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.ObjectConcreteNameComponentNormalizer. normalizeByOid(String oid, byte[] value)Normalizes an attribute's value given the OID of the attribute.ObjectConcreteNameComponentNormalizer. normalizeByOid(String oid, String value)Normalizes an attribute's value given the OID of the attribute.ObjectNameComponentNormalizer. normalizeByOid(String attributeOid, byte[] value)Normalizes an attribute's value given the OID of the attribute.ObjectNameComponentNormalizer. normalizeByOid(String attributeOid, String value)Normalizes an attribute's value given the OID of the attribute.StringConcreteNameComponentNormalizer. normalizeName(String attributeName)Normalizes the attribute name/alias to use the OID for it instead.StringNameComponentNormalizer. normalizeName(String attributeName)Normalizes the attribute name/alias to use the OID for it instead. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema.registries
Methods in org.apache.directory.api.ldap.model.schema.registries that throw LdapException Modifier and Type Method Description voidRegistries. add(SchemaObject schemaObject, boolean check)Applies the added SchemaObject to the given registervoidAttributeTypeRegistry. addMappingFor(AttributeType attributeType)Add a new Oid/Normalizer couple in the OidNormalizer mapvoidDefaultAttributeTypeRegistry. addMappingFor(AttributeType attributeType)Add a new Oid/Normalizer couple in the OidNormalizer mapvoidImmutableAttributeTypeRegistry. addMappingFor(AttributeType attributeType)Add a new Oid/Normalizer couple in the OidNormalizer mapvoidImmutableAttributeTypeRegistry. clear()Clear the registry from all its contentvoidImmutableComparatorRegistry. clear()Clear the registry from all its contentvoidImmutableDitContentRuleRegistry. clear()Clear the registry from all its contentvoidImmutableDitStructureRuleRegistry. clear()Clear the registry from all its contentvoidImmutableLdapSyntaxRegistry. clear()Clear the registry from all its contentvoidImmutableMatchingRuleRegistry. clear()Clear the registry from all its contentvoidImmutableMatchingRuleUseRegistry. clear()Clear the registry from all its contentvoidImmutableNameFormRegistry. clear()Clear the registry from all its contentvoidImmutableNormalizerRegistry. clear()Clear the registry from all its contentvoidImmutableObjectClassRegistry. clear()Clear the registry from all its contentvoidImmutableSyntaxCheckerRegistry. clear()Clear the registry from all its contentvoidRegistries. clear()Clear the registries from all its elementsvoidSchemaObjectRegistry. clear()Clear the registry from all its contentvoidRegistries. delete(SchemaObject schemaObject)Remove the given SchemaObject from the registriesIterator<AttributeType>AttributeTypeRegistry. descendants(String ancestorId)Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>AttributeTypeRegistry. descendants(AttributeType ancestor)Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>DefaultAttributeTypeRegistry. descendants(String ancestorId)Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>DefaultAttributeTypeRegistry. descendants(AttributeType ancestor)Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<ObjectClass>DefaultObjectClassRegistry. descendants(String ancestorId)Get's an iterator over the set of descendant ObjectClasses for some ancestor's name alias or their OID.Iterator<AttributeType>ImmutableAttributeTypeRegistry. descendants(String ancestorId)Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>ImmutableAttributeTypeRegistry. descendants(AttributeType ancestor)Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<ObjectClass>ImmutableObjectClassRegistry. descendants(String ancestorId)Get's an iterator over the set of descendant ObjectClasses for some ancestor's name alias or their OID.Iterator<ObjectClass>ObjectClassRegistry. descendants(String ancestorId)Get's an iterator over the set of descendant ObjectClasses for some ancestor's name alias or their OID.voidRegistries. dissociateFromSchema(SchemaObject schemaObject)Store the given SchemaObject in the Map associating SchemaObjetcs to their related Schema.List<String>OidRegistry. getNameSet(String oid)Gets the names associated with an OID.StringDefaultSchemaObjectRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableAttributeTypeRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableComparatorRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableDitContentRuleRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableDitStructureRuleRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableLdapSyntaxRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableMatchingRuleRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableMatchingRuleUseRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableNameFormRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableNormalizerRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableObjectClassRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringImmutableSyntaxCheckerRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringSchemaObjectRegistry. getOidByName(String name)Gets the numericOid for a name/alias if one is associated.StringOidRegistry. getPrimaryName(String oid)Gets the primary name associated with an OID.protected SchemaAbstractSchemaLoader. getSchema(Entry entry)Gets the schema.StringDefaultDitStructureRuleRegistry. getSchemaName(int ruleId)Gets the name of the schema this schema object is associated with.StringDefaultSchemaObjectRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringDitStructureRuleRegistry. getSchemaName(int ruleId)Gets the name of the schema this schema object is associated with.StringImmutableAttributeTypeRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableComparatorRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableDitContentRuleRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableDitStructureRuleRegistry. getSchemaName(int ruleId)Gets the name of the schema this schema object is associated with.StringImmutableDitStructureRuleRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableLdapSyntaxRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableMatchingRuleRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableMatchingRuleUseRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableNameFormRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableNormalizerRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableObjectClassRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringImmutableSyntaxCheckerRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.StringSchemaObjectRegistry. getSchemaName(String oid)Gets the name of the schema this schema object is associated with.TOidRegistry. getSchemaObject(String oid)Gets the SchemaObject associated with an OID.booleanAttributeTypeRegistry. hasDescendants(String ancestorId)Quick lookup to see if an attribute has descendants.booleanAttributeTypeRegistry. hasDescendants(AttributeType ancestor)Quick lookup to see if an attribute has descendants.booleanDefaultAttributeTypeRegistry. hasDescendants(String ancestorId)Quick lookup to see if an attribute has descendants.booleanDefaultAttributeTypeRegistry. hasDescendants(AttributeType ancestor)Quick lookup to see if an attribute has descendants.booleanDefaultObjectClassRegistry. hasDescendants(String ancestorId)Quick lookup to see if an objectClass has descendants.booleanImmutableAttributeTypeRegistry. hasDescendants(String ancestorId)Quick lookup to see if an attribute has descendants.booleanImmutableAttributeTypeRegistry. hasDescendants(AttributeType ancestor)Quick lookup to see if an attribute has descendants.booleanImmutableObjectClassRegistry. hasDescendants(String ancestorId)Quick lookup to see if an objectClass has descendants.booleanObjectClassRegistry. hasDescendants(String ancestorId)Quick lookup to see if an objectClass has descendants.List<Entry>AbstractSchemaLoader. loadAttributeTypes(String... schemaNames)Build a list of AttributeTypes read from the underlying storage for a list of specific schema, using their nameList<Entry>SchemaLoader. loadAttributeTypes(String... schemaNames)Build a list of AttributeTypes read from the underlying storage for a list of specific schema, using their nameList<Entry>SchemaLoader. loadAttributeTypes(Schema... schemas)Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>AbstractSchemaLoader. loadComparators(String... schemaNames)Build a list of Comparators read from the underlying storage for a list of specific schema, using their nameList<Entry>SchemaLoader. loadComparators(String... schemaNames)Build a list of Comparators read from the underlying storage for a list of specific schema, using their nameList<Entry>SchemaLoader. loadComparators(Schema... schemas)Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>AbstractSchemaLoader. loadDitContentRules(String... schemaNames)Build a list of DitContentRules read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadDitContentRules(String... schemaNames)Build a list of DitContentRules read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadDitContentRules(Schema... schemas)Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>AbstractSchemaLoader. loadDitStructureRules(String... schemaNames)Build a list of DitStructureRules read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadDitStructureRules(String... schemaNames)Build a list of DitStructureRules read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadDitStructureRules(Schema... schemas)Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>AbstractSchemaLoader. loadMatchingRules(String... schemaNames)Build a list of MatchingRules read from the underlying storage for a list of specific schema, using their nameList<Entry>SchemaLoader. loadMatchingRules(String... schemaNames)Build a list of MatchingRules read from the underlying storage for a list of specific schema, using their nameList<Entry>SchemaLoader. loadMatchingRules(Schema... schemas)Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>AbstractSchemaLoader. loadMatchingRuleUses(String... schemaNames)Build a list of MatchingRuleUses read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadMatchingRuleUses(String... schemaNames)Build a list of MatchingRuleUses read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadMatchingRuleUses(Schema... schemas)Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>AbstractSchemaLoader. loadNameForms(String... schemaNames)Build a list of NameForms read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadNameForms(String... schemaNames)Build a list of NameForms read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadNameForms(Schema... schemas)Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>AbstractSchemaLoader. loadNormalizers(String... schemaNames)Build a list of Normalizers read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadNormalizers(String... schemaNames)Build a list of Normalizers read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadNormalizers(Schema... schemas)Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>AbstractSchemaLoader. loadObjectClasses(String... schemaNames)Build a list of ObjectClasses read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadObjectClasses(String... schemaNames)Build a list of ObjectClasses read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadObjectClasses(Schema... schemas)Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>AbstractSchemaLoader. loadSyntaxCheckers(String... schemaNames)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadSyntaxCheckers(String... schemaNames)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadSyntaxCheckers(Schema... schemas)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>AbstractSchemaLoader. loadSyntaxes(String... schemaNames)Build a list of Syntaxes read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadSyntaxes(String... schemaNames)Build a list of Syntaxes read from the underlying storage for a list of specified schema namesList<Entry>SchemaLoader. loadSyntaxes(Schema... schemas)Build a list of Syntaxes read from the underlying storage for a list of specified schemaAttributeTypeDefaultAttributeTypeRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.DitStructureRuleDefaultDitStructureRuleRegistry. lookup(int ruleId)Looks up an dITStructureRule by its unique Object IDentifier or by its name.TDefaultSchemaObjectRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.DitStructureRuleDitStructureRuleRegistry. lookup(int ruleId)Looks up an dITStructureRule by its unique Object IDentifier or by its name.AttributeTypeImmutableAttributeTypeRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.LdapComparator<?>ImmutableComparatorRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.DitContentRuleImmutableDitContentRuleRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.DitStructureRuleImmutableDitStructureRuleRegistry. lookup(int ruleId)Looks up an dITStructureRule by its unique Object IDentifier or by its name.DitStructureRuleImmutableDitStructureRuleRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.LdapSyntaxImmutableLdapSyntaxRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.MatchingRuleImmutableMatchingRuleRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.MatchingRuleUseImmutableMatchingRuleUseRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.NameFormImmutableNameFormRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.NormalizerImmutableNormalizerRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.ObjectClassImmutableObjectClassRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.SyntaxCheckerImmutableSyntaxCheckerRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.TSchemaObjectRegistry. lookup(String oid)Looks up a SchemaObject by its unique Object Identifier or by name.voidComparatorRegistry. register(LdapComparator<?> comparator)Registers a new LdapComparator with this registry.voidDefaultDitStructureRuleRegistry. register(DitStructureRule ditStructureRule)Registers a new SchemaObject with this registry.voidDefaultSchemaObjectRegistry. register(T schemaObject)Registers a new SchemaObject with this registry.voidDitStructureRuleRegistry. register(DitStructureRule ditStructureRule)Registers a new DitStructureRule with this registry.voidImmutableAttributeTypeRegistry. register(AttributeType attributeType)Registers a new SchemaObject with this registry.voidImmutableComparatorRegistry. register(LdapComparator<?> comparator)Registers a new LdapComparator with this registry.voidImmutableDitContentRuleRegistry. register(DitContentRule schemaObject)Registers a new SchemaObject with this registry.voidImmutableDitStructureRuleRegistry. register(DitStructureRule ditStructureRule)Registers a new DitStructureRule with this registry.voidImmutableLdapSyntaxRegistry. register(LdapSyntax schemaObject)Registers a new SchemaObject with this registry.voidImmutableMatchingRuleRegistry. register(MatchingRule schemaObject)Registers a new SchemaObject with this registry.voidImmutableMatchingRuleUseRegistry. register(MatchingRuleUse schemaObject)Registers a new SchemaObject with this registry.voidImmutableNameFormRegistry. register(NameForm schemaObject)Registers a new SchemaObject with this registry.voidImmutableNormalizerRegistry. register(Normalizer normalizer)Registers a new Normalizer with this registry.voidImmutableObjectClassRegistry. register(ObjectClass objectClass)Registers a new ObjectClass with this registry.voidImmutableSyntaxCheckerRegistry. register(SyntaxChecker syntaxChecker)Registers a new SyntaxChecker with this registry.voidNormalizerRegistry. register(Normalizer normalizer)Registers a new Normalizer with this registry.voidObjectClassRegistry. register(ObjectClass objectClass)Registers a new ObjectClass with this registry.voidOidRegistry. register(T schemaObject)Adds an OID name pair to the registry.voidSchemaObjectRegistry. register(T schemaObject)Registers a new SchemaObject with this registry.voidSyntaxCheckerRegistry. register(SyntaxChecker syntaxChecker)Registers a new SyntaxChecker with this registry.voidAttributeTypeRegistry. registerDescendants(AttributeType attributeType, AttributeType ancestor)Store the AttributeType into a map associating an AttributeType to its descendants.voidDefaultAttributeTypeRegistry. registerDescendants(AttributeType attributeType, AttributeType ancestor)Store the AttributeType into a map associating an AttributeType to its descendants.voidDefaultObjectClassRegistry. registerDescendants(ObjectClass objectClass, List<ObjectClass> ancestors)Store the ObjectClass into a map associating an ObjectClass to its descendants.voidImmutableAttributeTypeRegistry. registerDescendants(AttributeType attributeType, AttributeType ancestor)Store the AttributeType into a map associating an AttributeType to its descendants.voidImmutableObjectClassRegistry. registerDescendants(ObjectClass objectClass, List<ObjectClass> ancestors)Store the ObjectClass into a map associating an ObjectClass to its descendants.voidObjectClassRegistry. registerDescendants(ObjectClass objectClass, List<ObjectClass> ancestors)Store the ObjectClass into a map associating an ObjectClass to its descendants.voidAttributeTypeRegistry. removeMappingFor(AttributeType attributeType)Remove a new Oid/Normalizer couple in the OidNormalizer mapvoidDefaultAttributeTypeRegistry. removeMappingFor(AttributeType attributeType)Remove the AttributeType normalizer from the OidNormalizer mapvoidImmutableAttributeTypeRegistry. removeMappingFor(AttributeType attributeType)Remove a new Oid/Normalizer couple in the OidNormalizer mapvoidDitStructureRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the DitStructureRule using a schemaName when this name changes.voidImmutableComparatorRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableDitContentRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableDitStructureRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the DitStructureRule using a schemaName when this name changes.voidImmutableLdapSyntaxRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableMatchingRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableMatchingRuleUseRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableNameFormRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableNormalizerRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableObjectClassRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidImmutableSyntaxCheckerRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.voidSchemaObjectRegistry. renameSchema(String originalSchemaName, String newSchemaName)Modify all the SchemaObject using a schemaName when this name changes.LdapComparator<?>ComparatorRegistry. unregister(String numericOid)Removes the LdapComparator registered with this registry, using its numeric OID.AttributeTypeDefaultAttributeTypeRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.voidDefaultDitStructureRuleRegistry. unregister(int ruleId)Unregisters a DitStructureRule using it's rule identifier.ObjectClassDefaultObjectClassRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.TDefaultSchemaObjectRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.TDefaultSchemaObjectRegistry. unregister(T schemaObject)Removes the SchemaObject registered with this registry.voidDitStructureRuleRegistry. unregister(int ruleId)Unregisters a DitStructureRule using it's rule identifier.AttributeTypeImmutableAttributeTypeRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.AttributeTypeImmutableAttributeTypeRegistry. unregister(AttributeType schemaObject)Removes the SchemaObject registered with this registry.LdapComparator<?>ImmutableComparatorRegistry. unregister(String numericOid)Removes the LdapComparator registered with this registry, using its numeric OID.LdapComparator<?>ImmutableComparatorRegistry. unregister(LdapComparator<?> schemaObject)Removes the SchemaObject registered with this registry.DitContentRuleImmutableDitContentRuleRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.DitContentRuleImmutableDitContentRuleRegistry. unregister(DitContentRule schemaObject)Removes the SchemaObject registered with this registry.voidImmutableDitStructureRuleRegistry. unregister(int ruleId)Unregisters a DitStructureRule using it's rule identifier.DitStructureRuleImmutableDitStructureRuleRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.DitStructureRuleImmutableDitStructureRuleRegistry. unregister(DitStructureRule schemaObject)Removes the SchemaObject registered with this registry.LdapSyntaxImmutableLdapSyntaxRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.LdapSyntaxImmutableLdapSyntaxRegistry. unregister(LdapSyntax schemaObject)Removes the SchemaObject registered with this registry.MatchingRuleImmutableMatchingRuleRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.MatchingRuleImmutableMatchingRuleRegistry. unregister(MatchingRule schemaObject)Removes the SchemaObject registered with this registry.MatchingRuleUseImmutableMatchingRuleUseRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.MatchingRuleUseImmutableMatchingRuleUseRegistry. unregister(MatchingRuleUse schemaObject)Removes the SchemaObject registered with this registry.NameFormImmutableNameFormRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.NameFormImmutableNameFormRegistry. unregister(NameForm schemaObject)Removes the SchemaObject registered with this registry.NormalizerImmutableNormalizerRegistry. unregister(String numericOid)Removes the Normalizer registered with this registry, using its numeric OID.NormalizerImmutableNormalizerRegistry. unregister(Normalizer schemaObject)Removes the SchemaObject registered with this registry.ObjectClassImmutableObjectClassRegistry. unregister(String numericOid)Removes the ObjectClass registered with this registry.ObjectClassImmutableObjectClassRegistry. unregister(ObjectClass schemaObject)Removes the SchemaObject registered with this registry.SyntaxCheckerImmutableSyntaxCheckerRegistry. unregister(String numericOid)Removes the SyntaxChecker registered with this registry, using its numeric OID.SyntaxCheckerImmutableSyntaxCheckerRegistry. unregister(SyntaxChecker schemaObject)Removes the SchemaObject registered with this registry.NormalizerNormalizerRegistry. unregister(String numericOid)Removes the Normalizer registered with this registry, using its numeric OID.ObjectClassObjectClassRegistry. unregister(String numericOid)Removes the ObjectClass registered with this registry.voidOidRegistry. unregister(String oid)Removes an oid from this registry.TSchemaObjectRegistry. unregister(String numericOid)Removes the SchemaObject registered with this registry, using its numeric OID.TSchemaObjectRegistry. unregister(T schemaObject)Removes the SchemaObject registered with this registry.SyntaxCheckerSyntaxCheckerRegistry. unregister(String numericOid)Removes the SyntaxChecker registered with this registry, using its numeric OID.voidAttributeTypeRegistry. unregisterDescendants(AttributeType attributeType, AttributeType ancestor)Remove the AttributeType from the map associating an AttributeType to its descendants.voidDefaultAttributeTypeRegistry. unregisterDescendants(AttributeType attributeType, AttributeType ancestor)Remove the AttributeType from the map associating an AttributeType to its descendants.voidDefaultObjectClassRegistry. unregisterDescendants(ObjectClass attributeType, List<ObjectClass> ancestors)Remove the ObjectClass from the map associating an ObjectClass to its descendants.voidImmutableAttributeTypeRegistry. unregisterDescendants(AttributeType attributeType, AttributeType ancestor)Remove the AttributeType from the map associating an AttributeType to its descendants.voidImmutableObjectClassRegistry. unregisterDescendants(ObjectClass attributeType, List<ObjectClass> ancestors)Remove the ObjectClass from the map associating an ObjectClass to its descendants.voidObjectClassRegistry. unregisterDescendants(ObjectClass attributeType, List<ObjectClass> ancestors)Remove the ObjectClass from the map associating an ObjectClass to its descendants.voidComparatorRegistry. unregisterSchemaElements(String schemaName)Unregisters all LdapComparators defined for a specific schema from this registry.voidDefaultComparatorRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidDefaultNormalizerRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidDefaultSchemaObjectRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidDefaultSyntaxCheckerRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidDitStructureRuleRegistry. unregisterSchemaElements(String schemaName)Unregisters all DITStructureRules defined for a specific schema from this registry.voidImmutableAttributeTypeRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableComparatorRegistry. unregisterSchemaElements(String schemaName)Unregisters all LdapComparators defined for a specific schema from this registry.voidImmutableDitContentRuleRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableDitStructureRuleRegistry. unregisterSchemaElements(String schemaName)Unregisters all DITStructureRules defined for a specific schema from this registry.voidImmutableLdapSyntaxRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableMatchingRuleRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableMatchingRuleUseRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableNameFormRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableNormalizerRegistry. unregisterSchemaElements(String schemaName)Unregisters all Normalizers defined for a specific schema from this registry.voidImmutableObjectClassRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidImmutableSyntaxCheckerRegistry. unregisterSchemaElements(String schemaName)Unregisters all SyntaxCheckers defined for a specific schema from this registry.voidNormalizerRegistry. unregisterSchemaElements(String schemaName)Unregisters all Normalizers defined for a specific schema from this registry.voidSchemaObjectRegistry. unregisterSchemaElements(String schemaName)Unregisters all SchemaObjects defined for a specific schema from this registry.voidSyntaxCheckerRegistry. unregisterSchemaElements(String schemaName)Unregisters all SyntaxCheckers defined for a specific schema from this registry. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema.registries.helper
Methods in org.apache.directory.api.ldap.model.schema.registries.helper that throw LdapException Modifier and Type Method Description static voidAttributeTypeHelper. addToRegistries(AttributeType attributeType, SchemaErrorHandler errorHandler, Registries registries)Inject the AttributeType into the Registries, updating the references to other SchemaObject If one of the referenced SchemaObject does not exist (SUP, EQUALITY, ORDERING, SUBSTR, SYNTAX), an exception is thrown.static voidDitContentRuleHelper. addToRegistries(DitContentRule ditContentRule, SchemaErrorHandler errorHandler, Registries registries)Inject the DitContentRule into the registries, updating the references to other SchemaObjectstatic voidLdapSyntaxHelper. addToRegistries(LdapSyntax ldapSyntax, SchemaErrorHandler errorHandler, Registries registries)Inject the LdapSyntax into the registries, updating the references to other SchemaObjectstatic voidMatchingRuleHelper. addToRegistries(MatchingRule matchingRule, SchemaErrorHandler errorHandler, Registries registries)Inject the MatchingRule into the Registries, updating the references to other SchemaObjectstatic voidMatchingRuleUseHelper. addToRegistries(MatchingRuleUse matchingRuleUse, SchemaErrorHandler errorHandler, Registries registries)Inject the MatchingRuleUse into the registries, updating the references to other SchemaObjectstatic voidNameFormHelper. addToRegistries(NameForm nameForm, SchemaErrorHandler errorHandler, Registries registries)Inject the NameForm into the registries, updating the references to other SchemaObjectstatic voidAttributeTypeHelper. removeFromRegistries(AttributeType attributeType, SchemaErrorHandler errorHandler, Registries registries)Remove the AttributeType from the registries, updating the references to other SchemaObject.static voidObjectClassHelper. removeFromRegistries(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)Remove the ObjectClass from the registries, updating the references to other SchemaObject. -
Uses of LdapException in org.apache.directory.api.ldap.schema.converter
Methods in org.apache.directory.api.ldap.schema.converter that throw LdapException Modifier and Type Method Description StringAttributeTypeHolder. dnToLdif(String schemaName)Transform a schema name to a Dn pointing to the correct position in the DITStringObjectClassHolder. dnToLdif(String schemaName)Transform a schema name to a Dn pointing to the correct position in the DITabstract StringSchemaElementImpl. dnToLdif(String schemaName)Transform a Schema Element to a LDIF Stringprotected StringSchemaElementImpl. extensionsToLdif(String id)Return the extensions formated as Ldif linesprotected StringSchemaElementImpl. schemaToLdif(String schemaName, String type)Transform a Schema to a LDIF formated StringStringAttributeTypeHolder. toLdif(String schemaName)Convert this attributeType to a Ldif stringStringObjectClassHolder. toLdif(String schemaName)Convert this objectClass to a Ldif stringStringSchemaElement. toLdif(String schemaName)Generate a String representation of this schemaElement, formated as a ldif string -
Uses of LdapException in org.apache.directory.api.ldap.schema.loader
Methods in org.apache.directory.api.ldap.schema.loader that throw LdapException Modifier and Type Method Description AttributeTypeEntityFactory. getAttributeType(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Construct an AttributeType from an entry representing an AttributeType.LdapComparator<?>EntityFactory. getLdapComparator(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Retrieve and load a Comparator class from the DIT.LdapComparator<?>EntityFactory. getLdapComparator(SchemaManager schemaManager, LdapComparatorDescription comparatorDescription, Registries targetRegistries, String schemaName)Construct a LdapComparator from a description of a comparator.LdapComparator<?>SchemaEntityFactory. getLdapComparator(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Retrieve and load a Comparator class from the DIT.LdapComparator<?>SchemaEntityFactory. getLdapComparator(SchemaManager schemaManager, LdapComparatorDescription comparatorDescription, Registries targetRegistries, String schemaName)Construct a LdapComparator from a description of a comparator.MatchingRuleEntityFactory. getMatchingRule(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Construct an MatchingRule from an entry get from the DitNormalizerEntityFactory. getNormalizer(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Retrieve and load a Normalizer class from the DIT.NormalizerEntityFactory. getNormalizer(SchemaManager schemaManager, NormalizerDescription normalizerDescription, Registries targetRegistries, String schemaName)Create a new instance of a NormalizerNormalizerSchemaEntityFactory. getNormalizer(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Retrieve and load a Normalizer class from the DIT.NormalizerSchemaEntityFactory. getNormalizer(SchemaManager schemaManager, NormalizerDescription normalizerDescription, Registries targetRegistries, String schemaName)Create a new instance of a NormalizerObjectClassEntityFactory. getObjectClass(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)ObjectClassSchemaEntityFactory. getObjectClass(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)SchemaEntityFactory. getSchema(Entry entry)Return an instance of the Schema associated to the entrySchemaSchemaEntityFactory. getSchema(Entry entry)Return an instance of the Schema associated to the entryLdapSyntaxEntityFactory. getSyntax(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)SyntaxCheckerEntityFactory. getSyntaxChecker(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Retrieve and load a syntaxChecker class from the DIT.SyntaxCheckerEntityFactory. getSyntaxChecker(SchemaManager schemaManager, SyntaxCheckerDescription syntaxCheckerDescription, Registries targetRegistries, String schemaName)Create a new instance of a SyntaxCheckerSyntaxCheckerSchemaEntityFactory. getSyntaxChecker(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Retrieve and load a syntaxChecker class from the DIT.SyntaxCheckerSchemaEntityFactory. getSyntaxChecker(SchemaManager schemaManager, SyntaxCheckerDescription syntaxCheckerDescription, Registries targetRegistries, String schemaName)Create a new instance of a SyntaxCheckerList<Entry>JarLdifSchemaLoader. loadAttributeTypes(Schema... schemas)Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>LdifSchemaLoader. loadAttributeTypes(Schema... schemas)Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>SingleLdifSchemaLoader. loadAttributeTypes(Schema... schemas)Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>JarLdifSchemaLoader. loadComparators(Schema... schemas)Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>LdifSchemaLoader. loadComparators(Schema... schemas)Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>SingleLdifSchemaLoader. loadComparators(Schema... schemas)Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>JarLdifSchemaLoader. loadDitContentRules(Schema... schemas)Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>LdifSchemaLoader. loadDitContentRules(Schema... schemas)Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>SingleLdifSchemaLoader. loadDitContentRules(Schema... schemas)Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>JarLdifSchemaLoader. loadDitStructureRules(Schema... schemas)Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>LdifSchemaLoader. loadDitStructureRules(Schema... schemas)Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>SingleLdifSchemaLoader. loadDitStructureRules(Schema... schemas)Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>JarLdifSchemaLoader. loadMatchingRules(Schema... schemas)Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>LdifSchemaLoader. loadMatchingRules(Schema... schemas)Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>SingleLdifSchemaLoader. loadMatchingRules(Schema... schemas)Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>JarLdifSchemaLoader. loadMatchingRuleUses(Schema... schemas)Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>LdifSchemaLoader. loadMatchingRuleUses(Schema... schemas)Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>SingleLdifSchemaLoader. loadMatchingRuleUses(Schema... schemas)Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>JarLdifSchemaLoader. loadNameForms(Schema... schemas)Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>LdifSchemaLoader. loadNameForms(Schema... schemas)Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>SingleLdifSchemaLoader. loadNameForms(Schema... schemas)Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>JarLdifSchemaLoader. loadNormalizers(Schema... schemas)Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>LdifSchemaLoader. loadNormalizers(Schema... schemas)Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>SingleLdifSchemaLoader. loadNormalizers(Schema... schemas)Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>JarLdifSchemaLoader. loadObjectClasses(Schema... schemas)Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>LdifSchemaLoader. loadObjectClasses(Schema... schemas)Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>SingleLdifSchemaLoader. loadObjectClasses(Schema... schemas)Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>JarLdifSchemaLoader. loadSyntaxCheckers(Schema... schemas)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>LdifSchemaLoader. loadSyntaxCheckers(Schema... schemas)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>SingleLdifSchemaLoader. loadSyntaxCheckers(Schema... schemas)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>JarLdifSchemaLoader. loadSyntaxes(Schema... schemas)Build a list of Syntaxes read from the underlying storage for a list of specified schemaList<Entry>LdifSchemaLoader. loadSyntaxes(Schema... schemas)Build a list of Syntaxes read from the underlying storage for a list of specified schemaList<Entry>SingleLdifSchemaLoader. loadSyntaxes(Schema... schemas)Build a list of Syntaxes read from the underlying storage for a list of specified schemavoidAttributeClassLoader. setAttribute(Attribute attribute)Sets the attribute.Constructors in org.apache.directory.api.ldap.schema.loader that throw LdapException Constructor Description JarLdifSchemaLoader()Creates a new LDIF based SchemaLoader.JarLdifSchemaLoader(boolean allowDuplicateResources)Creates a new LDIF based SchemaLoader.LdifSchemaLoader(File baseDirectory)Creates a new LDIF based SchemaLoader. -
Uses of LdapException in org.apache.directory.api.ldap.schema.manager.impl
Methods in org.apache.directory.api.ldap.schema.manager.impl that throw LdapException Modifier and Type Method Description booleanDefaultSchemaManager. add(SchemaObject schemaObject)Registers a new SchemaObject.protected SchemaObjectDefaultSchemaManager. addSchemaObject(Registries registries, SchemaObject schemaObject, Schema schema)Add the schemaObject into the registries.protected voidDefaultSchemaManager. addSchemaObjects(Schema schema, Registries registries)booleanDefaultSchemaManager. delete(SchemaObject schemaObject)Unregisters a new SchemaObject.booleanDefaultSchemaManager. disable(String... schemaNames)Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.booleanDefaultSchemaManager. disable(Schema... schemas)Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.booleanDefaultSchemaManager. enable(String... schemaNames)Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.booleanDefaultSchemaManager. enable(Schema... schemas)Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.voidDefaultSchemaManager. initialize()Initializes the SchemaServicebooleanDefaultSchemaManager. load(String... schemaNames)Load some Schemas into the registries.booleanDefaultSchemaManager. load(Schema... schemas)Load some Schemas into the registries.booleanDefaultSchemaManager. loadAllEnabled()Load all the enabled schema into the Registries.booleanDefaultSchemaManager. loadAllEnabledRelaxed()Load all the enabled schema into the Registries.booleanDefaultSchemaManager. loadDisabled(String... schemaNames)Load Schemas into the Registries, even if they are disabled.booleanDefaultSchemaManager. loadDisabled(Schema... schemas)Load Schemas into the Registries, even if they are disabled.booleanDefaultSchemaManager. loadRelaxed(String... schemaNames)Load Schemas into the registries, even if there are some errors in the schemas.booleanDefaultSchemaManager. loadRelaxed(Schema... schemas)Load Schemas into the registries, even if there are some errors in the schemas.booleanDefaultSchemaManager. loadWithDeps(String... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.booleanDefaultSchemaManager. loadWithDeps(Schema... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.booleanDefaultSchemaManager. loadWithDepsRelaxed(String... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.booleanDefaultSchemaManager. loadWithDepsRelaxed(Schema... schemas)Load some Schemas into the registries, and loads all of the schemas they depend on.AttributeTypeDefaultSchemaManager. lookupAttributeTypeRegistry(String oid)Lookup for an AttributeType in the AttributeType registryLdapComparator<?>DefaultSchemaManager. lookupComparatorRegistry(String oid)Lookup for a Comparator in the Comparator registryLdapSyntaxDefaultSchemaManager. lookupLdapSyntaxRegistry(String oid)Lookup for an LdapSyntax in the LdapSyntax registryMatchingRuleDefaultSchemaManager. lookupMatchingRuleRegistry(String oid)Lookup for a MatchingRule in the MatchingRule registryNormalizerDefaultSchemaManager. lookupNormalizerRegistry(String oid)Lookup for a Normalizer in the Normalizer registryObjectClassDefaultSchemaManager. lookupObjectClassRegistry(String oid)Lookup for a ObjectClass in the ObjectClass registrySyntaxCheckerDefaultSchemaManager. lookupSyntaxCheckerRegistry(String oid)Lookup for a SyntaxChecker in the SyntaxChecker registrybooleanDefaultSchemaManager. unload(String... schemaNames)Unload the given set of SchemasbooleanDefaultSchemaManager. unload(Schema... schemas)Unload the given set of SchemasSchemaObjectDefaultSchemaManager. unregisterAttributeType(String attributeTypeOid)Removes the registered attributeType from the attributeTypeRegistrySchemaObjectDefaultSchemaManager. unregisterComparator(String comparatorOid)Removes the registered Comparator from the ComparatorRegistrySchemaObjectDefaultSchemaManager. unregisterDitControlRule(String ditControlRuleOid)Removes the registered DitControlRule from the DitControlRuleRegistrySchemaObjectDefaultSchemaManager. unregisterDitStructureRule(String ditStructureRuleOid)Removes the registered DitStructureRule from the DitStructureRuleRegistrySchemaObjectDefaultSchemaManager. unregisterLdapSyntax(String ldapSyntaxOid)Removes the registered LdapSyntax from the LdapSyntaxRegistrySchemaObjectDefaultSchemaManager. unregisterMatchingRule(String matchingRuleOid)Removes the registered MatchingRule from the MatchingRuleRegistrySchemaObjectDefaultSchemaManager. unregisterMatchingRuleUse(String matchingRuleUseOid)Removes the registered MatchingRuleUse from the MatchingRuleUseRegistrySchemaObjectDefaultSchemaManager. unregisterNameForm(String nameFormOid)Removes the registered NameForm from the NameFormRegistrySchemaObjectDefaultSchemaManager. unregisterNormalizer(String normalizerOid)Removes the registered Normalizer from the NormalizerRegistrySchemaObjectDefaultSchemaManager. unregisterObjectClass(String objectClassOid)Removes the registered ObjectClass from the ObjectClassRegistrySchemaObjectDefaultSchemaManager. unregisterSyntaxChecker(String syntaxCheckerOid)Removes the registered SyntaxChecker from the SyntaxCheckerRegistrybooleanDefaultSchemaManager. verify(String... schemas)Check that the Schemas are consistent regarding the current Registries.booleanDefaultSchemaManager. verify(Schema... schemas)Check that the Schemas are consistent regarding the current Registries. -
Uses of LdapException in org.apache.directory.api.ldap.util.tree
Methods in org.apache.directory.api.ldap.util.tree that throw LdapException Modifier and Type Method Description DnNode<N>DnNode. add(Dn dn)Add a new node in the tree.DnNode<N>DnNode. add(Dn dn, N element)Add a new node in the tree.booleanDnNode. hasChildren(Dn dn)Tells if a node has some children or not.voidDnNode. move(Dn newParent)move the DnNode's DnvoidDnNode. remove(Dn dn)Removes a node from the tree.voidDnNode. rename(Rdn newRdn)rename the DnNode's Dn -
Uses of LdapException in org.apache.directory.ldap.client.api
Methods in org.apache.directory.ldap.client.api that throw LdapException Modifier and Type Method Description voidAbstractPoolableLdapConnectionFactory. activateObject(PooledObject<LdapConnection> connection)Reinitializes an instance to be returned by the pool.voidValidatingPoolableLdapConnectionFactory. activateObject(PooledObject<LdapConnection> pooledObject)Reinitializes an instance to be returned by the pool.voidLdapConnection. add(Entry entry)Add an entry to the server.AddResponseLdapConnection. add(AddRequest addRequest)Add an entry present in theAddRequestto the server.voidLdapConnectionWrapper. add(Entry entry)Add an entry to the server.AddResponseLdapConnectionWrapper. add(AddRequest addRequest)Add an entry present in theAddRequestto the server.voidLdapNetworkConnection. add(Entry entry)Add an entry to the server.AddResponseLdapNetworkConnection. add(AddRequest addRequest)Add an entry present in theAddRequestto the server.voidLdifAnonymizer. addAnonAttributeType(AttributeType attributeType)Add an attributeType that has to be anonymizedvoidLdifAnonymizer. addAnonAttributeType(AttributeType attributeType, Anonymizer<?> anonymizer)Add an attributeType that has to be anonymized, with its associated anonymizer.AddFutureLdapAsyncConnection. addAsync(Entry entry)Add an entry to the server asynchronously.AddFutureLdapAsyncConnection. addAsync(AddRequest addRequest)Add an entry present in the AddRequest to the server.AddFutureLdapNetworkConnection. addAsync(Entry entry)Add an entry to the server asynchronously.AddFutureLdapNetworkConnection. addAsync(AddRequest addRequest)Add an entry present in the AddRequest to the server.voidLdapNetworkConnection. addSchema(File schemaFile)parses the given schema file present in OpenLDAP schema format and adds all the SchemaObjects present in it to the SchemaManagervoidLdapNetworkConnection. addSchema(String schemaFileName)voidEntryCursorImpl. after(Entry element)This operation is not supported in SearchCursor.voidSearchCursorImpl. after(Response element)This operation is not supported in SearchCursor.voidEntryCursorImpl. afterLast()This operation is not supported in SearchCursor.voidSearchCursorImpl. afterLast()This operation is not supported in SearchCursor.StringLdifAnonymizer. anonymize(String ldif)Anonymize a LDIFvoidLdifAnonymizer. anonymizeFile(String ldifFile, Writer writer)Anonymize a LDIFvoidLdapConnection. anonymousBind()Anonymous bind on a server.voidLdapConnectionWrapper. anonymousBind()Anonymous bind on a server.voidLdapNetworkConnection. anonymousBind()Anonymous bind on a server.voidMonitoringLdapConnection. anonymousBind()Anonymous bind on a server.BindFutureLdapAsyncConnection. anonymousBindAsync()Anonymous asynchronous Bind on a server.BindFutureLdapNetworkConnection. anonymousBindAsync()Anonymous asynchronous Bind on a server.voidEntryCursorImpl. before(Entry element)This operation is not supported in SearchCursor.voidSearchCursorImpl. before(Response element)This operation is not supported in SearchCursor.voidEntryCursorImpl. beforeFirst()This operation is not supported in SearchCursor.voidSearchCursorImpl. beforeFirst()This operation is not supported in SearchCursor.voidAbstractLdapConnection. bind(String name)Unauthenticated authentication bind on a server.voidAbstractLdapConnection. bind(String name, String credentials)Simple bind on a server.voidAbstractLdapConnection. bind(Dn name)Unauthenticated authentication bind on a server.voidAbstractLdapConnection. bind(Dn name, String credentials)Simple bind on a server.voidLdapConnection. bind()Bind on a server, using theLdapConnectionConfiginformation of this connection.voidLdapConnection. bind(String name)Unauthenticated authentication bind on a server.voidLdapConnection. bind(String name, String credentials)Simple bind on a server.BindResponseLdapConnection. bind(BindRequest bindRequest)Bind to the server using a bind request object.voidLdapConnection. bind(Dn name)Unauthenticated authentication bind on a server.voidLdapConnection. bind(Dn name, String credentials)Simple bind on a server.BindResponseLdapConnection. bind(SaslRequest saslRequest)SASL Bind to the server using a SASL request object.voidLdapConnectionWrapper. bind()Bind on a server, using theLdapConnectionConfiginformation of this connection.voidLdapConnectionWrapper. bind(String name)Unauthenticated authentication bind on a server.voidLdapConnectionWrapper. bind(String name, String credentials)Simple bind on a server.BindResponseLdapConnectionWrapper. bind(BindRequest bindRequest)Bind to the server using a bind request object.voidLdapConnectionWrapper. bind(Dn name)Unauthenticated authentication bind on a server.voidLdapConnectionWrapper. bind(Dn name, String credentials)Simple bind on a server.BindResponseLdapConnectionWrapper. bind(SaslRequest saslRequest)SASL Bind to the server using a SASL request object.voidLdapNetworkConnection. bind()Bind on a server, using theLdapConnectionConfiginformation of this connection.BindResponseLdapNetworkConnection. bind(BindRequest bindRequest)Bind to the server using a bind request object.BindResponseLdapNetworkConnection. bind(SaslCramMd5Request request)Bind to the server using a CramMd5Request object.BindResponseLdapNetworkConnection. bind(SaslDigestMd5Request request)Bind to the server using a DigestMd5Request object.BindResponseLdapNetworkConnection. bind(SaslExternalRequest request)Bind to the server using a SaslExternalRequest object.BindResponseLdapNetworkConnection. bind(SaslGssApiRequest request)Bind to the server using a GssApiRequest object.BindResponseLdapNetworkConnection. bind(SaslRequest request)Bind to the server using a SaslRequest object.voidMonitoringLdapConnection. bind()Bind on a server, using theLdapConnectionConfiginformation of this connection.voidMonitoringLdapConnection. bind(String name)Unauthenticated authentication bind on a server.voidMonitoringLdapConnection. bind(String name, String credentials)Simple bind on a server.BindResponseMonitoringLdapConnection. bind(BindRequest bindRequest)Bind to the server using a bind request object.voidMonitoringLdapConnection. bind(Dn name)Unauthenticated authentication bind on a server.voidMonitoringLdapConnection. bind(Dn name, String credentials)Simple bind on a server.BindFutureLdapAsyncConnection. bindAsync()Asynchronous Bind on a server, using the LdapConnectionConfig informations.BindFutureLdapAsyncConnection. bindAsync(String name, String credentials)Simple asynchronous Bind on a server.BindFutureLdapAsyncConnection. bindAsync(BindRequest bindRequest)Do an asynchronous bind, based on a BindRequest.BindFutureLdapAsyncConnection. bindAsync(Dn name, String credentials)Simple asynchronous Bind on a server.BindFutureLdapNetworkConnection. bindAsync()Asynchronous Bind on a server, using the LdapConnectionConfig informations.BindFutureLdapNetworkConnection. bindAsync(String name)Asynchronous unauthenticated authentication bindBindFutureLdapNetworkConnection. bindAsync(String name, String credentials)Simple asynchronous Bind on a server.BindFutureLdapNetworkConnection. bindAsync(BindRequest bindRequest)Do an asynchronous bind, based on a BindRequest.BindFutureLdapNetworkConnection. bindAsync(Dn name)Asynchronous unauthenticated authentication Bind on a server.BindFutureLdapNetworkConnection. bindAsync(Dn name, String credentials)Simple asynchronous Bind on a server.BindFutureLdapNetworkConnection. bindAsync(SaslGssApiRequest request)Do an asynchronous bind, based on a GssApiRequest.BindFutureLdapNetworkConnection. bindAsync(SaslRequest request)Do an asynchronous bind, based on a SaslPlainRequest.LdapConnectionDefaultLdapConnectionFactory. bindConnection(LdapConnection connection)Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnectionLdapConnectionFactory. bindConnection(LdapConnection connection)Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.BindFutureLdapNetworkConnection. bindSasl(SaslRequest saslRequest)Process the SASL Bind.BindResponseLdapNetworkConnection. bindSaslCramMd5(String userName, String credentials)Bind to the server using the SASL CRAM-MD5 mechanism.BindResponseLdapNetworkConnection. bindSaslDigestMd5(String userName, String credentials)Bind to the server using the SASL DIGEST-MD5 mechanism.BindResponseLdapNetworkConnection. bindSaslPlain(String authcid, String credentials)SASL PLAIN Bind on a server.BindResponseLdapNetworkConnection. bindSaslPlain(String authzid, String authcid, String credentials)SASL PLAIN Bind on a server.booleanLdapConnection. compare(String dn, String attributeName, byte[] value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnection. compare(String dn, String attributeName, String value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnection. compare(String dn, String attributeName, Value value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareResponseLdapConnection. compare(CompareRequest compareRequest)Compares an entry's attribute's value with that of the given value.booleanLdapConnection. compare(Dn dn, String attributeName, byte[] value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnection. compare(Dn dn, String attributeName, String value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnection. compare(Dn dn, String attributeName, Value value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnectionWrapper. compare(String dn, String attributeName, byte[] value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnectionWrapper. compare(String dn, String attributeName, String value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnectionWrapper. compare(String dn, String attributeName, Value value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareResponseLdapConnectionWrapper. compare(CompareRequest compareRequest)Compares an entry's attribute's value with that of the given value.booleanLdapConnectionWrapper. compare(Dn dn, String attributeName, byte[] value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnectionWrapper. compare(Dn dn, String attributeName, String value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapConnectionWrapper. compare(Dn dn, String attributeName, Value value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapNetworkConnection. compare(String dn, String attributeName, byte[] value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapNetworkConnection. compare(String dn, String attributeName, String value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapNetworkConnection. compare(String dn, String attributeName, Value value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareResponseLdapNetworkConnection. compare(CompareRequest compareRequest)Compares an entry's attribute's value with that of the given value.booleanLdapNetworkConnection. compare(Dn dn, String attributeName, byte[] value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapNetworkConnection. compare(Dn dn, String attributeName, String value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.booleanLdapNetworkConnection. compare(Dn dn, String attributeName, Value value)Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareFutureLdapAsyncConnection. compareAsync(CompareRequest compareRequest)Asynchronously compares an entry's attribute's value with that of the given valueCompareFutureLdapNetworkConnection. compareAsync(CompareRequest compareRequest)Asynchronously compares an entry's attribute's value with that of the given valuebooleanLdapConnection. connect()Connect to the remote LDAP server.booleanLdapConnectionWrapper. connect()Connect to the remote LDAP server.booleanLdapNetworkConnection. connect()Connect to the remote LDAP server.voidLdapConnection. delete(String dn)Deletes the entry with the given distinguished name.DeleteResponseLdapConnection. delete(DeleteRequest deleteRequest)Performs a delete operation based on the delete request object.voidLdapConnection. delete(Dn dn)Deletes the entry with the given distinguished name.voidLdapConnectionWrapper. delete(String dn)Deletes the entry with the given distinguished name.DeleteResponseLdapConnectionWrapper. delete(DeleteRequest deleteRequest)Performs a delete operation based on the delete request object.voidLdapConnectionWrapper. delete(Dn dn)Deletes the entry with the given distinguished name.voidLdapNetworkConnection. delete(String dn)Deletes the entry with the given distinguished name.DeleteResponseLdapNetworkConnection. delete(DeleteRequest deleteRequest)Performs a delete operation based on the delete request object.voidLdapNetworkConnection. delete(Dn dn)Deletes the entry with the given distinguished name.DeleteFutureLdapAsyncConnection. deleteAsync(DeleteRequest delRequest)Performs an asynchronous delete operation based on the delete request object.DeleteFutureLdapNetworkConnection. deleteAsync(DeleteRequest deleteRequest)Performs an asynchronous delete operation based on the delete request object.voidLdapNetworkConnection. deleteTree(String dn)deletes the entry with the given Dn, and all its childrenvoidLdapNetworkConnection. deleteTree(Dn dn)deletes the entry with the given Dn, and all its childrenvoidAbstractPoolableLdapConnectionFactory. destroyObject(PooledObject<LdapConnection> connection)Destroys an instance no longer needed by the pool, using the default (NORMAL) DestroyMode.booleanLdapConnection. exists(String dn)Tells if an entry exists in the server.booleanLdapConnection. exists(Dn dn)Tells if an Entry exists in the server.booleanLdapConnectionWrapper. exists(String dn)Tells if an entry exists in the server.booleanLdapConnectionWrapper. exists(Dn dn)Tells if an Entry exists in the server.booleanLdapNetworkConnection. exists(String dn)Tells if an entry exists in the server.booleanLdapNetworkConnection. exists(Dn dn)Tells if an Entry exists in the server.ExtendedResponseLdapConnection. extended(String oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseLdapConnection. extended(String oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseLdapConnection. extended(Oid oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseLdapConnection. extended(Oid oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseLdapConnection. extended(ExtendedRequest extendedRequest)Performs an extended operation based on the extended request object.ExtendedResponseLdapConnectionWrapper. extended(String oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseLdapConnectionWrapper. extended(String oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseLdapConnectionWrapper. extended(Oid oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseLdapConnectionWrapper. extended(Oid oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseLdapConnectionWrapper. extended(ExtendedRequest extendedRequest)Performs an extended operation based on the extended request object.ExtendedResponseLdapNetworkConnection. extended(String oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseLdapNetworkConnection. extended(String oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseLdapNetworkConnection. extended(Oid oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseLdapNetworkConnection. extended(Oid oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseLdapNetworkConnection. extended(ExtendedRequest extendedRequest)Performs an extended operation based on the extended request object.ExtendedResponseMonitoringLdapConnection. extended(String oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseMonitoringLdapConnection. extended(String oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseMonitoringLdapConnection. extended(Oid oid)Sends a extended operation request to the server with the given OID and no value.ExtendedResponseMonitoringLdapConnection. extended(Oid oid, byte[] value)Sends a extended operation request to the server with the given OID and value.ExtendedResponseMonitoringLdapConnection. extended(ExtendedRequest extendedRequest)Performs an extended operation based on the extended request object.ExtendedFutureLdapAsyncConnection. extendedAsync(ExtendedRequest extendedRequest)Asynchronously requests the server to perform an extended operation based on the given request.ExtendedFutureLdapNetworkConnection. extendedAsync(ExtendedRequest extendedRequest)Asynchronously requests the server to perform an extended operation based on the given request.booleanEntryCursorImpl. first()This operation is not supported in SearchCursor.booleanSearchCursorImpl. first()This operation is not supported in SearchCursor.LdapConnectionLdapConnectionPool. getConnection()Gives a LdapConnection fetched from the pool.EntrySearchCursorImpl. getEntry()IntermediateResponseSearchCursorImpl. getIntermediate()ReferralSearchCursorImpl. getReferral()EntryLdapConnection. getRootDse()Get back the RooDSE from the connected server.EntryLdapConnection. getRootDse(String... attributes)Get back the RooDSE from the connected server.EntryLdapConnectionWrapper. getRootDse()Get back the RooDSE from the connected server.EntryLdapConnectionWrapper. getRootDse(String... attributes)Get back the RooDSE from the connected server.EntryLdapNetworkConnection. getRootDse()Get back the RooDSE from the connected server.EntryLdapNetworkConnection. getRootDse(String... attributes)Get back the RooDSE from the connected server.List<String>LdapConnection. getSupportedControls()Get the Controls supported by server.List<String>LdapConnectionWrapper. getSupportedControls()Get the Controls supported by server.List<String>LdapNetworkConnection. getSupportedControls()Get the Controls supported by server.booleanLdapConnection. isControlSupported(String controlOID)Checks if a control with the given OID is supported.booleanLdapConnectionWrapper. isControlSupported(String controlOID)Checks if a control with the given OID is supported.booleanLdapNetworkConnection. isControlSupported(String controlOID)Checks if a control with the given OID is supported.booleanEntryCursorImpl. last()This operation is not supported in SearchCursor.booleanSearchCursorImpl. last()This operation is not supported in SearchCursor.List<Entry>DefaultSchemaLoader. loadAttributeTypes(Schema... schemas)Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>DefaultSchemaLoader. loadComparators(Schema... schemas)Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>DefaultSchemaLoader. loadDitContentRules(Schema... schemas)Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>DefaultSchemaLoader. loadDitStructureRules(Schema... schemas)Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>DefaultSchemaLoader. loadMatchingRules(Schema... schemas)Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>DefaultSchemaLoader. loadMatchingRuleUses(Schema... schemas)Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>DefaultSchemaLoader. loadNameForms(Schema... schemas)Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>DefaultSchemaLoader. loadNormalizers(Schema... schemas)Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>DefaultSchemaLoader. loadObjectClasses(Schema... schemas)Build a list of ObjectClasses read from the underlying storage for a list of specific schema.voidLdapConnection. loadSchema()Loads all the default schemas that are bundled with the API.
Note: This method enables all schemas prior to loading.voidLdapConnectionWrapper. loadSchema()Loads all the default schemas that are bundled with the API.
Note: This method enables all schemas prior to loading.voidLdapNetworkConnection. loadSchema()Loads all the default schemas that are bundled with the API.
Note: This method enables all schemas prior to loading.voidLdapNetworkConnection. loadSchema(SchemaLoader loader)loads schema using the specified schema loadervoidLdapConnection. loadSchemaRelaxed()Loads all the default schemas that are bundled with the API, in a relaxed mode.
Note: This method enables all schemas prior to loading.
The relaxed mode will allow inconsistencies in the schema.voidLdapConnectionWrapper. loadSchemaRelaxed()Loads all the default schemas that are bundled with the API, in a relaxed mode.
Note: This method enables all schemas prior to loading.
The relaxed mode will allow inconsistencies in the schema.voidLdapNetworkConnection. loadSchemaRelaxed()Loads all the default schemas that are bundled with the API, in a relaxed mode.
Note: This method enables all schemas prior to loading.
The relaxed mode will allow inconsistencies in the schema.List<Entry>DefaultSchemaLoader. loadSyntaxCheckers(Schema... schemas)Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>DefaultSchemaLoader. loadSyntaxes(Schema... schemas)Build a list of Syntaxes read from the underlying storage for a list of specified schemaEntryLdapConnection. lookup(String dn)Searches for an entry having the given distinguished name.EntryLdapConnection. lookup(String dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnection. lookup(String dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnection. lookup(Dn dn)Searches for an entry having the given distinguished name..EntryLdapConnection. lookup(Dn dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnection. lookup(Dn dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(String dn)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(String dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(String dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(Dn dn)Searches for an entry having the given distinguished name..EntryLdapConnectionWrapper. lookup(Dn dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(Dn dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(String dn)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(String dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(String dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(Dn dn)Searches for an entry having the given distinguished name..EntryLdapNetworkConnection. lookup(Dn dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(Dn dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.static voidLdifAnonymizer. main(String[] args)The entry point, when used as a standalone application.PooledObject<LdapConnection>AbstractPoolableLdapConnectionFactory. makeObject()Creates an instance that can be served by the pool and wrap it in aPooledObjectto be managed by the pool.PooledObject<LdapConnection>ValidatingPoolableLdapConnectionFactory. makeObject()Creates an instance that can be served by the pool and wrap it in aPooledObjectto be managed by the pool.voidLdapConnection. modify(String dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapConnection. modify(Entry entry, ModificationOperation modOp)Modifies all the attributes present in the entry by applying the same operation.ModifyResponseLdapConnection. modify(ModifyRequest modRequest)Performs an modify operation based on the modifications present in the modify request.voidLdapConnection. modify(Dn dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapConnectionWrapper. modify(String dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapConnectionWrapper. modify(Entry entry, ModificationOperation modOp)Modifies all the attributes present in the entry by applying the same operation.ModifyResponseLdapConnectionWrapper. modify(ModifyRequest modRequest)Performs an modify operation based on the modifications present in the modify request.voidLdapConnectionWrapper. modify(Dn dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapNetworkConnection. modify(String dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapNetworkConnection. modify(Entry entry, ModificationOperation modOp)Modifies all the attributes present in the entry by applying the same operation.ModifyResponseLdapNetworkConnection. modify(ModifyRequest modRequest)Performs an modify operation based on the modifications present in the modify request.voidLdapNetworkConnection. modify(Dn dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.ModifyFutureLdapAsyncConnection. modifyAsync(ModifyRequest modRequest)Performs an asynchronous modify operation based on the modifications present in the ModifyRequest.ModifyFutureLdapNetworkConnection. modifyAsync(ModifyRequest modRequest)Performs an asynchronous modify operation based on the modifications present in the ModifyRequest.ModifyDnResponseLdapConnection. modifyDn(ModifyDnRequest modDnRequest)Performs the modifyDn operation based on the given request object.ModifyDnResponseLdapConnectionWrapper. modifyDn(ModifyDnRequest modDnRequest)Performs the modifyDn operation based on the given request object.ModifyDnResponseLdapNetworkConnection. modifyDn(ModifyDnRequest modDnRequest)Performs the modifyDn operation based on the given request object.ModifyDnFutureLdapAsyncConnection. modifyDnAsync(ModifyDnRequest modDnRequest)Performs the modifyDn operation based on the given ModifyDnRequest.ModifyDnFutureLdapNetworkConnection. modifyDnAsync(ModifyDnRequest modDnRequest)Performs the modifyDn operation based on the given ModifyDnRequest.voidLdapConnection. move(String entryDn, String newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapConnection. move(Dn entryDn, Dn newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapConnectionWrapper. move(String entryDn, String newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapConnectionWrapper. move(Dn entryDn, Dn newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapNetworkConnection. move(String entryDn, String newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapNetworkConnection. move(Dn entryDn, Dn newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapConnection. moveAndRename(String entryDn, String newDn)Moves and renames the given entry distinguished name.voidLdapConnection. moveAndRename(String entryDn, String newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapConnection. moveAndRename(Dn entryDn, Dn newDn)Moves and renames the given entryDn.voidLdapConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapConnectionWrapper. moveAndRename(String entryDn, String newDn)Moves and renames the given entry distinguished name.voidLdapConnectionWrapper. moveAndRename(String entryDn, String newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn)Moves and renames the given entryDn.voidLdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapNetworkConnection. moveAndRename(String entryDn, String newDn)Moves and renames the given entry distinguished name.voidLdapNetworkConnection. moveAndRename(String entryDn, String newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn)Moves and renames the given entryDn.voidLdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)Moves and renames the given entryDn.LdapConnectionDefaultLdapConnectionFactory. newLdapConnection()Returns a newly created, configured, and authenticated connection.LdapConnectionLdapConnectionFactory. newLdapConnection()Returns a newly created, configured, and authenticated connection.booleanEntryCursorImpl. next()Advances this Cursor to the next position.booleanSearchCursorImpl. next()Advances this Cursor to the next position.voidAbstractPoolableLdapConnectionFactory. passivateObject(PooledObject<LdapConnection> connection)Uninitializes an instance to be returned to the idle object pool.voidValidatingPoolableLdapConnectionFactory. passivateObject(PooledObject<LdapConnection> pooledObject)Uninitializes an instance to be returned to the idle object pool.booleanEntryCursorImpl. previous()This operation is not supported in SearchCursor.booleanSearchCursorImpl. previous()This operation is not supported in SearchCursor.voidLdapConnectionPool. releaseConnection(LdapConnection connection)Places the given LdapConnection back in the pool.voidLdapConnection. rename(String entryDn, String newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapConnection. rename(String entryDn, String newRdn, boolean deleteOldRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.voidLdapConnection. rename(Dn entryDn, Rdn newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapConnection. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.voidLdapConnectionWrapper. rename(String entryDn, String newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapConnectionWrapper. rename(String entryDn, String newRdn, boolean deleteOldRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.voidLdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.voidLdapNetworkConnection. rename(String entryDn, String newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapNetworkConnection. rename(String entryDn, String newRdn, boolean deleteOldRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.voidLdapNetworkConnection. rename(Dn entryDn, Rdn newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapNetworkConnection. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.EntryCursorLdapConnection. search(String baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.SearchCursorLdapConnection. search(SearchRequest searchRequest)Performs search using a search request object.EntryCursorLdapConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.EntryCursorLdapConnectionWrapper. search(String baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.SearchCursorLdapConnectionWrapper. search(SearchRequest searchRequest)Performs search using a search request object.EntryCursorLdapConnectionWrapper. search(Dn baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.EntryCursorLdapNetworkConnection. search(String baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.SearchCursorLdapNetworkConnection. search(SearchRequest searchRequest)Performs search using a search request object.SearchCursorLdapNetworkConnection. search(SearchRequest searchRequest, long localSearchTimeout)Search operation with explicit specification of operation timeout.EntryCursorLdapNetworkConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.SearchFutureLdapAsyncConnection. searchAsync(String baseDn, String filter, SearchScope scope, String... attributes)Do an asynchronous search, on the base object, using the given filter.SearchFutureLdapAsyncConnection. searchAsync(SearchRequest searchRequest)Do a search, on the base object, using the given filter.SearchFutureLdapAsyncConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)Do an asynchronous search, on the base object, using the given filter.SearchFutureLdapNetworkConnection. searchAsync(String baseDn, String filter, SearchScope scope, String... attributes)Do an asynchronous search, on the base object, using the given filter.SearchFutureLdapNetworkConnection. searchAsync(SearchRequest searchRequest)Do a search, on the base object, using the given filter.SearchFutureLdapNetworkConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)Do an asynchronous search, on the base object, using the given filter.voidLdapNetworkConnection. startTls()Sends the StartTLS extended request to server and adds a security layer upon receiving a response with successful result.ConnectFutureLdapNetworkConnection. tryConnect()Process the connect.voidLdapConnection. unBind()UnBind from a server.voidLdapConnectionWrapper. unBind()UnBind from a server.voidLdapNetworkConnection. unBind()UnBind from a server.Constructors in org.apache.directory.ldap.client.api that throw LdapException Constructor Description DefaultSchemaLoader()DefaultSchemaLoader(LdapConnection connection)Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, boolean relaxed)Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, Dn subschemaSubentryDn)Creates a new instance of NetworkSchemaLoader. -
Uses of LdapException in org.apache.directory.ldap.client.api.exception
Subclasses of LdapException in org.apache.directory.ldap.client.api.exception Modifier and Type Class Description classInvalidConnectionExceptionA InvalidConnectionException is thrown if one tries to apply an operation on a closed connectionclassLdapConnectionTimeOutExceptionA LdapConnectionTimeOutException is thrown if there is an connection time-out situation. -
Uses of LdapException in org.apache.directory.ldap.client.template
Methods in org.apache.directory.ldap.client.template with parameters of type LdapException Modifier and Type Method Description protected PasswordExceptionAbstractPasswordPolicyResponder. exception(LdapException e)Translates anLdapExceptionto aPasswordExceptionto be thrown whenAbstractPasswordPolicyResponder.process(PasswordPolicyOperation)fails.Methods in org.apache.directory.ldap.client.template that throw LdapException Modifier and Type Method Description voidRequestBuilder. buildRequest(T request)Modifies the provided request adding specific information to it.TConnectionCallback. doWithConnection(LdapConnection connection)Provides a managed connection to the implementation of this method.TEntryMapper. map(Entry entry)Will be called once for each entry in the search result.ResultResponsePasswordPolicyOperation. process()Execute operations whose results imply somme sort of password policy information. -
Uses of LdapException in org.apache.directory.ldap.client.template.exception
Methods in org.apache.directory.ldap.client.template.exception that return LdapException Modifier and Type Method Description LdapExceptionPasswordException. getLdapException()If an LdapException was thrown causing this exception, that LdapException is returned.Methods in org.apache.directory.ldap.client.template.exception with parameters of type LdapException Modifier and Type Method Description PasswordExceptionPasswordException. setLdapException(LdapException ldapException)Sets the wrapped exceptionConstructors in org.apache.directory.ldap.client.template.exception with parameters of type LdapException Constructor Description LdapRuntimeException(LdapException exception)Creates a new LdapRuntimeException instance
-