psdi.app.kpi

Interface KPIRemote

  • All Superinterfaces:
    MboRemote, java.rmi.Remote
    All Known Implementing Classes:
    KPI


    public interface KPIRemote
    extends MboRemote
    Created On 1/12/2004
    • Method Detail

      • run

        void run()
          throws MXException,
                 java.rmi.RemoteException
        Runs the current KPI. Makes a complete SQL from Select and Clause and runs it as a direct query. Direct JDBC call is made using DBManager
        Throws:
        MXException
        java.rmi.RemoteException
      • validateSQL

        void validateSQL()
                  throws MXException,
                         java.rmi.RemoteException
        Validates the current current KPI
        Checks if query is other than Select
        Throws:
        MXException
        java.rmi.RemoteException
      • kpiInfo

        java.util.Vector kpiInfo()
                          throws MXException,
                                 java.rmi.RemoteException
        Returns all details about the current KPI as a Vector This method is called by UI layer basically for display/
        Returns:
        Vector containing all information about this KPI
        Throws:
        MXException
        java.rmi.RemoteException
      • getComparisionKPIs

        java.util.ArrayList getComparisionKPIs()
                                        throws MXException,
                                               java.rmi.RemoteException
        Returns collection of KPI remotes that have to be compared with this KPI.
        KPITRENDCFG.COMPAREWITH is queried for this KPI
        Returns:
        ArrayList of all kpis that are in trend analysis
        Throws:
        MXException
        java.rmi.RemoteException
      • getCustomDates

        java.util.Date getCustomDates(boolean from)
                               throws MXException,
                                      java.rmi.RemoteException
        This method returns the custom trend dates related to this KPI from KPIGTRENDCFG, its configuration table
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.kpi.KPIRemote#getCustomDates()
      • getTrendRange

        java.lang.String getTrendRange()
                                throws MXException,
                                       java.rmi.RemoteException
        Returns trend range based on what was selected by the user The values could be

        • 2WEEKS
        • 2YEARS
        • 3MONTHS
        • 5YEARS
        • 6MONTHS
        • MONTH
        • WEEK
        • YEAR
          Returns:
          range related to trend analysis of this KPI
          Throws:
          MXException
          java.rmi.RemoteException
        • validateTrendInfo

          void validateTrendInfo()
                          throws MXException,
                                 java.rmi.RemoteException
          Validate whether trend information is correct for drawing chart and saving KPI.
          Range of start and end dates are validated for time range logic
          Throws:
          MXException
          java.rmi.RemoteException
        • updateTrend

          void updateTrend()
                    throws MXException,
                           java.rmi.RemoteException
          Throws:
          MXException
          java.rmi.RemoteException