1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.pdp.batch;
17
18 import java.util.Date;
19
20 import org.kuali.ole.pdp.batch.service.ProcessPdpCancelPaidService;
21 import org.kuali.ole.sys.batch.AbstractStep;
22
23 public class ProcessPdPCancelsAndPaidStep extends AbstractStep {
24 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(ProcessPdPCancelsAndPaidStep.class);
25
26 private ProcessPdpCancelPaidService processPdpCancelPaidService;
27
28
29
30
31 public boolean execute(String jobName, Date jobRunDate) throws InterruptedException {
32 LOG.debug("execute() started");
33
34 processPdpCancelPaidService.processPdpCancelsAndPaids();
35
36 return true;
37 }
38
39 public void setProcessPdpCancelPaidService(ProcessPdpCancelPaidService processPdpCancelPaidService) {
40 this.processPdpCancelPaidService = processPdpCancelPaidService;
41 }
42 }