public interface ProviderConnection
| Modifier and Type | Method and Description |
|---|---|
void |
abandon(int messageId,
RequestControl[] controls)
Abandon an operation.
|
Response<Void> |
add(AddRequest request)
Add an entry to an ldap.
|
void |
addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
Adds a listener to receive unsolicited notifications.
|
Response<Void> |
bind(BindRequest request)
Bind to the ldap.
|
void |
close(RequestControl[] controls)
Tear down this connection to an LDAP.
|
Response<Boolean> |
compare(CompareRequest request)
Compare an entry in the ldap.
|
Response<Void> |
delete(DeleteRequest request)
Delete an entry in the ldap.
|
Response<?> |
extendedOperation(ExtendedRequest request)
Perform an extended operation in the ldap.
|
Response<Void> |
modify(ModifyRequest request)
Modify an entry in the ldap.
|
Response<Void> |
modifyDn(ModifyDnRequest request)
Modify the DN of an entry in the ldap.
|
void |
removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
Removes a listener from receiving unsolicited notifications.
|
SearchIterator |
search(SearchRequest request)
Search the ldap.
|
void |
searchAsync(SearchRequest request,
SearchListener listener)
Search the ldap asynchronously.
|
Response<Void> bind(BindRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursResponse<Void> add(AddRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursResponse<Boolean> compare(CompareRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursResponse<Void> delete(DeleteRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursResponse<Void> modify(ModifyRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursResponse<Void> modifyDn(ModifyDnRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursSearchIterator search(SearchRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursvoid searchAsync(SearchRequest request, SearchListener listener) throws LdapException
request - containing the data necessary to perform the operationlistener - to be notified as results arriveLdapException - if an error occursvoid abandon(int messageId,
RequestControl[] controls)
throws LdapException
messageId - of the operation to abandoncontrols - request controlsLdapException - if an error occursResponse<?> extendedOperation(ExtendedRequest request) throws LdapException
request - containing the data necessary to perform the operationLdapException - if an error occursvoid addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener - to receive unsolicited notificationsvoid removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener - that was registered to receive unsolicited notificationsvoid close(RequestControl[] controls) throws LdapException
controls - request controlsLdapException - if an LDAP error occursCopyright © 2003-2019 Virginia Tech. All Rights Reserved.