org.kuali.kfs.module.ld.batch
Class LaborPurgeBalanceStep

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

public class LaborPurgeBalanceStep
extends AbstractStep

The step is used to remove the labor ledger balances posted before the given year from database


Constructor Summary
LaborPurgeBalanceStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Perform this step of a batch job.
 void setChartService(ChartService chartService)
          Sets the chartService attribute value.
 void setLaborLedgerBalanceService(LaborLedgerBalanceService laborLedgerBalanceService)
          Sets the laborLedgerBalanceService attribute value.
 
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

LaborPurgeBalanceStep

public LaborPurgeBalanceStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Description copied from interface: Step
Perform this step of a batch job.

Parameters:
jobName - the name of the job running the step
jobRunDate - the time/date the job is executed
Returns:
true if successful and continue the job, false if successful and stop the job
Throws:
InterruptedException
See Also:
Step.execute(java.lang.String, java.util.Date)

setChartService

public void setChartService(ChartService chartService)
Sets the chartService attribute value.

Parameters:
chartService - The chartService to set.

setLaborLedgerBalanceService

public void setLaborLedgerBalanceService(LaborLedgerBalanceService laborLedgerBalanceService)
Sets the laborLedgerBalanceService attribute value.

Parameters:
laborLedgerBalanceService - The laborLedgerBalanceService to set.


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