Class QbOrganizer

java.lang.Object
quadbase.reportorganizer.organizerAPI.QbOrganizer

public class QbOrganizer extends Object
  • Constructor Details

    • QbOrganizer

      public QbOrganizer(Object object, String userName, String password) throws Exception
      Connect to server and get organizer handle
      Parameters:
      object - can be null, applet or frame
      userName - login user name
      password - login user password
      Throws:
      Exception
  • Method Details

    • logout

      public void logout() throws Exception
      Logout from Organizer
      Throws:
      Exception
    • getOrganizerUI

      public JFrame getOrganizerUI()
      launch the report designer. Use this method after calling setVisible(true) to get a reference to the designer JFrame object.
    • setChartDesignerHandle

      public void setChartDesignerHandle(IChartHandle chtHandle)
      modify chart designer by implementing IChartHandle interface
    • setReportDesignerHandle

      public void setReportDesignerHandle(IReportHandle rptHandle)
      modify report designer by implementing IReportHandle interface
    • setDebugMode

      public static final void setDebugMode(String mode)
      set debug mode to display debug statement
    • setDebugMode

      public static final void setDebugMode(int mode)
      set debug mode to display debug statement
    • setLookAndFeel

      public static void setLookAndFeel(LookAndFeel newLookAndFeel)
       Sets the look and feel of the designer UI.
       User has to call this method before calling QbOrganizer constructor.
       If UIManager.setLookAndFeel(newLookAndFeel) throws exception, this method
       does nothing.
       
      Sample use of this method can be one of the following: QbOrganizer.setLookAndFeel(new javax.swing.plaf.metal.MetalLookAndFeel()); //Java Metal QbOrganizer.setLookAndFeel(new com.sun.java.swing.plaf.windows.WindowsLookAndFeel()); //Windows QbOrganizer.setLookAndFeel(new com.sun.java.swing.plaf.motif.MotifLookAndFeel()); // MOTIF UI
    • getLookAndFeel

      public static LookAndFeel getLookAndFeel()
    • setServletRunner

      public static void setServletRunner(String comm_url)
      Set servlet runner hostname and port number Note: this static method MUST be called before any connection
      Parameters:
      comm_url - servlet runner hostname and port number
    • setServletContext

      public static void setServletContext(String context)
      set servlet context
    • getServletContext

      public static String getServletContext()
      return servlet context
    • getScheduler

      public Scheduler getScheduler()
      Returns a handle to properties of the scheduler.
    • insertNewItem

      public void insertNewItem(String name, String description, String location, String url, String folderName) throws Exception
      Inserts an item into the organizer.
      Parameters:
      name - the name of the item.
      description - a brief description of the item.
      location - the file path to the item.
      url - the url that points to this item.
      folderName - the path to the organizer folder to insert this item. Must start with a "/" indicating the root of the organizer. (ex. "/managers/orders").
      Throws:
      Exception
    • removeItem

      public void removeItem(String name, String folderName) throws Exception
      Removes an item from the organizer.
      Parameters:
      name - the name of the item.
      folderName - the path to the organizer folder to insert this item. Must start with a "/" indicating the root of the organizer. (ex. "/managers/orders").
      Throws:
      Exception