You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/05/10 21:50:50 UTC

[jira] [Created] (SLING-2469) Add query support for ResourceProvider

Felix Meschberger created SLING-2469:
----------------------------------------

             Summary: Add query support for ResourceProvider
                 Key: SLING-2469
                 URL: https://issues.apache.org/jira/browse/SLING-2469
             Project: Sling
          Issue Type: New Feature
          Components: JCR
    Affects Versions: API 2.2.4, JCR Resource 2.0.10
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: API 2.2.6


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (SLING-2469) Add query support for ResourceProvider

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-2469:
---------------------------------------

    Assignee: Carsten Ziegeler  (was: Felix Meschberger)
    
> Add query support for ResourceProvider
> --------------------------------------
>
>                 Key: SLING-2469
>                 URL: https://issues.apache.org/jira/browse/SLING-2469
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.10, API 2.2.4
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: API 2.2.6
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SLING-2469) Add query support for ResourceProvider

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2469.
-------------------------------------

    Resolution: Fixed
    
> Add query support for ResourceProvider
> --------------------------------------
>
>                 Key: SLING-2469
>                 URL: https://issues.apache.org/jira/browse/SLING-2469
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.10, API 2.2.4
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: API 2.2.6
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2469) Add query support for ResourceProvider

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483044#comment-13483044 ] 

Carsten Ziegeler commented on SLING-2469:
-----------------------------------------

SLING-2530 adds a new extension interface with exactly these methods.
                
> Add query support for ResourceProvider
> --------------------------------------
>
>                 Key: SLING-2469
>                 URL: https://issues.apache.org/jira/browse/SLING-2469
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.10, API 2.2.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: API 2.2.6
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira