Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2469

Add query support for ResourceProvider

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.10, API 2.2.4
    • API 2.3.0
    • JCR
    • None

    Description

      The ResourceResolver provides two methods for query:

      Iterator<Resource> findResources(String query, String language);
      Iterator<Map<String, Object>> queryResources(String query, String language);

      This is implemented by directly calling into the repository and is not exposed as part of the ResourceProvider API.

      To also allow ResourceProvider services to provide query support, these methods should be added to the ResourceProvider interface.

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              fmeschbe Felix Meschberger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: