You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/11/12 11:04:00 UTC

[jira] [Closed] (SLING-7975) Add a Java API for ordering resources

     [ https://issues.apache.org/jira/browse/SLING-7975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-7975.
-----------------------------------

> Add a Java API for ordering resources
> -------------------------------------
>
>                 Key: SLING-7975
>                 URL: https://issues.apache.org/jira/browse/SLING-7975
>             Project: Sling
>          Issue Type: New Feature
>          Components: API, JCR, Resource Access Security, ResourceResolver
>            Reporter: Jean-Christophe Kautzmann
>            Assignee: Konrad Windszus
>            Priority: Major
>              Labels: Sling-12-ReleaseNotes
>             Fix For: Servlets POST 2.5.0, JCR Resource Security 1.1.0, Resource Access Security 1.1.0, JCR Resource 3.1.0, API 2.24.0, Resource Resolver 1.8.0
>
>          Time Spent: 15.5h
>  Remaining Estimate: 0h
>
> Sling should provide an API (e.g. in Resource, ResourceResolver or ResourceUtil) to order resources, similar to what the JCR API provides:
> [https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/javax/jcr/Node.html#orderBefore(java.lang.String,%20java.lang.String])
>  
> This would help avoid having to use the JCR API.
>  
> The implementation is already available at:
> [https://github.com/apache/sling-old-svn-mirror/blob/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java#L411]
>  
> It is only a matter of exposing it as part of the Sling API.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)