1 | |
package org.kuali.student.enrollment.acal.service; |
2 | |
|
3 | |
import java.util.Date; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
7 | |
import org.kuali.student.enrollment.acal.dto.AcademicCalendarInfo; |
8 | |
import org.kuali.student.enrollment.acal.dto.CampusCalendarInfo; |
9 | |
import org.kuali.student.enrollment.acal.dto.HolidayInfo; |
10 | |
import org.kuali.student.enrollment.acal.dto.KeyDateInfo; |
11 | |
import org.kuali.student.enrollment.acal.dto.RegistrationDateGroupInfo; |
12 | |
import org.kuali.student.enrollment.acal.dto.TermInfo; |
13 | |
import org.kuali.student.r2.common.datadictionary.dto.DictionaryEntryInfo; |
14 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
15 | |
import org.kuali.student.r2.common.dto.StateInfo; |
16 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
17 | |
import org.kuali.student.r2.common.dto.TypeInfo; |
18 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
19 | |
import org.kuali.student.r2.common.exceptions.AlreadyExistsException; |
20 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
21 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
22 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
23 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
24 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
25 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
26 | |
import org.kuali.student.r2.common.exceptions.VersionMismatchException; |
27 | |
|
28 | 0 | public abstract class AcademicCalendarServiceDecorator implements AcademicCalendarService { |
29 | |
private AcademicCalendarService nextDecorator; |
30 | |
|
31 | |
public AcademicCalendarService getNextDecorator() throws OperationFailedException { |
32 | 0 | if (null == nextDecorator) { |
33 | 0 | throw new OperationFailedException("Misconfigured application: nextDecorator is null"); |
34 | |
} |
35 | 0 | return nextDecorator; |
36 | |
} |
37 | |
|
38 | |
public void setNextDecorator(AcademicCalendarService nextDecorator) { |
39 | 0 | this.nextDecorator = nextDecorator; |
40 | 0 | } |
41 | |
|
42 | |
@Override |
43 | |
public StateInfo getAcademicCalendarState(String academicCalendarStateKey, ContextInfo context) |
44 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
45 | |
OperationFailedException { |
46 | 0 | return getNextDecorator().getAcademicCalendarState(academicCalendarStateKey, context); |
47 | |
} |
48 | |
|
49 | |
@Override |
50 | |
public List<StateInfo> getAcademicCalendarStates(ContextInfo context) throws InvalidParameterException, |
51 | |
MissingParameterException, OperationFailedException { |
52 | 0 | return getNextDecorator().getAcademicCalendarStates(context); |
53 | |
} |
54 | |
|
55 | |
@Override |
56 | |
public List<String> getDataDictionaryEntryKeys(ContextInfo context) throws OperationFailedException, |
57 | |
MissingParameterException, PermissionDeniedException { |
58 | 0 | return getNextDecorator().getDataDictionaryEntryKeys(context); |
59 | |
} |
60 | |
|
61 | |
@Override |
62 | |
public DictionaryEntryInfo getDataDictionaryEntry(String entryKey, ContextInfo context) |
63 | |
throws OperationFailedException, MissingParameterException, PermissionDeniedException, |
64 | |
DoesNotExistException { |
65 | 0 | return this.getDataDictionaryEntry(entryKey, context); |
66 | |
} |
67 | |
|
68 | |
@Override |
69 | |
public TypeInfo getAcademicCalendarType(String academicCalendarTypeKey, ContextInfo context) |
70 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
71 | |
OperationFailedException { |
72 | 0 | return getNextDecorator().getAcademicCalendarType(academicCalendarTypeKey, context); |
73 | |
|
74 | |
} |
75 | |
|
76 | |
@Override |
77 | |
public List<TypeInfo> getAcademicCalendarTypes(ContextInfo context) throws InvalidParameterException, |
78 | |
MissingParameterException, OperationFailedException { |
79 | 0 | return getNextDecorator().getAcademicCalendarTypes(context); |
80 | |
} |
81 | |
|
82 | |
@Override |
83 | |
public AcademicCalendarInfo getAcademicCalendar(String academicCalendarKey, ContextInfo context) |
84 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
85 | |
OperationFailedException, PermissionDeniedException { |
86 | 0 | return getNextDecorator().getAcademicCalendar(academicCalendarKey, context); |
87 | |
} |
88 | |
|
89 | |
@Override |
90 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByKeyList(List<String> academicCalendarKeyList, |
91 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
92 | |
OperationFailedException, PermissionDeniedException { |
93 | 0 | return getNextDecorator().getAcademicCalendarsByKeyList(academicCalendarKeyList, context); |
94 | |
} |
95 | |
|
96 | |
@Override |
97 | |
public List<String> getAcademicCalendarKeysByType(String academicCalendarTypeKey, ContextInfo context) |
98 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
99 | |
PermissionDeniedException { |
100 | 0 | return getNextDecorator().getAcademicCalendarKeysByType(academicCalendarTypeKey, context); |
101 | |
} |
102 | |
|
103 | |
@Override |
104 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByStartYear(Integer year, ContextInfo context) |
105 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
106 | |
PermissionDeniedException { |
107 | 0 | return getNextDecorator().getAcademicCalendarsByStartYear(year, context); |
108 | |
} |
109 | |
|
110 | |
@Override |
111 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByCredentialProgramType(String credentialProgramTypeKey, |
112 | |
ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, |
113 | |
PermissionDeniedException { |
114 | 0 | return getNextDecorator().getAcademicCalendarsByCredentialProgramType(credentialProgramTypeKey, context); |
115 | |
} |
116 | |
|
117 | |
@Override |
118 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByCredentialProgramTypeForStartYear( |
119 | |
String credentialProgramTypeKey, Integer year, ContextInfo context) throws InvalidParameterException, |
120 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
121 | 0 | return getNextDecorator().getAcademicCalendarsByCredentialProgramTypeForStartYear(credentialProgramTypeKey, |
122 | |
year, context); |
123 | |
} |
124 | |
|
125 | |
@Override |
126 | |
public List<String> searchForAcademicCalendarKeys(QueryByCriteria criteria, ContextInfo context) |
127 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
128 | |
PermissionDeniedException { |
129 | 0 | return getNextDecorator().searchForAcademicCalendarKeys(criteria, context); |
130 | |
} |
131 | |
|
132 | |
@Override |
133 | |
public List<AcademicCalendarInfo> searchForAcademicCalendars(QueryByCriteria criteria, ContextInfo context) |
134 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
135 | |
PermissionDeniedException { |
136 | 0 | return getNextDecorator().searchForAcademicCalendars(criteria, context); |
137 | |
} |
138 | |
|
139 | |
@Override |
140 | |
public List<ValidationResultInfo> validateAcademicCalendar(String validationType, |
141 | |
AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws DoesNotExistException, |
142 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
143 | 0 | return getNextDecorator().validateAcademicCalendar(validationType, academicCalendarInfo, context); |
144 | |
} |
145 | |
|
146 | |
@Override |
147 | |
public AcademicCalendarInfo createAcademicCalendar(String academicCalendarKey, |
148 | |
AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws AlreadyExistsException, |
149 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, |
150 | |
OperationFailedException, PermissionDeniedException { |
151 | 0 | return getNextDecorator().createAcademicCalendar(academicCalendarKey, academicCalendarInfo, context); |
152 | |
} |
153 | |
|
154 | |
@Override |
155 | |
public AcademicCalendarInfo updateAcademicCalendar(String academicCalendarKey, |
156 | |
AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws DataValidationErrorException, |
157 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, |
158 | |
PermissionDeniedException, VersionMismatchException { |
159 | 0 | return getNextDecorator().updateAcademicCalendar(academicCalendarKey, academicCalendarInfo, context); |
160 | |
} |
161 | |
|
162 | |
@Override |
163 | |
public StatusInfo deleteAcademicCalendar(String academicCalendarKey, ContextInfo context) |
164 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
165 | |
OperationFailedException, PermissionDeniedException { |
166 | 0 | return getNextDecorator().deleteAcademicCalendar(academicCalendarKey, context); |
167 | |
} |
168 | |
|
169 | |
@Override |
170 | |
public AcademicCalendarInfo copyAcademicCalendar(String academicCalendarKey, String newAcademicCalendarKey, |
171 | |
ContextInfo context) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, |
172 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
173 | 0 | return getNextDecorator().copyAcademicCalendar(academicCalendarKey, newAcademicCalendarKey, context); |
174 | |
} |
175 | |
|
176 | |
@Override |
177 | |
public String getAcademicCalendarData(String academicCalendarKey, String calendarDataFormatTypeKey, |
178 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
179 | |
OperationFailedException, PermissionDeniedException { |
180 | 0 | return getNextDecorator().getAcademicCalendarData(academicCalendarKey, calendarDataFormatTypeKey, context); |
181 | |
} |
182 | |
|
183 | |
@Override |
184 | |
public TypeInfo getCampusCalendarType(String campusCalendarTypeKey, ContextInfo context) |
185 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
186 | |
OperationFailedException { |
187 | 0 | return getNextDecorator().getCampusCalendarType(campusCalendarTypeKey, context); |
188 | |
} |
189 | |
|
190 | |
@Override |
191 | |
public List<TypeInfo> getCampusCalendarTypes(ContextInfo context) throws InvalidParameterException, |
192 | |
MissingParameterException, OperationFailedException { |
193 | 0 | return getNextDecorator().getCampusCalendarTypes(context); |
194 | |
} |
195 | |
|
196 | |
@Override |
197 | |
public StateInfo getCampusCalendarState(String campusCalendarStateKey, ContextInfo context) |
198 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
199 | |
OperationFailedException { |
200 | 0 | return getNextDecorator().getCampusCalendarState(campusCalendarStateKey, context); |
201 | |
} |
202 | |
|
203 | |
@Override |
204 | |
public List<StateInfo> getCampusCalendarStates(ContextInfo context) throws InvalidParameterException, |
205 | |
MissingParameterException, OperationFailedException { |
206 | 0 | return getNextDecorator().getCampusCalendarStates(context); |
207 | |
} |
208 | |
|
209 | |
@Override |
210 | |
public CampusCalendarInfo getCampusCalendar(String campusCalendarKey, ContextInfo context) |
211 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
212 | |
OperationFailedException, PermissionDeniedException { |
213 | 0 | return getNextDecorator().getCampusCalendar(campusCalendarKey, context); |
214 | |
} |
215 | |
|
216 | |
@Override |
217 | |
public List<CampusCalendarInfo> getCampusCalendarsByKeyList(List<String> campusCalendarKeyList, ContextInfo context) |
218 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
219 | |
OperationFailedException, PermissionDeniedException { |
220 | 0 | return getNextDecorator().getCampusCalendarsByKeyList(campusCalendarKeyList, context); |
221 | |
} |
222 | |
|
223 | |
@Override |
224 | |
public List<String> getCampusCalendarKeysByType(String campusCalendarTypeKey, ContextInfo context) |
225 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
226 | |
PermissionDeniedException { |
227 | 0 | return getNextDecorator().getCampusCalendarKeysByType(campusCalendarTypeKey, context); |
228 | |
} |
229 | |
|
230 | |
@Override |
231 | |
public List<CampusCalendarInfo> getCampusCalendarsByStartYear(Integer year, ContextInfo context) |
232 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
233 | |
PermissionDeniedException { |
234 | 0 | return getNextDecorator().getCampusCalendarsByStartYear(year, context); |
235 | |
} |
236 | |
|
237 | |
@Override |
238 | |
public List<String> searchForCampusCalendarKeys(QueryByCriteria criteria, ContextInfo context) |
239 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
240 | |
PermissionDeniedException { |
241 | 0 | return getNextDecorator().searchForCampusCalendarKeys(criteria, context); |
242 | |
} |
243 | |
|
244 | |
@Override |
245 | |
public List<CampusCalendarInfo> searchForCampusCalendars(QueryByCriteria criteria, ContextInfo context) |
246 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
247 | |
PermissionDeniedException { |
248 | 0 | return getNextDecorator().searchForCampusCalendars(criteria, context); |
249 | |
} |
250 | |
|
251 | |
@Override |
252 | |
public List<ValidationResultInfo> validateCampusCalendar(String validationType, |
253 | |
CampusCalendarInfo campusCalendarInfo, ContextInfo context) throws DoesNotExistException, |
254 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
255 | 0 | return getNextDecorator().validateCampusCalendar(validationType, campusCalendarInfo, context); |
256 | |
} |
257 | |
|
258 | |
@Override |
259 | |
public CampusCalendarInfo createCampusCalendar(String campusCalendarKey, CampusCalendarInfo campusCalendarInfo, |
260 | |
ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
261 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
262 | 0 | return getNextDecorator().createCampusCalendar(campusCalendarKey, campusCalendarInfo, context); |
263 | |
} |
264 | |
|
265 | |
@Override |
266 | |
public CampusCalendarInfo updateCampusCalendar(String campusCalendarKey, CampusCalendarInfo campusCalendarInfo, |
267 | |
ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
268 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
269 | 0 | return getNextDecorator().updateCampusCalendar(campusCalendarKey, campusCalendarInfo, context); |
270 | |
} |
271 | |
|
272 | |
@Override |
273 | |
public StatusInfo deleteCampusCalendar(String campusCalendarKey, ContextInfo context) throws DoesNotExistException, |
274 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
275 | 0 | return getNextDecorator().deleteCampusCalendar(campusCalendarKey, context); |
276 | |
} |
277 | |
|
278 | |
@Override |
279 | |
public TypeInfo getTermType(String termTypeKey, ContextInfo context) throws DoesNotExistException, |
280 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
281 | 0 | return getNextDecorator().getTermType(termTypeKey, context); |
282 | |
} |
283 | |
|
284 | |
@Override |
285 | |
public List<TypeInfo> getTermTypes(ContextInfo context) throws InvalidParameterException, |
286 | |
MissingParameterException, OperationFailedException { |
287 | 0 | return getNextDecorator().getTermTypes(context); |
288 | |
} |
289 | |
|
290 | |
@Override |
291 | |
public List<TypeInfo> getTermTypesForAcademicCalendarType(String academicCalendarTypeKey, ContextInfo context) |
292 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
293 | |
OperationFailedException { |
294 | 0 | return getNextDecorator().getTermTypesForAcademicCalendarType(academicCalendarTypeKey, context); |
295 | |
} |
296 | |
|
297 | |
@Override |
298 | |
public List<TypeInfo> getTermTypesForTermType(String termTypeKey, ContextInfo context) |
299 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
300 | |
OperationFailedException { |
301 | 0 | return getNextDecorator().getTermTypesForTermType(termTypeKey, context); |
302 | |
} |
303 | |
|
304 | |
@Override |
305 | |
public StateInfo getTermState(String termStateKey, ContextInfo context) throws DoesNotExistException, |
306 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
307 | 0 | return getNextDecorator().getTermState(termStateKey, context); |
308 | |
} |
309 | |
|
310 | |
@Override |
311 | |
public List<StateInfo> getTermStates(ContextInfo context) throws InvalidParameterException, |
312 | |
MissingParameterException, OperationFailedException { |
313 | 0 | return getNextDecorator().getTermStates(context); |
314 | |
} |
315 | |
|
316 | |
@Override |
317 | |
public TermInfo getTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
318 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
319 | 0 | return getNextDecorator().getTerm(termKey, context); |
320 | |
} |
321 | |
|
322 | |
@Override |
323 | |
public List<TermInfo> getTermsByKeyList(List<String> termKeyList, ContextInfo context) |
324 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
325 | |
OperationFailedException, PermissionDeniedException { |
326 | 0 | return getNextDecorator().getTermsByKeyList(termKeyList, context); |
327 | |
} |
328 | |
|
329 | |
@Override |
330 | |
public List<String> getTermKeysByType(String termTypeKey, ContextInfo context) throws InvalidParameterException, |
331 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
332 | 0 | return getNextDecorator().getTermKeysByType(termTypeKey, context); |
333 | |
} |
334 | |
|
335 | |
@Override |
336 | |
public List<TermInfo> getTermsForAcademicCalendar(String academicCalendarKey, ContextInfo context) |
337 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
338 | |
OperationFailedException, PermissionDeniedException { |
339 | 0 | return getNextDecorator().getTermsForAcademicCalendar(academicCalendarKey, context); |
340 | |
} |
341 | |
|
342 | |
@Override |
343 | |
public List<TermInfo> getIncludedTermsInTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
344 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
345 | 0 | return getNextDecorator().getIncludedTermsInTerm(termKey, context); |
346 | |
} |
347 | |
|
348 | |
@Override |
349 | |
public List<TermInfo> getContainingTerms(String termKey, ContextInfo context) throws DoesNotExistException, |
350 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
351 | 0 | return getNextDecorator().getContainingTerms(termKey, context); |
352 | |
} |
353 | |
|
354 | |
@Override |
355 | |
public List<String> searchForTermKeys(QueryByCriteria criteria, ContextInfo context) |
356 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
357 | |
PermissionDeniedException { |
358 | 0 | return getNextDecorator().searchForTermKeys(criteria, context); |
359 | |
} |
360 | |
|
361 | |
@Override |
362 | |
public List<TermInfo> searchForTerms(QueryByCriteria criteria, ContextInfo context) |
363 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
364 | |
PermissionDeniedException { |
365 | 0 | return getNextDecorator().searchForTerms(criteria, context); |
366 | |
} |
367 | |
|
368 | |
@Override |
369 | |
public List<ValidationResultInfo> validateTerm(String validationType, TermInfo termInfo, ContextInfo context) |
370 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
371 | |
OperationFailedException { |
372 | 0 | return getNextDecorator().validateTerm(validationType, termInfo, context); |
373 | |
} |
374 | |
|
375 | |
@Override |
376 | |
public TermInfo createTerm(String termKey, TermInfo termInfo, ContextInfo context) throws AlreadyExistsException, |
377 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, |
378 | |
OperationFailedException, PermissionDeniedException { |
379 | 0 | return getNextDecorator().createTerm(termKey, termInfo, context); |
380 | |
} |
381 | |
|
382 | |
@Override |
383 | |
public TermInfo updateTerm(String termKey, TermInfo termInfo, ContextInfo context) |
384 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
385 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
386 | 0 | return getNextDecorator().updateTerm(termKey, termInfo, context); |
387 | |
} |
388 | |
|
389 | |
@Override |
390 | |
public StatusInfo deleteTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
391 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
392 | 0 | return getNextDecorator().deleteTerm(termKey, context); |
393 | |
} |
394 | |
|
395 | |
@Override |
396 | |
public StatusInfo addTermToAcademicCalendar(String academicCalendarKey, String termKey, ContextInfo context) |
397 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
398 | |
OperationFailedException, PermissionDeniedException, AlreadyExistsException { |
399 | 0 | return getNextDecorator().addTermToAcademicCalendar(academicCalendarKey, termKey, context); |
400 | |
} |
401 | |
|
402 | |
@Override |
403 | |
public StatusInfo removeTermFromAcademicCalendar(String academicCalendarKey, String termKey, ContextInfo context) |
404 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
405 | |
OperationFailedException, PermissionDeniedException { |
406 | 0 | return getNextDecorator().removeTermFromAcademicCalendar(academicCalendarKey, termKey, context); |
407 | |
} |
408 | |
|
409 | |
@Override |
410 | |
public StatusInfo addTermToTerm(String termKey, String includedTermKey, ContextInfo context) |
411 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
412 | |
OperationFailedException, PermissionDeniedException, AlreadyExistsException { |
413 | 0 | return getNextDecorator().addTermToTerm(termKey, includedTermKey, context); |
414 | |
} |
415 | |
|
416 | |
@Override |
417 | |
public StatusInfo removeTermFromTerm(String termKey, String includedTermKey, ContextInfo context) |
418 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
419 | |
OperationFailedException, PermissionDeniedException { |
420 | 0 | return getNextDecorator().removeTermFromTerm(termKey, includedTermKey, context); |
421 | |
} |
422 | |
|
423 | |
@Override |
424 | |
public TypeInfo getKeyDateType(String keyDateTypeKey, ContextInfo context) throws DoesNotExistException, |
425 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
426 | 0 | return getNextDecorator().getKeyDateType(keyDateTypeKey, context); |
427 | |
} |
428 | |
|
429 | |
@Override |
430 | |
public List<TypeInfo> getKeyDateTypesForTermType(String termTypeKey, ContextInfo context) |
431 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
432 | |
OperationFailedException { |
433 | 0 | return getNextDecorator().getKeyDateTypesForTermType(termTypeKey, context); |
434 | |
} |
435 | |
|
436 | |
@Override |
437 | |
public KeyDateInfo getKeyDate(String keyDateKey, ContextInfo context) throws DoesNotExistException, |
438 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
439 | 0 | return getNextDecorator().getKeyDate(keyDateKey, context); |
440 | |
} |
441 | |
|
442 | |
@Override |
443 | |
public List<KeyDateInfo> getKeyDatesByKeyList(List<String> keyDateKeyList, ContextInfo context) |
444 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
445 | |
OperationFailedException, PermissionDeniedException { |
446 | 0 | return getNextDecorator().getKeyDatesByKeyList(keyDateKeyList, context); |
447 | |
} |
448 | |
|
449 | |
@Override |
450 | |
public List<String> getKeyDateKeysByType(String keyDateTypeKey, ContextInfo context) |
451 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
452 | |
PermissionDeniedException { |
453 | 0 | return getNextDecorator().getKeyDateKeysByType(keyDateTypeKey, context); |
454 | |
} |
455 | |
|
456 | |
@Override |
457 | |
public List<KeyDateInfo> getKeyDatesForAcademicCalendar(String academicCalendarKey, ContextInfo context) |
458 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
459 | |
OperationFailedException, PermissionDeniedException { |
460 | 0 | return getNextDecorator().getKeyDatesForAcademicCalendar(academicCalendarKey, context); |
461 | |
} |
462 | |
|
463 | |
@Override |
464 | |
public List<KeyDateInfo> getKeyDatesForAcademicCalendarByDate(String academicCalendarKey, Date startDate, |
465 | |
Date endDate, ContextInfo context) throws DoesNotExistException, InvalidParameterException, |
466 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
467 | 0 | return getNextDecorator() |
468 | |
.getKeyDatesForAcademicCalendarByDate(academicCalendarKey, startDate, endDate, context); |
469 | |
} |
470 | |
|
471 | |
@Override |
472 | |
public List<KeyDateInfo> getKeyDatesForTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
473 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
474 | 0 | return getNextDecorator().getKeyDatesForTerm(termKey, context); |
475 | |
} |
476 | |
|
477 | |
@Override |
478 | |
public List<KeyDateInfo> getKeyDatesForTermByDate(String termKey, Date startDate, Date endDate, ContextInfo context) |
479 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
480 | |
OperationFailedException, PermissionDeniedException { |
481 | 0 | return getNextDecorator().getKeyDatesForTermByDate(termKey, startDate, endDate, context); |
482 | |
} |
483 | |
|
484 | |
@Override |
485 | |
public List<KeyDateInfo> getAllKeyDatesForTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
486 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
487 | 0 | return getNextDecorator().getAllKeyDatesForTerm(termKey, context); |
488 | |
} |
489 | |
|
490 | |
@Override |
491 | |
public List<KeyDateInfo> getKeyDatesForAllTermsByDate(String termKey, Date startDate, Date endDate, |
492 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
493 | |
OperationFailedException, PermissionDeniedException { |
494 | 0 | return getNextDecorator().getKeyDatesForAllTermsByDate(termKey, startDate, endDate, context); |
495 | |
} |
496 | |
|
497 | |
@Override |
498 | |
public List<String> searchForKeyDateKeys(QueryByCriteria criteria, ContextInfo context) |
499 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
500 | |
PermissionDeniedException { |
501 | 0 | return getNextDecorator().searchForKeyDateKeys(criteria, context); |
502 | |
} |
503 | |
|
504 | |
@Override |
505 | |
public List<KeyDateInfo> searchForKeyDates(QueryByCriteria criteria, ContextInfo context) |
506 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
507 | |
PermissionDeniedException { |
508 | 0 | return getNextDecorator().searchForKeyDates(criteria, context); |
509 | |
} |
510 | |
|
511 | |
@Override |
512 | |
public List<ValidationResultInfo> validateKeyDate(String validationType, KeyDateInfo keyDateInfo, |
513 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
514 | |
OperationFailedException { |
515 | 0 | return getNextDecorator().validateKeyDate(validationType, keyDateInfo, context); |
516 | |
} |
517 | |
|
518 | |
@Override |
519 | |
public KeyDateInfo createKeyDateForTerm(String termKey, String keyDateKey, KeyDateInfo keyDateInfo, |
520 | |
ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
521 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
522 | 0 | return getNextDecorator().createKeyDateForTerm(termKey, keyDateKey, keyDateInfo, context); |
523 | |
} |
524 | |
|
525 | |
@Override |
526 | |
public KeyDateInfo updateKeyDate(String keyDateKey, KeyDateInfo keyDateInfo, ContextInfo context) |
527 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
528 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
529 | 0 | return getNextDecorator().updateKeyDate(keyDateKey, keyDateInfo, context); |
530 | |
} |
531 | |
|
532 | |
@Override |
533 | |
public StatusInfo deleteKeyDate(String keyDateKey, ContextInfo context) throws DoesNotExistException, |
534 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
535 | 0 | return getNextDecorator().deleteKeyDate(keyDateKey, context); |
536 | |
} |
537 | |
|
538 | |
@Override |
539 | |
public TypeInfo getHolidayType(String holidayTypeKey, ContextInfo context) throws DoesNotExistException, |
540 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
541 | 0 | return getNextDecorator().getHolidayType(holidayTypeKey, context); |
542 | |
} |
543 | |
|
544 | |
@Override |
545 | |
public List<TypeInfo> getHolidayTypesForCampusCalendarType(String campusCalendarTypeKey, ContextInfo context) |
546 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
547 | |
OperationFailedException { |
548 | 0 | return getNextDecorator().getHolidayTypesForCampusCalendarType(campusCalendarTypeKey, context); |
549 | |
} |
550 | |
|
551 | |
@Override |
552 | |
public List<HolidayInfo> getHolidaysForAcademicCalendar(String academicCalendarKey, ContextInfo context) |
553 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
554 | |
OperationFailedException, PermissionDeniedException { |
555 | 0 | return getNextDecorator().getHolidaysForAcademicCalendar(academicCalendarKey, context); |
556 | |
} |
557 | |
|
558 | |
@Override |
559 | |
public List<String> searchForHolidayKeys(QueryByCriteria criteria, ContextInfo context) |
560 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
561 | |
PermissionDeniedException { |
562 | 0 | return getNextDecorator().searchForHolidayKeys(criteria, context); |
563 | |
} |
564 | |
|
565 | |
@Override |
566 | |
public List<HolidayInfo> searchForHolidays(QueryByCriteria criteria, ContextInfo context) |
567 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
568 | |
PermissionDeniedException { |
569 | 0 | return getNextDecorator().searchForHolidays(criteria, context); |
570 | |
} |
571 | |
|
572 | |
@Override |
573 | |
public List<ValidationResultInfo> validateHoliday(String validationType, HolidayInfo holidayInfo, |
574 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
575 | |
OperationFailedException { |
576 | 0 | return getNextDecorator().validateHoliday(validationType, holidayInfo, context); |
577 | |
} |
578 | |
|
579 | |
@Override |
580 | |
public HolidayInfo createHolidayForCampusCalendar(String campusCalendarKey, String holidayKey, |
581 | |
HolidayInfo holidayInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
582 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
583 | 0 | return getNextDecorator().createHolidayForCampusCalendar(campusCalendarKey, holidayKey, holidayInfo, context); |
584 | |
} |
585 | |
|
586 | |
@Override |
587 | |
public HolidayInfo updateHoliday(String holidayKey, HolidayInfo holidayInfo, ContextInfo context) |
588 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
589 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
590 | 0 | return getNextDecorator().updateHoliday(holidayKey, holidayInfo, context); |
591 | |
} |
592 | |
|
593 | |
@Override |
594 | |
public StatusInfo deleteHoliday(String holidayKey, ContextInfo context) throws DoesNotExistException, |
595 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
596 | 0 | return getNextDecorator().deleteHoliday(holidayKey, context); |
597 | |
} |
598 | |
|
599 | |
@Override |
600 | |
public RegistrationDateGroupInfo getRegistrationDateGroup(String termKey, ContextInfo context) |
601 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
602 | |
OperationFailedException, PermissionDeniedException { |
603 | 0 | return getNextDecorator().getRegistrationDateGroup(termKey, context); |
604 | |
} |
605 | |
|
606 | |
@Override |
607 | |
public List<ValidationResultInfo> validateRegistrationDateGroup(String validationType, |
608 | |
RegistrationDateGroupInfo registrationDateGroupInfo, ContextInfo context) throws DoesNotExistException, |
609 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
610 | 0 | return getNextDecorator().validateRegistrationDateGroup(validationType, registrationDateGroupInfo, context); |
611 | |
} |
612 | |
|
613 | |
@Override |
614 | |
public RegistrationDateGroupInfo updateRegistrationDateGroup(String termKey, |
615 | |
RegistrationDateGroupInfo registrationDateGroupInfo, ContextInfo context) |
616 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
617 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
618 | 0 | return getNextDecorator().updateRegistrationDateGroup(termKey, registrationDateGroupInfo, context); |
619 | |
} |
620 | |
|
621 | |
@Override |
622 | |
public Integer getInstructionalDaysForTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
623 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
624 | 0 | return getNextDecorator().getInstructionalDaysForTerm(termKey, context); |
625 | |
} |
626 | |
|
627 | |
@Override |
628 | |
public List<TermInfo> getCurrentTerms(String processKey, ContextInfo context) |
629 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
630 | |
OperationFailedException, PermissionDeniedException { |
631 | 0 | return getNextDecorator().getCurrentTerms( processKey, context); |
632 | |
} |
633 | |
} |