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