psdi.webclient.controls

Class KPIPortlet

    • Constructor Detail

      • KPIPortlet

        public KPIPortlet()
    • Method Detail

      • getKPIStatusColor

        public static java.lang.String getKPIStatusColor(KPIUtil.Status status,
                                                         WebClientSession sessionContext)
        Utility method that returns image url for the trend of the KPI These are common to the KPI Portlets
        Parameters:
        String - - trend of the KPI
        WebClientSession - - trend of the KPI
        Returns:
        TrendImage
      • getKPIClass

        public static java.lang.String getKPIClass(KPIUtil.Status status)
        Utility method that returns Css class or Image for KPI status. These are common to the KPI Portlets
        Parameters:
        String - - status of KPI
        Returns:
        String - cssclassname
      • openrecord

        public void openrecord()
        Call through the method in superclass to open an app with unqiueid
      • getKPIApptoLink

        public java.lang.String getKPIApptoLink()
        returns the proper kpi app to link to depending on security settings. If there is no access to the kpi app, return the kpi viewer app if they have access to that.
        Returns: