public interface QuestionnairePrintingService
| Modifier and Type | Method and Description |
|---|---|
List<Printable> |
getQuestionnairePrintable(KraPersistableBusinessObjectBase printableBusinessObject,
List<QuestionnairePrintOption> questionnairesToPrints)
This method is to get the printables for the questions selected and printed with protocol summary.
|
AttachmentDataSource |
printQuestionnaire(KraPersistableBusinessObjectBase printableBusinessObject,
Map<String,Object> reportParameters)
This method generates the Questionnaire report and returns the PDF stream as
AttachmentDataSource. |
AttachmentDataSource |
printQuestionnaireAnswer(KraPersistableBusinessObjectBase printableBusinessObject,
Map<String,Object> reportParameters)
This method generates the Questionnaire Answer report and returns the PDF stream as
AttachmentDataSource. |
AttachmentDataSource printQuestionnaire(KraPersistableBusinessObjectBase printableBusinessObject, 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.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 generationAttachmentDataSource printQuestionnaireAnswer(KraPersistableBusinessObjectBase printableBusinessObject, 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.printableBusinessObject - 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 generationList<Printable> getQuestionnairePrintable(KraPersistableBusinessObjectBase printableBusinessObject, List<QuestionnairePrintOption> questionnairesToPrints)
printableBusinessObject - questionnairesToPrints - Copyright © 2013 The Kuali Foundation. All Rights Reserved.