psdi.app.kpi

Class KPIHistorySet

    • Constructor Detail

      • KPIHistorySet

        public KPIHistorySet(MboServerInterface ms)
                      throws MXException,
                             java.rmi.RemoteException
        Initialiizes the new KPIHistorySet
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new KPIHistory object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - MboSet.
        Returns:
        Mbo - the new KPIHistory.
        Throws:
        MXException
        java.rmi.RemoteException
      • refreshData

        public void refreshData()
                         throws java.rmi.RemoteException,
                                MXException
        Filters KPI History data for a specific history range of the KPI.
        Information is fetched for given range od time, based on custom dates entered or predefined date range selected
        Specified by:
        refreshData in interface KPIHistorySetRemote
        Throws:
        java.rmi.RemoteException
        MXException
      • getKPIHistory

        public MboSetData getKPIHistory(long kpiId,
                                        java.lang.String range,
                                        java.util.Date from,
                                        java.util.Date to)
                                 throws java.rmi.RemoteException,
                                        MXException
        Resets Historical Data for a specific KPI.
        Specified by:
        getKPIHistory in interface KPIHistorySetRemote
        Throws:
        java.rmi.RemoteException
        MXException
      • highestKPIValue

        public double highestKPIValue()
                               throws java.rmi.RemoteException,
                                      MXException
        Returns highest value of all the recorded history points
        Specified by:
        highestKPIValue in interface KPIHistorySetRemote
        Returns:
        maximum value records as a double
        Throws:
        java.rmi.RemoteException
        MXException
      • lowestKPIValue

        public double lowestKPIValue()
                              throws java.rmi.RemoteException,
                                     MXException
        Returns lowest value of all the recorded history points
        Specified by:
        lowestKPIValue in interface KPIHistorySetRemote
        Returns:
        maximum value records as a double
        Throws:
        java.rmi.RemoteException
        MXException