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

public class ReportService extends ServiceConfig
QueryService Class

AWE Data Engine Provides generate function to get application data

Author:
Pablo GARCIA
  • Constructor Details

    • ReportService

      public ReportService(MaintainService maintainService, MenuService menuService, ReportGenerator reportGenerator)
      Autowired constructor
      Parameters:
      maintainService - Maintain service
      menuService - menu service
      reportGenerator - report generator
  • Method Details

    • printScreen

      public ServiceData printScreen(String screenName, String printAction) throws AWException
      Print current screen
      Parameters:
      screenName - Screen name
      printAction - Print action
      Returns:
      Screen print status
      Throws:
      AWException - Error generating reports
    • viewPdfFile

      public ServiceData viewPdfFile(String filePath) throws AWException
      Retrieve application manual header
      Parameters:
      filePath - absolute file path
      Returns:
      Pdf file as FileData
      Throws:
      AWException - File not found