Package wt.change2.reports
Interface ReportHandler
public interface ReportHandler
This interface defines a delegate method to handle report
specific processing based on a context object.
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to perform report specific processing such as generating a report and storing it as content on a ChangeNotice.voidprocess(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.voidprocess(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.voidprocess(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
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 usereportingSystem- Either Jasper or CognoscontainerPath- Container Path for the Report, If Null, Default : Site- Throws:
WTException
-