Class 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 Detail

      • KscDashlet

        public KscDashlet​(java.lang.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 dashlet
        dashletSpec - the DashletSpec to be used
    • Method Detail

      • getDataForResourceId

        public java.util.Map<java.lang.String,​java.lang.String> getDataForResourceId​(java.lang.String nodeId,
                                                                                           java.lang.String resourceIdString)
        Returns a map with graph metadata for a given nodeId.
        Returns:
        a map with meta data, like resourceLabel, resourceTypeLabel