psdi.webclient.beans.item

Class ItemAppBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener
    Direct Known Subclasses:
    PlusCItemAppBean


    public class ItemAppBean
    extends AppBean
    • Constructor Detail

      • ItemAppBean

        public ItemAppBean()
    • Method Detail

      • ADDITEMS

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

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

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

        public void ADDTOOLS()
                      throws java.rmi.RemoteException,
                             java.io.IOException,
                             javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • COPYIAS

        public int COPYIAS()
                    throws java.rmi.RemoteException,
                           java.io.IOException,
                           javax.servlet.ServletException
        Throws:
        java.rmi.RemoteException
        java.io.IOException
        javax.servlet.ServletException
      • 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
      • 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
  • MKISCREW

    public int MKISCREW()
                 throws java.rmi.RemoteException,
                        MXApplicationException,
                        MXException
    The user can change the ITEM.ISCREW flag for all records or all selected records. This will work similar to the Change Status action on list pages. The user should be asked if they are sure about the change prior to updating all the records.
    Returns:
    Throws:
    java.rmi.RemoteException
    MXApplicationException
    MXException
  • INSERT

    public int INSERT()
               throws MXException,
                      java.rmi.RemoteException
    09-17974: cannot always default itemtype with the default "ITEM" Get default line type from database. If there is no default line type, set line type as ITEM.
    Overrides:
    INSERT in class AppBean
    Throws:
    MXException
    java.rmi.RemoteException