psdi.webclient.beans.sla

Class SLAAppBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class SLAAppBean
    extends AppBean
    This is the app bean that handles SLAs actions
    • Constructor Detail

      • SLAAppBean

        public SLAAppBean()
    • Method Detail

      • CONTRACTS

        public int CONTRACTS()
                      throws MXException,
                             java.rmi.RemoteException
        This function handles the "Associate Contracts" action. It opens the "Associate Contracts" dialog if it's OK to do so.
        Throws:
        MXException
        java.rmi.RemoteException
      • SHOWASSETLIST

        public int SHOWASSETLIST()
                          throws MXException,
                                 java.rmi.RemoteException
        This function handles the "Select Assets" button. It opens the "Select Assets" dialog if it's OK to do so.
        Throws:
        MXException
        java.rmi.RemoteException
      • SHOWLOCATIONLIST

        public int SHOWLOCATIONLIST()
                             throws MXException,
                                    java.rmi.RemoteException
        This function handles the "Select Locations" button. It opens the "Select Locations" dialog if it's OK to do so.
        Throws:
        MXException
        java.rmi.RemoteException
      • escalation

        public int escalation()
                       throws MXException,
                              java.rmi.RemoteException
        This function handles the "Define Escalation" button on the commitments table. It is the starting point of creating escalation and ref points from SLA.
        Throws:
        MXException
        java.rmi.RemoteException
      • VAL_SQL

        public int VAL_SQL()
                    throws MXException,
                           java.rmi.RemoteException
        This function handles the "Validate SLA criteria" action
        Throws:
        MXException
        java.rmi.RemoteException
      • ESC_VAL

        public int ESC_VAL()
                    throws MXException,
                           java.rmi.RemoteException
        This function handles the "Validate Escalation" action
        Throws:
        MXException
        java.rmi.RemoteException
      • ESC_DEL

        public int ESC_DEL()
                    throws MXException,
                           java.rmi.RemoteException
        This function handles the "Delete Escalation" action
        Throws:
        MXException
        java.rmi.RemoteException
      • ESC_ACT

        public int ESC_ACT()
                    throws MXException,
                           java.rmi.RemoteException
        This function handles the "Activate/Deactivate Escalation" action
        Throws:
        MXException
        java.rmi.RemoteException
      • getKPIWhere

        public java.lang.String getKPIWhere()
                                     throws MXException,
                                            java.rmi.RemoteException
        Return the default SLA KPI where clause
        Overrides:
        getKPIWhere in class AppBean
        Returns:
        complete where clause as a String
        Throws:
        MXException
        java.rmi.RemoteException
      • getKPISelect

        public java.lang.String getKPISelect()
                                      throws MXException,
                                             java.rmi.RemoteException
        Return the default SLA KPI select clause
        Overrides:
        getKPISelect in class AppBean
        Returns:
        default select clause as String
        Throws:
        MXException
        java.rmi.RemoteException
      • setKPIId

        public void setKPIId(long newId)
        Associate the newly created KPI to the current SLA
        Overrides:
        setKPIId in class AppBean
        Parameters:
        newId - new KPI Unique Id as long
      • expbuilder

        public int expbuilder()
                       throws java.rmi.RemoteException,
                              MXException
        Throws:
        java.rmi.RemoteException
        MXException