Mentions légales du service

Skip to content
Snippets Groups Projects

NPD-25: Disable validation from preferences for MCA

Closed Achraf Achkari requested to merge feature/NPD-25-disable-validation into develop
2 files
+ 9
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -49,6 +49,7 @@ import net.ihe.gazelle.hql.criterion.HQLCriterionsForFilter;
import net.ihe.gazelle.hql.criterion.QueryModifier;
import net.ihe.gazelle.hql.paths.HQLSafePathBasicDate;
import net.ihe.gazelle.hql.restrictions.HQLRestrictions;
import net.ihe.gazelle.preferences.PreferenceService;
import org.apache.commons.io.FileUtils;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
@@ -347,6 +348,10 @@ public class AnalyzerBean implements QueryModifier<AnalyzedObject> {
this.isDisplayedPartXml = isDisplayedPartXml;
}
public boolean isValidationEnabled(){
return PreferenceService.getBoolean("validation_enabled");
}
///////////////////////////////////////////////////////////////////////////////
//////////////////// Public Methods //////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
Loading