psdi.webclient.beans.toolinv

Class ToolInvAppBean

    • Constructor Detail

      • ToolInvAppBean

        public ToolInvAppBean()
    • Method Detail

      • 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
      • 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
      • 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