Uses of Class
org.apache.directory.ldap.client.api.exception.LdapException

Packages that use LdapException
org.apache.directory.ldap.client.api   
org.apache.directory.ldap.client.api.exception   
org.apache.directory.ldap.client.api.listener   
org.apache.directory.ldap.client.api.message   
 

Uses of LdapException in org.apache.directory.ldap.client.api
 

Methods in org.apache.directory.ldap.client.api that throw LdapException
 AddResponse LdapConnection.add(AddRequest addRequest)
          Add an entry present in the AddRequest to the server.
 AddResponse LdapConnection.add(org.apache.directory.shared.ldap.entry.Entry entry)
          Add an entry to the server.
 AddFuture LdapConnection.addAsync(AddRequest addRequest)
          Add an entry present in the AddRequest to the server.
 AddFuture LdapConnection.addAsync(org.apache.directory.shared.ldap.entry.Entry entry)
          Add an entry to the server asynchronously.
 BindResponse LdapConnection.bind()
          Anonymous Bind on a server.
 BindResponse LdapConnection.bind(BindRequest bindRequest)
          Bind to the server using a BindRequest object.
 BindResponse LdapConnection.bind(org.apache.directory.shared.ldap.name.DN name, java.lang.String credentials)
          Simple Bind on a server.
 BindResponse LdapConnection.bind(java.lang.String name, java.lang.String credentials)
          Simple Bind on a server.
 BindFuture LdapConnection.bindAsync()
          Anonymous asynchronous Bind on a server.
 BindFuture LdapConnection.bindAsync(BindRequest bindRequest)
          Do an asynchronous bind, based on a BindRequest.
 BindFuture LdapConnection.bindAsync(org.apache.directory.shared.ldap.name.DN name, java.lang.String credentials)
          Simple asynchronous Bind on a server.
 BindFuture LdapConnection.bindAsync(java.lang.String name, java.lang.String credentials)
          Simple asynchronous Bind on a server.
 CompareResponse LdapConnection.compare(CompareRequest compareRequest)
          compares an entry's attribute's value with that of the given value
 CompareResponse LdapConnection.compare(org.apache.directory.shared.ldap.name.DN dn, java.lang.String attributeName, byte[] value)
          Compares a whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given DN
 CompareResponse LdapConnection.compare(org.apache.directory.shared.ldap.name.DN dn, java.lang.String attributeName, java.lang.String value)
          Compares a whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given DN
 CompareResponse LdapConnection.compare(org.apache.directory.shared.ldap.name.DN dn, java.lang.String attributeName, org.apache.directory.shared.ldap.entry.Value<?> value)
          Compares a whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given DN
 CompareResponse LdapConnection.compare(java.lang.String dn, java.lang.String attributeName, byte[] value)
          Compares a whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given DN
 CompareResponse LdapConnection.compare(java.lang.String dn, java.lang.String attributeName, java.lang.String value)
          Compares a whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given DN
 CompareResponse LdapConnection.compare(java.lang.String dn, java.lang.String attributeName, org.apache.directory.shared.ldap.entry.Value<?> value)
          Compares a whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given DN
 CompareFuture LdapConnection.compareAsync(CompareRequest compareRequest)
          Asynchronously compares an entry's attribute's value with that of the given value
 boolean LdapConnection.connect()
          Connect to the remote LDAP server.
 DeleteResponse LdapConnection.delete(DeleteRequest deleteRequest)
          Performs a delete operation based on the delete request object.
 DeleteResponse LdapConnection.delete(org.apache.directory.shared.ldap.name.DN dn)
          deletes the entry with the given DN
 DeleteResponse LdapConnection.delete(java.lang.String dn)
          deletes the entry with the given DN
 DeleteFuture LdapConnection.deleteAsync(DeleteRequest delRequest)
          Performs an asynchronous delete operation based on the delete request object.
 DeleteResponse LdapConnection.deleteTree(org.apache.directory.shared.ldap.name.DN dn)
          deletes the entry with the given DN, and all its children
 DeleteResponse LdapConnection.deleteTree(java.lang.String dn)
          deletes the entry with the given DN, and all its children
 ExtendedResponse LdapConnection.extended(ExtendedRequest extendedRequest)
          Performs an extended operation based on the Extended request object.
 ExtendedResponse LdapConnection.extended(org.apache.directory.shared.asn1.primitives.OID oid)
           
 ExtendedResponse LdapConnection.extended(org.apache.directory.shared.asn1.primitives.OID oid, byte[] value)
          sends a extended operation request to the server with the given OID and value
 ExtendedResponse LdapConnection.extended(java.lang.String oid)
           
 ExtendedResponse LdapConnection.extended(java.lang.String oid, byte[] value)
           
 ExtendedFuture LdapConnection.extendedAsync(ExtendedRequest extendedRequest)
          Asynchronously requests the server to perform an extended operation based on the given request.
 java.util.List<java.lang.String> LdapConnection.getSupportedControls()
          get the Controls supported by server.
 boolean LdapConnection.isControlSupported(java.lang.String controlOID)
          checks if a control with the given OID is supported
 void LdapConnection.loadSchema()
          loads the default schema that is bundled in the shared-ldap-schema.jar
 SearchResponse LdapConnection.lookup(java.lang.String dn)
           
 SearchResponse LdapConnection.lookup(java.lang.String dn, java.lang.String... attributes)
          searches for an entry having the given DN
 ModifyResponse LdapConnection.modify(org.apache.directory.shared.ldap.entry.Entry entry, org.apache.directory.shared.ldap.entry.ModificationOperation modOp)
          modifies all the attributes present in the entry by applying the same operation.
 ModifyResponse LdapConnection.modify(ModifyRequest modRequest)
          Performs an modify operation based on the modifications present in the ModifyRequest.
 ModifyFuture LdapConnection.modifyAsync(ModifyRequest modRequest)
          Performs an asynchronous modify operation based on the modifications present in the ModifyRequest.
 ModifyDnResponse LdapConnection.modifyDn(ModifyDnRequest modDnRequest)
          performs the modifyDn operation based on the given ModifyDnRequest.
 ModifyDnFuture LdapConnection.modifyDnAsync(ModifyDnRequest modDnRequest)
          performs the modifyDn operation based on the given ModifyDnRequest.
 ModifyDnResponse LdapConnection.move(org.apache.directory.shared.ldap.name.DN entryDn, org.apache.directory.shared.ldap.name.DN newSuperiorDn)
          moves the given entry DN under the new superior DN
 ModifyDnResponse LdapConnection.move(java.lang.String entryDn, java.lang.String newSuperiorDn)
           
 ModifyDnResponse LdapConnection.rename(org.apache.directory.shared.ldap.name.DN entryDn, org.apache.directory.shared.ldap.name.RDN newRdn)
          renames the given entryDn with new RDN and deletes the old RDN.
 ModifyDnResponse LdapConnection.rename(org.apache.directory.shared.ldap.name.DN entryDn, org.apache.directory.shared.ldap.name.RDN newRdn, boolean deleteOldRdn)
          renames the given entryDn with new RDN and deletes the old Rdn if deleteOldRdn is set to true.
 ModifyDnResponse LdapConnection.rename(java.lang.String entryDn, java.lang.String newRdn)
          renames the given entryDn with new Rdn and deletes the old RDN.
 ModifyDnResponse LdapConnection.rename(java.lang.String entryDn, java.lang.String newRdn, boolean deleteOldRdn)
           
 org.apache.directory.shared.ldap.cursor.Cursor<SearchResponse> LdapConnection.search(SearchRequest searchRequest)
          Performs search in a synchronous mode.
 org.apache.directory.shared.ldap.cursor.Cursor<SearchResponse> LdapConnection.search(java.lang.String baseDn, java.lang.String filter, org.apache.directory.shared.ldap.filter.SearchScope scope, java.lang.String... attributes)
          Do a search, on the base object, using the given filter.
 SearchFuture LdapConnection.searchAsync(SearchRequest searchRequest)
          Do a search, on the base object, using the given filter.
 SearchFuture LdapConnection.searchAsync(java.lang.String baseDn, java.lang.String filter, org.apache.directory.shared.ldap.filter.SearchScope scope, java.lang.String... attributes)
          Do an asynchronous search, on the base object, using the given filter.
 

