Class ReportTemplateAdhocHelper

java.lang.Object
wt.query.template.ReportTemplateAdhocHelper

public class ReportTemplateAdhocHelper extends Object
This is a helper class which contains the implementation for ad hoc specific processing of XML Source which defines a report.

Supported API: true

Extendable: false
  • Method Details

    • reportTemplateHasParameters

      public static boolean reportTemplateHasParameters(XMLSource a_qmlSource) throws WTException
      This method is used to check if there are any parameters in a Report Template

      Supported API: true
      Parameters:
      a_qmlSource - - Input QML representation of a query
      Returns:
      boolean - whether or not report template has parameters
      Throws:
      WTException
    • buildParameterTemplates

      protected static ParameterTemplate[] buildParameterTemplates(XMLSource a_qmlSource, boolean legacyMode) throws WTException
      This method is used to build an array of ParameterTemplate objects from the specified XMLSource.

      Supported API: true
      Parameters:
      a_qmlSource - Input QML representation of a query
      Returns:
      ParameterTemplate[]
      Throws:
      WTException