psdi.webclient.controls

Class KPIGraphPortlet

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class KPIGraphPortlet
    extends KPIPortlet
    Represents the control instance for KPI Graph Portlet in the Start Center application. It contains methods to get data needed for rendering the portlet.
    • Constructor Detail

      • KPIGraphPortlet

        public KPIGraphPortlet()
    • Method Detail

      • getLastDate

        public java.lang.String getLastDate()
                                     throws MXException,
                                            java.rmi.RemoteException
        Returns the String of the latest date among the KPIs in the set This would be date when the one of the inlcuded KPIs were last updated
        Returns:
        latest date
        Throws:
        MXException
        java.rmi.RemoteException
      • getKPIs

        public java.util.Vector getKPIs()
                                 throws MXException,
                                        java.rmi.RemoteException
        Returns a collection of KPIs and related information included in this portlet
        Returns:
        Vector of hashtables as KPI information included in this portlet
        Throws:
        MXException
        java.rmi.RemoteException
      • displayList

        public boolean displayList()
        Returns if list can be displayed
        Returns:
        true oid list can be displayed
      • updatekpis

        public void updatekpis()
                        throws MXException,
                               java.rmi.RemoteException
        Calls methods on the remote to update the list of KPIs configured
        Throws:
        MXException
        java.rmi.RemoteException
      • getLabels

        public java.lang.String[] getLabels()
        Returns labels for this portlet. Following list shows list of keys to be used and the labels they stand for
        Returns:
        locale specific labels
      • render

        public int render()
                   throws java.lang.NoSuchMethodException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
        Flags the portlet as changed if needsRender, i.e. the first time it is rendered
        Overrides:
        render in class DatasrcInstance
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • getDialChartValues

        public java.lang.String[] getDialChartValues()
        Get values defined for Dial chart from control registry