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 private String message;
35
36 static {
37 BATCH_JOB_NAMES.add(StringUtils.EMPTY);
38 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.INITIATE);
39 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.END_PAY_PERIOD);
40 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.END_REPORTING_PERIOD);
41 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.EMPLOYEE_APPROVAL);
42 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.SUPERVISOR_APPROVAL);
43 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.MISSED_PUNCH_APPROVAL);
44 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.PAYROLL_APPROVAL);
45 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.LEAVE_CALENDAR_DELINQUENCY);
46 BATCH_JOB_NAMES.add(HrConstants.BATCH_JOB_NAMES.CLOCKED_IN_EMPLOYEE);
47 }
48
49 public List<String> getBatchJobNames() {
50 return BATCH_JOB_NAMES;
51 }
52
53 public String getSelectedBatchJob() {
54 return selectedBatchJob;
55 }
56
57 public void setSelectedBatchJob(String selectedBatchJob) {
58 this.selectedBatchJob = selectedBatchJob;
59 }
60
61 public String getHrPyCalendarEntryId() {
62 return hrPyCalendarEntryId;
63 }
64
65 public void setHrPyCalendarEntryId(String hrPyCalendarEntryId) {
66 this.hrPyCalendarEntryId = hrPyCalendarEntryId;
67 }
68
69 public String getLeavePlan() {
70 return leavePlan;
71 }
72
73 public void setLeavePlan(String leavePlan) {
74 this.leavePlan = leavePlan;
75 }
76
77 public String getMessage() {
78 return message;
79 }
80
81 public void setMessage(String message) {
82 this.message = message;
83 }
84
85
86
87 }