psdi.webclient.controls

Class KPIListPortlet

  • All Implemented Interfaces:
    java.lang.Cloneable


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

      • KPIListPortlet

        public KPIListPortlet()
    • 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:
        String - latest date string
        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 Hashtable as KPI information included in this portlet
        Throws:
        MXException
        java.rmi.RemoteException
      • updatekpis

        public void updatekpis()
                        throws MXException,
                               java.rmi.RemoteException
        Calls method on the backend to update the list of KPIs configured in this portlet
        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:
        String array of 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