org.kuali.kfs.module.endow.batch.service.impl
Class GeneralLedgerInterfaceBatchProcessServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.endow.batch.service.impl.GeneralLedgerInterfaceBatchProcessServiceImpl
All Implemented Interfaces:
GeneralLedgerInterfaceBatchProcessService

@Transactional
public class GeneralLedgerInterfaceBatchProcessServiceImpl
extends Object
implements GeneralLedgerInterfaceBatchProcessService

This class implements the GeneralLedgerInterfaceBatchProcessService.


Field Summary
protected  String batchFileDirectoryName
           
protected  BigDecimal chartCreditAmountSubTotal
           
protected  BigDecimal chartDebitAmountSubTotal
           
protected  long chartNumberOfRecordsSubTotal
           
protected  BigDecimal chartObjectCreditAmountSubTotal
           
protected  BigDecimal chartObjectDebitAmountSubTotal
           
protected  long chartObjectNumberOfRecordsSubTotal
           
protected  BigDecimal documentTypeCreditAmountGrandTotal
           
protected  BigDecimal documentTypeCreditAmountSubTotal
           
protected  BigDecimal documentTypeDebitAmountGrandTotal
           
protected  BigDecimal documentTypeDebitAmountSubTotal
           
protected  long documentTypeNumberOfRecordsGrandTotal
           
protected  long documentTypeNumberOfRecordsSubTotal
           
protected  boolean documentTypeWritten
           
protected  EndowmentAccountingLineBaseDao endowmentAccountingLineBaseDao
           
protected  GLInterfaceBatchExceptionReportHeader gLInterfaceBatchExceptionReportHeader
           
protected  ReportWriterService gLInterfaceBatchExceptionReportsWriterService
           
protected  GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionRowReason
           
protected  GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionTableRowValues
           
protected  GLInterfaceBatchProcessDao gLInterfaceBatchProcessDao
           
protected  GLInterfaceBatchStatisticsReportDetailTableRow gLInterfaceBatchStatisticsReportDetailTableRow
           
protected  ReportWriterService gLInterfaceBatchStatisticsReportsWriterService
           
protected  GLInterfaceBatchTotalsProcessedReportHeader gLInterfaceBatchTotalProcessedReportHeader
           
protected  ReportWriterService gLInterfaceBatchTotalProcessedReportsWriterService
           
protected  GLInterfaceBatchTotalsProcessedTableRowValues gLInterfaceBatchTotalsProcessedTableRowValues
           
protected  GLLinkDao gLLinkDao
           
protected  KEMService kemService
           
protected static org.apache.log4j.Logger LOG
           
protected  org.kuali.rice.kns.service.ParameterService parameterService
           
protected  String previousChartCode
           
protected  String previousDocumentTypeCode
           
protected  String previousObjectCode
           
protected  boolean statisticsHeaderWritten
           
protected  TransactionArchiveDao transactionArchiveDao
           
 
Constructor Summary
GeneralLedgerInterfaceBatchProcessServiceImpl()
          Constructs a GeneralLedgerInterfaceBatchProcessServiceImpl instance
 
Method Summary
protected  void addChartTotalsToDocumentTypeTotals()
          add chart level totals to document type totals and reset the chart/object level totals.
protected  void addDocumentTypeTotalsToGrandTotals()
          add totals to grand totals and reset document level totals...
protected  void addTotalsToChartTotals()
           
