On Tue, Jun 2, 2009 at 6:33 AM, Alex Karasulu <[email protected]> wrote: > > > On Mon, Jun 1, 2009 at 4:51 PM, Emmanuel Lecharny <[email protected]> > wrote: >> >> > hello guys, >> >> Hi Kiran, >> >> > >> > Here is my take on client-api starting with modify operation >> > >> > The proposed methods are >> > >> > blocking operations :- >> > >> > * ModifyResponse modify( Entry entry, ModificationOperation modOp ) >> > * ModifyResponse modify( ModifyRequest modRequest ) >> >> The modify() operation acts on a DN, and takes a list of modification, >> each one of them being applied on an AttributeType. >> >> The API should looks like : >> ModifyResponse modify( LdapDN dn, Modification[] modifications ); > > Any way we can make a simple shorthand here with varargs in modifications?
well, ModifyResponse modify( LdapDN dn, Modification... modifications ); (internally it's translated to a Modification[]) -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
