Class KscDashlet
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashlet
-
- org.opennms.features.vaadin.dashboard.dashlets.KscDashlet
-
- All Implemented Interfaces:
Dashlet
public class KscDashlet extends AbstractDashlet
This dashlet class is used to display the reports of a Ksc report.- Author:
- Christian Pape
-
-
Constructor Summary
Constructors Constructor Description KscDashlet(String name, DashletSpec dashletSpec, NodeDao nodeDao, ResourceDao resourceDao, org.springframework.transaction.support.TransactionOperations transactionOperations, TimeformatService timeformatService)
Constructor for instantiating new objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletComponent
getDashboardComponent(com.vaadin.ui.UI ui)
Map<String,String>
getDataForResourceId(String nodeId, String resourceIdString)
Returns a map with graph metadata for a given nodeId.DashletComponent
getWallboardComponent(com.vaadin.ui.UI ui)
Updates the dashlet contents and computes new boosted state-
Methods inherited from class org.opennms.features.vaadin.dashboard.model.AbstractDashlet
getDashletSpec, getName, isBoosted, setDashletSpec, setName
-
-
-
-
Constructor Detail
-
KscDashlet
public KscDashlet(String name, DashletSpec dashletSpec, NodeDao nodeDao, ResourceDao resourceDao, org.springframework.transaction.support.TransactionOperations transactionOperations, TimeformatService timeformatService)
Constructor for instantiating new objects.- Parameters:
name
- the name of the dashletdashletSpec
- theDashletSpec
to be used
-
-
Method Detail
-
getWallboardComponent
public DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Description copied from interface:Dashlet
Updates the dashlet contents and computes new boosted state- Specified by:
getWallboardComponent
in interfaceDashlet
- Overrides:
getWallboardComponent
in classAbstractDashlet
- Parameters:
ui
- TheUI
which holds the component.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponent
in interfaceDashlet
- Overrides:
getDashboardComponent
in classAbstractDashlet
-
-