org.kuali.kfs.gl.report
Class TransactionListingReport

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

public class TransactionListingReport
extends Object

This class prints out a transaction listing report. This is different from a transaction report in that this lists all the transactions and a total amount. The transaction report shows the primary key from transactions and a list of messages for each one.


Field Summary
protected  org.kuali.rice.kns.util.KualiDecimal budgetTotal
           
protected  org.kuali.rice.kns.util.KualiDecimal creditTotal
           
protected  org.kuali.rice.kns.util.KualiDecimal debitTotal
           
protected  int transactionCount
           
 
Constructor Summary
TransactionListingReport()
           
 
Method Summary
 void generateReport(ReportWriterService reportWriterService, Iterator<? extends Transaction> transactions)
          This will generate a report on the transactions passed to it
 void generateReport(ReportWriterService reportWriterService, Transaction transaction)
          This will write a transaction to the report.
 void generateStatistics(ReportWriterService reportWriterService)
          Writes the statistics to the report that were collected by this class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionCount

protected int transactionCount

debitTotal

protected org.kuali.rice.kns.util.KualiDecimal debitTotal

creditTotal

protected org.kuali.rice.kns.util.KualiDecimal creditTotal

budgetTotal

protected org.kuali.rice.kns.util.KualiDecimal budgetTotal
Constructor Detail

TransactionListingReport

public TransactionListingReport()
Method Detail

generateReport

public void generateReport(ReportWriterService reportWriterService,
                           Transaction transaction)
This will write a transaction to the report. It collects data in order for this to be a listing, hence it is the developers responsibility to call generateStatistics after printing the listing.

Parameters:
reportWriterService - destination report
transaction - Transaction to be printed

generateStatistics

public void generateStatistics(ReportWriterService reportWriterService)
Writes the statistics to the report that were collected by this class

Parameters:
reportWriterService - destination report

generateReport

public void generateReport(ReportWriterService reportWriterService,
                           Iterator<? extends Transaction> transactions)
This will generate a report on the transactions passed to it

Parameters:
reportWriterService - destination report
transactions - Transactions sorted properly


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