psdi.webclient.beans.countbook

Class CountBookAppBean

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


    public class CountBookAppBean
    extends StatefulAppBean
    • Constructor Detail

      • CountBookAppBean

        public CountBookAppBean()
    • Method Detail

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

    public int REC()
            throws MXException,
                   java.rmi.RemoteException
    Throws:
    MXException
    java.rmi.RemoteException
  • UNREC

    public int UNREC()
              throws MXException,
                     java.rmi.RemoteException
    Throws:
    MXException
    java.rmi.RemoteException
  • OWNERSHIP

    public int OWNERSHIP()
                  throws MXException,
                         java.rmi.RemoteException
    Take Ownership gets called from list page or main record
    Throws:
    MXException
    java.rmi.RemoteException
  • OWNER

    public int OWNER()
              throws MXException,
                     java.rmi.RemoteException
    Intercepts the call to the owner dialog and let us know which owner group we have up till now. If the user calls cancel on the dialog, we'll restore it back to this saved value. This has been implemented to avoid calling "reset" on cancelDialog, since that was reseting the whole MBO.
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
    See Also:
    CountBookAppBean.cancelDialog()