public class ProposalDevelopmentPrintingServiceImpl extends Object implements ProposalDevelopmentPrintingService
ProposalDevelopmentPrintingService. It has capability to print any
reports related to Proposal Development like Print Certification, Proposal
etc.PRINT_CERTIFICATION_PERSON, PRINT_CERTIFICATION_REPORT, PRINT_PROPOSAL_SPONSOR_FORMS, SELECTED_TEMPLATES| Constructor and Description |
|---|
ProposalDevelopmentPrintingServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute.
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
PrintCertificationPrint |
getPrintCertificationPrint() |
PrintingService |
getPrintingService() |
ProposalSponsorFormsPrint |
getProposalSponsorFormsPrint()
Gets the printProposalSponsorForms attribute.
|
protected String |
getReportName(KraPersistableBusinessObjectBase printableBusinessObject,
String reportName) |
S2SUtilService |
getS2SUtilService()
Gets the s2SUtilService attribute.
|
List<SponsorFormTemplate> |
getSponsorFormTemplates(List<SponsorFormTemplateList> sponsorFormTemplateLists)
This method gets the sponsor form template from the given sponsor form
template list
|
protected Collection<SponsorFormTemplateList> |
getSponsorTemplatesList(String sponsorCode)
This method is used to get the Sponsor template list for the given
sponsor code.
|
void |
populateSponsorForms(List<SponsorFormTemplateList> sponsorFormTemplates,
String sponsorCode)
This method is to get templates for generic sponsor code.
|
AttachmentDataSource |
printProposalDevelopmentReport(KraPersistableBusinessObjectBase printableBusinessObject,
String reportName,
Map<String,Object> reportParameters)
This method generates the required report and returns the PDF stream as
AttachmentDataSource. |
protected void |
resetSelectedFormList(List<SponsorFormTemplateList> sponsorFormTemplates)
This method is to reset the selected form list.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setPrintCertificationPrint(PrintCertificationPrint printCertificationPrint) |
void |
setPrintingService(PrintingService printingService) |
void |
setProposalSponsorFormsPrint(ProposalSponsorFormsPrint proposalSponsorFormsPrint)
Sets the printProposalSponsorForms attribute value.
|
void |
setS2SUtilService(S2SUtilService utilService)
Sets the s2SUtilService attribute value.
|
public ProposalDevelopmentPrintingServiceImpl()
public AttachmentDataSource printProposalDevelopmentReport(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.printProposalDevelopmentReport in interface ProposalDevelopmentPrintingServicedocument - Document 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 generationprotected String getReportName(KraPersistableBusinessObjectBase printableBusinessObject, String reportName)
public void populateSponsorForms(List<SponsorFormTemplateList> sponsorFormTemplates, String sponsorCode)
populateSponsorForms in interface ProposalDevelopmentPrintingServicesponsorFormTemplates - list of SponsorFormTemplateList.sponsorCode - code for the sponsor.protected Collection<SponsorFormTemplateList> getSponsorTemplatesList(String sponsorCode)
sponsorCode - code number of the sponsor.protected void resetSelectedFormList(List<SponsorFormTemplateList> sponsorFormTemplates)
sponsorFormTemplates - list of SponsorFormTemplateList.public List<SponsorFormTemplate> getSponsorFormTemplates(List<SponsorFormTemplateList> sponsorFormTemplateLists)
getSponsorFormTemplates in interface ProposalDevelopmentPrintingServicesponsorFormTemplateLists - -
list of sponsor form template listpublic PrintingService getPrintingService()
public void setPrintingService(PrintingService printingService)
printingService - the printingService to setpublic PrintCertificationPrint getPrintCertificationPrint()
public void setPrintCertificationPrint(PrintCertificationPrint printCertificationPrint)
public S2SUtilService getS2SUtilService()
public void setS2SUtilService(S2SUtilService utilService)
utilService - The s2SUtilService to set.public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public ProposalSponsorFormsPrint getProposalSponsorFormsPrint()
public void setProposalSponsorFormsPrint(ProposalSponsorFormsPrint proposalSponsorFormsPrint)
printProposalSponsorForms - The printProposalSponsorForms to set.public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.