directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <ayyagariki...@gmail.com>
Subject Connection : Delete operation
Date Thu, 11 Feb 2010 17:03:00 GMT

hi guys,

    Here is a summary about the delete operation handled by various client SDKs

jLdap :
-------
synchronous :
* delete(String dn)
* delete(String dn, LDAPConstraints cons)

asynchronous :
* delete(String dn, LDAPResponseQueue queue)
* delete(String dn, LDAPResponseQueue queue, LDAPConstraints cons)


UID :
-----
synchronous :
* delete(String dn)
* delete(DeleteRequest deleteRequest)
* delete(ReadOnlyDeleteRequest deleteRequest)

asynchronous :
* asyncDelete(DeleteRequest deleteRequest, AsyncResultListener resultListener)
* asyncDelete(ReadOnlyDeleteRequest deleteRequest, AsyncResultListener resultListener)


ODS :
-----
synchronous :
* delete(DeleteRequest request)
* delete(String name)

asynchronous :
* delete(DeleteRequest request, ResultHandler<Result> handler)

JNDI :
------
this is completely a different beast to tame ;)
* Context.unbind()
* Context.destroySubcontext()


The proposed API for delete operation in ADS is

ADS :
-----
synchronous :
* delete( String dn )
* delete( LdapDN dn )
* delete( DeleteRequest delRequest )

asynchronous
* deleteAsync( String dn )
* deleteAsync( LdapDN dn )
* deleteAsync( DeleteRequest delRequest )

thoughts?

Kiran Ayyagari

Mime
View raw message