psdi.webclient.beans.workorder

Class WOChangeStatusBean

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


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

      • WOChangeStatusBean

        public WOChangeStatusBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Description copied from class: DataBean
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults If the remote is an instanceof NonPersistentMboSetRemote then setup is called on it and sets the current row to 0. If the DataBean isn't bound to a table then initialize fetches the first mbo (sets the current row to 0). If this method is overridden under most case you will want to call super.initalize at the end of the the new initialize method.
        Overrides:
        initialize in class ChangeStatusBean
        Throws:
        MXException
        java.rmi.RemoteException
      • 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
        IJ40566: Override the checkESigAuthenticated() method to get the number of times the esig dialog has popped
        Overrides:
        checkESigAuthenticated in class ChangeStatusBean
        Parameters:
        option - Option to check
        Throws:
        MXException - EsigLoginException if authentication is required
        java.rmi.RemoteException