/** * 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"); }
/** 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."); } }
/** * Creates the warehouse tables for the configuration. * * @return whether it was successful */ public boolean createDBTables() { return dataMedi.createDBTables(); }
/** * 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(); }