org.kuali.kfs.module.purap.batch
Class AutoApprovePaymentRequestsStep
java.lang.Object
org.kuali.kfs.sys.batch.AbstractStep
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoApprovePaymentRequestsStep
public AutoApprovePaymentRequestsStep()
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 stepjobRunDate
- 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.