psdi.webclient.beans.inventory

Class InventoryChangeCostTypeBean

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


    public class InventoryChangeCostTypeBean
    extends DataBean
    • Constructor Detail

      • InventoryChangeCostTypeBean

        public InventoryChangeCostTypeBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        This method initializes the change cost type dialog. it sets the whereclause to filter the data to be displayed in the dialog.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        This method is called when user click 'Ok' button on Change Cost Type dialog. It updates the costtype for all the selected records.
        Overrides:
        execute in class DataBean
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException
      • refreshcosttype

        public int refreshcosttype()
                            throws MXException,
                                   java.rmi.RemoteException
        This method is called when user click 'Refresh' button on Change Cost Type dialog. It copies the defcosttype to the newcosttype in the table for all the records.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException