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

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

@Transactional
public class RollFrequencyDatesServiceImpl
extends Object
implements RollFrequencyDatesService

This class implements the RollFrequencyDatesService batch job.


Field Summary
protected  AutomatedCashInvestmentModelDao automatedCashInvestmentModelDao
           
protected  org.kuali.rice.kns.service.BusinessObjectService businessObjectService
           
protected  CashSweepModelDao cashSweepModelDao
           
protected  FeeMethodDao feeMethodDao
           
protected  FrequencyDatesService frequencyDatesService
           
protected  KEMService kemService
           
protected static org.apache.log4j.Logger LOG
           
protected  RecurringCashTransferDao recurringCashTransferDao
           
protected  ReportWriterService rollFrequencyDatesExceptionReportWriterService
           
protected  ReportWriterService rollFrequencyDatesTotalReportWriterService
           
protected  SecurityDao securityDao
           
protected  TicklerDao ticklerDao
           
 
Constructor Summary
RollFrequencyDatesServiceImpl()
           
 
Method Summary
protected  void generateExceptionReport(String tableName, String errorMessage)
          Generates the exception report
protected  void generateTotalReport(String tableName, int counter)
          Generates the statistic report for updated tables
protected  FrequencyDatesService getFrequencyDatesService()
          Gets the frequencyDatesService attribute.
protected  void initializeReports()
           
 void setAutomatedCashInvestmentModelDao(AutomatedCashInvestmentModelDao automatedCashInvestmentModelDao)
          Sets the automatedCashInvestmentModelDao attribute value.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setCashSweepModelDao(CashSweepModelDao cashSweepModelDao)
          Sets the cashSweepModelDao attribute value.
 void setFeeMethodDao(FeeMethodDao feeMethodDao)
          Sets the feeMethodDao attribute value.
 void setFrequencyDatesService(FrequencyDatesService frequencyDatesService)
          Sets the frequencyDatesService attribute value.
 void setKemService(KEMService kemService)
          Sets the kemService attribute value.
 void setRecurringCashTransferDao(RecurringCashTransferDao recurringCashTransferDao)
          Sets the recurringCashTransferDao attribute value.
 void setRollFrequencyDatesExceptionReportWriterService(ReportWriterService rollFrequencyDatesExceptionReportWriterService)
          Sets the rollFrequencyDatesExceptionReportWriterService attribute value.
 void setRollFrequencyDatesTotalReportWriterService(ReportWriterService rollFrequencyDatesTotalReportWriterService)
          Sets the rollFrequencyDatesTotalReportWriterService attribute value.
 void setSecurityDao(SecurityDao securityDao)
          Sets the securityDao attribute value.
 void setTicklerDao(TicklerDao ticklerDao)
          Sets the ticklerDao attribute value.
protected  boolean updateAutomatedCashInvestmentModelNextDueDates()
           
protected  boolean updateBusinessObject(org.kuali.rice.kns.bo.PersistableBusinessObject businessObject)
          Updates business object
protected  boolean updateCashSweepModelNextDueDates()
           
protected  boolean updateFeeMethodProcessDates()
          This method updates the next process dates in FeeMethod
 boolean updateFrequencyDate()
          Updates some date fields based on the frequency for the activity
protected  boolean updateRecurringCashTransferProcessDates()
          This method updates the next process dates in EndowmentRecurringCashTransfer
protected  boolean updateSecurityIncomeNextPayDates()
          This method updates the income next pay dates in Security
protected  boolean updateTicklerNextDueDates()
          This method updates the next due dates in Tickler
 
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

businessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService

kemService

protected KEMService kemService

frequencyDatesService

protected FrequencyDatesService frequencyDatesService

securityDao

protected SecurityDao securityDao

feeMethodDao

protected FeeMethodDao feeMethodDao

ticklerDao

protected TicklerDao ticklerDao

recurringCashTransferDao

protected RecurringCashTransferDao recurringCashTransferDao

automatedCashInvestmentModelDao

protected AutomatedCashInvestmentModelDao automatedCashInvestmentModelDao

cashSweepModelDao

protected CashSweepModelDao cashSweepModelDao

rollFrequencyDatesTotalReportWriterService

protected ReportWriterService rollFrequencyDatesTotalReportWriterService

rollFrequencyDatesExceptionReportWriterService

protected ReportWriterService rollFrequencyDatesExceptionReportWriterService
Constructor Detail

