Class EventBrowser

java.lang.Object
java.awt.Component
com.portal.browse.EventBrowser
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class EventBrowser extends Component implements Serializable
This class handles the login to event browser if the appropriate information is passed in through command line arguments. If not, then this will launch a login dialog. The controller for this class takes care of branding information.
Version:
%version: 23 % %date_modified: Tue Jan 22 10:40:35 2002 %
See Also:
  • Constructor Details

    • EventBrowser

      public EventBrowser()
    • EventBrowser

      public EventBrowser(String title)
  • Method Details

    • main

      public static void main(String[] argv)
    • login

      public boolean login(String connect) throws Exception
      Login to the database using the given connect string. A connect string is a string with Portal connection information in URL format: 'pcp://:@host:port/service/ ' is optional. If it is not present, then type=1 will be used.
      Parameters:
      connect - The connection string URL
      Returns:
      true if login successful otherwise false
      Throws:
      Exception
    • browseAccount

      public void browseAccount(String[] args) throws Exception
      The given arguments are used to preload the SearchDialog with search templates. This function is called only when the Admin tool launches EventBrowser by creating a thread and attaching a Java VM to it and making a call to EventBrowser::main(), passing in an account number
      Throws:
      Exception
    • setSystemExit

      public void setSystemExit(boolean b)
    • waitUntilClosed

      public void waitUntilClosed()
    • browseAll

      public void browseAll() throws Exception
      This will launch the event browser and load the default template that is defined in the resource bundle in the search dialog. If none is defined, it will load the tabbed pane, i.e. advanced search. This function is called only when the Admin tool launches EventBrowser by creating a thread and attaching a Java VM to it and making a call to EventBrowser::main(), without passing in an account number
      Throws:
      Exception