[ https://issues.apache.org/jira/browse/SLING-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-2982: ------------------------------------ Fix Version/s: (was: Resource Collections 1.0.0) > 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 > > Feedback on mailing list from bhell...@adobe.com > 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 was sent by Atlassian JIRA (v6.2#6252)