|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisbursementVoucherCoverSheetService
This service interface defines the methods that a DisbursementVoucherCoverSheetService implementation must provide.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||