psdi.webclient.beans.receipts

Class ReceiptsAppBean

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


    public class ReceiptsAppBean
    extends AppBean
    • Constructor Detail

      • ReceiptsAppBean

        public ReceiptsAppBean()
    • Method Detail

      • SHIPRECPTS

        public int SHIPRECPTS()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • APPRRCPTS

        public int APPRRCPTS()
                      throws MXException,
                             java.rmi.RemoteException
        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
  • save

    public void save()
              throws MXException
    IV76233: if there is any problem in the receiving rotating items, do not save if user clicks the save icon
    Overrides:
    save in class AppBean
    Throws:
    MXException
  • CLEAR

    public int CLEAR()
              throws MXException,
                     java.rmi.RemoteException
    IV76233: if there is any problem in the receiving rotating items, remove the posting if user clicks the Clear Icon
    Overrides:
    CLEAR in class AppBean
    Throws:
    MXException
    java.rmi.RemoteException
  • canExit

    public boolean canExit()
                    throws MXException,
                           java.rmi.RemoteException
    IV76233: if there is any problem in the receiving rotating items, remove the posting in the bulletin board if there were error but user goes to a different application.
    Overrides:
    canExit in class AppBean
    Throws:
    MXException
    java.rmi.RemoteException
  • wasProblemsPosted

    public MboRemote wasProblemsPosted()
                                throws MXException,
                                       java.rmi.RemoteException
    IV76233:was there bulletin posting receipt.PROBLEMSOCCURRED?
    Returns:
    mboremote: if it is not null, then a message had been posted to the bulletin board, if it is null, no message was posted.
    Throws:
    MXException
    java.rmi.RemoteException
  • removeFromPosting

    public void removeFromPosting()
                           throws MXException,
                                  java.rmi.RemoteException
    IV76233:
    Throws:
    MXException
    java.rmi.RemoteException