1 | |
package org.kuali.student.enrollment.class2.courseoffering.service.decorators; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
6 | |
import org.kuali.student.enrollment.courseoffering.dto.*; |
7 | |
import org.kuali.student.enrollment.courseoffering.service.CourseOfferingService; |
8 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
9 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
10 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
11 | |
import org.kuali.student.r2.common.exceptions.AlreadyExistsException; |
12 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
13 | |
import org.kuali.student.r2.common.exceptions.DependentObjectsExistException; |
14 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
15 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
16 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
17 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
18 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
19 | |
import org.kuali.student.r2.common.exceptions.ReadOnlyException; |
20 | |
import org.kuali.student.r2.common.exceptions.VersionMismatchException; |
21 | |
import org.kuali.student.r2.core.type.dto.TypeInfo; |
22 | |
|
23 | |
import javax.jws.WebParam; |
24 | |
|
25 | |
|
26 | 0 | public class CourseOfferingServiceDecorator implements CourseOfferingService { |
27 | |
@Override |
28 | |
public StatusInfo deleteCourseOfferingCascaded(@WebParam(name = "courseOfferingId") String courseOfferingId, @WebParam(name = "context") ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
29 | 0 | return getNextDecorator().deleteCourseOfferingCascaded(courseOfferingId, context); |
30 | |
} |
31 | |
|
32 | |
@Override |
33 | |
public StatusInfo deleteFormatOfferingCascaded(@WebParam(name = "formatOfferingId") String formatOfferingId, @WebParam(name = "context") ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
34 | 0 | return getNextDecorator().deleteFormatOfferingCascaded(formatOfferingId, context); |
35 | |
} |
36 | |
|
37 | |
@Override |
38 | |
public RegistrationGroupInfo createRegistrationGroup( String formatOfferingId, String registrationGroupType, RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
39 | 0 | return getNextDecorator().createRegistrationGroup(formatOfferingId,registrationGroupType, registrationGroupInfo, context); |
40 | |
} |
41 | |
|
42 | |
private CourseOfferingService nextDecorator; |
43 | |
|
44 | |
public CourseOfferingService getNextDecorator() throws OperationFailedException { |
45 | 0 | if (null == nextDecorator) { |
46 | 0 | throw new OperationFailedException("Misconfigured application: nextDecorator is null"); |
47 | |
} |
48 | 0 | return nextDecorator; |
49 | |
} |
50 | |
|
51 | |
public void setNextDecorator(CourseOfferingService nextDecorator) { |
52 | 0 | this.nextDecorator = nextDecorator; |
53 | 0 | } |
54 | |
|
55 | |
@Override |
56 | |
public List<ValidationResultInfo> validateSeatPoolDefinition(String validationTypeKey, SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
57 | 0 | return getNextDecorator().validateSeatPoolDefinition(validationTypeKey, seatPoolDefinitionInfo, context); |
58 | |
} |
59 | |
|
60 | |
@Override |
61 | |
public List<ValidationResultInfo> validateRegistrationGroup(String validationType, RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
62 | 0 | return getNextDecorator().validateRegistrationGroup(validationType, registrationGroupInfo, context); |
63 | |
} |
64 | |
|
65 | |
@Override |
66 | |
public List<ValidationResultInfo> validateFormatOffering(String validationType, FormatOfferingInfo formatOfferingInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
67 | 0 | return getNextDecorator().validateFormatOffering(validationType, formatOfferingInfo, context); |
68 | |
} |
69 | |
|
70 | |
@Override |
71 | |
public List<ValidationResultInfo> validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo, |
72 | |
List<String> optionKeys, ContextInfo context) |
73 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
74 | 0 | return getNextDecorator().validateCourseOfferingFromCanonical(courseOfferingInfo, optionKeys, context); |
75 | |
} |
76 | |
|
77 | |
@Override |
78 | |
public List<ValidationResultInfo> validateCourseOffering(String validationType, CourseOfferingInfo courseOfferingInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
79 | 0 | return getNextDecorator().validateCourseOffering(validationType, courseOfferingInfo, context); |
80 | |
} |
81 | |
|
82 | |
@Override |
83 | |
public List<ValidationResultInfo> validateActivityOffering(String validationType, ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
84 | 0 | return getNextDecorator().validateActivityOffering(validationType, activityOfferingInfo, context); |
85 | |
} |
86 | |
|
87 | |
@Override |
88 | |
public SeatPoolDefinitionInfo updateSeatPoolDefinition(String seatPoolDefinitionId, SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
89 | 0 | return getNextDecorator().updateSeatPoolDefinition(seatPoolDefinitionId, seatPoolDefinitionInfo, context); |
90 | |
} |
91 | |
|
92 | |
@Override |
93 | |
public RegistrationGroupTemplateInfo updateRegistrationGroupTemplate(String registrationGroupTemplateId, RegistrationGroupTemplateInfo registrationGroupTemplateInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
94 | 0 | return getNextDecorator().updateRegistrationGroupTemplate(registrationGroupTemplateId, registrationGroupTemplateInfo, context); |
95 | |
} |
96 | |
|
97 | |
@Override |
98 | |
public RegistrationGroupInfo updateRegistrationGroup(String registrationGroupId, RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
99 | 0 | return getNextDecorator().updateRegistrationGroup(registrationGroupId, registrationGroupInfo, context); |
100 | |
} |
101 | |
|
102 | |
@Override |
103 | |
public FormatOfferingInfo updateFormatOffering(String formatOfferingId, FormatOfferingInfo formatOfferingInfo, ContextInfo context) |
104 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
105 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
106 | 0 | return getNextDecorator().updateFormatOffering(formatOfferingId, formatOfferingInfo, context); |
107 | |
} |
108 | |
|
109 | |
@Override |
110 | |
public CourseOfferingInfo updateCourseOfferingFromCanonical(String courseOfferingId, List<String> optionKeys, ContextInfo context) |
111 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
112 | 0 | return getNextDecorator().updateCourseOfferingFromCanonical(courseOfferingId, optionKeys, context); |
113 | |
} |
114 | |
|
115 | |
@Override |
116 | |
public CourseOfferingInfo updateCourseOffering(String courseOfferingId, CourseOfferingInfo courseOfferingInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
117 | 0 | return getNextDecorator().updateCourseOffering(courseOfferingId, courseOfferingInfo, context); |
118 | |
} |
119 | |
|
120 | |
@Override |
121 | |
public ActivityOfferingInfo updateActivityOffering(String activityOfferingId, ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
122 | 0 | return getNextDecorator().updateActivityOffering(activityOfferingId, activityOfferingInfo, context); |
123 | |
} |
124 | |
|
125 | |
@Override |
126 | |
public List<SeatPoolDefinitionInfo> searchForSeatpoolDefinitions(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
127 | 0 | return getNextDecorator().searchForSeatpoolDefinitions(criteria, context); |
128 | |
} |
129 | |
|
130 | |
@Override |
131 | |
public List<String> searchForSeatpoolDefinitionIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
132 | 0 | return getNextDecorator().searchForSeatpoolDefinitionIds(criteria, context); |
133 | |
} |
134 | |
|
135 | |
@Override |
136 | |
public List<RegistrationGroupInfo> searchForRegistrationGroups(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
137 | 0 | return getNextDecorator().searchForRegistrationGroups(criteria, context); |
138 | |
} |
139 | |
|
140 | |
@Override |
141 | |
public List<String> searchForRegistrationGroupIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
142 | 0 | return getNextDecorator().searchForRegistrationGroupIds(criteria, context); |
143 | |
} |
144 | |
|
145 | |
@Override |
146 | |
public List<CourseOfferingInfo> searchForCourseOfferings(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
147 | 0 | return getNextDecorator().searchForCourseOfferings(criteria, context); |
148 | |
} |
149 | |
|
150 | |
@Override |
151 | |
public List<String> searchForCourseOfferingIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
152 | 0 | return getNextDecorator().searchForCourseOfferingIds(criteria, context); |
153 | |
} |
154 | |
|
155 | |
@Override |
156 | |
public List<ActivityOfferingInfo> searchForActivityOfferings(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
157 | 0 | return getNextDecorator().searchForActivityOfferings(criteria, context); |
158 | |
} |
159 | |
|
160 | |
@Override |
161 | |
public List<String> searchForActivityOfferingIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
162 | 0 | return getNextDecorator().searchForActivityOfferingIds(criteria, context); |
163 | |
} |
164 | |
|
165 | |
|
166 | |
@Override |
167 | |
public List<SeatPoolDefinitionInfo> getSeatPoolDefinitionsForRegGroup(String registrationGroupId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
168 | 0 | return getNextDecorator().getSeatPoolDefinitionsForRegGroup(registrationGroupId, context); |
169 | |
} |
170 | |
|
171 | |
@Override |
172 | |
public List<SeatPoolDefinitionInfo> getSeatPoolDefinitionsForCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
173 | 0 | return getNextDecorator().getSeatPoolDefinitionsForCourseOffering(courseOfferingId, context); |
174 | |
} |
175 | |
|
176 | |
@Override |
177 | |
public SeatPoolDefinitionInfo getSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
178 | 0 | return getNextDecorator().getSeatPoolDefinition(seatPoolDefinitionId, context); |
179 | |
} |
180 | |
|
181 | |
@Override |
182 | |
public List<RegistrationGroupInfo> getRegistrationGroupsWithActivityOfferings(List<String> activityOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
183 | 0 | return getNextDecorator().getRegistrationGroupsWithActivityOfferings(activityOfferingIds, context); |
184 | |
} |
185 | |
|
186 | |
@Override |
187 | |
public List<RegistrationGroupInfo> getRegistrationGroupsForCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
188 | 0 | return getNextDecorator().getRegistrationGroupsForCourseOffering(courseOfferingId, context); |
189 | |
} |
190 | |
|
191 | |
@Override |
192 | |
public List<RegistrationGroupInfo> getRegistrationGroupsByIds(List<String> registrationGroupIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
193 | 0 | return getNextDecorator().getRegistrationGroupsByIds(registrationGroupIds, context); |
194 | |
} |
195 | |
|
196 | |
@Override |
197 | |
public List<RegistrationGroupInfo> getRegistrationGroupsByFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
198 | 0 | return getNextDecorator().getRegistrationGroupsByFormatOffering(formatOfferingId, context); |
199 | |
} |
200 | |
|
201 | |
@Override |
202 | |
public RegistrationGroupTemplateInfo getRegistrationGroupTemplate(String registrationGroupTemplateId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
203 | 0 | return getNextDecorator().getRegistrationGroupTemplate(registrationGroupTemplateId, context); |
204 | |
} |
205 | |
|
206 | |
@Override |
207 | |
public RegistrationGroupInfo getRegistrationGroup(String registrationGroupId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
208 | 0 | return getNextDecorator().getRegistrationGroup(registrationGroupId, context); |
209 | |
} |
210 | |
|
211 | |
@Override |
212 | |
public List<FormatOfferingInfo> getFormatOfferingsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
213 | 0 | return nextDecorator.getFormatOfferingsByCourseOffering(courseOfferingId, context); |
214 | |
} |
215 | |
|
216 | |
@Override |
217 | |
public FormatOfferingInfo getFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
218 | 0 | return getNextDecorator().getFormatOffering(formatOfferingId, context); |
219 | |
} |
220 | |
|
221 | |
@Override |
222 | |
public List<CourseOfferingInfo> getCourseOfferingsByTermAndInstructor(String termId, String instructorId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
223 | 0 | return getNextDecorator().getCourseOfferingsByTermAndInstructor(termId, instructorId, context); |
224 | |
} |
225 | |
|
226 | |
@Override |
227 | |
public List<CourseOfferingInfo> getCourseOfferingsByIds(List<String> courseOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
228 | 0 | return getNextDecorator().getCourseOfferingsByIds(courseOfferingIds, context); |
229 | |
} |
230 | |
|
231 | |
@Override |
232 | |
public List<CourseOfferingInfo> getCourseOfferingsByCourseAndTerm(String courseId, String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
233 | 0 | return getNextDecorator().getCourseOfferingsByCourseAndTerm(courseId, termId, context); |
234 | |
} |
235 | |
|
236 | |
@Override |
237 | |
public List<CourseOfferingInfo> getCourseOfferingsByCourse(String courseId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
238 | 0 | return getNextDecorator().getCourseOfferingsByCourse(courseId, context); |
239 | |
} |
240 | |
|
241 | |
@Override |
242 | |
public List<String> getCourseOfferingIdsByType(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
243 | 0 | return getNextDecorator().getCourseOfferingIdsByType(typeKey, context); |
244 | |
} |
245 | |
|
246 | |
@Override |
247 | |
public List<String> getCourseOfferingIdsByTermAndUnitsContentOwner(String termId, String unitsContentOwnerId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
248 | 0 | return getNextDecorator().getCourseOfferingIdsByTermAndUnitsContentOwner(termId, unitsContentOwnerId, context); |
249 | |
} |
250 | |
|
251 | |
@Override |
252 | |
public List<String> getCourseOfferingIdsByTermAndSubjectArea(String termId, String subjectArea, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
253 | 0 | return getNextDecorator().getCourseOfferingIdsByTermAndSubjectArea(termId, subjectArea, context); |
254 | |
} |
255 | |
|
256 | |
@Override |
257 | |
public List<String> getCourseOfferingIdsByTerm(String termId, Boolean useIncludedTerm, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
258 | 0 | return getNextDecorator().getCourseOfferingIdsByTerm(termId, useIncludedTerm, context); |
259 | |
} |
260 | |
|
261 | |
@Override |
262 | |
public CourseOfferingInfo getCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
263 | 0 | return getNextDecorator().getCourseOffering(courseOfferingId, context); |
264 | |
} |
265 | |
|
266 | |
@Override |
267 | |
public CourseOfferingAdminDisplayInfo getCourseOfferingAdminDisplay( String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
268 | 0 | return getNextDecorator().getCourseOfferingAdminDisplay(courseOfferingId, context) ; |
269 | |
} |
270 | |
|
271 | |
@Override |
272 | |
public List<CourseOfferingAdminDisplayInfo> getCourseOfferingAdminDisplaysByIds(List<String> courseOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
273 | 0 | return getNextDecorator().getCourseOfferingAdminDisplaysByIds(courseOfferingIds, context); |
274 | |
} |
275 | |
|
276 | |
@Override |
277 | |
public ActivityOfferingAdminDisplayInfo getActivityOfferingAdminDisplay(String activityOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
278 | 0 | return getNextDecorator().getActivityOfferingAdminDisplay(activityOfferingId, contextInfo); |
279 | |
} |
280 | |
|
281 | |
@Override |
282 | |
public List<ActivityOfferingAdminDisplayInfo> getActivityOfferingAdminDisplaysByIds(List<String> activityOfferingIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
283 | 0 | return getNextDecorator().getActivityOfferingAdminDisplaysByIds(activityOfferingIds, contextInfo); |
284 | |
} |
285 | |
|
286 | |
@Override |
287 | |
public List<ActivityOfferingAdminDisplayInfo> getActivityOfferingAdminDisplaysForCourseOffering(String courseOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
288 | 0 | return getNextDecorator().getActivityOfferingAdminDisplaysForCourseOffering(courseOfferingId, contextInfo); |
289 | |
} |
290 | |
|
291 | |
@Override |
292 | |
public List<ActivityOfferingInfo> getActivityOfferingsByIds(List<String> activityOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
293 | 0 | return getNextDecorator().getActivityOfferingsByIds(activityOfferingIds, context); |
294 | |
} |
295 | |
|
296 | |
@Override |
297 | |
public List<ActivityOfferingInfo> getActivityOfferingsByFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
298 | 0 | return getNextDecorator().getActivityOfferingsByFormatOffering(formatOfferingId, context); |
299 | |
} |
300 | |
|
301 | |
@Override |
302 | |
public List<ActivityOfferingInfo> getActivityOfferingsByCourseOfferingWithoutRegGroup(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
303 | 0 | return getNextDecorator().getActivityOfferingsByCourseOfferingWithoutRegGroup(courseOfferingId, context); |
304 | |
} |
305 | |
|
306 | |
@Override |
307 | |
public List<ActivityOfferingInfo> getActivityOfferingsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
308 | 0 | return getNextDecorator().getActivityOfferingsByCourseOffering(courseOfferingId, context); |
309 | |
} |
310 | |
|
311 | |
@Override |
312 | |
public List<TypeInfo> getActivityOfferingTypesForActivityType(String activityTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
313 | 0 | return getNextDecorator().getActivityOfferingTypesForActivityType(activityTypeKey, context); |
314 | |
} |
315 | |
|
316 | |
@Override |
317 | |
public List<TypeInfo> getActivityOfferingTypes(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
318 | 0 | return getNextDecorator().getActivityOfferingTypes(context); |
319 | |
} |
320 | |
|
321 | |
@Override |
322 | |
public TypeInfo getActivityOfferingType(String activityOfferingTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
323 | 0 | return getNextDecorator().getActivityOfferingType(activityOfferingTypeKey, context); |
324 | |
} |
325 | |
|
326 | |
@Override |
327 | |
public ActivityOfferingInfo getActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
328 | 0 | return getNextDecorator().getActivityOffering(activityOfferingId, context); |
329 | |
} |
330 | |
|
331 | |
@Override |
332 | |
public List<RegistrationGroupInfo> generateRegistrationGroupsForFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
333 | 0 | return getNextDecorator().generateRegistrationGroupsForFormatOffering(formatOfferingId, context); |
334 | |
} |
335 | |
|
336 | |
|
337 | |
|
338 | |
|
339 | |
@Override |
340 | |
public StatusInfo deleteSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
341 | 0 | return getNextDecorator().deleteSeatPoolDefinition(seatPoolDefinitionId, context); |
342 | |
} |
343 | |
|
344 | |
@Override |
345 | |
public StatusInfo deleteRegistrationGroupTemplate(String registrationGroupTemplateId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
346 | 0 | return getNextDecorator().deleteRegistrationGroupTemplate(registrationGroupTemplateId, context); |
347 | |
} |
348 | |
|
349 | |
@Override |
350 | |
public StatusInfo deleteRegistrationGroup(String registrationGroupId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
351 | 0 | return getNextDecorator().deleteRegistrationGroup(registrationGroupId, context); |
352 | |
} |
353 | |
|
354 | |
@Override |
355 | |
public StatusInfo deleteFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException { |
356 | 0 | return getNextDecorator().deleteFormatOffering(formatOfferingId, context); |
357 | |
} |
358 | |
|
359 | |
@Override |
360 | |
public StatusInfo deleteCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException { |
361 | 0 | return getNextDecorator().deleteCourseOffering(courseOfferingId, context); |
362 | |
} |
363 | |
|
364 | |
@Override |
365 | |
public StatusInfo deleteActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException { |
366 | 0 | return getNextDecorator().deleteActivityOffering(activityOfferingId, context); |
367 | |
} |
368 | |
|
369 | |
@Override |
370 | |
public SeatPoolDefinitionInfo createSeatPoolDefinition(SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
371 | 0 | return getNextDecorator().createSeatPoolDefinition(seatPoolDefinitionInfo, context); |
372 | |
} |
373 | |
|
374 | |
|
375 | |
@Override |
376 | |
public FormatOfferingInfo createFormatOffering(String courseOfferingId, String formatId, String formatOfferingType, FormatOfferingInfo formatOfferingInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
377 | 0 | return getNextDecorator().createFormatOffering(courseOfferingId, formatId, formatOfferingType, formatOfferingInfo, context); |
378 | |
} |
379 | |
|
380 | |
@Override |
381 | |
public CourseOfferingInfo createCourseOffering(String courseId, String termId, String courseOfferingTypeKey, |
382 | |
CourseOfferingInfo courseOfferingInfo, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
383 | 0 | return getNextDecorator().createCourseOffering(courseId, termId, courseOfferingTypeKey, courseOfferingInfo, optionKeys, context); |
384 | |
} |
385 | |
|
386 | |
@Override |
387 | |
public ActivityOfferingInfo createActivityOffering(String formatOfferingId, |
388 | |
String activityId, |
389 | |
String activityOfferingTypeKey, |
390 | |
ActivityOfferingInfo activityOfferingInfo, ContextInfo context) |
391 | |
throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
392 | 0 | return getNextDecorator().createActivityOffering(formatOfferingId, activityId, activityOfferingTypeKey, activityOfferingInfo, context); |
393 | |
} |
394 | |
|
395 | |
@Override |
396 | |
public ActivityOfferingInfo copyActivityOffering( String activityOfferingId,ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
397 | 0 | return nextDecorator.copyActivityOffering(activityOfferingId, context); |
398 | |
} |
399 | |
|
400 | |
@Override |
401 | |
public List<ActivityOfferingInfo> generateActivityOfferings(String formatOfferingId, String activityOfferingType, Integer quantity, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
402 | 0 | return nextDecorator.generateActivityOfferings(formatOfferingId,activityOfferingType , quantity, context) ; |
403 | |
} |
404 | |
|
405 | |
@Override |
406 | |
public Float calculateTotalContactHoursForTerm(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
407 | 0 | return getNextDecorator().calculateTotalContactHoursForTerm(activityOfferingId, context); |
408 | |
} |
409 | |
|
410 | |
@Override |
411 | |
public Float calculateOutofClassContactHoursForTerm(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
412 | 0 | return getNextDecorator().calculateOutofClassContactHoursForTerm(activityOfferingId, context); |
413 | |
} |
414 | |
|
415 | |
@Override |
416 | |
public Float calculateInClassContactHoursForTerm(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
417 | 0 | return getNextDecorator().calculateInClassContactHoursForTerm(activityOfferingId, context); |
418 | |
} |
419 | |
|
420 | |
@Override |
421 | |
public CourseOfferingInfo rolloverCourseOffering(String sourceCoId, String targetTermId, List<String> optionKeys, ContextInfo context) throws AlreadyExistsException, |
422 | |
DataValidationErrorException, DoesNotExistException, DataValidationErrorException, InvalidParameterException, |
423 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
424 | 0 | return getNextDecorator().rolloverCourseOffering(sourceCoId, targetTermId, optionKeys, context); |
425 | |
} |
426 | |
|
427 | |
@Override |
428 | |
public List<String> getValidRolloverOptionKeys(ContextInfo context) throws InvalidParameterException, |
429 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
430 | 0 | return getNextDecorator().getValidRolloverOptionKeys(context); |
431 | |
} |
432 | |
|
433 | |
@Override |
434 | |
public List<String> getValidCanonicalCourseToCourseOfferingOptionKeys(ContextInfo context) throws InvalidParameterException, |
435 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
436 | 0 | return getNextDecorator().getValidCanonicalCourseToCourseOfferingOptionKeys(context); |
437 | |
} |
438 | |
|
439 | |
} |