code: public Map<String, Serializable> getReportUserParametersForEdit(Report report) throws Exception {
          Map<String, Serializable> result = new LinkedHashMap<String, Serializable>();
          JasperReport jr = getJasperReport(report);
          Map<String, Serializable> map = JasperReportsUtil.getJasperReportUserParameters(jr);
          for (String key : map.keySet()) {
              JasperParameter jp = (JasperParameter) map.get(key);            
              JasperParameterSource sp = getParameterSources(report, jp);
              // this parameter is not defined inside the file
              if (sp == null) {
                  sp = new JasperParameterSource(jp.getName());
                  sp.setValueClassName(JasperReportsUtil.getValueClassName(storageService, report.getDataSource(), jp));
              }
              result.put(sp.getName(), sp);
          }
          return result;
      }
docs: useful for edit jasper parameters  : do not need here the values as in getReportUserParameters