protected  boolean createCashEntry(GlInterfaceBatchProcessKemLine transactionArchive, PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps, Date postedDate, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          method to create cash entry GL record
protected  boolean createGainLossEntry(OriginEntryFull oef, GlInterfaceBatchProcessKemLine transactionArchive, PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          method to create a gain/loss record when document type = EAD...
protected  boolean createGLEntriesForEGLTOrGLET(GlInterfaceBatchProcessKemLine transactionArchive, PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps, Date postedDate, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          method to create cash entry GL record for each transaction archive financial doc number
 boolean createGlEntriesForTransactionArchives(String documentType, Collection<GlInterfaceBatchProcessKemLine> transactionArchives, PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps, Date postedDate, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          For the transaction archives this method creates GL entries into the output file.
protected  boolean createNonCashEntry(GlInterfaceBatchProcessKemLine transactionArchive, PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps, Date postedDate, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          method to create non-cash entry GL record
protected  boolean createOffsetEntry(OriginEntryFull oef, GlInterfaceBatchProcessKemLine transactionArchive, PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          method to create an offset record when document type is NON-CASH
protected  OriginEntryFull createOriginEntryFull(GlInterfaceBatchProcessKemLine transactionArchive, Date postedDate, GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
          method to create origin entry and populate the fields
protected  void createOutputEntry(Transaction entry, PrintStream group)
           
protected  EndowmentAccountingLineBaseDao getEndowmentAccountingLineBaseDao()
          Gets the endowmentAccountingLineBaseDao attribute.
protected  GLInterfaceBatchExceptionReportHeader getGLInterfaceBatchExceptionReportHeader()
          Gets the processFeeTransactionsTotalProcessedReportHeader attribute.
protected  ReportWriterService getgLInterfaceBatchExceptionReportsWriterService()
          Gets the gLInterfaceBatchExceptionReportsWriterService attribute.
protected  GLInterfaceBatchExceptionTableRowValues getGLInterfaceBatchExceptionRowReason()
          Gets the gLInterfaceBatchExceptionRowReason attribute.
protected  GLInterfaceBatchExceptionTableRowValues getGLInterfaceBatchExceptionTableRowValues()
          Gets the gLInterfaceBatchExceptionTableRowValues attribute.
 GLInterfaceBatchProcessDao getgLInterfaceBatchProcessDao()
          Gets the gLInterfaceBatchProcessDao attribute.
protected  GLInterfaceBatchStatisticsReportDetailTableRow getGLInterfaceBatchStatisticsReportDetailTableRow()
          Gets the gLInterfaceBatchStatisticsReportDetailTableRow attribute.
 ReportWriterService getgLInterfaceBatchStatisticsReportsWriterService()
          Gets the gLInterfaceBatchStatisticsReportsWriterService attribute.
 ReportWriterService getgLInterfaceBatchTotalProcessedReportsWriterService()
          Gets the gLInterfaceBatchTotalProcessedReportsWriterService attribute.
protected  GLInterfaceBatchTotalsProcessedTableRowValues getGLInterfaceBatchTotalsProcessedTableRowValues()
          Gets the gLInterfaceBatchTotalsProcessedTableRowValues attribute.
protected  GLLinkDao getgLLinkDao()
          gets attribute gLLinkDao
protected  KEMService getKemService()
          Gets the kemService.
protected  org.kuali.rice.kns.service.ParameterService getParameterService()
          Gets the parameterService attribute.
 String getSepartorLine()
          get the separator line - to write a header line in statistics report
protected  BigDecimal getTransactionAmount(GlInterfaceBatchProcessKemLine transactionArchive)
          method to get transaction amount
protected  TransactionArchiveDao getTransactionArchiveDao()
          Gets the transactionArchiveDao attribute.
protected  String getTransactionDebitCreditCode(String documentType, BigDecimal transactionAmount, String subTypeCode)
          method to get transaction debit/credit code
protected  String getTransactionDebitCreditCodeForOffSetEntry(BigDecimal transactionAmount)
          method to get transaction debit/credit code
protected  String getTransactionDescription(GlInterfaceBatchProcessKemLine transactionArchive, Date postedDate)
          method to get transaction description
protected  void initializeChartObjectTotals()
          method to initialize object level totals....
protected  void processDocumentTypeTotals()
          method to write document type totals whenever document type changes.
 boolean processKEMActivity()
          process the KEM Activity transactions to create gl entries in the origin entry file
 boolean processKEMActivityToCreateGLEntries()
          The process is intended to serve to consolidate KEM activity for the day into valid general ledger debits and credits to update the institution's records.
 void setBatchFileDirectoryName(String batchFileDirectoryName)
          This method sets the batchFileDirectoryName
 void setEndowmentAccountingLineBaseDao(EndowmentAccountingLineBaseDao endowmentAccountingLineBaseDao)
          Sets the endowmentAccountingLineBaseDao attribute value.
 void setGLInterfaceBatchExceptionReportHeader(GLInterfaceBatchExceptionReportHeader gLInterfaceBatchExceptionReportHeader)
          Sets the gLInterfaceBatchExceptionReportHeader attribute value.
 void setgLInterfaceBatchExceptionReportsWriterService(ReportWriterService gLInterfaceBatchExceptionReportsWriterService)
          Sets the gLInterfaceBatchExceptionReportsWriterService attribute value.
 void setGLInterfaceBatchExceptionRowReason(GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionRowReason)
          Sets the gLInterfaceBatchExceptionRowReason attribute value.
 void setGLInterfaceBatchExceptionTableRowValues(GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionTableRowValues)
          Sets the gLInterfaceBatchExceptionTableRowValues attribute value.
 void setgLInterfaceBatchProcessDao(GLInterfaceBatchProcessDao gLInterfaceBatchProcessDao)
          Sets the gLInterfaceBatchProcessDao attribute value.
 void setGLInterfaceBatchStatisticsReportDetailTableRow(GLInterfaceBatchStatisticsReportDetailTableRow gLInterfaceBatchStatisticsReportDetailTableRow)
          Sets the gLInterfaceBatchStatisticsReportDetailTableRow attribute value.
 void setgLInterfaceBatchStatisticsReportsWriterService(ReportWriterService gLInterfaceBatchStatisticsReportsWriterService)
          Sets the gLInterfaceBatchStatisticsReportsWriterService attribute value.
 void setgLInterfaceBatchTotalProcessedReportsWriterService(ReportWriterService gLInterfaceBatchTotalProcessedReportsWriterService)
          Sets the gLInterfaceBatchTotalProcessedReportsWriterService attribute value.
 void setGLInterfaceBatchTotalsProcessedTableRowValues(GLInterfaceBatchTotalsProcessedTableRowValues gLInterfaceBatchTotalsProcessedTableRowValues)
          Sets the gLInterfaceBatchTotalsProcessedTableRowValues attribute value.
 void setgLLinkDao(GLLinkDao gLLinkDao)
          sets attribute gLLinkDao
 void setKemService(KEMService kemService)
          Sets the kemService.
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          Sets the parameterService attribute value.
 void setTransactionArchiveDao(TransactionArchiveDao transactionArchiveDao)
          Sets the transactionArchiveDao attribute value.
protected  void updateTotals(GlInterfaceBatchProcessKemLine transactionArchive)
          add debit and credit totals and number of lines processed to detail line.
protected  void updateTotalsProcessed(GlInterfaceBatchProcessKemLine transactionArchive)
          method to update the totals processed amount variables.
protected  void writeExceptionRecord(GlInterfaceBatchProcessKemLine transactionArchive, String reasonMessage)
          writes out the table row values then writes the reason row and inserts a blank line
protected  void writeReportHeaders()
          Writes the reports headers for totals processed, waived and accrued fee, and exceptions reports.
protected  void writeStatisticsReport(Collection<GLInterfaceBatchStatisticsReportDetailTableRow> statisticsReportRows)
          method to write the statistics report....
protected  void writeTotalsProcessedChartDetailTotalsLine()
          write chart TotalsProcessedDetailTotalsLine method to write details total line.
protected  void writeTotalsProcessedDocumentTypeDetailTotalsLine()
          write document type TotalsProcessedDetailTotalsLine method to write details total line.
protected  void writeTotalsProcessedGrandTotalsLine()
          write document TotalsProcessedDetailTotalsLine method to write details total line.
protected  void writeTotalsProcessedObjectDetailTotalsLine(String previousDocumentTypeCode, String previousChartCode, String previousObjectCode)
          write TotalsProcessedDetailTotalsLine method to write details total line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG

batchFileDirectoryName

protected String batchFileDirectoryName

kemService

protected KEMService kemService

gLLinkDao

protected GLLinkDao gLLinkDao

transactionArchiveDao

protected TransactionArchiveDao transactionArchiveDao

endowmentAccountingLineBaseDao

protected EndowmentAccountingLineBaseDao endowmentAccountingLineBaseDao

gLInterfaceBatchProcessDao

protected GLInterfaceBatchProcessDao gLInterfaceBatchProcessDao

parameterService

protected org.kuali.rice.kns.service.ParameterService parameterService

gLInterfaceBatchStatisticsReportsWriterService

protected ReportWriterService gLInterfaceBatchStatisticsReportsWriterService

gLInterfaceBatchTotalProcessedReportsWriterService

protected ReportWriterService gLInterfaceBatchTotalProcessedReportsWriterService

gLInterfaceBatchExceptionReportsWriterService

protected ReportWriterService gLInterfaceBatchExceptionReportsWriterService

gLInterfaceBatchExceptionReportHeader

protected GLInterfaceBatchExceptionReportHeader gLInterfaceBatchExceptionReportHeader

gLInterfaceBatchTotalProcessedReportHeader

protected GLInterfaceBatchTotalsProcessedReportHeader gLInterfaceBatchTotalProcessedReportHeader

gLInterfaceBatchExceptionTableRowValues

protected GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionTableRowValues

gLInterfaceBatchExceptionRowReason

protected GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionRowReason

gLInterfaceBatchTotalsProcessedTableRowValues

protected GLInterfaceBatchTotalsProcessedTableRowValues gLInterfaceBatchTotalsProcessedTableRowValues

gLInterfaceBatchStatisticsReportDetailTableRow

protected GLInterfaceBatchStatisticsReportDetailTableRow gLInterfaceBatchStatisticsReportDetailTableRow

chartObjectDebitAmountSubTotal

protected BigDecimal chartObjectDebitAmountSubTotal

chartObjectCreditAmountSubTotal

protected BigDecimal chartObjectCreditAmountSubTotal

chartObjectNumberOfRecordsSubTotal

protected long chartObjectNumberOfRecordsSubTotal

chartDebitAmountSubTotal

protected BigDecimal chartDebitAmountSubTotal

chartCreditAmountSubTotal

protected BigDecimal chartCreditAmountSubTotal

chartNumberOfRecordsSubTotal

protected long chartNumberOfRecordsSubTotal

documentTypeDebitAmountSubTotal

protected BigDecimal documentTypeDebitAmountSubTotal

documentTypeCreditAmountSubTotal

protected BigDecimal documentTypeCreditAmountSubTotal

documentTypeNumberOfRecordsSubTotal

protected long documentTypeNumberOfRecordsSubTotal

documentTypeDebitAmountGrandTotal

protected BigDecimal documentTypeDebitAmountGrandTotal

documentTypeCreditAmountGrandTotal

protected BigDecimal documentTypeCreditAmountGrandTotal

documentTypeNumberOfRecordsGrandTotal

protected long documentTypeNumberOfRecordsGrandTotal

previousDocumentTypeCode

protected String previousDocumentTypeCode

previousChartCode

protected String previousChartCode

previousObjectCode

protected String previousObjectCode

documentTypeWritten

protected boolean documentTypeWritten

statisticsHeaderWritten

protected boolean statisticsHeaderWritten
Constructor Detail

GeneralLedgerInterfaceBatchProcessServiceImpl

public GeneralLedgerInterfaceBatchProcessServiceImpl()
Constructs a GeneralLedgerInterfaceBatchProcessServiceImpl instance

Method Detail

processKEMActivityToCreateGLEntries

public boolean processKEMActivityToCreateGLEntries()
The process is intended to serve to consolidate KEM activity for the day into valid general ledger debits and credits to update the institution's records.

Specified by:
processKEMActivityToCreateGLEntries in interface GeneralLedgerInterfaceBatchProcessService
See Also:
return boolean true if successful else false

processKEMActivity

public boolean processKEMActivity()
process the KEM Activity transactions to create gl entries in the origin entry file


writeReportHeaders

protected void writeReportHeaders()
Writes the reports headers for totals processed, waived and accrued fee, and exceptions reports.


createGlEntriesForTransactionArchives

public boolean createGlEntriesForTransactionArchives(String documentType,
                                                     Collection<GlInterfaceBatchProcessKemLine> transactionArchives,
                                                     PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps,
                                                     Date postedDate,
                                                     GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
For the transaction archives this method creates GL entries into the output file.

Parameters:
documentType -
transactionArchives - transaction archive records sorted by document type name
postedDate -
statisticsDataRow - to collect the statistics about GL entries, exception entries
OUTPUT_KEM_TO_GL_DATA_FILE_ps - GL origin entry file
Returns:
success true if origin entry files are created, false if files are not created.

createCashEntry

protected boolean createCashEntry(GlInterfaceBatchProcessKemLine transactionArchive,
                                  PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps,
                                  Date postedDate,
                                  GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
method to create cash entry GL record

Parameters:
transactionArchive,OUTPUT_KEM_TO_GL_DATA_FILE_ps, - postedDate, statisticsDataRow
Returns:
true if successful, else false

createNonCashEntry

protected boolean createNonCashEntry(GlInterfaceBatchProcessKemLine transactionArchive,
                                     PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps,
                                     Date postedDate,
                                     GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
method to create non-cash entry GL record

Parameters:
transactionArchive,OUTPUT_KEM_TO_GL_DATA_FILE_ps, - postedDate
Returns:
true if successful, else false

createGainLossEntry

protected boolean createGainLossEntry(OriginEntryFull oef,
                                      GlInterfaceBatchProcessKemLine transactionArchive,
                                      PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps,
                                      GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
method to create a gain/loss record when document type = EAD...

Parameters:
oef - OriginEntryFull
transactionArchive -
OUTPUT_KEM_TO_GL_DATA_FILE_ps - the output file
statisticsDataRow -
Returns:
success true if successfully created offset or gain loss entry else false

createOffsetEntry

protected boolean createOffsetEntry(OriginEntryFull oef,
                                    GlInterfaceBatchProcessKemLine transactionArchive,
                                    PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps,
                                    GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
method to create an offset record when document type is NON-CASH

Parameters:
oef - OriginEntryFull
transactionArchive -
OUTPUT_KEM_TO_GL_DATA_FILE_ps - the output file
statisticsDataRow -
Returns:
success true if successfully created offset or gain loss entry else false

createGLEntriesForEGLTOrGLET

protected boolean createGLEntriesForEGLTOrGLET(GlInterfaceBatchProcessKemLine transactionArchive,
                                               PrintStream OUTPUT_KEM_TO_GL_DATA_FILE_ps,
                                               Date postedDate,
                                               GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
method to create cash entry GL record for each transaction archive financial doc number

Parameters:
transactionArchive,OUTPUT_KEM_TO_GL_DATA_FILE_ps, - postedDate
Returns:
true if successful, else false

createOriginEntryFull

protected OriginEntryFull createOriginEntryFull(GlInterfaceBatchProcessKemLine transactionArchive,
                                                Date postedDate,
                                                GLInterfaceBatchStatisticsReportDetailTableRow statisticsDataRow)
method to create origin entry and populate the fields

Parameters:
transactionArchive, - postedDate
Returns:
oef

getTransactionDescription

protected String getTransactionDescription(GlInterfaceBatchProcessKemLine transactionArchive,
                                           Date postedDate)
method to get transaction description

Parameters:
transactionArchive -
Returns:
transaction description

getTransactionAmount

protected BigDecimal getTransactionAmount(GlInterfaceBatchProcessKemLine transactionArchive)
method to get transaction amount

Parameters:
transactionArchive -
Returns:
transaction amount

getTransactionDebitCreditCode

protected String getTransactionDebitCreditCode(String documentType,
                                               BigDecimal transactionAmount,
                                               String subTypeCode)
method to get transaction debit/credit code

Parameters:
transactionAmount -
subTypeCode -
Returns:
transaction debit or credit code

getTransactionDebitCreditCodeForOffSetEntry

protected String getTransactionDebitCreditCodeForOffSetEntry(BigDecimal transactionAmount)
method to get transaction debit/credit code

Parameters:
transactionAmount -
Returns:
transaction debit or credit code

createOutputEntry

protected void createOutputEntry(Transaction entry,
                                 PrintStream group)
                          throws IOException
Throws:
IOException

updateTotalsProcessed

protected void updateTotalsProcessed(GlInterfaceBatchProcessKemLine transactionArchive)
method to update the totals processed amount variables. If same chart and object code then update totals, else if chart is different then first write out the object level totals line, then add the chart totals and then write the chart level totals line. If only different object code then write the object code level totals line and then add the totals to the chart level totals.

Parameters:
transactionArchive -

updateTotals

protected void updateTotals(GlInterfaceBatchProcessKemLine transactionArchive)
add debit and credit totals and number of lines processed to detail line. If object code equals to loss/gain object code, then total is short term loss/gai added to long term loss/gain amount else total amount is retrieved by calling method getTransactionAmount. The debit or credit code is determined based on the totalAmount value.

Parameters:
transactionArchive -

writeTotalsProcessedObjectDetailTotalsLine

protected void writeTotalsProcessedObjectDetailTotalsLine(String previousDocumentTypeCode,
                                                          String previousChartCode,
                                                          String previousObjectCode)
write TotalsProcessedDetailTotalsLine method to write details total line.

Parameters:
previousDocumentTypeCode -
feeMethodCode -
totalLinesGenerated -

writeTotalsProcessedChartDetailTotalsLine

protected void writeTotalsProcessedChartDetailTotalsLine()
write chart TotalsProcessedDetailTotalsLine method to write details total line.


writeTotalsProcessedDocumentTypeDetailTotalsLine

protected void writeTotalsProcessedDocumentTypeDetailTotalsLine()
write document type TotalsProcessedDetailTotalsLine method to write details total line.


processDocumentTypeTotals

protected void processDocumentTypeTotals()
method to write document type totals whenever document type changes. First write out any pending details row and then write the pending chart details before writing the document type level totals.


writeTotalsProcessedGrandTotalsLine

protected void writeTotalsProcessedGrandTotalsLine()
write document TotalsProcessedDetailTotalsLine method to write details total line.


addDocumentTypeTotalsToGrandTotals

protected void addDocumentTypeTotalsToGrandTotals()
add totals to grand totals and reset document level totals...


addChartTotalsToDocumentTypeTotals

protected void addChartTotalsToDocumentTypeTotals()
add chart level totals to document type totals and reset the chart/object level totals.


addTotalsToChartTotals

protected void addTotalsToChartTotals()

initializeChartObjectTotals

protected void initializeChartObjectTotals()
method to initialize object level totals....


writeStatisticsReport

protected void writeStatisticsReport(Collection<GLInterfaceBatchStatisticsReportDetailTableRow> statisticsReportRows)
method to write the statistics report....

Parameters:
statisticsReportRows - Collection of statistics detail rows

getSepartorLine

public String getSepartorLine()
get the separator line - to write a header line in statistics report

Returns:
the separator line

writeExceptionRecord

protected void writeExceptionRecord(GlInterfaceBatchProcessKemLine transactionArchive,
                                    String reasonMessage)
writes out the table row values then writes the reason row and inserts a blank line

Parameters:
transactionArchive -
reasonMessage - the reason message

getgLInterfaceBatchExceptionReportsWriterService

protected ReportWriterService getgLInterfaceBatchExceptionReportsWriterService()
Gets the gLInterfaceBatchExceptionReportsWriterService attribute.

Returns:
Returns the gLInterfaceBatchExceptionReportsWriterService.

setgLInterfaceBatchExceptionReportsWriterService

public void setgLInterfaceBatchExceptionReportsWriterService(ReportWriterService gLInterfaceBatchExceptionReportsWriterService)
Sets the gLInterfaceBatchExceptionReportsWriterService attribute value.

Parameters:
gLInterfaceBatchExceptionReportsWriterService - The gLInterfaceBatchExceptionReportsWriterService to set.

getgLInterfaceBatchTotalProcessedReportsWriterService

public ReportWriterService getgLInterfaceBatchTotalProcessedReportsWriterService()
Gets the gLInterfaceBatchTotalProcessedReportsWriterService attribute.

Returns:
Returns the gLInterfaceBatchTotalProcessedReportsWriterService.

setgLInterfaceBatchTotalProcessedReportsWriterService

public void setgLInterfaceBatchTotalProcessedReportsWriterService(ReportWriterService gLInterfaceBatchTotalProcessedReportsWriterService)
Sets the gLInterfaceBatchTotalProcessedReportsWriterService attribute value.

Parameters:
gLInterfaceBatchTotalProcessedReportsWriterService - The gLInterfaceBatchTotalProcessedReportsWriterService to set.

getgLInterfaceBatchStatisticsReportsWriterService

public ReportWriterService getgLInterfaceBatchStatisticsReportsWriterService()
Gets the gLInterfaceBatchStatisticsReportsWriterService attribute.

Returns:
Returns the gLInterfaceBatchStatisticsReportsWriterService.

setgLInterfaceBatchStatisticsReportsWriterService

public void setgLInterfaceBatchStatisticsReportsWriterService(ReportWriterService gLInterfaceBatchStatisticsReportsWriterService)
Sets the gLInterfaceBatchStatisticsReportsWriterService attribute value.

Parameters:
gLInterfaceBatchStatisticsReportsWriterService - The gLInterfaceBatchStatisticsReportsWriterService to set.

getKemService

protected KEMService getKemService()
Gets the kemService.

Returns:
kemService

setKemService

public void setKemService(KEMService kemService)
Sets the kemService.

Parameters:
kemService -

setGLInterfaceBatchExceptionReportHeader

public void setGLInterfaceBatchExceptionReportHeader(GLInterfaceBatchExceptionReportHeader gLInterfaceBatchExceptionReportHeader)
Sets the gLInterfaceBatchExceptionReportHeader attribute value.

Parameters:
processFeeTransactionsExceptionReportHeader - The processFeeTransactionsExceptionReportHeader to set.

getGLInterfaceBatchExceptionReportHeader

protected GLInterfaceBatchExceptionReportHeader getGLInterfaceBatchExceptionReportHeader()
Gets the processFeeTransactionsTotalProcessedReportHeader attribute.

Returns:
Returns the processFeeTransactionsTotalProcessedReportHeader.

getGLInterfaceBatchExceptionTableRowValues

protected GLInterfaceBatchExceptionTableRowValues getGLInterfaceBatchExceptionTableRowValues()
Gets the gLInterfaceBatchExceptionTableRowValues attribute.

Returns:
Returns the gLInterfaceBatchExceptionTableRowValues.

setGLInterfaceBatchExceptionTableRowValues

public void setGLInterfaceBatchExceptionTableRowValues(GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionTableRowValues)
Sets the gLInterfaceBatchExceptionTableRowValues attribute value.

Parameters:
gLInterfaceBatchExceptionTableRowValues - The gLInterfaceBatchExceptionTableRowValues to set.

getGLInterfaceBatchExceptionRowReason

protected GLInterfaceBatchExceptionTableRowValues getGLInterfaceBatchExceptionRowReason()
Gets the gLInterfaceBatchExceptionRowReason attribute.

Returns:
Returns the gLInterfaceBatchExceptionRowReason.

setGLInterfaceBatchExceptionRowReason

public void setGLInterfaceBatchExceptionRowReason(GLInterfaceBatchExceptionTableRowValues gLInterfaceBatchExceptionRowReason)
Sets the gLInterfaceBatchExceptionRowReason attribute value.

Parameters:
gLInterfaceBatchExceptionRowReason - The gLInterfaceBatchExceptionRowReason to set.

getGLInterfaceBatchTotalsProcessedTableRowValues

protected GLInterfaceBatchTotalsProcessedTableRowValues getGLInterfaceBatchTotalsProcessedTableRowValues()
Gets the gLInterfaceBatchTotalsProcessedTableRowValues attribute.

Returns:
Returns the gLInterfaceBatchTotalsProcessedTableRowValues.

setGLInterfaceBatchTotalsProcessedTableRowValues

public void setGLInterfaceBatchTotalsProcessedTableRowValues(GLInterfaceBatchTotalsProcessedTableRowValues gLInterfaceBatchTotalsProcessedTableRowValues)
Sets the gLInterfaceBatchTotalsProcessedTableRowValues attribute value.

Parameters:
gLInterfaceBatchTotalsProcessedTableRowValues - The gLInterfaceBatchTotalsProcessedTableRowValues to set.

getGLInterfaceBatchStatisticsReportDetailTableRow

protected GLInterfaceBatchStatisticsReportDetailTableRow getGLInterfaceBatchStatisticsReportDetailTableRow()
Gets the gLInterfaceBatchStatisticsReportDetailTableRow attribute.

Returns:
Returns the gLInterfaceBatchStatisticsReportDetailTableRow.

setGLInterfaceBatchStatisticsReportDetailTableRow

public void setGLInterfaceBatchStatisticsReportDetailTableRow(GLInterfaceBatchStatisticsReportDetailTableRow gLInterfaceBatchStatisticsReportDetailTableRow)
Sets the gLInterfaceBatchStatisticsReportDetailTableRow attribute value.

Parameters:
gLInterfaceBatchStatisticsReportDetailTableRow - The gLInterfaceBatchStatisticsTableRowValues to set.

getTransactionArchiveDao

protected TransactionArchiveDao getTransactionArchiveDao()
Gets the transactionArchiveDao attribute.

Returns:
Returns the transactionArchiveDao.

setTransactionArchiveDao

public void setTransactionArchiveDao(TransactionArchiveDao transactionArchiveDao)
Sets the transactionArchiveDao attribute value.

Parameters:
transactionArchiveDao - The transactionArchiveDao to set.

setBatchFileDirectoryName

public void setBatchFileDirectoryName(String batchFileDirectoryName)
This method sets the batchFileDirectoryName

Parameters:
batchFileDirectoryName -

getParameterService

protected org.kuali.rice.kns.service.ParameterService getParameterService()
Gets the parameterService attribute.

Returns:
Returns the parameterService.

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value.

Parameters:
parameterService - The parameterService to set.

getEndowmentAccountingLineBaseDao

protected EndowmentAccountingLineBaseDao getEndowmentAccountingLineBaseDao()
Gets the endowmentAccountingLineBaseDao attribute.

Returns:
Returns the endowmentAccountingLineBaseDao.

setEndowmentAccountingLineBaseDao

public void setEndowmentAccountingLineBaseDao(EndowmentAccountingLineBaseDao endowmentAccountingLineBaseDao)
Sets the endowmentAccountingLineBaseDao attribute value.

Parameters:
endowmentAccountingLineBaseDao - The endowmentAccountingLineBaseDao to set.

getgLInterfaceBatchProcessDao

public GLInterfaceBatchProcessDao getgLInterfaceBatchProcessDao()
Gets the gLInterfaceBatchProcessDao attribute.

Returns:
Returns the gLInterfaceBatchProcessDao.

setgLInterfaceBatchProcessDao

public void setgLInterfaceBatchProcessDao(GLInterfaceBatchProcessDao gLInterfaceBatchProcessDao)
Sets the gLInterfaceBatchProcessDao attribute value.

Parameters:
gLInterfaceBatchProcessDao - The gLInterfaceBatchProcessDao to set.

getgLLinkDao

protected GLLinkDao getgLLinkDao()
gets attribute gLLinkDao

Returns:
gLLinkDao

setgLLinkDao

public void setgLLinkDao(GLLinkDao gLLinkDao)
sets attribute gLLinkDao



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