|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapAsyncConnection
Root interface for all asynchronous LDAP connections.
| Method Summary | |
|---|---|
AddFuture |
addAsync(org.apache.directory.api.ldap.model.message.AddRequest addRequest)
Add an entry present in the AddRequest to the server. |
AddFuture |
addAsync(org.apache.directory.api.ldap.model.entry.Entry entry)
Add an entry to the server asynchronously. |
BindFuture |
anonymousBindAsync()
Anonymous asynchronous Bind on a server. |
BindFuture |
bindAsync()
Asynchronous Bind on a server, using the LdapConnectionConfig informations. |
BindFuture |
bindAsync(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Do an asynchronous bind, based on a BindRequest. |
BindFuture |
bindAsync(org.apache.directory.api.ldap.model.name.Dn name,
String credentials)
Simple asynchronous Bind on a server. |
BindFuture |
bindAsync(String name,
String credentials)
Simple asynchronous Bind on a server. |
CompareFuture |
compareAsync(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
Asynchronously compares an entry's attribute's value with that of the given value |
DeleteFuture |
deleteAsync(org.apache.directory.api.ldap.model.message.DeleteRequest delRequest)
Performs an asynchronous delete operation based on the delete request object. |
ExtendedFuture |
extendedAsync(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
Asynchronously requests the server to perform an extended operation based on the given request. |
LdapConnectionConfig |
getConfig()
Configuration of LdapNetworkConnection |
ModifyFuture |
modifyAsync(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest)
Performs an asynchronous modify operation based on the modifications present in the ModifyRequest. |
ModifyDnFuture |
modifyDnAsync(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given ModifyDnRequest. |
SearchFuture |
searchAsync(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Do an asynchronous search, on the base object, using the given filter. |
SearchFuture |
searchAsync(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
Do a search, on the base object, using the given filter. |
SearchFuture |
searchAsync(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Do an asynchronous search, on the base object, using the given filter. |
| Methods inherited from interface org.apache.directory.ldap.client.api.LdapConnection |
|---|
abandon, abandon, add, add, anonymousBind, bind, bind, bind, bind, bind, bind, close, compare, compare, compare, compare, compare, compare, compare, connect, delete, delete, delete, doesFutureExistFor, exists, exists, extended, extended, extended, extended, extended, getBinaryAttributeDetector, getCodecService, getRootDse, getRootDse, getSchemaManager, getSupportedControls, isAuthenticated, isConnected, isControlSupported, loadSchema, lookup, lookup, lookup, lookup, lookup, lookup, modify, modify, modify, modify, modifyDn, move, move, moveAndRename, moveAndRename, moveAndRename, moveAndRename, rename, rename, rename, rename, search, search, search, setBinaryAttributeDetector, setTimeOut, unBind |
| Method Detail |
|---|
AddFuture addAsync(org.apache.directory.api.ldap.model.entry.Entry entry)
throws org.apache.directory.api.ldap.model.exception.LdapException
entry - The entry to add
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
AddFuture addAsync(org.apache.directory.api.ldap.model.message.AddRequest addRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
addRequest - the request object containing an entry and controls(if any)
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
BindFuture bindAsync()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
BindFuture anonymousBindAsync()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
BindFuture bindAsync(String name,
String credentials)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
name - The name we use to authenticate the user, it must be a valid Dncredentials - The password, it can't be null
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
BindFuture bindAsync(org.apache.directory.api.ldap.model.name.Dn name,
String credentials)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
name - The name we use to authenticate the user, it must be a valid Dncredentials - The password, it can't be null
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
BindFuture bindAsync(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
bindRequest - The BindRequest to send
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
SearchFuture searchAsync(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
baseDn - The base for the search, it must be a valid Dn, and can't be emtpyfilter - The filter to use for this search, it can't be emptyscope - The search scope : OBJECT, ONELEVEL or SUBTREEattributes - The attributes for this search
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
SearchFuture searchAsync(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
baseDn - The base for the search, it must be a valid Dn, and can't be emptyfilter - The filter to use for this search, it can't be emptyscope - The search scope : OBJECT, ONELEVEL or SUBTREEattributes - The attributes for this search
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
SearchFuture searchAsync(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
searchRequest - The search request to send to the server
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
ModifyFuture modifyAsync(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
modRequest - the request for modify operation
org.apache.directory.api.ldap.model.exception.LdapException - in case of modify operation failure or timeout happens
ModifyDnFuture modifyDnAsync(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
modDnRequest - the request
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
DeleteFuture deleteAsync(org.apache.directory.api.ldap.model.message.DeleteRequest delRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
delRequest - the delete operation's request
org.apache.directory.api.ldap.model.exception.LdapException - If the Dn is not valid or if the deletion failed
CompareFuture compareAsync(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
compareRequest - the CompareRequest which contains the target Dn, attribute name and value
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
ExtendedFuture extendedAsync(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
extendedRequest - the object containing the details of the extended operation to be performed
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurredLdapConnectionConfig getConfig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||