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

Add fluent entry builder to AddRequest

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-M22
    • 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

            elecharny Emmanuel Lécharny
            ltheisen@mitre.org lucas theisen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: