org.kuali.kfs.gl.report
Class TransactionReport

java.lang.Object
  extended by org.kuali.kfs.gl.report.TransactionReport

public class TransactionReport
extends Object

This class represents the functionality related to the generating the Transaction Report. The transaction report shows the primary key from transactions and a list of messages for each one.


Nested Class Summary
static class TransactionReport.PageHelper
           
 
Constructor Summary
TransactionReport()
           
 
Method Summary
 void appendReport(com.lowagie.text.Document document, com.lowagie.text.Font headerFont, com.lowagie.text.Font textFont, List<Transaction> errorSortedList, Map<Transaction,List<Message>> reportErrors, List<Summary> reportSummary, Date runDate)
          Appends the scrubber totals/statistics and error report to the given (iText) document object.
 void generateReport(List<Transaction> errorSortedList, Map<Transaction,List<Message>> reportErrors, List<Summary> reportSummary, Date runDate, String title, String fileprefix, String destinationDirectory)
          Generates transaction report
 void generateReport(Map<Transaction,List<Message>> reportErrors, List<Summary> reportSummary, Date runDate, String title, String fileprefix, String destinationDirectory)
          Generates transaction report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionReport

public TransactionReport()
Method Detail

generateReport

public void generateReport(Map<Transaction,List<Message>> reportErrors,
                           List<Summary> reportSummary,
                           Date runDate,
                           String title,
                           String fileprefix,
                           String destinationDirectory)
Generates transaction report

Parameters:
reportErrors - map containing transactions and the errors associated with each transaction
reportSummary - list of summary objects
runDate - date report is run
title - title of report
fileprefix - file prefix of report file
destinationDirectory - destination of where report file will reside

generateReport

public void generateReport(List<Transaction> errorSortedList,
                           Map<Transaction,List<Message>> reportErrors,
                           List<Summary> reportSummary,
                           Date runDate,
                           String title,
                           String fileprefix,
                           String destinationDirectory)
Generates transaction report

Parameters:
errorSortedList - list of error'd transactions
reportErrors - map containing transactions and the errors associated with each transaction
reportSummary - list of summary objects
runDate - date report is run
title - title of report
fileprefix - file prefix of report file
destinationDirectory - destination of where report file will reside

appendReport

public void appendReport(com.lowagie.text.Document document,
                         com.lowagie.text.Font headerFont,
                         com.lowagie.text.Font textFont,
                         List<Transaction> errorSortedList,
                         Map<Transaction,List<Message>> reportErrors,
                         List<Summary> reportSummary,
                         Date runDate)
                  throws com.lowagie.text.DocumentException
Appends the scrubber totals/statistics and error report to the given (iText) document object.

Parameters:
document - the PDF document
headerFont - font for header
textFont - font for report text
errorSortedList - list of error'd transactions
reportErrors - map containing transactions and the errors associated with each transaction
reportSummary - list of summary objects
runDate - date report was run
Throws:
com.lowagie.text.DocumentException


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.