public class Dashboard extends Object
Modifier and Type | Field and Description |
---|---|
protected DashboardFilter |
dashboardFilter
The dashboard filter.
|
protected Set<String> |
drillDownIds
For child dashboards, the set of property ids used in a parent's drill-down operation
|
protected Publisher |
listeners
Dashboard listeners
|
protected static org.slf4j.Logger |
log
Logger
|
protected Dashboard |
parent
Parent dashboard for Drill-down.
|
protected Long |
sectionDbid
Dashboard section.
|
Constructor and Description |
---|
Dashboard() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(DashboardListener listener) |
boolean |
belongsToDashboard(Panel panel)
Check if a given panel belongs to this dashboard.
|
protected boolean |
drillDown(Dashboard parent,
String parentPropertyId) |
protected Dashboard |
drillUp() |
boolean |
equals(Object obj) |
protected void |
filter() |
boolean |
filter(DashboardFilter filterRequest) |
boolean |
filter(String propertyId,
Interval interval,
int allowMode) |
DashboardFilter |
getDashboardFilter() |
DataProperty |
getDataPropertyById(String propertyId)
Search for a data property into the data providers.
|
Set<DataProvider> |
getDataProviders() |
Dashboard |
getParent() |
Section |
getSection() |
int |
hashCode() |
void |
init()
Init the dashboard with the KPIs in the section.
|
boolean |
isDrillDownAllowed(Dashboard fromParent)
Check if drill down from the specified page to this one is allowed.
|
void |
refresh()
Refresh all the KPI data sets for this dashboard.
|
protected void |
refreshPanels(String[] propertySet)
Refresh those dashboard panels that are related with any of the properties specified.
|
void |
setDashboardFilter(DashboardFilter dashboardFilter) |
void |
setSection(Section newSection) |
String |
toString() |
boolean |
unfilter() |
boolean |
unfilter(String propertyId) |
protected static transient org.slf4j.Logger log
protected Long sectionDbid
protected DashboardFilter dashboardFilter
protected Dashboard parent
protected Set<String> drillDownIds
protected transient Publisher listeners
public void addListener(DashboardListener listener)
public Dashboard getParent()
public DashboardFilter getDashboardFilter()
public void setDashboardFilter(DashboardFilter dashboardFilter)
public Section getSection()
public void setSection(Section newSection)
public boolean belongsToDashboard(Panel panel)
public Set<DataProvider> getDataProviders()
public DataProperty getDataPropertyById(String propertyId)
public void init()
All the KPIs and its related data sets are refreshed. The dashboard filter is cleared as well.
public void refresh()
public boolean filter(String propertyId, Interval interval, int allowMode) throws Exception
Exception
public boolean filter(DashboardFilter filterRequest) throws Exception
Exception
protected Dashboard drillUp()
public boolean isDrillDownAllowed(Dashboard fromParent)
fromParent
- The parent dasboard we are coming.Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.