1 package org.kuali.student.enrollment.class2.courseoffering.form;
2
3 import org.kuali.rice.krad.web.form.UifFormBase;
4
5 import org.kuali.student.enrollment.class2.courseoffering.dto.ActivityOfferingClusterWrapper;
6 import org.kuali.student.enrollment.class2.courseoffering.dto.ActivityOfferingWrapper;
7 import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo;
8 import org.kuali.student.common.uif.form.KSUifForm;
9
10 import java.util.ArrayList;
11 import java.util.List;
12
13 public class RegistrationGroupManagementForm extends KSUifForm {
14 private CourseOfferingInfo theCourseOffering;
15 private String formatOfferingIdForViewRG;
16 private String formatOfferingName;
17 private List<ActivityOfferingWrapper> filteredUnassignedAOsForSelectedFO;
18 private List<ActivityOfferingClusterWrapper> filteredAOClusterWrapperList;
19 private boolean hasAOCluster;
20 private boolean selectCreateNewFromDropDown = false;
21 private String privateClusterName;
22 private String publishedClusterName;
23 private String privateClusterNameForLightBox;
24 private String publishedClusterNameForLightBox;
25 private String privateClusterNameForRename;
26 private String publishedClusterNameForRename;
27
28 private String clusterIdIdForNewFO;
29 private String clusterIdForAOMove;
30
31
32
33 private ActivityOfferingClusterWrapper selectedCluster;
34 private int selectedClusterIndex;
35
36
37
38
39 private boolean withinPortal;
40
41 public RegistrationGroupManagementForm (){
42 filteredUnassignedAOsForSelectedFO = new ArrayList<ActivityOfferingWrapper>();
43 filteredAOClusterWrapperList = new ArrayList<ActivityOfferingClusterWrapper>();
44 hasAOCluster = false;
45 setWithinPortal(true);
46 selectCreateNewFromDropDown = false;
47 }
48
49 public CourseOfferingInfo getTheCourseOffering() {
50 return theCourseOffering;
51 }
52
53 public void setTheCourseOffering(CourseOfferingInfo theCourseOffering) {
54 this.theCourseOffering = theCourseOffering;
55 }
56
57 public String getFormatOfferingIdForViewRG() {
58 return formatOfferingIdForViewRG;
59 }
60
61 public void setFormatOfferingIdForViewRG(String formatOfferingIdForViewRG) {
62 this.formatOfferingIdForViewRG = formatOfferingIdForViewRG;
63 }
64
65 public String getFormatOfferingName() {
66 return formatOfferingName;
67 }
68
69 public void setFormatOfferingName(String formatOfferingName) {
70 this.formatOfferingName = formatOfferingName;
71 }
72
73 public List<ActivityOfferingWrapper> getFilteredUnassignedAOsForSelectedFO() {
74 return filteredUnassignedAOsForSelectedFO;
75 }
76
77 public void setFilteredUnassignedAOsForSelectedFO(List<ActivityOfferingWrapper> filteredUnassignedAOsForSelectedFO) {
78 this.filteredUnassignedAOsForSelectedFO = filteredUnassignedAOsForSelectedFO;
79 }
80
81 public List<ActivityOfferingClusterWrapper> getFilteredAOClusterWrapperList() {
82 return filteredAOClusterWrapperList;
83 }
84
85 public void setFilteredAOClusterWrapperList(List<ActivityOfferingClusterWrapper> filteredAOClusterWrapperList) {
86 this.filteredAOClusterWrapperList = filteredAOClusterWrapperList;
87 }
88
89 public boolean isHasAOCluster() {
90 return hasAOCluster;
91 }
92
93 public void setHasAOCluster(boolean hasAOCluster) {
94 this.hasAOCluster = hasAOCluster;
95 }
96
97 public boolean isSelectCreateNewFromDropDown() {
98 return selectCreateNewFromDropDown;
99 }
100
101 public void setSelectCreateNewFromDropDown(boolean selectCreateNewFromDropDown) {
102 this.selectCreateNewFromDropDown = selectCreateNewFromDropDown;
103 }
104
105 public String getPrivateClusterName() {
106 return privateClusterName;
107 }
108
109 public void setPrivateClusterName(String privateClusterName) {
110 this.privateClusterName = privateClusterName;
111 }
112
113 public String getPublishedClusterName() {
114 return publishedClusterName;
115 }
116
117 public void setPublishedClusterName(String publishedClusterName) {
118 this.publishedClusterName = publishedClusterName;
119 }
120
121 public String getPrivateClusterNameForLightBox() {
122 return privateClusterNameForLightBox;
123 }
124
125 public void setPrivateClusterNameForLightBox(String privateClusterNameForLightBox) {
126 this.privateClusterNameForLightBox = privateClusterNameForLightBox;
127 }
128
129 public String getPublishedClusterNameForLightBox() {
130 return publishedClusterNameForLightBox;
131 }
132
133 public void setPublishedClusterNameForLightBox(String publishedClusterNameForLightBox) {
134 this.publishedClusterNameForLightBox = publishedClusterNameForLightBox;
135 }
136
137 public String getPrivateClusterNameForRename() {
138 return privateClusterNameForRename;
139 }
140
141 public void setPrivateClusterNameForRename(String privateClusterNameForRename) {
142 this.privateClusterNameForRename = privateClusterNameForRename;
143 }
144
145 public String getPublishedClusterNameForRename() {
146 return publishedClusterNameForRename;
147 }
148
149 public void setPublishedClusterNameForRename(String publishedClusterNameForRename) {
150 this.publishedClusterNameForRename = publishedClusterNameForRename;
151 }
152
153 public ActivityOfferingClusterWrapper getSelectedCluster() {
154 return selectedCluster;
155 }
156
157 public void setSelectedCluster(ActivityOfferingClusterWrapper selectedCluster) {
158 this.selectedCluster = selectedCluster;
159 }
160
161 public String getClusterIdIdForNewFO() {
162 return clusterIdIdForNewFO;
163 }
164
165 public void setClusterIdIdForNewFO(String clusterIdIdForNewFO) {
166 this.clusterIdIdForNewFO = clusterIdIdForNewFO;
167 }
168
169 public String getClusterIdForAOMove() {
170 return clusterIdForAOMove;
171 }
172
173 public void setClusterIdForAOMove(String clusterIdForAOMove) {
174 this.clusterIdForAOMove = clusterIdForAOMove;
175 }
176
177 public int getSelectedClusterIndex() {
178 return selectedClusterIndex;
179 }
180
181 public void setSelectedClusterIndex(int selectedClusterIndex) {
182 this.selectedClusterIndex = selectedClusterIndex;
183 }
184
185 public boolean isWithinPortal() {
186 return withinPortal;
187 }
188
189 public void setWithinPortal(boolean withinPortal) {
190 this.withinPortal = withinPortal;
191 }
192 }