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 DashletComponentgetDashboardComponent(com.vaadin.ui.UI ui)Map<String,String>getDataForResourceId(String nodeId, String resourceIdString)Returns a map with graph metadata for a given nodeId.DashletComponentgetWallboardComponent(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- theDashletSpecto be used
-
-
Method Detail
-
getWallboardComponent
public DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Description copied from interface:DashletUpdates the dashlet contents and computes new boosted state- Specified by:
getWallboardComponentin interfaceDashlet- Overrides:
getWallboardComponentin classAbstractDashlet- Parameters:
ui- TheUIwhich holds the component.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponentin interfaceDashlet- Overrides:
getDashboardComponentin classAbstractDashlet
-
-