[ https://issues.apache.org/jira/browse/SLING-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-3413: -------------------------------- Description: The JS API used to wrap Resources doesn't support getting a list of children or the resource's name as these methods on the Resource interface post-date the last update to the JS API. The JS API should be brought up to date and provide support for the following: * getChild(String) * getChildren() * getName() * getParent() * getResourceSuperType() * isResourceType(String) * listChildren() was:The JS API used to wrap Resources doesn't support getting a list of children or the resource's name as these methods on the Resource interface post-date the last update to the JS API. The JS API should be brought up to date. > add support for getName() and listChildren() to JS Resource API > --------------------------------------------------------------- > > Key: SLING-3413 > URL: https://issues.apache.org/jira/browse/SLING-3413 > Project: Sling > Issue Type: Improvement > Components: Scripting > Affects Versions: Scripting JavaScript 2.0.12 > Reporter: Justin Edelson > Assignee: Radu Cotescu > Fix For: Scripting JavaScript 2.0.16 > > > The JS API used to wrap Resources doesn't support getting a list of children > or the resource's name as these methods on the Resource interface post-date > the last update to the JS API. The JS API should be brought up to date and > provide support for the following: > * getChild(String) > * getChildren() > * getName() > * getParent() > * getResourceSuperType() > * isResourceType(String) > * listChildren() -- This message was sent by Atlassian JIRA (v6.3.4#6332)