Package com.logicaldoc.report
Class ReportManager
java.lang.Object
com.logicaldoc.report.ReportManager
Manager of the reports
- Since:
- 7.3.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecuteReport(long reportId, Map<String, Object> parameters, com.logicaldoc.core.document.DocumentHistory transaction) Processes a report and produces the output as a document in the repositorygetReportParameters(long reportId) voidsetDataSource(DataSource dataSource) voidsetDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao) voidsetDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager) voidsetFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao) voidsetReportDao(ReportDAO reportDao) 
- 
Constructor Details- 
ReportManagerpublic ReportManager()
 
- 
- 
Method Details- 
setReportDao
- 
setDataSource
- 
executeReportpublic 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
 
- 
getReportParameterspublic Map<String,com.logicaldoc.core.metadata.Attribute> getReportParameters(long reportId) throws com.logicaldoc.core.PersistenceException - Throws:
- com.logicaldoc.core.PersistenceException
 
- 
setDocumentManagerpublic void setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager) 
- 
setDocumentDaopublic void setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao) 
- 
setFolderDaopublic void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao) 
 
-