View Javadoc
1   package org.kuali.ole.sys.batch;
2   
3   import org.kuali.ole.select.document.service.OLEReEncumberRecurringOrdersJobService;
4   import org.kuali.ole.sys.context.SpringContext;
5   
6   import java.util.Date;
7   
8   /**
9    * Created by arunag on 12/3/14.
10   */
11  public class OLEReEncumberRecurringOrdersJob extends AbstractStep {
12  
13      /**
14       * @see org.kuali.ole.sys.batch.Step#execute(String, java.util.Date)
15       */
16      public boolean execute(String jobName, Date jobRunDate) throws InterruptedException {
17          SpringContext.getBean(OLEReEncumberRecurringOrdersJobService.class).retrieveReEncumberRecuringOrders();
18          return true;
19      }
20  
21  }