psdi.webclient.beans.workorder

Class WOTasksBean

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


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

      • WOTasksBean

        public WOTasksBean()
    • Method Detail

      • needssave

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

        public int taskstatus()
                       throws MXException,
                              java.rmi.RemoteException
        If this task 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
        Description copied from class: DataBean
        Inserts a row after the given row. Fires a row change event to all listeners upon success.
        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
      • setInspFormNum

        public void setInspFormNum(java.lang.String inspformnum)
                            throws java.rmi.RemoteException,
                                   MXException
        Create a new inspection against the current App Mbo.
        Throws:
        java.rmi.RemoteException - if an error occurs
        MXException - if an error occurs