org.kuali.kfs.coa.batch
Class UpdatePriorYearDataStep

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

public class UpdatePriorYearDataStep
extends AbstractStep

This class updates the prior year data in the prior year account and prior year org tables to set it to the new year This is typically run at year end


Constructor Summary
UpdatePriorYearDataStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Executes the table updates when
 void setPriorYearAccountService(PriorYearAccountService priorYearAccountService)
          Service setter for Spring injection
 void setPriorYearOrganizationService(PriorYearOrganizationService priorYearOrganizationService)
          Service setter for Spring injection
 
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

UpdatePriorYearDataStep

public UpdatePriorYearDataStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Executes the table updates when

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(String, Date)

setPriorYearAccountService

public void setPriorYearAccountService(PriorYearAccountService priorYearAccountService)
Service setter for Spring injection

Parameters:
priorYearAccountService -

setPriorYearOrganizationService

public void setPriorYearOrganizationService(PriorYearOrganizationService priorYearOrganizationService)
Service setter for Spring injection

Parameters:
priorYearOrganizationService -


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