1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.fp.batch;
17
18 import java.util.Date;
19
20 import org.kuali.ole.fp.batch.service.ProcurementCardCreateDocumentService;
21 import org.kuali.ole.sys.batch.AbstractStep;
22
23
24
25
26 public class ProcurementCardCreateDocumentsStep extends AbstractStep {
27 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(ProcurementCardCreateDocumentsStep.class);
28 private ProcurementCardCreateDocumentService procurementCardDocumentService;
29
30
31
32
33 public static final String USE_ACCOUNTING_DEFAULT_PARAMETER_NAME = "PROCUREMENT_CARD_ACCOUNTING_DEFAULT_IND";
34
35
36
37 public static final String USE_CARD_HOLDER_DEFAULT_PARAMETER_NAME = "PROCUREMENT_CARD_HOLDER_DEFAULT_IND";
38
39
40
41
42 public boolean execute(String jobName, Date jobRunDate) {
43 return procurementCardDocumentService.createProcurementCardDocuments();
44 }
45
46
47
48
49 public void setProcurementCardCreateDocumentService(ProcurementCardCreateDocumentService procurementCardDocumentService) {
50 this.procurementCardDocumentService = procurementCardDocumentService;
51 }
52 }