1 | |
package org.kuali.student.enrollment.class2.grading.form; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
import org.kuali.student.enrollment.acal.service.AcademicCalendarService; |
20 | |
import org.kuali.student.enrollment.class2.grading.dataobject.GradeStudent; |
21 | |
|
22 | |
import java.util.List; |
23 | |
import org.kuali.rice.krad.web.form.UifFormBase; |
24 | |
import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo; |
25 | |
import org.kuali.student.enrollment.courseoffering.service.CourseOfferingService; |
26 | |
import org.kuali.student.enrollment.grading.dto.GradeRosterInfo; |
27 | |
|
28 | |
public class GradingForm extends UifFormBase{ |
29 | |
|
30 | |
private static final long serialVersionUID = -1054046347823986329L; |
31 | |
|
32 | 0 | private String title = "Grading"; |
33 | 0 | private String gradeDueDate = " "; |
34 | |
private String selectedCourse; |
35 | |
private String selectedTerm; |
36 | |
private boolean readOnly; |
37 | |
|
38 | |
private List<GradeStudent> students; |
39 | |
private List<CourseOfferingInfo> courseOfferingInfoList; |
40 | |
private CourseOfferingInfo selectedCourseOffering; |
41 | |
private List<GradeRosterInfo> rosterInfos; |
42 | |
|
43 | |
private AcademicCalendarService acalService; |
44 | |
private CourseOfferingService coService; |
45 | |
|
46 | |
public GradingForm(){ |
47 | 0 | super(); |
48 | 0 | } |
49 | |
|
50 | |
public String getSelectedCourse() { |
51 | 0 | return selectedCourse; |
52 | |
} |
53 | |
|
54 | |
public void setSelectedCourse(String selectedCourse) { |
55 | 0 | this.selectedCourse = selectedCourse; |
56 | 0 | } |
57 | |
|
58 | |
public List<GradeStudent> getStudents() { |
59 | 0 | return students; |
60 | |
} |
61 | |
|
62 | |
public void setStudents(List<GradeStudent> students) { |
63 | 0 | this.students = students; |
64 | 0 | } |
65 | |
|
66 | |
public List<CourseOfferingInfo> getCourseOfferingInfoList() { |
67 | 0 | return courseOfferingInfoList; |
68 | |
} |
69 | |
|
70 | |
public void setCourseOfferingInfoList(List<CourseOfferingInfo> courseOfferingInfoList) { |
71 | 0 | this.courseOfferingInfoList = courseOfferingInfoList; |
72 | 0 | } |
73 | |
|
74 | |
public String getSelectedTerm() { |
75 | 0 | return selectedTerm; |
76 | |
} |
77 | |
|
78 | |
public void setSelectedTerm(String selectedTerm) { |
79 | 0 | this.selectedTerm = selectedTerm; |
80 | 0 | } |
81 | |
|
82 | |
public CourseOfferingInfo getSelectedCourseOffering() { |
83 | 0 | return selectedCourseOffering; |
84 | |
} |
85 | |
|
86 | |
public void setSelectedCourseOffering(CourseOfferingInfo selectedCourseOffering) { |
87 | 0 | this.selectedCourseOffering = selectedCourseOffering; |
88 | 0 | } |
89 | |
|
90 | |
public String getTitle() { |
91 | 0 | return title; |
92 | |
} |
93 | |
|
94 | |
public void setTitle(String title) { |
95 | 0 | this.title = title; |
96 | 0 | } |
97 | |
|
98 | |
public String getGradeDueDate() { |
99 | 0 | return gradeDueDate; |
100 | |
} |
101 | |
|
102 | |
public void setGradeDueDate(String gradeDueDate) { |
103 | 0 | this.gradeDueDate = gradeDueDate; |
104 | 0 | } |
105 | |
|
106 | |
public List<GradeRosterInfo> getRosterInfos() { |
107 | 0 | return rosterInfos; |
108 | |
} |
109 | |
|
110 | |
public void setRosterInfos(List<GradeRosterInfo> rosterInfos) { |
111 | 0 | this.rosterInfos = rosterInfos; |
112 | 0 | } |
113 | |
|
114 | |
public boolean isReadOnly() { |
115 | 0 | return readOnly; |
116 | |
} |
117 | |
|
118 | |
public void setReadOnly(boolean readOnly) { |
119 | 0 | this.readOnly = readOnly; |
120 | 0 | } |
121 | |
} |