Set children = stem.getChildStems(); Iterator it = children.iterator(); Stem childStem = null;
/** {@inheritDoc} */ public Set<String> getResults(GrouperSession s) throws QueryException { Stem stem = StemFinder.findByName(getGrouperSession(), name, false); if (stem == null) { return Collections.EMPTY_SET; } Set<String> set = new LinkedHashSet<String>(); for (Stem child : stem.getChildStems(scope)) { set.add(child.getName()); } for (Group group : stem.getChildGroups(scope)) { set.add(group.getName()); } return set; }
stems.addAll(getRootStem().getChildStems(Scope.SUB)); } else { stems.addAll(filter.getResults(grouperSession));
Set<Stem> childrenStems = stem.getChildStems(Scope.ONE, QueryOptions.create("displayExtension", true, 1, numberOfStemsInTree)); Set<Group> childrenGroups = stem.getChildGroups(Scope.ONE, AccessPrivilege.VIEW_PRIVILEGES, QueryOptions.create("displayExtension", true, 1, numberOfGroupsInTree));