Class StateUtilities
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.states.StateUtilities
-
public class StateUtilities extends Object
Creation-Date: Dec 14, 2006, 7:59:39 PM- Author:
- Thomas Morgner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateUtilities.DescendingComparator<T extends Comparable>
A comparator for levels in descending order.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
computeLevels(DefaultFlowController report, LayoutProcess lp, HashSet<Integer> levels)
static ReportParameterValues
computeParameterValueSet(MasterReport report)
Computes the parameter value set for a given report.static ReportParameterValues
computeParameterValueSet(MasterReport report, ReportParameterValues parameterValues)
static ReportParameterValues
computeParameterValueSet(SubReport report)
static ReportPreProcessor[]
getAllPreProcessors(AbstractReportDefinition reportDefinition, boolean designTime)
static ValidationResult
validate(MasterReport report, ValidationResult result)
-
-
-
Method Detail
-
computeLevels
public static boolean computeLevels(DefaultFlowController report, LayoutProcess lp, HashSet<Integer> levels)
-
validate
public static ValidationResult validate(MasterReport report, ValidationResult result) throws ReportProcessingException
- Throws:
ReportProcessingException
-
computeParameterValueSet
public static ReportParameterValues computeParameterValueSet(MasterReport report) throws ReportProcessingException
Computes the parameter value set for a given report. Note that this method ignores the validation result, so if the specified parameter values are wrong you may end up with a bunch of default values.- Parameters:
report
-- Returns:
- Throws:
ReportProcessingException
-
computeParameterValueSet
public static ReportParameterValues computeParameterValueSet(MasterReport report, ReportParameterValues parameterValues) throws ReportProcessingException
- Throws:
ReportProcessingException
-
computeParameterValueSet
public static ReportParameterValues computeParameterValueSet(SubReport report)
-
getAllPreProcessors
public static ReportPreProcessor[] getAllPreProcessors(AbstractReportDefinition reportDefinition, boolean designTime)
-
-