Class ReportManager

  • public class ReportManager
    extends Object
    Manager of the reports
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • ReportManager

        public ReportManager()
    • Method Detail

      • 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
        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)
      • 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)