public class KscDashlet extends AbstractDashlet
Constructor and Description |
---|
KscDashlet(String name,
DashletSpec dashletSpec,
NodeDao nodeDao,
ResourceDao resourceDao,
org.springframework.transaction.support.TransactionOperations transactionOperations,
TimeformatService timeformatService)
Constructor for instantiating new objects.
|
Modifier and Type | Method and Description |
---|---|
DashletComponent |
getDashboardComponent() |
Map<String,String> |
getDataForResourceId(String nodeId,
String resourceIdString)
Returns a map with graph metadata for a given nodeId.
|
DashletComponent |
getWallboardComponent()
Updates the dashlet contents and computes new boosted state
|
getDashletSpec, getName, isBoosted, setDashletSpec, setName
public KscDashlet(String name, DashletSpec dashletSpec, NodeDao nodeDao, ResourceDao resourceDao, org.springframework.transaction.support.TransactionOperations transactionOperations, TimeformatService timeformatService)
name
- the name of the dashletdashletSpec
- the DashletSpec
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
Copyright © 2019. All rights reserved.