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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 repositorygetReportParameters
(long reportId) void
setDataSource
(DataSource dataSource) void
setDocumentDao
(com.logicaldoc.core.document.DocumentDAO documentDao) void
setDocumentManager
(com.logicaldoc.core.document.DocumentManager documentManager) void
setFolderDao
(com.logicaldoc.core.folder.FolderDAO folderDao) void
setReportDao
(ReportDAO reportDao)
-
Constructor Details
-
ReportManager
public ReportManager()
-
-
Method Details
-
setReportDao
-
setDataSource
-
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 processparameters
- The fieldsMap pdf the parameters to be passed to the reporting enginetransaction
- 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.DocumentDAO documentDao) -
setFolderDao
public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
-