Class ReportTemplateJRDataSource

java.lang.Object
com.ptc.wbr.datasource.ReportTemplateJRDataSource
All Implemented Interfaces:
WNCJRDataSource, net.sf.jasperreports.engine.JRDataSource

public class ReportTemplateJRDataSource extends Object implements WNCJRDataSource
This represent the implementation of @JRDataSource from jasper library. This class will be used by Jasper Engine to fill the report. This implementation is specific to ReportTemplate object which are executed via ReportTemplate API

Supported API: true

Extendable: false
  • Constructor Details

    • ReportTemplateJRDataSource

      public ReportTemplateJRDataSource(String reportTemplateName) throws Exception
      Parameters:
      reportTemplateName -
      Throws:
      Exception -

      Supported API: true
    • ReportTemplateJRDataSource

      public ReportTemplateJRDataSource(String reportTemplateName, String containerPath) throws Exception
      For uniquely identifying the ReportTemplate across given container name/type etc.
      Parameters:
      reportName -

      Supported API: true
      Throws:
      Exception