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

Add a FilterBuillder

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      Looking for something Fluent, in the spirit of Hibernate Criteria. My own version looks something like this:

      FilterBuilder.and( FilterBuilder.equals( MAIL_AT, "*@example.com" ), FilterBuilder.notEqualTo( CN_AT, "test" ) ).build();

      May not seem like much, but can drastically reduce query syntax issues. Also, you would likely be using a StringBuilder anyway, so its not much different.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ltheisen@mitre.org lucas theisen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: