org.kuali.kfs.gl.report
Class TransactionListingReport
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TransactionListingReport
public TransactionListingReport()
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 reporttransaction
- 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 reporttransactions
- Transactions sorted properly
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.