org.kuali.kfs.gl.batch
Class DeleteAllExpenditureTransactionsStep

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

public class DeleteAllExpenditureTransactionsStep
extends AbstractStep
implements TestingStep

A step to remove all expenditure transactions held in the database


Constructor Summary
DeleteAllExpenditureTransactionsStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Runs the process of deleting all expenditure transactions
 void setExpenditureTransactionService(ExpenditureTransactionService expenditureTransactionService)
          Sets the expenditureTransactionService attribute, allowing the inject of an implementation of this 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

DeleteAllExpenditureTransactionsStep

public DeleteAllExpenditureTransactionsStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Runs the process of deleting all expenditure transactions

Specified by:
execute in interface Step
Parameters:
jobName - the name of the job this step is being run as part of
jobRunDate - the time/date when the job was started
Returns:
true if the job finished successfully, false if otherwise
Throws:
InterruptedException
See Also:
org.kuali.kfs.sys.batch.Step#execute(java.lang.String)

setExpenditureTransactionService

public void setExpenditureTransactionService(ExpenditureTransactionService expenditureTransactionService)
Sets the expenditureTransactionService attribute, allowing the inject of an implementation of this service

Parameters:
expenditureTransactionService -
See Also:
ExpenditureTransactionService


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