[ 
https://issues.apache.org/jira/browse/DIRAPI-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRAPI-164.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0-M22

The Entry API has been made fluent.

> Add fluent entry builder to AddRequest
> --------------------------------------
>
>                 Key: DIRAPI-164
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-164
>             Project: Directory Client API
>          Issue Type: New Feature
>            Reporter: lucas theisen
>             Fix For: 1.0.0-M22
>
>
> Other XxxRequest objects have convenient fluent interfaces to build them.  
> The only thing AddRequest has is setEntry().  So you have to build your entry 
> separately.  Instead, AddRequest could additionally have add( attribType, 
> value1, ...) which pass through to the contained entry (and create a new 
> DefaultEntry if entry was not set).  Conversely, DefaultEntry could be 
> modified to provide the Fluent interface, or a Builder...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to