Package org.opentides.bean

Examples of org.opentides.bean.BaseReportValidator.validate()


      String[] validatorParam = parameters.get("validator");
      if(validatorParam != null){
        String key = validatorParam[0];
        BaseReportValidator validator = reportValidators.get(key); //retrieve the particular validator of a report
        if(validator.supports(DynamicReport.class)){  //only validate from the Report Module
        List<String> errorMessages = validator.validate(request); //validate entered data
      if(errorMessages != null){
        Map<String,Object> model = new HashMap<String,Object>();
          Map<String,String[]> requestParameters = transformRequest(request)//retrieve original request parameters
        List<ReportDefinition>  missingParameters = service.getMissingParameters(
            requestParameters , jrXmlStream); //retrieve original missed parameters
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.