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

Support contains queries in SimpleEventQuery

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 14.4-rc-1
    • 14.3
    • Event Stream
    • None
    • Unit, Integration
    • Unknown
    • Pull Request accepted

    Description

      The SimpleEventQuery class currently allows searching for events that have a property that starts or ends with a certain string, but it doesn’t allow searching for events that have a property that contains a certain string. A method contains(String) should be added to SimpleEventQuery with a corresponding CONTAINS CompareType in CompareQueryCondition to support this. The implementation would be very similar to commit 19a49eda that added the startsWith/endsWith methods. See also the corresponding proposal in the forum.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: