/** * Returns all the paths that are located directly underneath a given path. From Globals * * @param w Wrapper class. * @param start The path to start the search underneath * @return * @throws PipelineException */ public ArrayList<String> getChildrenNodes(MasterMgrClient mclient, String start) throws PipelineException { ArrayList<String> toReturn = new ArrayList<String>(); TreeMap<String, Boolean> comps = new TreeMap<String, Boolean>(); comps.put(start, false); NodeTreeComp treeComps = mclient.updatePaths(pUser, pView, comps); Path p = new Path(start); ArrayList<String> parts = p.getComponents(); for (String comp : parts) { if (treeComps != null) treeComps = treeComps.get(comp); } for (String s : treeComps.keySet()) { toReturn.add(s); } return toReturn; }