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 org.kuali.ole.pdp.batch.service.InactivatePayeeAchAccountsService;
19 import org.kuali.ole.sys.batch.AbstractWrappedBatchStep;
20 import org.kuali.ole.sys.batch.service.WrappedBatchExecutorService.CustomBatchExecutor;
21
22
23
24
25
26 public class InactivatePayeeAchAccountsStep extends AbstractWrappedBatchStep {
27 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(InactivatePayeeAchAccountsStep.class);
28
29 private InactivatePayeeAchAccountsService inactivatePayeeAchAccountsService;
30
31 protected CustomBatchExecutor getCustomBatchExecutor() {
32 return new CustomBatchExecutor() {
33 public boolean execute() {
34 return inactivatePayeeAchAccountsService.inactivatePayeeAchAccounts();
35 }
36 };
37 }
38
39 public void setInactivatePayeeAchAccountsService(InactivatePayeeAchAccountsService inactivatePayeeAchAccountsService) {
40 this.inactivatePayeeAchAccountsService = inactivatePayeeAchAccountsService;
41 }
42
43 }