1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.tklm.common;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 import org.apache.commons.lang.StringUtils;
22 import org.kuali.kpme.core.util.HrConstants;
23 import org.kuali.kpme.core.web.KPMEForm;
24
25 public class BatchJobActionForm extends KPMEForm {
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(HrConstants.BATCH_JOB_NAMES.INITIATE);
38 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.END_PAY_PERIOD);
39 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.END_REPORTING_PERIOD);
40 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.EMPLOYEE_APPROVAL);
41 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.SUPERVISOR_APPROVAL);
42 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.MISSED_PUNCH_APPROVAL);
43 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.PAYROLL_APPROVAL);
44 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.LEAVE_CALENDAR_DELINQUENCY);
45 }
46
47 public List<String> getBatchJobNames() {
48 return BATCH_JOB_NAMES;
49 }
50
51 public String getSelectedBatchJob() {
52 return selectedBatchJob;
53 }
54
55 public void setSelectedBatchJob(String selectedBatchJob) {
56 this.selectedBatchJob = selectedBatchJob;
57 }
58
59 public String getHrPyCalendarEntryId() {
60 return hrPyCalendarEntryId;
61 }
62
63 public void setHrPyCalendarEntryId(String hrPyCalendarEntryId) {
64 this.hrPyCalendarEntryId = hrPyCalendarEntryId;
65 }
66
67 public String getLeavePlan() {
68 return leavePlan;
69 }
70
71 public void setLeavePlan(String leavePlan) {
72 this.leavePlan = leavePlan;
73 }
74
75 }