psdi.webclient.beans.inventory

Class InventoryAppBean

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


    public class InventoryAppBean
    extends AppBean
    • Field Detail

      • fromReorder

        public boolean fromReorder
    • Constructor Detail

      • InventoryAppBean

        public InventoryAppBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Description copied from class: AppBean
        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
        Overrides:
        initialize in class AppBean
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException
        Description copied from class: AppBean
        Needs it's own version of save to insure the proper record is set. If the current row is a new record then before saving, it stores the key attributes and their values. Calls save then resets the qbe and to the stored values. This insures that the inserted record stays as the current record after saving.
        Overrides:
        save in class AppBean
        Throws:
        MXException
      • RELLOCKS

        public int RELLOCKS()
                     throws java.rmi.RemoteException,
                            java.io.IOException,
                            javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • RELLOCKSNODIALOG

        public int RELLOCKSNODIALOG()
                             throws java.rmi.RemoteException,
                                    java.io.IOException,
                                    javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • PHYSCNTADJ

        public int PHYSCNTADJ()
                       throws java.rmi.RemoteException,
                              java.io.IOException,
                              javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • KITMAKE

        public int KITMAKE()
                    throws java.rmi.RemoteException,
                           java.io.IOException,
                           javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • KITBREAK

        public int KITBREAK()
                     throws java.rmi.RemoteException,
                            java.io.IOException,
                            javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • ISSUE

        public int ISSUE()
                  throws java.rmi.RemoteException,
                         java.io.IOException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
      • ISSUEMULTI

        public int ISSUEMULTI()
                       throws java.rmi.RemoteException,
                              java.io.IOException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
      • TRANSFER

        public int TRANSFER()
                     throws java.rmi.RemoteException,
                            java.io.IOException,
                            javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • RECONCILE

        public int RECONCILE()
                      throws java.rmi.RemoteException,
                             java.io.IOException,
                             javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • CURBALADJ

        public int CURBALADJ()
                      throws java.rmi.RemoteException,
                             java.io.IOException,
                             javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • AVGCOSTADJ

        public int AVGCOSTADJ()
                       throws java.rmi.RemoteException,
                              java.io.IOException,
                              javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • STDCOSTADJ

        public int STDCOSTADJ()
                       throws java.rmi.RemoteException,
                              java.io.IOException,
                              javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • initializeApp

        public void initializeApp()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: AppBean
        This method is called when the presentations "main" page is initalized and before the page is rendered. It can be called multiple times to "reinitialize" the applicaiton, for example when the existing query is reset.

        Only on the first initialize the method also checks for these mutually exclusiive special conditions:

      • if there is a particular record the app needs to jump to (using uniqueid from the loadapp or gotoapp event) the result set is restricted to that record only
      • if there is a startup query sent through the launch in context as a startup where clause it is set as a user where clause
      • if there is an additional ecent "insert" a new record is inserted

        A subsequent call to initializeApp() will not check for these conditions, causing the default reset to happen

Overrides:
initializeApp in class AppBean
Throws:
MXException
java.rmi.RemoteException
  • getcurrEvent

    public java.lang.String getcurrEvent()
  • getInvSet

    public MboSetRemote getInvSet()
                           throws MXException,
                                  java.rmi.RemoteException
    This method returns the inventory set. It is set in the reconcile().
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
  • hasSigOptionAccess

    public boolean hasSigOptionAccess(int row,
                                      java.lang.String sigOption)
                               throws java.rmi.RemoteException,
                                      MXException
    11-13271: override: don't know why ITEMAVAIL is the only option in the sigoption table for the INVENTOR app. no other app has the sigoption for ITEMAVAIL. This happens when Classification search is launched from the result set which has currentRow=-1 because no inventory records are selected in the list page. When it tried to check the sigoption ITEMAVAIL, it returns false because getMbo(-1) returns null.
    Overrides:
    hasSigOptionAccess in class AppBean
    Parameters:
    row - - The index of the mbo to do the check on.
    sigOption - - The sigoption that will be checked to see if the user has privileges for it, for the given Mbo.
    Throws:
    java.rmi.RemoteException
    MXException