You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/10/28 11:08:00 UTC
[jira] [Issue Comment Deleted] (SLING-2723) Add
listChildren(Filter filter) to Resource
[ https://issues.apache.org/jira/browse/SLING-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-2723:
------------------------------------
Comment: was deleted
(was: [~fvisser] Another long open issue, should we do something here or can we just resolve as wont fix?)
> Add listChildren(Filter<Resource> filter) to Resource
> -----------------------------------------------------
>
> Key: SLING-2723
> URL: https://issues.apache.org/jira/browse/SLING-2723
> Project: Sling
> Issue Type: Improvement
> Components: API
> Affects Versions: API 2.3.0
> Reporter: Feike Visser
> Priority: Minor
>
> Currently there is Resource.listChildren(), this will return all the children of this resource.
> This improvement is to add a listChildren(Filter<Resource> filter) method where you can specify a specific filter to limit the result, so you don't have to code a loop yourself.
> An example can found in the Page-interface.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)