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 |
---|---|
com.vaadin.ui.Component |
createAlarmComponent(OnmsAlarm onmsAlarm,
OnmsNode onmsNode)
Deprecated.
|
DashletComponent |
getDashboardComponent() |
DashletComponent |
getWallboardComponent()
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()
Dashlet
getWallboardComponent
in interface Dashlet
getWallboardComponent
in class AbstractDashlet
public DashletComponent getDashboardComponent()
getDashboardComponent
in interface Dashlet
getDashboardComponent
in class AbstractDashlet
@Deprecated public com.vaadin.ui.Component createAlarmComponent(OnmsAlarm onmsAlarm, OnmsNode onmsNode)
Copyright © 2019. All rights reserved.