Package loggerForms

Class FormsLogging


public class FormsLogging extends SQLLogging
  • Method Details

    • getViewerLoadClause

      public String getViewerLoadClause(SQLTypes sqlTypes, PamViewParameters pvp)
      Description copied from class: SQLLogging
      Get a standard select clause for loading viewer data, this is basically that UTC is between two times.
      Overrides:
      getViewerLoadClause in class SQLLogging
      Parameters:
      sqlTypes - SQL types - database specific functions
      pvp - load parameters.
      Returns:
      Clause, in the form WHERE UTC BETWEEN A and B ORDER BY UTC
    • setTableData

      public void setTableData(SQLTypes sqlTypes, PamDataUnit pamDataUnit)
      Description copied from class: SQLLogging
      Callback function when new data are created that allows the user to set the data for each column. Columns that have data which can be filled automatically (counters, primary keys and columns cross referenced to data in other tables) are filled automatically in fillTableData()
      Specified by:
      setTableData in class SQLLogging
    • loadViewData

      public boolean loadViewData(PamConnection con, PamViewParameters pamViewParameters, ViewLoadObserver loadObserver)
      Description copied from class: SQLLogging
      Load viewer data for a single datablock.

      this executes in a Swing Worker thread, so needs to send notification objects to that thread, and not direct to the Controller so that they can be published back in the AWT thread.

      Overrides:
      loadViewData in class SQLLogging
      Parameters:
      con - database connection
      pamViewParameters - viewer parameters.
      Returns: