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

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

public class UpdateHistoryCashServiceImpl
extends Object
implements UpdateHistoryCashService


Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
UpdateHistoryCashServiceImpl()
           
 
Method Summary
protected  boolean appendNewHistoricalCashRecords(org.kuali.rice.kns.util.KualiInteger monthEndDateId)
          For each current cash records, creates a record in historical cash table
protected  org.kuali.rice.kns.util.KualiInteger appendNewMonthEndDate(Date monthEndDate)
          calculates the next month end date id using the month end date service and uses that value to insert a new record into the month end date table.
protected  org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          gets businessObjectService
protected  KEMService getKemService()
          gets kemService
protected  MonthEndDateService getMonthEndDateService()
          gets monthEndDateService
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService.
 void setKemService(KEMService kemService)
          Sets the kemService.
 void setMonthEndDateService(MonthEndDateService monthEndDateService)
          Sets the monthEndDateService.
 boolean updateHistoryCash()
          At the end of each month, creates the current month end date record in END_ME_DT_T and appends current cash balance records to the history table.
 
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
Constructor Detail

UpdateHistoryCashServiceImpl

public UpdateHistoryCashServiceImpl()
Method Detail

updateHistoryCash

public boolean updateHistoryCash()
Description copied from interface: UpdateHistoryCashService
At the end of each month, creates the current month end date record in END_ME_DT_T and appends current cash balance records to the history table.

Specified by:
updateHistoryCash in interface UpdateHistoryCashService
Returns:
true if successful, false otherwise
See Also:
UpdateHistoryCashService.updateHistoryCash()

appendNewMonthEndDate

protected org.kuali.rice.kns.util.KualiInteger appendNewMonthEndDate(Date monthEndDate)
calculates the next month end date id using the month end date service and uses that value to insert a new record into the month end date table.

Parameters:
monthEndDate - current date
Returns:
KualiInteger

appendNewHistoricalCashRecords

protected boolean appendNewHistoricalCashRecords(org.kuali.rice.kns.util.KualiInteger monthEndDateId)
For each current cash records, creates a record in historical cash table

Parameters:
monthEndDateId -
Returns:
true

setMonthEndDateService

public void setMonthEndDateService(MonthEndDateService monthEndDateService)
Sets the monthEndDateService.

Parameters:
monthEndDateService -

setKemService

public void setKemService(KEMService kemService)
Sets the kemService.

Parameters:
kemService -

setBusinessObjectService

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

Parameters:
businessObjectService -

getKemService

protected KEMService getKemService()
gets kemService

Returns:
kemService

getBusinessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
gets businessObjectService


getMonthEndDateService

protected MonthEndDateService getMonthEndDateService()
gets monthEndDateService

Returns:
monthEndDateService


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