|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.report.LedgerSummaryReport
public class LedgerSummaryReport
Helper class which can summarize entries by balance type and then print out a ledger summary report
Constructor Summary | |
---|---|
LedgerSummaryReport()
Constructs a LedgerSummaryReport |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LedgerSummaryReport()
Method Detail |
---|
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 summarizers
protected LedgerSummaryDetailLine getDetailLine(OriginEntryInformation entry, Map<String,LedgerSummaryDetailLine> detailLines)
entry
- the origin entry to find a detail line summarizer fordetailLines
- a Map of detail line summarizers
protected 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 to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |