Interface ReportHandler


public interface ReportHandler
This interface defines a delegate method to handle report specific processing based on a context object.

Supported API: true
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(Object primaryObject, String reportName)
    Method to perform report specific processing such as generating a report and storing it as content on a ChangeNotice.
    void
    process(Object primaryObject, String reportName, WBRReportingSystem reportingSystem, String containerPath)
    Method to perform report specific processing such as generating a report for given reporting system either cognos or jasper and storing it as content on a ChangeNotice.
    void
    process(Object primaryObject, String reportName, ContentRoleType contentType, String reportFilename)
    Method to perform report specific processing such as generating a report and storing it as content on a ChangeNotice.
    void
    process(Object primaryObject, String reportName, ContentRoleType contentType, String reportFilename, WBRReportingSystem reportingSystem, String containerPath)
    Method to perform report specific processing such as generating a report for given reporting system either cognos or jasper and storing it as content on a ChangeNotice.
  • Method Details

    • process

      void process(Object primaryObject, String reportName) throws WTException
      Method to perform report specific processing such as generating a report and storing it as content on a ChangeNotice.

      Supported API: true
      Parameters:
      primaryObject -
      reportName -
      Throws:
      WTException
    • process

      void process(Object primaryObject, String reportName, ContentRoleType contentType, String reportFilename) throws WTException
      Method to perform report specific processing such as generating a report and storing it as content on a ChangeNotice.

      Supported API: true
      Parameters:
      primaryObject -
      reportName -
      contentType -
      reportFilename - The generated report file name to use
      Throws:
      WTException
    • process

      void process(Object primaryObject, String reportName, WBRReportingSystem reportingSystem, String containerPath) throws WTException
      Method to perform report specific processing such as generating a report for given reporting system either cognos or jasper and storing it as content on a ChangeNotice.

      Supported API: true
      Parameters:
      primaryObject -
      reportName -
      reportingSystem - Either Jasper or Cognos if,
      containerPath - Container Path for the Report, If Null, Default : Site
      Throws:
      WTException
    • process

      void process(Object primaryObject, String reportName, ContentRoleType contentType, String reportFilename, WBRReportingSystem reportingSystem, String containerPath) throws WTException
      Method to perform report specific processing such as generating a report for given reporting system either cognos or jasper and storing it as content on a ChangeNotice.

      Supported API: true
      Parameters:
      primaryObject -
      reportName -
      contentType -
      reportFilename - The generated report file name to use
      reportingSystem - Either Jasper or Cognos
      containerPath - Container Path for the Report, If Null, Default : Site
      Throws:
      WTException