|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProviderConnection
Interface for a provider specific implementation of ldap operations.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Response<Void> bind(BindRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
Response<Void> add(AddRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
Response<Boolean> compare(CompareRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
Response<Void> delete(DeleteRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
Response<Void> modify(ModifyRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
Response<Void> modifyDn(ModifyDnRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
SearchIterator search(SearchRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occurs
void searchAsync(SearchRequest request,
SearchListener listener)
throws LdapException
request - containing the data necessary to perform the operationlistener - to be notified as results arrive
LdapException - if an error occurs
void abandon(int messageId,
RequestControl[] controls)
throws LdapException
messageId - of the operation to abandoncontrols - request controls
LdapException - if an error occurs
Response<?> extendedOperation(ExtendedRequest request)
throws LdapException
request - containing the data necessary to perform the operation
LdapException - if an error occursvoid addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener - to receive unsolicited notificationsvoid removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener - that was registered to receive unsolicited notifications
void close(RequestControl[] controls)
throws LdapException
controls - request controls
LdapException - if an LDAP error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||