psdi.webclient.beans.interror

Class InterrorAppBean

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


    public class InterrorAppBean
    extends AppBean
    App Bean for Integration errror processing
    • Constructor Detail

      • InterrorAppBean

        public InterrorAppBean()
    • 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
  • setPageStartIndex

    public boolean setPageStartIndex(int nRow)
    Allows the starting row of a table bound to the bean to be set at will.
  • resetErrorList

    public int resetErrorList()
                       throws MXException,
                              java.rmi.RemoteException
    Resets the Error List while insuring that it continues displaying the same page.
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • SAVE

    public int SAVE()
             throws MXException,
                    java.rmi.RemoteException
    Method to save extract processing as part of save. EVENT: SAVE
    Overrides:
    SAVE in class AppBean
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • REFRESH

    public int REFRESH()
                throws MXException,
                       java.rmi.RemoteException
    Method to refresh error and extract list. EVENT: REFRESH
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • STATUS

    public int STATUS()
               throws MXException,
                      java.rmi.RemoteException
    Status change method. EVENT: STATUS
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • DELETEALL

    public int DELETEALL()
                  throws MXException,
                         java.rmi.RemoteException
    Method to delete all messages in the IntError set. EVENT: DELETEALL
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • DELETE

    public int DELETE()
               throws MXException,
                      java.rmi.RemoteException
    Method to delete selected messages in the IntError set. EVENT: DELETE
    Overrides:
    DELETE in class AppBean
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • PROCESSALL

    public int PROCESSALL()
                   throws MXException,
                          java.rmi.RemoteException
    Method to process all messages in the IntError set. EVENT: PROCESSALL
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • PROCESSSEL

    public int PROCESSSEL()
                   throws MXException,
                          java.rmi.RemoteException
    Method to process selected messages in the IntError set. EVENT: PROCESSSEL
    Throws:
    MXException - throws MXApplicationException
    java.rmi.RemoteException
  • detail

    public int detail()
               throws MXException,
                      java.rmi.RemoteException
    Go to detail screen.
    Returns:
    EVENT_HANDLED
    Throws:
    MXException
    java.rmi.RemoteException