Uses of LdapException in org.apache.directory.ldap.client.api.exception
 

Subclasses of LdapException in org.apache.directory.ldap.client.api.exception
 class InvalidConnectionException
          A InvalidConnectionException is thrown if one tries to apply an operation on a closed connection
 

Uses of LdapException in org.apache.directory.ldap.client.api.listener
 

Methods in org.apache.directory.ldap.client.api.listener that throw LdapException
 void CompareListener.attributeCompared(LdapConnection connection, CompareResponse response)
          callback method called after completing the compare operation.
 void BindListener.bindCompleted(LdapConnection connection, BindResponse bindResponse)
          A callback method called when the bind operation completed.
 void AddListener.entryAdded(LdapConnection connection, AddResponse response)
          callback method called after completing the add operation.
 void DeleteListener.entryDeleted(LdapConnection connection, DeleteResponse response)
          callback method called after completing the delete operation.
 void SearchListener.entryFound(LdapConnection connection, SearchResultEntry searchResultEntry)
          A callback method for each entry returned by a search operation.
 void ExtendedListener.extendedOperationCompleted(LdapConnection connection, ExtendedResponse response)
          callback method called after completing the extended operation.
 void ModifyListener.modifyCompleted(LdapConnection connection, ModifyResponse response)
          callback method called after completing the modify operation.
 void ModifyDnListener.modifyDnCompleted(LdapConnection connection, ModifyDnResponse response)
          callback method called after completing the modifyDn operation.
 void SearchListener.referralFound(LdapConnection connection, SearchResultReference searchResultReference)
          A callback method for each referral returned by a search operation.
 void SearchListener.searchDone(LdapConnection connection, SearchResultDone searchResultDone)
          A callback method called when the search is done.
 

Uses of LdapException in org.apache.directory.ldap.client.api.message
 

Methods in org.apache.directory.ldap.client.api.message that throw LdapException
 Message AbstractMessage.remove(org.apache.directory.shared.ldap.message.control.Control... controls)
          Deletes controls, removing them from this Message.
 Message Message.remove(org.apache.directory.shared.ldap.message.control.Control... control)
          Deletes controls, removing them from this Message.
 



Copyright © 2009-2011 Apache Software Foundation. All Rights Reserved.