directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Resolved] (DIRAPI-164) Add fluent entry builder to AddRequest
Date Wed, 16 Apr 2014 23:46:19 GMT


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:
>             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

View raw message