Package com.logicaldoc.report
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 Summary
Constructors Constructor Description ReportManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 repositoryMap<String,com.logicaldoc.core.metadata.Attribute>
getReportParameters(long reportId)
void
setDataSource(DataSource dataSource)
void
setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
void
setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
void
setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
void
setReportDao(ReportDAO reportDao)
-
-
-
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- 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.dao.DocumentDAO documentDao)
-
setFolderDao
public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
-
-