public interface DunningLetterService
Modifier and Type | Method and Description |
---|---|
byte[] |
createDunningLettersForAllResults(Collection<GenerateDunningLettersLookupResult> results)
Creates a byte stream of pdfs for all dunning letters created for the given GenerateDunningLettersLookupResult.
|
boolean |
createZipOfPDFs(byte[] report,
ByteArrayOutputStream baos)
This method generates the actual pdf files to print.
|
Collection<GenerateDunningLettersLookupResult> |
getPopulatedGenerateDunningLettersLookupResults(Collection<ContractsGrantsInvoiceDocument> invoices)
This helper method returns a list of award lookup results based on the Generate Dunning Letters lookup
|
boolean |
isValidOrganizationForTemplate(DunningLetterTemplate template,
org.kuali.rice.kim.api.identity.Person user)
Determines if the given DunningLetterTemplate's organization is valid for the given user.
|
byte[] createDunningLettersForAllResults(Collection<GenerateDunningLettersLookupResult> results) throws com.lowagie.text.DocumentException, IOException
results
- the dunning letter lookup results to create pdfs forcom.lowagie.text.DocumentException
IOException
boolean createZipOfPDFs(byte[] report, ByteArrayOutputStream baos) throws IOException
report
- baos
- IOException
boolean isValidOrganizationForTemplate(DunningLetterTemplate template, org.kuali.rice.kim.api.identity.Person user)
template
- the template to check the organization ofuser
- the user attempting to use the templateCollection<GenerateDunningLettersLookupResult> getPopulatedGenerateDunningLettersLookupResults(Collection<ContractsGrantsInvoiceDocument> invoices)
invoices
- the invoices to convert into DunningLetterDistributionLookupResult data transfer objectsCopyright © 2004–2015 The Kuali Foundation. All rights reserved.