Exemple #1
0
  /**
   * Resets the facade.<br>
   * This clears the configuration and all mediators.
   */
  public void reset() {
    currentConfig = null;
    parsMedi = null;
    chartMedi = null;

    dataMedi.releaseResources();
    dataMedi = null;
    Printer.ptest("Facade reset");
  }
Exemple #2
0
  /** Precomputes the Strings in the dimensions for the web page selection boxes. */
  private void computeDimensionData() {
    assert (isInitialized());

    if (!(dataMedi.organizeData())) {
      Printer.pfail("Precomputing data for dimensions.");
    } else {
      web.ChartHelper.reset();
      Printer.psuccess("Precomputing data for dimensions.");
    }
  }
Exemple #3
0
 /**
  * Creates the warehouse tables for the configuration.
  *
  * @return whether it was successful
  */
 public boolean createDBTables() {
   return dataMedi.createDBTables();
 }
Exemple #4
0
 /**
  * Returns whether the tables in the warehouse are created yet.
  *
  * @return whether the tables in the warehouse are created yet
  */
 private boolean tablesAreCreated() {
   return dataMedi.areTablesCreated();
 }