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.kuali.hr.time.base.web.TkForm;
22 import org.kuali.hr.time.util.TkConstants;
23
24 public class BatchJobActionForm extends TkForm {
25
26 private static final long serialVersionUID = -8603015460600023900L;
27
28 private static final List<String> BATCH_JOB_NAMES = new ArrayList<String>();
29
30 private String selectedBatchJob;
31 private String hrPyCalendarEntryId;
32 private String leavePlan;
33
34 static {
35 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.INITIATE);
36 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.END_PAY_PERIOD);
37 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.END_REPORTING_PERIOD);
38 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.EMPLOYEE_APPROVAL);
39 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.SUPERVISOR_APPROVAL);
40 BATCH_JOB_NAMES.add(TkConstants.BATCH_JOB_NAMES.MISSED_PUNCH_APPROVAL);
41 }
42
43 public List<String> getBatchJobNames() {
44 return BATCH_JOB_NAMES;
45 }
46
47 public String getSelectedBatchJob() {
48 return selectedBatchJob;
49 }
50
51 public void setSelectedBatchJob(String selectedBatchJob) {
52 this.selectedBatchJob = selectedBatchJob;
53 }
54
55 public String getHrPyCalendarEntryId() {
56 return hrPyCalendarEntryId;
57 }
58
59 public void setHrPyCalendarEntryId(String hrPyCalendarEntryId) {
60 this.hrPyCalendarEntryId = hrPyCalendarEntryId;
61 }
62
63 public String getLeavePlan() {
64 return leavePlan;
65 }
66
67 public void setLeavePlan(String leavePlan) {
68 this.leavePlan = leavePlan;
69 }
70
71
72
73 }