public abstract class AbstractReportAction
extends java.lang.Object
When making subclasses of this, be sure to add them to the map in ReportSchedulerTask.java
| Constructor and Description |
|---|
AbstractReportAction(GatewayContext context,
long projectId,
ReportExecutionContext reportContext) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
perform(RMDocument report,
ReportResource reportResource,
AbstractReportActionConfig config,
java.lang.String reportPath,
java.lang.String reportName,
java.util.Map<java.lang.String,java.lang.Object> parameterData) |
abstract void |
perform(RMDocument report,
ReportResource reportResource,
AbstractReportActionConfig config,
java.lang.String reportPath,
java.lang.String reportName,
java.util.Map<java.lang.String,java.lang.Object> parameterData,
java.util.Map<java.lang.String,java.lang.Object> configData)
Called by system.report.executeAndDistribute.
|
public AbstractReportAction(GatewayContext context, long projectId, ReportExecutionContext reportContext)
public abstract void perform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, java.lang.String reportPath, java.lang.String reportName, java.util.Map<java.lang.String,java.lang.Object> parameterData)
public abstract void perform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, java.lang.String reportPath, java.lang.String reportName, java.util.Map<java.lang.String,java.lang.Object> parameterData, @Nonnull java.util.Map<java.lang.String,java.lang.Object> configData)
report - The RMDocument generated from the report templatereportResource - The ReportResourceconfig - A new blank config of the appropriate type. May be altered by the configData before
calling the overload.reportPath - Path to the report we want to perform.reportName - Name of the report we want to perform.parameterData - Optional parameter overrides.configData - Optional data to apply to the configuration. Missing values will be left at the default
values.