Class ReportBuilderHelper
java.lang.Object
com.ptc.windchill.enterprise.reportBuilder.ReportBuilderHelper
This is a helper class for the generation of Report Builder results.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryResultgenerateResults(ReportTemplate a_reportTemplate, Map<String, String> a_inputs, Locale a_locale) This method is used to generate a QueryResults from a Report Template and parameter input values.static TableModelgenerateTableModel(ReportTemplate a_reportTemplate, Map<String, String> a_inputs, Locale a_locale, boolean forClient) This method is used to generate a TableModel from a Report Template and parameter input values.static com.ptc.core.query.report.common.TypeInstanceResultInfogenerateTypeInstances(ReportTemplate a_reportTemplate, Map<String, String> a_inputs, Locale a_locale, boolean forClient) This method is used to generate a TypeInstances from a Report Template and parameter input values.
-
Method Details
-
generateTypeInstances
public static com.ptc.core.query.report.common.TypeInstanceResultInfo generateTypeInstances(ReportTemplate a_reportTemplate, Map<String, String> a_inputs, Locale a_locale, boolean forClient) throws WTExceptionThis method is used to generate a TypeInstances from a Report Template and parameter input values. A TableModel is generated and converted to TypeInstance results. The results and additionl information is then returned in the TypeInstanceResultInfo.
Supported API: true- Parameters:
a_reportTemplate-a_inputs-a_locale-forClient-- Returns:
- TypeInstanceResultInfo
- Throws:
WTException
-
generateResults
public static QueryResult generateResults(ReportTemplate a_reportTemplate, Map<String, String> a_inputs, Locale a_locale) throws WTExceptionThis method is used to generate a QueryResults from a Report Template and parameter input values. A statement is built and executed using the specified inputs.
Supported API: true- Parameters:
a_reportTemplate-a_inputs-a_locale-- Returns:
- QueryResult
- Throws:
WTException
-
generateTableModel
public static TableModel generateTableModel(ReportTemplate a_reportTemplate, Map<String, String> a_inputs, Locale a_locale, boolean forClient) throws WTExceptionThis method is used to generate a TableModel from a Report Template and parameter input values. A statement is built and executed using the specified inputs. The results are then returned in the TableModel.
Supported API: true- Parameters:
a_reportTemplate-a_inputs-a_locale-forClient-- Returns:
- TableModel
- Throws:
WTException
-