You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (JIRA)" <ji...@apache.org> on 2013/10/30 16:41:31 UTC

[jira] [Resolved] (SLING-3213) Resource hasChildren Convenience Method

     [ https://issues.apache.org/jira/browse/SLING-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Klco resolved SLING-3213.
-----------------------------

    Resolution: Fixed

Added in revision 1537134

> Resource hasChildren Convenience Method
> ---------------------------------------
>
>                 Key: SLING-3213
>                 URL: https://issues.apache.org/jira/browse/SLING-3213
>             Project: Sling
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: API 2.4.2
>            Reporter: Dan Klco
>            Assignee: Dan Klco
>            Priority: Minor
>              Labels: features, patch
>             Fix For: API 2.5.0
>
>         Attachments: has-children.diff
>
>
> Add a method to the Resource interface for checking if a resource has child resources.  This could either invoke an underlying implementation's equivalent method or simply invoke listResources().hasNext() if the underlying implementation does not have an appropriate method.
> I also added an EL function since the function naming isn't JavaBean compliant.



--
This message was sent by Atlassian JIRA
(v6.1#6144)