psdi.webclient.beans.pm

Class PMChangeStatusBean

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


    public class PMChangeStatusBean
    extends ChangeStatusBean
    DataBean used to change the status on a selected list of work orders or a single work order.
    • Constructor Detail

      • PMChangeStatusBean

        public PMChangeStatusBean()
    • Method Detail

      • beforedolongop

        public int beforedolongop()
                           throws MXException,
                                  java.rmi.RemoteException
        This method gets called when the OK button is clicked on the Work Order Change Status Dialog. The processing in this method executes before the longOp Operation begins. This is needed since LONGOP interferes with YES/NO dialogs.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException
      • cancelYesNOMessage

        public boolean cancelYesNOMessage(java.util.Enumeration enumit)
                                   throws MXException,
                                          java.rmi.RemoteException
        This method checks to see if the list of work orders contain any PM work orders. If PM work orders exist a yes/no dialog is displayed to the user requesting a response, regarding how to handle the PM.
        Parameters:
        enumit - The selected list of work orders.
        Returns:
        true - Cancels and Close the Dialog
        Throws:
        MXException
        java.rmi.RemoteException
      • checkESigAuthenticated

        public void checkESigAuthenticated(java.lang.String option)
                                    throws MXException,
                                           java.rmi.RemoteException
        IV73112: overrides checkEsigAuthentcated to get the number of time esig dialog popped.
        Overrides:
        checkESigAuthenticated in class ChangeStatusBean
        Parameters:
        option - Option to check
        Throws:
        MXException - EsigLoginException if authentication is required
        java.rmi.RemoteException