public class ReportTrackingPrintingServiceImpl extends Object implements ReportTrackingPrintingService
ReportTrackingPrintingService. It has
capability to print any reports related to Award like Delta Report, Award
Notice etc.| Constructor and Description |
|---|
ReportTrackingPrintingServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
PrintingService |
getPrintingService() |
protected String |
getReportName(String reportFileNamePrefix,
String reportName) |
AwardReportTracking |
getReportPrintable(ReportTrackingType reportType,
ReportTracking detailResult,
AwardReportTracking printable)
This method will return the printable object
|
ReportTrackingPrint |
getReportTrackingPrint() |
AttachmentDataSource |
printAwardReportTracking(List<Printable> printableArtifactList)
This method is for prints all Award Reports
|
AttachmentDataSource |
printReportTracking(KraPersistableBusinessObjectBase printableBusinessObject,
String reportName,
Map<String,Object> reportParameters)
This method generates the required report and returns the PDF stream as
AttachmentDataSource. |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setPrintingService(PrintingService printingService) |
void |
setReportTrackingPrint(ReportTrackingPrint reportTrackingPrint) |
public AttachmentDataSource printReportTracking(KraPersistableBusinessObjectBase printableBusinessObject, String reportName, Map<String,Object> reportParameters) throws PrintingException
AttachmentDataSource. It first identifies the report type to be
printed, then fetches the required report generator. The report generator
generates XML which is then passed to PrintingService for
transforming into PDF.printReportTracking in interface ReportTrackingPrintingServiceprintableBO - Award data using which report is generatedreportName - report to be generatedreportParameters - Map of parameters required for report generationAttachmentDataSource which contains the byte array of the
generated PDFPrintingException - if any errors occur during report generationpublic AttachmentDataSource printAwardReportTracking(List<Printable> printableArtifactList) throws PrintingException
ReportTrackingPrintingServiceprintAwardReportTracking in interface ReportTrackingPrintingServiceprintableArtifactList - list of Award reportsPrintingExceptionpublic AwardReportTracking getReportPrintable(ReportTrackingType reportType, ReportTracking detailResult, AwardReportTracking printable)
ReportTrackingPrintingServicegetReportPrintable in interface ReportTrackingPrintingServicereportType - report tracking typedetailResult - report to be generatedpublic PrintingService getPrintingService()
public void setPrintingService(PrintingService printingService)
printingService - the printingService to setpublic ReportTrackingPrint getReportTrackingPrint()
public void setReportTrackingPrint(ReportTrackingPrint reportTrackingPrint)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.