Hi Devs, Please vote for [0]. This is a proposal for Adding ResourceCollection to Sling. There is a patch [1] attached as well, as a first cut implementation.
Summary: This proposal is to add a ResourceCollection interface and implementation that allows creation of collection of resources. Collection is a simple list of members, where each member contains path of resource it refers to. In future, we might need to store additional information with the member, hence following structure is proposed N: resourceCollection (nt:unstructured) + P: sling:resourceType + N : members (nt:unstructured) + N: member_res1 > nt:unstructured + P: path > string, reference to actual resource + N: member_res2 > nt:unstructured + P: path > string, reference to actual resource Your views on the same are requested. Thanks, Amit [0] https://issues.apache.org/jira/browse/SLING-2853 [1] https://issues.apache.org/jira/secure/attachment/12581670/resourcecollection.zip