Class ReportManager

java.lang.Object
com.logicaldoc.report.ReportManager

public class ReportManager extends Object
Manager of the reports
Since:
7.3.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • ReportManager

      public ReportManager()
  • Method Details

    • setReportDao

      public void setReportDao(ReportDAO reportDao)
    • setDataSource

      public void setDataSource(DataSource dataSource)
    • executeReport

      public void executeReport(long reportId, Map<String,Object> parameters, com.logicaldoc.core.document.DocumentHistory transaction)
      Processes a report and produces the output as a document in the repository
      Parameters:
      reportId - ID of the report to process
      parameters - The fieldsMap pdf the parameters to be passed to the reporting engine
      transaction - The session informations for this elaboration, may be null
    • getReportParameters

      public Map<String,com.logicaldoc.core.metadata.Attribute> getReportParameters(long reportId) throws com.logicaldoc.core.PersistenceException
      Throws:
      com.logicaldoc.core.PersistenceException
    • setDocumentManager

      public void setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
    • setDocumentDao

      public void setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
    • setFolderDao

      public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)