Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- is related to
-
SLING-10888 Add CRUD operation capability API
- Open