public class LedgerSummaryReport extends Object
| Constructor and Description | 
|---|
| LedgerSummaryReport()Constructs a LedgerSummaryReport | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addEntryToLedgerSummaries(OriginEntryInformation originEntry,
                                                  LedgerSummaryTotalLine totalLine,
                                                  LedgerBalanceTypeSummaryTotalLine balanceTypeTotal,
                                                  LedgerSummaryDetailLine detailLine)Adds the amount of the origin entry into the appropriate total - debit, credit, or budget - on the various ledger summarizers | 
| protected LedgerBalanceTypeSummaryTotalLine | getBalanceTypeSummaryTotalLine(OriginEntryInformation entry,
                                                            Map<String,LedgerBalanceTypeSummaryTotalLine> balanceTypeTotals)Retrieves the proper balance type summarizer from the given map, or creates a new summarizer and puts it in the Map if it doesn't already exist | 
| protected LedgerSummaryDetailLine | getDetailLine(OriginEntryInformation entry,
                          Map<String,LedgerSummaryDetailLine> detailLines)Retrieves the proper detail line summarizer from the given map, or creates a new summarizer and adds it to the map if needed | 
| void | summarizeEntry(OriginEntryInformation entry)Summarizes an entry into the various totals which this report is keeping | 
| void | writeReport(ReportWriterService reportWriterService)Writes the report of totals to the given reportWriterService | 
public LedgerSummaryReport()
public void summarizeEntry(OriginEntryInformation entry)
entry - an entry to summarizeprotected LedgerBalanceTypeSummaryTotalLine getBalanceTypeSummaryTotalLine(OriginEntryInformation entry, Map<String,LedgerBalanceTypeSummaryTotalLine> balanceTypeTotals)
entry - the origin entry to find a balance type summarizer forbalanceTypeTotals - the Map of balance type summarizersprotected LedgerSummaryDetailLine getDetailLine(OriginEntryInformation entry, Map<String,LedgerSummaryDetailLine> detailLines)
entry - the origin entry to find a detail line summarizer fordetailLines - a Map of detail line summarizersprotected void addEntryToLedgerSummaries(OriginEntryInformation originEntry, LedgerSummaryTotalLine totalLine, LedgerBalanceTypeSummaryTotalLine balanceTypeTotal, LedgerSummaryDetailLine detailLine)
originEntry - the origin entry to add the total fromtotalLine - a complete total to add the amount tobalanceTypeTotal - the total for the entries with the same balance type as the origin entry to add the amount todetailLine - the proper detail amount to add the amoun ttopublic void writeReport(ReportWriterService reportWriterService)
reportWriterService - a report writer service to write the ledger summary report toCopyright © 2004–2015 The Kuali Foundation. All rights reserved.