psdi.webclient.system.controller

Interface EventHandlerInterface

  • All Known Implementing Classes:
    SystemEventHandler


    public interface EventHandlerInterface
    • Method Detail

      • handleEvent

        int handleEvent(WebClientEvent event)
                 throws java.lang.NoSuchMethodException,
                        java.lang.IllegalAccessException,
                        java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • handleEvent

        int handleEvent(java.lang.String methodName,
                        WebClientEvent event)
                 throws java.lang.NoSuchMethodException,
                        java.lang.IllegalAccessException,
                        java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • loadapp

        int loadapp()
        This event should be called only as a result of the browser URL being changed to the target application, presumably by the JSP code.

        The URL needs to set:

      • event=loadapp
      • value=[application name] - the target application
      • (optional) debug=[integer number] - sets debug mode

        Create an instance of the target application, clears the application stack for the current session and puts the new application on the stack

  • gotoapp

    int gotoapp()
    This event should be called only as a result of the browser URL being changed to the target application, presumably by the JSP code.

    The URL needs to set:

  • event=gotoapp
  • value=[target application]
  • (optional) uniqueid=[a unique key value to set the current record of the target application]

    Create an instance of the target application, set its applink mode flag (so that it is aware of the application being run in link mode), and push the new application on th etop of the application stack for the current session