RollFrequencyDatesServiceImpl

public RollFrequencyDatesServiceImpl()
Method Detail

updateFrequencyDate

public boolean updateFrequencyDate()
Updates some date fields based on the frequency for the activity

Specified by:
updateFrequencyDate in interface RollFrequencyDatesService
Returns:
true if the fields are updated successfully; false otherwise

updateSecurityIncomeNextPayDates

protected boolean updateSecurityIncomeNextPayDates()
This method updates the income next pay dates in Security


updateTicklerNextDueDates

protected boolean updateTicklerNextDueDates()
This method updates the next due dates in Tickler


updateFeeMethodProcessDates

protected boolean updateFeeMethodProcessDates()
This method updates the next process dates in FeeMethod


updateRecurringCashTransferProcessDates

protected boolean updateRecurringCashTransferProcessDates()
This method updates the next process dates in EndowmentRecurringCashTransfer


updateCashSweepModelNextDueDates

protected boolean updateCashSweepModelNextDueDates()

updateAutomatedCashInvestmentModelNextDueDates

protected boolean updateAutomatedCashInvestmentModelNextDueDates()

generateTotalReport

protected void generateTotalReport(String tableName,
                                   int counter)
Generates the statistic report for updated tables

Parameters:
tableName -
counter -

generateExceptionReport

protected void generateExceptionReport(String tableName,
                                       String errorMessage)
Generates the exception report

Parameters:
tableName -
counter -

initializeReports

protected void initializeReports()

updateBusinessObject

protected boolean updateBusinessObject(org.kuali.rice.kns.bo.PersistableBusinessObject businessObject)
Updates business object

Parameters:
businessObject -
Returns:
boolean

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.

setKemService

public void setKemService(KEMService kemService)
Sets the kemService attribute value.

Parameters:
kemService - The kemService to set.

setSecurityDao

public void setSecurityDao(SecurityDao securityDao)
Sets the securityDao attribute value.

Parameters:
securityDao - The securityDao to set.

setFeeMethodDao

public void setFeeMethodDao(FeeMethodDao feeMethodDao)
Sets the feeMethodDao attribute value.

Parameters:
feeMethodDao - The feeMethodDao to set.

setTicklerDao

public void setTicklerDao(TicklerDao ticklerDao)
Sets the ticklerDao attribute value.

Parameters:
ticklerDao - The ticklerDao to set.

setRecurringCashTransferDao

public void setRecurringCashTransferDao(RecurringCashTransferDao recurringCashTransferDao)
Sets the recurringCashTransferDao attribute value.

Parameters:
recurringCashTransferDao - The recurringCashTransferDao to set.

setRollFrequencyDatesTotalReportWriterService

public void setRollFrequencyDatesTotalReportWriterService(ReportWriterService rollFrequencyDatesTotalReportWriterService)
Sets the rollFrequencyDatesTotalReportWriterService attribute value.

Parameters:
rollFrequencyDatesTotalReportWriterService - The rollFrequencyDatesTotalReportWriterService to set.

setRollFrequencyDatesExceptionReportWriterService

public void setRollFrequencyDatesExceptionReportWriterService(ReportWriterService rollFrequencyDatesExceptionReportWriterService)
Sets the rollFrequencyDatesExceptionReportWriterService attribute value.

Parameters:
rollFrequencyDatesExceptionReportWriterService - The rollFrequencyDatesExceptionReportWriterService to set.

setAutomatedCashInvestmentModelDao

public void setAutomatedCashInvestmentModelDao(AutomatedCashInvestmentModelDao automatedCashInvestmentModelDao)
Sets the automatedCashInvestmentModelDao attribute value.

Parameters:
automatedCashInvestmentModelDao - The automatedCashInvestmentModelDao to set.

setCashSweepModelDao

public void setCashSweepModelDao(CashSweepModelDao cashSweepModelDao)
Sets the cashSweepModelDao attribute value.

Parameters:
cashSweepModelDao - The cashSweepModelDao to set.

getFrequencyDatesService

protected FrequencyDatesService getFrequencyDatesService()
Gets the frequencyDatesService attribute.

Returns:
Returns the frequencyDatesService.

setFrequencyDatesService

public void setFrequencyDatesService(FrequencyDatesService frequencyDatesService)
Sets the frequencyDatesService attribute value.

Parameters:
frequencyDatesService - The frequencyDatesService to set.


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