Class ReportBuilderHelper

java.lang.Object
com.ptc.windchill.enterprise.reportBuilder.ReportBuilderHelper

public class ReportBuilderHelper extends Object
This is a helper class for the generation of Report Builder results.

Supported API: true

Extendable: false
  • 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 WTException
      This 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 WTException
      This 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 WTException
      This 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