DashboardHandler dashboardHandler = DashboardHandler.lookup();
List<Section> results = new ArrayList<Section>();
Iterator sectionIt = workspace.getSections().iterator();
while (sectionIt.hasNext()) {
Section section = (Section) sectionIt.next();
if (dashboardHandler.containsKPIs(section)) {
results.add(section);
}
}
return results;
}