public class BudgetPrintingServiceImpl extends Object implements BudgetPrintService
BudgetPrintingService. It has
capability to print any reports related to Budget like Budget Summary,
Cost-Share Summary etc.| Constructor and Description |
|---|
BudgetPrintingServiceImpl() |
public AttachmentDataSource printBudgetReport(KraPersistableBusinessObjectBase budget, String reportName) 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.budgetDocument - 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 void populateBudgetPrintForms(Budget budget)
populateBudgetPrintForms in interface BudgetPrintServicebudget - public boolean printBudgetForms(Budget budget, String[] selectedBudgetPrintFormId, javax.servlet.http.HttpServletResponse response)
printBudgetForms in interface BudgetPrintServicebudget - BudgetselectedBudgetPrintFormId - list of selected budget formsresponse - public AttachmentDataSource readBudgetPrintStream(Budget budget, String selectedBudgetPrintFormId)
readBudgetPrintStream in interface BudgetPrintServicebudget - BudgetselectedBudgetPrintFormId - form to printAttachmentDataSource bytes of the generated formpublic BudgetSummaryPrint getBudgetSummaryPrint()
public void setBudgetSummaryPrint(BudgetSummaryPrint budgetSummaryPrint)
budgetSummaryPrint - the budgetSummaryPrint to setpublic BudgetCostShareSummaryPrint getBudgetCostShareSummaryPrint()
public void setBudgetCostShareSummaryPrint(BudgetCostShareSummaryPrint budgetCostShareSummaryPrint)
budgetCostShareSummaryPrint - the budgetCostShareSummaryPrint to setpublic BudgetSalaryPrint getBudgetSalaryPrint()
public void setBudgetSalaryPrint(BudgetSalaryPrint budgetSalaryPrint)
budgetSalaryPrint - the budgetSalaryPrint to setpublic PrintingService getPrintingService()
public void setPrintingService(PrintingService printingService)
printingService - the printingService to setpublic BudgetTotalPrint getBudgetTotalPrint()
public void setBudgetTotalPrint(BudgetTotalPrint budgetTotalPrint)
budgetTotalPrint - the budgetTotalPrint to setpublic BudgetSummaryTotalPrint getBudgetSummaryTotalPrint()
public void setBudgetSummaryTotalPrint(BudgetSummaryTotalPrint budgetSummaryTotalPrint)
budgetSummaryTotalPrint - the budgetSummaryTotalPrint to setpublic IndustrialCumulativeBudgetPrint getIndustrialCumulativeBudgetPrint()
public void setIndustrialCumulativeBudgetPrint(IndustrialCumulativeBudgetPrint industrialCumulativeBudgetPrint)
industrialCumulativeBudgetPrint - the industrialCumulativeBudgetPrint to setpublic IndustrialBudgetPrint getIndustrialBudgetPrint()
public void setIndustrialBudgetPrint(IndustrialBudgetPrint industrialBudgetPrint)
industrialBudgetPrint - the industrialBudgetPrint to setpublic BudgetCumulativePrint getBudgetCumulativePrint()
public void setBudgetCumulativePrint(BudgetCumulativePrint budgetCumulativePrint)
budgetCumulativePrint - the budgetCumulativePrint to setCopyright © 2013 The Kuali Foundation. All Rights Reserved.