Amit Gupta created SLING-2982:
---------------------------------

             Summary: add getMembers() api to ResourceCollection
                 Key: SLING-2982
                 URL: https://issues.apache.org/jira/browse/SLING-2982
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Resource Collections 1.0.0
            Reporter: Amit Gupta
            Priority: Minor
             Fix For: Resource Collections 1.0.0


Feedback on mailing list from [email protected]

I also have a requirement to iterate through the sling:members in the 
collection and pull the properties off the nodes to render UI, however this 
isn't simple enough to do with the current API.  The two apis we have to use 
are getResources(), and getProperties() are do not reference the same resources 
which muddies the water.  It would be nice to have a getMembers() API that 
would return you the sling:members which then you could iterate over.  

There is a public static ResourceCollectionConstants.MEMBERS_NODE_NAME which 
gave me the feeling that there should be an API that would return these values. 
 If this is not the case then I thought it would have been protected or private.


--
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

Reply via email to