org.kuali.kfs.gl.batch.service.impl
Class NightlyOutServiceImpl.EntryListReport

java.lang.Object
  extended by org.kuali.kfs.gl.batch.service.impl.NightlyOutServiceImpl.EntryListReport
Enclosing class:
NightlyOutServiceImpl

protected class NightlyOutServiceImpl.EntryListReport
extends Object

A helper class which writes out the nightly out entry list report


Nested Class Summary
protected  class NightlyOutServiceImpl.EntryListReport.EntryReportDocumentNumberTotalLine
          Summarizes pending entry data per document number
protected  class NightlyOutServiceImpl.EntryListReport.EntryReportDocumentTypeTotalLine
          Summarizes pending entry data per document type
protected  class NightlyOutServiceImpl.EntryListReport.EntryReportTotalLine
          Summarizes entries for the pending entry view
 
Constructor Summary
NightlyOutServiceImpl.EntryListReport()
          Constructs a NightlyOutServiceImpl
 
Method Summary
protected  void addPendingEntryToDocumentType(PendingEntrySummary pendingEntrySummary, Map<String,NightlyOutServiceImpl.EntryListReport.EntryReportDocumentTypeTotalLine> docTypeTotals)
          Adds the given pending entry summary to the appropriate doc type's line total
protected  void addSummaryToTotal(PendingEntrySummary pendingEntrySummary, NightlyOutServiceImpl.EntryListReport.EntryReportTotalLine totalLine)
          Adds the given summary to the correct credit, debit, or budget total in the total line
protected  void writeDocumentTotalLine(NightlyOutServiceImpl.EntryListReport.EntryReportDocumentNumberTotalLine documentNumberTotal, ReportWriterService reportWriterService)
          Writes totals for the document number we just finished writing out
 void writeEntry(OriginEntryInformation entry, ReportWriterService reportWriterService)
          Writes an entry to the list report
 void writeReportFooter(ReportWriterService reportWriterService)
          Completes the footer summary information for the report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NightlyOutServiceImpl.EntryListReport

public NightlyOutServiceImpl.EntryListReport()
Constructs a NightlyOutServiceImpl

Method Detail

writeEntry

public void writeEntry(OriginEntryInformation entry,
                       ReportWriterService reportWriterService)
Writes an entry to the list report

Parameters:
entry - the entry to write
reportWriterService - the reportWriterService to write the entry to

addPendingEntryToDocumentType

protected void addPendingEntryToDocumentType(PendingEntrySummary pendingEntrySummary,
                                             Map<String,NightlyOutServiceImpl.EntryListReport.EntryReportDocumentTypeTotalLine> docTypeTotals)
Adds the given pending entry summary to the appropriate doc type's line total

Parameters:
pendingEntrySummary - the pending entry summary to add
docTypeTotals - the Map of doc type line total helpers to add the summary to

addSummaryToTotal

protected void addSummaryToTotal(PendingEntrySummary pendingEntrySummary,
                                 NightlyOutServiceImpl.EntryListReport.EntryReportTotalLine totalLine)
Adds the given summary to the correct credit, debit, or budget total in the total line

Parameters:
pendingEntrySummary - the summary to add
totalLine - the entry report total line which holds debit, credit, and budget sum totals

writeDocumentTotalLine

protected void writeDocumentTotalLine(NightlyOutServiceImpl.EntryListReport.EntryReportDocumentNumberTotalLine documentNumberTotal,
                                      ReportWriterService reportWriterService)
Writes totals for the document number we just finished writing out

Parameters:
documentNumberTotal - EntryReportDocumentNumberTotalLine containing totals to write
reportWriterService - ReportWriterService for writing output to report

writeReportFooter

public void writeReportFooter(ReportWriterService reportWriterService)
Completes the footer summary information for the report

Parameters:
reportWriterService - the reportWriterService to write the footer to


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