Interface JasperReport7Aware
public interface JasperReport7Aware
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterReportGeneration(ActionInvocation invocation, net.sf.jasperreports.engine.JasperReport jasperReport) Used to perform an action before report is going to be generateddefault voidbeforeReportGeneration(ActionInvocation invocation) Used to perform an action before report is going to be generateddefault StringgetCsvDelimiter(ActionInvocation invocation) Allows to specify action specific CSV delimiter, if returns null, default one specified byJasperReport7Constants.STRUTS_JASPER_REPORT_CSV_DELIMITERwill be useddefault LocalegetReportLocale(ActionInvocation invocation) Allows to specify different local than used by the framework or an action
-
Method Details
-
beforeReportGeneration
Used to perform an action before report is going to be generated- Parameters:
invocation- currentActionInvocation- Throws:
StrutsException
-
afterReportGeneration
default void afterReportGeneration(ActionInvocation invocation, net.sf.jasperreports.engine.JasperReport jasperReport) throws StrutsException Used to perform an action before report is going to be generated- Parameters:
invocation- currentActionInvocation- Throws:
StrutsException
-
getCsvDelimiter
Allows to specify action specific CSV delimiter, if returns null, default one specified byJasperReport7Constants.STRUTS_JASPER_REPORT_CSV_DELIMITERwill be used- Returns:
- delimiter or null
-
getReportLocale
Allows to specify different local than used by the framework or an action- Parameters:
invocation- currentActionInvocation- Returns:
- locale or null
-