directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: [Client API] Modify operation
Date Tue, 02 Jun 2009 06:44:10 GMT
On Tue, Jun 2, 2009 at 6:33 AM, Alex Karasulu <akarasulu@gmail.com> wrote:
>
>
> On Mon, Jun 1, 2009 at 4:51 PM, Emmanuel Lecharny <elecharny@apache.org>
> 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

Mime
View raw message