return results;
}
public List<KPI> getSelectedKPIs() throws Exception {
List<KPI> results = new ArrayList<KPI>();
DashboardHandler dashboardHandler = DashboardHandler.lookup();
for (String workspaceId : selectedSectionIds.keySet()) {
WorkspaceImpl workspace = (WorkspaceImpl) UIServices.lookup().getWorkspacesManager().getWorkspace(workspaceId);
Set<Section> sections = getSelectedSections(workspace);
for (Section section : sections) {
Dashboard dash = dashboardHandler.getDashboard(section);
Iterator it = section.getPanels().iterator();
while (it.hasNext()) {
KPI kpi = dash.getKPI((Panel) it.next());
if (kpi != null && !results.contains(kpi)) results.add(kpi);
}