Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19262

Improved query API for directories

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Directory
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      New directory query APIs using a QueryBuilder:

      • Session.query(QueryBuilder, fetchReferences)
      • Session.queryIds(QueryBuilder)
      Show
      New directory query APIs using a QueryBuilder : Session.query(QueryBuilder, fetchReferences) Session.queryIds(QueryBuilder)
    • Sprint:
      nxFG 10.3.3, nxFG 10.3.4, nxFG 10.3.5, nxFG 10.3.6, nxFG 10.3.7, nxFG 10.3.8, nxFG 10.3.9
    • Story Points:
      8

      Description

      Currently directories can be queried through a map of key/values with the implicit semantics of filtering on key1 = value1 AND key2 = value2 AND ....

      However there is a need for more expressive filter clauses, the first being to do OR clauses, with or without the same keys. More generally, let's go to a fully general clause based on a org.nuxeo.ecm.core.query.sql.model.Predicate.

      The ordering features (ORDER BY) and paging features (LIMIT / OFFSET) must still be supported with this.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 3 days
                  1w 3d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.