Package com.almis.awe.service
Class ReportService
java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.service.ReportService
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
QueryService Class
AWE Data Engine Provides generate function to get application data
- Author:
- Pablo GARCIA
-
Constructor Summary
ConstructorDescriptionReportService
(MaintainService maintainService, MenuService menuService, ReportGenerator reportGenerator) Autowired constructor -
Method Summary
Modifier and TypeMethodDescriptionprintScreen
(String screenName, String printAction) Print current screenviewPdfFile
(String filePath) Retrieve application manual headerMethods inherited from class com.almis.awe.config.ServiceConfig
containsBean, getApplicationContext, getBean, getBean, getElements, getLocale, getLocale, getProperty, getProperty, getRequest, getSession, setApplicationContext
-
Constructor Details
-
ReportService
public ReportService(MaintainService maintainService, MenuService menuService, ReportGenerator reportGenerator) Autowired constructor- Parameters:
maintainService
- Maintain servicemenuService
- menu servicereportGenerator
- report generator
-
-
Method Details
-
printScreen
Print current screen- Parameters:
screenName
- Screen nameprintAction
- Print action- Returns:
- Screen print status
- Throws:
AWException
- Error generating reports
-
viewPdfFile
Retrieve application manual header- Parameters:
filePath
- absolute file path- Returns:
- Pdf file as FileData
- Throws:
AWException
- File not found
-