org.kuali.kfs.module.purap.batch
Class AutoApprovePaymentRequestsStep

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

public class AutoApprovePaymentRequestsStep
extends AbstractStep

Step used to auto approve payment requests that meet a certain criteria


Constructor Summary
AutoApprovePaymentRequestsStep()
           
 
Method Summary
 boolean execute()
          Invoke execute method
 boolean execute(String jobName, Date jobRunDate)
          Calls service method to approve payment requests
 void setPaymentRequestService(PaymentRequestService paymentRequestService)
           
 
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

AutoApprovePaymentRequestsStep

public AutoApprovePaymentRequestsStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Calls service method to approve payment requests

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)

execute

public boolean execute()
                throws InterruptedException
Invoke execute method

Returns:
Throws:
InterruptedException

setPaymentRequestService

public void setPaymentRequestService(PaymentRequestService paymentRequestService)


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