1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.batch.web;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 import org.apache.commons.lang.StringUtils;
22 import org.kuali.hr.time.base.web.TkForm;
23 import org.kuali.hr.time.util.TkConstants;
24
25 public class BatchJobActionForm extends TkForm {
26
27 private static final long serialVersionUID = -8603015460600023900L;
28
29 private static final List<String> BATCH_JOB_NAMES = new ArrayList<String>();
30
31 private String selectedBatchJob;
32 private String hrPyCalendarEntryId;
33 private String leavePlan;
34
35 static {
36 BATCH_JOB_NAMES.add(StringUtils.EMPTY);
37 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.INITIATE);
38 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.END_PAY_PERIOD);
39 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.END_REPORTING_PERIOD);
40 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.EMPLOYEE_APPROVAL);
41 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.SUPERVISOR_APPROVAL);
42 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.MISSED_PUNCH_APPROVAL);
43 }
44
45 public List<String> getBatchJobNames() {
46 return BATCH_JOB_NAMES;
47 }
48
49 public String getSelectedBatchJob() {
50 return selectedBatchJob;
51 }
52
53 public void setSelectedBatchJob(String selectedBatchJob) {
54 this.selectedBatchJob = selectedBatchJob;
55 }
56
57 public String getHrPyCalendarEntryId() {
58 return hrPyCalendarEntryId;
59 }
60
61 public void setHrPyCalendarEntryId(String hrPyCalendarEntryId) {
62 this.hrPyCalendarEntryId = hrPyCalendarEntryId;
63 }
64
65 public String getLeavePlan() {
66 return leavePlan;
67 }
68
69 public void setLeavePlan(String leavePlan) {
70 this.leavePlan = leavePlan;
71 }
72
73 }