use of org.pentaho.reporting.engine.classic.core.parameters.DefaultListParameter in project head by mifos.
the class PentahoParamParser method parseListParameter.
private AbstractPentahoParameter parseListParameter(ListParameter paramDefEntry, ParameterContext paramContext, Map<String, AbstractPentahoParameter> selectedValues, boolean update) throws ReportDataFactoryException {
DefaultListParameter listParam = (DefaultListParameter) paramDefEntry;
AbstractPentahoParameter result;
if (listParam.isAllowMultiSelection()) {
result = parseMultiListParameter(paramDefEntry, paramContext);
} else {
result = parseSingleListParameter(paramDefEntry, paramContext, selectedValues, update);
}
return result;
}
Aggregations