org.kuali.kfs.gl.batch
Class PurgeSufficientFundBalancesStep

java.lang.Object
  extended by org.kuali.kfs.sys.batch.AbstractStep
      extended by org.kuali.kfs.gl.batch.PurgeSufficientFundBalancesStep
All Implemented Interfaces:
Step, org.springframework.beans.factory.BeanNameAware

public class PurgeSufficientFundBalancesStep
extends AbstractStep

A step to remove old sufficient funds balances from the database.


Constructor Summary
PurgeSufficientFundBalancesStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          This step will purge data from the gl_sf_balances_t table older than a specified year.
 void setChartService(ChartService chartService)
          Sets the chartService attribute, allowing the injection of an implementation of the service.
 void setSufficientFundsService(SufficientFundsService sufficientFundsService)
          Sets the sufficientFundsService attribute, allowing the injection of an implementation of the service.
 
Methods inherited from class org.kuali.kfs.sys.batch.AbstractStep
getDateTimeService, getName, getParameterService, interrupt, isInterrupted, setBeanName, setDateTimeService, setInterrupted, setParameterService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurgeSufficientFundBalancesStep

public PurgeSufficientFundBalancesStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
This step will purge data from the gl_sf_balances_t table older than a specified year. It purges the data one chart at a time each within their own transaction so database transaction logs don't get completely filled up when doing this. This step class should NOT be transactional.

Parameters:
jobName - the name of the job this step is being run as part of
jobRunDate - the time/date the job was started
Returns:
true if the job completed successfully, false if otherwise
See Also:
Step.execute(String, Date)

setSufficientFundsService

public void setSufficientFundsService(SufficientFundsService sufficientFundsService)
Sets the sufficientFundsService attribute, allowing the injection of an implementation of the service.

Parameters:
sufficientFundsService - the sufficientFundsService implementation to set
See Also:
SufficientFundsService

setChartService

public void setChartService(ChartService chartService)
Sets the chartService attribute, allowing the injection of an implementation of the service.

Parameters:
chartService - the chartService implementation to set
See Also:
ChartService


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