Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14148

Add ability to also filter parameters from a Query

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4.4
    • Fix Version/s: 9.3-rc-1, 8.4.5
    • Component/s: Query
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

          /**
           * Transforms a query. The query can be returned without modification. This allows for example to also transform
           * parameters.
           * <p>
           * Note: executes before {@link #filterStatement(String, String)}.
           *
           * @param query the query to transform
           * @return the transformed query
           *
           * @since 8.4.5
           * @since 9.3RC1
           */
          default Query filterQuery(Query query) {
              return query;
          }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: