psdi.webclient.beans.workorder

Class SelectWORecordsBean

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


    public class SelectWORecordsBean
    extends DataBean
    Provides the functionality for the 'Select Records' button
    • Constructor Detail

      • SelectWORecordsBean

        public SelectWORecordsBean()
    • Method Detail

      • needssave

        public int needssave()
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • selectallworkorders

        public int selectallworkorders()
                                throws MXException,
                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • chldstatus

        public int chldstatus()
                       throws MXException,
                              java.rmi.RemoteException
        If this child has no valid statuses that it can change to or the main record needs to be saved then alert the user and prevent the status change dialog from being displayed
        Returns:
        int
        Throws:
        MXException
        java.rmi.RemoteException
      • insert

        public void insert(int nRow)
                    throws MXException,
                           java.rmi.RemoteException
        Inserts a row after the given row. Fires a row change event to all listeners upon success. Override insert in order to create correct type of workorder mbo
        Overrides:
        insert in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • insertAtEnd

        public void insertAtEnd()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: DataBean
        Inserts a row at the end of the MboSet. Fires a row change event to all listeners upon success.
        Overrides:
        insertAtEnd in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException