psdi.webclient.beans.invusage

Class InvUseLineDataBean

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


    public class InvUseLineDataBean
    extends DataBean
    This bean is for Inventory Usage application. It handles the display of Reservation/Return validation dialogs.
    • Constructor Detail

      • InvUseLineDataBean

        public InvUseLineDataBean()
    • Method Detail

      • validateRow

        protected void validateRow()
                            throws MXException,
                                   java.rmi.RemoteException
        Validates object. This method will load the Reservation dialog during the validation of invuseline record of issue or transfer usetype for any matching reservation exists for itemnum/location/storeloc/workorder/asset. This method will load Return dialog if there is any issue exists for the itemnum/fromstoreloc/location/workorder/asset.
        Overrides:
        validateRow in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • setCurEvent

        public void setCurEvent(WebClientEvent thisEvent)
                         throws MXException,
                                java.rmi.RemoteException
        This method stores the current event.
        Parameters:
        thisEvent -
        Throws:
        MXException
        java.rmi.RemoteException
      • getCurEvent

        public WebClientEvent getCurEvent()
                                   throws MXException,
                                          java.rmi.RemoteException
        This method returns the current event.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • cleanup

        protected void cleanup()
        cleanup
        Overrides:
        cleanup in class DataBean
      • selectitems

        public int selectitems()
                        throws java.rmi.RemoteException,
                               MXException
        This method is called on the Select Items Button.
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • selectitemsforreturnissue

        public int selectitemsforreturnissue()
                                      throws java.rmi.RemoteException,
                                             MXException
        This method is called on the click of Select Items Button.
        Returns:
        EVENT_HANDLED
        Throws:
        java.rmi.RemoteException
        MXException
      • selectreserveditems

        public int selectreserveditems()
                                throws java.rmi.RemoteException,
                                       MXException
        This method will be called on the Select Reserved Items button.
        Returns:
        EVENT_HANDLED
        Throws:
        java.rmi.RemoteException
        MXException
      • selectspareparts

        public int selectspareparts()
                             throws java.rmi.RemoteException,
                                    MXException
        This method will be called on click of the Select Spareparts Button.
        Returns:
        EVENT_HANDLED
        Throws:
        java.rmi.RemoteException
        MXException
      • checkReservation

        public void checkReservation()
                              throws MXException,
                                     java.rmi.RemoteException
        This method checks against the existing reservations.
        Throws:
        java.rmi.RemoteException
        MXException
      • checkReturn

        public void checkReturn()
                         throws MXException,
                                java.rmi.RemoteException
        This method checks against the existing issues.
        Throws:
        java.rmi.RemoteException
        MXException
      • validateinfo

        public int validateinfo()
                         throws MXException,
                                java.rmi.RemoteException
        Method invoked from validation image for InvUseine validation.
        Throws:
        MXException
        java.rmi.RemoteException