org.kuali.kfs.module.purap.batch
Class AutoCloseRecurringOrdersStep
java.lang.Object
org.kuali.kfs.sys.batch.AbstractStep
org.kuali.kfs.module.purap.batch.AutoCloseRecurringOrdersStep
- All Implemented Interfaces:
- Step, org.springframework.beans.factory.BeanNameAware
public class AutoCloseRecurringOrdersStep
- extends AbstractStep
Step used to auto approve purchase orders that meet a certain criteria
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoCloseRecurringOrdersStep
public AutoCloseRecurringOrdersStep()
execute
public boolean execute(String jobName,
Date jobRunDate)
throws InterruptedException
- Calls service method to approve recurring purchase orders
- 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
setPurchaseOrderService
public void setPurchaseOrderService(PurchaseOrderService purchaseOrderService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.