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

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

public class LaborPurgeEntryStep
extends AbstractStep

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


Constructor Summary
LaborPurgeEntryStep()
           
 
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 setLaborLedgerEntryService(LaborLedgerEntryService laborLedgerEntryService)
          Sets the laborLedgerEntryService 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

LaborPurgeEntryStep

public LaborPurgeEntryStep()
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.

setLaborLedgerEntryService

public void setLaborLedgerEntryService(LaborLedgerEntryService laborLedgerEntryService)
Sets the laborLedgerEntryService attribute value.

Parameters:
laborLedgerEntryService - The laborLedgerEntryService to set.


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