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