[reporting] Override validateDatabase to prevent API change
authorAugusto Mauch <augusto.mauch@openbravo.com>
Wed, 27 Nov 2019 19:11:02 +0100
changeset 36838 d61d2d53638f
parent 36837 0b8a0558c384
child 36839 e7f2c0e1b428
[reporting] Override validateDatabase to prevent API change
src/org/openbravo/service/system/SystemService.java
--- a/src/org/openbravo/service/system/SystemService.java	Tue Nov 19 17:40:39 2019 +0100
+++ b/src/org/openbravo/service/system/SystemService.java	Wed Nov 27 19:11:02 2019 +0100
@@ -124,6 +124,22 @@
    *          the database to read the dbschema from
    * @return the validation result
    */
+  public SystemValidationResult validateDatabase(Module module, Database database) {
+    boolean validateAD = true;
+    return validateDatabase(module, database, validateAD);
+  }
+
+  /**
+   * Validates the database for a specific module.
+   *
+   * @param module
+   *          the module to validate
+   * @param database
+   *          the database to read the dbschema from
+   * @param validateAD
+   *          a flag that determines if Application Dictionary checks should be done
+   * @return the validation result
+   */
   public SystemValidationResult validateDatabase(Module module, Database database,
       boolean validateAD) {
     final DatabaseValidator databaseValidator = new DatabaseValidator();