[
https://issues.apache.org/jira/browse/SLING-7975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435285#comment-17435285
] Konrad Windszus edited comment on SLING-7975 at 11/4/21, 1:28 PM: ------------------------------------------------------------------ API changes committed in https://github.com/apache/sling-org-apache-sling-api/commit/4fdc49c61bd686c11877927810a68c8c7faa55c3. ResourceResolver changes committed in https://github.com/apache/sling-org-apache-sling-resourceresolver/commit/e278f15a0bd7e501afe5358728de78a2cb5a9214. Resource Access Security changes committed in https://github.com/apache/sling-org-apache-sling-resourceaccesssecurity/commit/27c5c28d062161b36f862efce7fa410bcc7a6805. JCR Resource Security changes committed in https://github.com/apache/sling-org-apache-sling-jcr-resourcesecurity/commit/c7ebd7e73345fadc92c5ee53731bdb89a909d2bc. JCR Resource changes committed in https://github.com/apache/sling-org-apache-sling-jcr-resource/commit/3b8f01d226124417bdfdba4ca2086114a73a7c5d. was (Author: kwin): API changes committed in https://github.com/apache/sling-org-apache-sling-api/commit/4fdc49c61bd686c11877927810a68c8c7faa55c3. ResourceResolver changes committed in https://github.com/apache/sling-org-apache-sling-resourceresolver/commit/e278f15a0bd7e501afe5358728de78a2cb5a9214. Resource Access Security changes committed in https://github.com/apache/sling-org-apache-sling-resourceaccesssecurity/commit/27c5c28d062161b36f862efce7fa410bcc7a6805. JCR Resource Security changes committed in https://github.com/apache/sling-org-apache-sling-jcr-resourcesecurity/commit/c7ebd7e73345fadc92c5ee53731bdb89a909d2bc. JCR Resource Resolver changes committed in https://github.com/apache/sling-org-apache-sling-jcr-resource/commit/3b8f01d226124417bdfdba4ca2086114a73a7c5d. > 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, Resource Access Security, ResourceResolver > Reporter: Jean-Christophe Kautzmann > Assignee: Konrad Windszus > Priority: Major > Labels: Sling-12-ReleaseNotes > Fix For: JCR Resource Security 1.1.0, Resource Access Security > 1.1.0, API 2.24.0, Resource Resolver 1.8.0 > > Time Spent: 12h > 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.3.4#803005)
