Class CashflowForecastReportActionHandler

  • All Implemented Interfaces:
    ActionHandler

    public class CashflowForecastReportActionHandler
    extends BaseReportActionHandler
    Cashflow Forecast Action Handler for the Process Definition
    • Constructor Detail

      • CashflowForecastReportActionHandler

        public CashflowForecastReportActionHandler()
    • Method Detail

      • addAdditionalParameters

        protected void addAdditionalParameters​(ReportDefinition process,
                                               org.codehaus.jettison.json.JSONObject jsonContent,
                                               Map<String,​Object> parameters)
        Description copied from class: BaseReportActionHandler
        Override this method to put additional parameters to send to the Jasper Report template. Process Definition filter parameters are automatically added.
        Overrides:
        addAdditionalParameters in class BaseReportActionHandler
        Parameters:
        process - the Process Definition of the Report
        jsonContent - values set in the filter parameters
        parameters - the current Parameter Map that it is send to the Jasper Report.
      • getReportData

        protected net.sf.jasperreports.engine.JRDataSource getReportData​(Map<String,​Object> parameters)
        Description copied from class: BaseReportActionHandler
        Get the data to pass to the report generation method. Override this method to put logic for getting the data. The map received as argument contains parameters that can be used to create some logic to build the report data
        Overrides:
        getReportData in class BaseReportActionHandler
        Parameters:
        parameters - map that contains the parameters of the HTTP request and the parameters that will be sent to the jasper report
        Returns:
        a JRDataSource object containing the report data