public interface DisbursementVoucherCoverSheetService
Modifier and Type | Method and Description |
---|---|
void |
generateDisbursementVoucherCoverSheet(String templateDirectory,
String templateName,
DisbursementVoucherDocument document,
OutputStream outputStream)
Generates a disbursement voucher cover sheet.
|
boolean |
isCoverSheetPrintable(DisbursementVoucherDocument document)
checks the status of the document to see if the cover sheet is printable
|
void generateDisbursementVoucherCoverSheet(String templateDirectory, String templateName, DisbursementVoucherDocument document, OutputStream outputStream) throws com.lowagie.text.DocumentException, IOException
templateDirectory
- The file system directory which contains the template.templateName
- The name of the template file used to generate the cover sheet.document
- The DisbursementVoucherDocument used to generate the cover sheet.outputStream
- The stream to write out the new cover sheet.com.lowagie.text.DocumentException
- Thrown if there is a problem pulling data from the document to create the cover sheet.IOException
- Thrown if there is a problem writing the cover sheet to the output stream.boolean isCoverSheetPrintable(DisbursementVoucherDocument document)
document
- submitted documentCopyright © 2004–2015 The Kuali Foundation. All rights reserved.