Class CashflowForecastReportActionHandler
- java.lang.Object
-
- org.openbravo.client.kernel.BaseActionHandler
-
- org.openbravo.client.application.process.BaseProcessActionHandler
-
- org.openbravo.client.application.process.FileExportActionHandler
-
- org.openbravo.client.application.report.BaseReportActionHandler
-
- org.openbravo.common.actionhandler.CashflowForecastReportActionHandler
-
- All Implemented Interfaces:
ActionHandler
public class CashflowForecastReportActionHandler extends BaseReportActionHandler
Cashflow Forecast Action Handler for the Process Definition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbravo.client.application.process.FileExportActionHandler
FileExportActionHandler.FileAction
-
-
Field Summary
-
Fields inherited from class org.openbravo.client.application.report.BaseReportActionHandler
JASPER_REPORT_PARAMETERS
-
Fields inherited from class org.openbravo.client.application.process.BaseProcessActionHandler
PARAM_FILE_CONTENT, PARAM_FILE_NAME, PARAM_FILE_SIZE, PARAM_MULTIPART_VALUES
-
-
Constructor Summary
Constructors Constructor Description CashflowForecastReportActionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalParameters(ReportDefinition process, org.codehaus.jettison.json.JSONObject jsonContent, Map<String,Object> parameters)
Override this method to put additional parameters to send to the Jasper Report template.protected ConnectionProvider
getReportConnectionProvider()
Get the connection provider to use in report generation.protected net.sf.jasperreports.engine.JRDataSource
getReportData(Map<String,Object> parameters)
Get the data to pass to the report generation method.-
Methods inherited from class org.openbravo.client.application.report.BaseReportActionHandler
addAditionalParameters, addAditionalRecordInfo, doGenerateFile, doGenerateReport, doGenerateReport, doValidations, doValidations, generateFileToDownload, getAdditionalResponseActions, getDownloadAction, getDownloadFileName, getReportTemplatePath, isCompilingSubreports, isValidDownloadFileType
-
Methods inherited from class org.openbravo.client.application.process.FileExportActionHandler
doExecute, execute, uploadAttachment
-
Methods inherited from class org.openbravo.client.application.process.BaseProcessActionHandler
execute, extractParametersFromRequest, extractRequestContent, fixRequestMap, getResponseBuilder, hasAccess
-
Methods inherited from class org.openbravo.client.kernel.BaseActionHandler
fixRequestMap, writeResponse
-
-
-
-
Method Detail
-
getReportConnectionProvider
protected ConnectionProvider getReportConnectionProvider()
Description copied from class:BaseReportActionHandler
Get the connection provider to use in report generation. Override this method to put logic for getting the connection provider- Overrides:
getReportConnectionProvider
in classBaseReportActionHandler
- Returns:
- the ConnectionProvider to use during the report generation
-
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 classBaseReportActionHandler
- Parameters:
process
- the Process Definition of the ReportjsonContent
- values set in the filter parametersparameters
- 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 classBaseReportActionHandler
- 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
-
-