Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-164

Add fluent entry builder to AddRequest

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-M22
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              elecharny Emmanuel L├ęcharny
              Reporter:
              ltheisen@mitre.org lucas theisen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: