public class AlarmDetailsDashlet extends AbstractDashlet
Constructor and Description |
---|
AlarmDetailsDashlet(String name,
DashletSpec dashletSpec,
AlarmDao alarmDao,
NodeDao nodeDao,
AlarmRepository alarmRepository,
org.springframework.transaction.support.TransactionOperations transactionTemplate,
TimeformatService timeformatService)
Constructor for instantiating new objects.
|
Modifier and Type | Method and Description |
---|---|
DashletComponent |
getDashboardComponent(com.vaadin.ui.UI ui) |
DashletComponent |
getWallboardComponent(com.vaadin.ui.UI ui)
Updates the dashlet contents and computes new boosted state
|
getDashletSpec, getName, isBoosted, setDashletSpec, setName
public AlarmDetailsDashlet(String name, DashletSpec dashletSpec, AlarmDao alarmDao, NodeDao nodeDao, AlarmRepository alarmRepository, org.springframework.transaction.support.TransactionOperations transactionTemplate, TimeformatService timeformatService)
dashletSpec
- the DashletSpec
to be usedalarmDao
- the AlarmDao
to be usednodeDao
- the NodeDao
to be usedpublic DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Dashlet
getWallboardComponent
in interface Dashlet
getWallboardComponent
in class AbstractDashlet
ui
- The UI
which holds the component.public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
getDashboardComponent
in interface Dashlet
getDashboardComponent
in class AbstractDashlet
Copyright © 2021. All rights reserved.