public class DashboardHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected Dashboard |
currentDashboard
Currently accessed dashboard.
|
protected Map<Long,Dashboard> |
dashboards
Dashboards displayed by the user.
|
protected DashboardListener |
listener
The dashboard listener
|
Constructor and Description |
---|
DashboardHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKPIs(Section section)
Check if the specified section is a dashboard.
|
Dashboard |
getCurrentDashboard()
Get the dashboard for the current page.
|
Dashboard |
getDashboard(Section section)
Get the dashboard for the specified page.
|
static DashboardHandler |
lookup()
Get the instance for the current session.
|
protected Dashboard currentDashboard
protected DashboardListener listener
public static DashboardHandler lookup()
public boolean containsKPIs(Section section)
public Dashboard getDashboard(Section section)
public Dashboard getCurrentDashboard()
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.