1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.student.r2.core.class1.scheduling.service.decorators; |
18 | |
|
19 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
20 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
21 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
22 | |
import org.kuali.student.r2.common.dto.TimeOfDayInfo; |
23 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
24 | |
import org.kuali.student.r2.common.exceptions.*; |
25 | |
import org.kuali.student.r2.core.scheduling.dto.*; |
26 | |
import org.kuali.student.r2.core.scheduling.service.SchedulingService; |
27 | |
|
28 | |
import javax.jws.WebParam; |
29 | |
import java.util.List; |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | 0 | public class SchedulingServiceDecorator implements SchedulingService { |
37 | |
|
38 | |
private SchedulingService nextDecorator; |
39 | |
|
40 | |
public SchedulingService getNextDecorator() throws OperationFailedException { |
41 | 0 | if (nextDecorator == null) { |
42 | 0 | throw new OperationFailedException("Misconfigured application: nextDecorator is null"); |
43 | |
} |
44 | 0 | return nextDecorator; |
45 | |
} |
46 | |
|
47 | |
public void setNextDecorator(SchedulingService nextDecorator) { |
48 | 0 | this.nextDecorator = nextDecorator; |
49 | 0 | } |
50 | |
|
51 | |
@Override |
52 | |
public ScheduleInfo getSchedule(@WebParam(name = "scheduleId") String scheduleId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
53 | 0 | return getNextDecorator().getSchedule(scheduleId, contextInfo); |
54 | |
} |
55 | |
|
56 | |
@Override |
57 | |
public List<ScheduleInfo> getSchedulesByIds(@WebParam(name = "scheduleIds") List<String> scheduleIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
58 | 0 | return getNextDecorator().getSchedulesByIds(scheduleIds, contextInfo); |
59 | |
} |
60 | |
|
61 | |
@Override |
62 | |
public List<String> getScheduleIdsByType(@WebParam(name = "scheduleTypeKey") String scheduleTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
63 | 0 | return getNextDecorator().getScheduleIdsByType(scheduleTypeKey, contextInfo); |
64 | |
} |
65 | |
|
66 | |
@Override |
67 | |
public List<String> searchForScheduleIds(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
68 | 0 | return getNextDecorator().searchForScheduleIds(criteria, contextInfo); |
69 | |
} |
70 | |
|
71 | |
@Override |
72 | |
public List<ScheduleInfo> searchForSchedules(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
73 | 0 | return getNextDecorator().searchForSchedules(criteria, contextInfo); |
74 | |
} |
75 | |
|
76 | |
@Override |
77 | |
public List<ValidationResultInfo> validateSchedule(@WebParam(name = "validationTypeKey") String validationTypeKey, @WebParam(name = "scheduleTypeKey") String scheduleTypeKey, @WebParam(name = "scheduleInfo") ScheduleInfo scheduleInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
78 | 0 | return getNextDecorator().validateSchedule(validationTypeKey, scheduleTypeKey, scheduleInfo, contextInfo); |
79 | |
} |
80 | |
|
81 | |
@Override |
82 | |
public ScheduleInfo createSchedule(@WebParam(name = "scheduleTypeKey") String scheduleTypeKey, @WebParam(name = "scheduleInfo") ScheduleInfo scheduleInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
83 | 0 | return getNextDecorator().createSchedule(scheduleTypeKey, scheduleInfo, contextInfo); |
84 | |
} |
85 | |
|
86 | |
@Override |
87 | |
public ScheduleInfo updateSchedule(@WebParam(name = "scheduleId") String scheduleId, @WebParam(name = "scheduleInfo") ScheduleInfo scheduleInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
88 | 0 | return getNextDecorator().updateSchedule(scheduleId, scheduleInfo, contextInfo); |
89 | |
} |
90 | |
|
91 | |
@Override |
92 | |
public StatusInfo deleteSchedule(@WebParam(name = "scheduleId") String scheduleId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
93 | 0 | return getNextDecorator().deleteSchedule(scheduleId, contextInfo); |
94 | |
} |
95 | |
|
96 | |
@Override |
97 | |
public ScheduleBatchInfo getScheduleBatch(@WebParam(name = "scheduleBatchId") String scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
98 | 0 | return getNextDecorator().getScheduleBatch(scheduleBatchId, contextInfo); |
99 | |
} |
100 | |
|
101 | |
@Override |
102 | |
public List<ScheduleBatchInfo> getScheduleBatchesByIds(@WebParam(name = "scheduleBatchIds") List<String> scheduleBatchIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
103 | 0 | return getNextDecorator().getScheduleBatchesByIds(scheduleBatchIds, contextInfo); |
104 | |
} |
105 | |
|
106 | |
@Override |
107 | |
public List<String> getScheduleBatchIdsByType(@WebParam(name = "scheduleBatchTypeKey") String scheduleBatchTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
108 | 0 | return getNextDecorator().getScheduleBatchIdsByType(scheduleBatchTypeKey, contextInfo); |
109 | |
} |
110 | |
|
111 | |
@Override |
112 | |
public List<ScheduleBatchInfo> getScheduleBatchesForScheduleRequest(@WebParam(name = "scheduleRequestId") String scheduleRequestId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
113 | 0 | return getNextDecorator().getScheduleBatchesForScheduleRequest(scheduleRequestId, contextInfo); |
114 | |
} |
115 | |
|
116 | |
@Override |
117 | |
public List<String> searchForScheduleBatchIds(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
118 | 0 | return getNextDecorator().searchForScheduleBatchIds(criteria, contextInfo); |
119 | |
} |
120 | |
|
121 | |
@Override |
122 | |
public List<ScheduleBatchInfo> searchForScheduleBatches(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
123 | 0 | return getNextDecorator().searchForScheduleBatches(criteria, contextInfo); |
124 | |
} |
125 | |
|
126 | |
@Override |
127 | |
public List<ValidationResultInfo> validateScheduleBatch(@WebParam(name = "validationTypeKey") String validationTypeKey, @WebParam(name = "scheduleBatchTypeKey") String scheduleBatchTypeKey, @WebParam(name = "scheduleBatchInfo") ScheduleBatchInfo scheduleBatchInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
128 | 0 | return getNextDecorator().validateScheduleBatch(validationTypeKey, scheduleBatchTypeKey, scheduleBatchInfo, contextInfo); |
129 | |
} |
130 | |
|
131 | |
@Override |
132 | |
public ScheduleBatchInfo createScheduleBatch(@WebParam(name = "scheduleBatchTypeKey") String scheduleBatchTypeKey, @WebParam(name = "scheduleBatchInfo") ScheduleBatchInfo scheduleBatchInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
133 | 0 | return getNextDecorator().createScheduleBatch(scheduleBatchTypeKey, scheduleBatchInfo, contextInfo); |
134 | |
} |
135 | |
|
136 | |
@Override |
137 | |
public ScheduleBatchInfo updateScheduleBatch(@WebParam(name = "scheduleBatchId") String scheduleBatchId, @WebParam(name = "scheduleBatchInfo") ScheduleBatchInfo scheduleBatchInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
138 | 0 | return getNextDecorator().updateScheduleBatch(scheduleBatchId, scheduleBatchInfo, contextInfo); |
139 | |
} |
140 | |
|
141 | |
@Override |
142 | |
public StatusInfo deleteScheduleBatch(@WebParam(name = "scheduleBatchId") String scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
143 | 0 | return getNextDecorator().deleteScheduleBatch(scheduleBatchId, contextInfo); |
144 | |
} |
145 | |
|
146 | |
@Override |
147 | |
public StatusInfo addScheduleRequestsToScheduleBatch(@WebParam(name = "scheduleRequestIds") List<String> scheduleRequestIds, @WebParam(name = "scheduleBatchId") List<String> scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
148 | 0 | return getNextDecorator().addScheduleRequestsToScheduleBatch(scheduleRequestIds, scheduleBatchId, contextInfo); |
149 | |
} |
150 | |
|
151 | |
@Override |
152 | |
public StatusInfo removeScheduleRequestsFromScheduleBatch(@WebParam(name = "scheduleRequestIds") List<String> scheduleRequestIds, @WebParam(name = "scheduleBatchId") List<String> scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
153 | 0 | return getNextDecorator().removeScheduleRequestsFromScheduleBatch(scheduleRequestIds, scheduleBatchId, contextInfo); |
154 | |
} |
155 | |
|
156 | |
@Override |
157 | |
public ScheduleBatchRespInfo getScheduleBatchResp(@WebParam(name = "scheduleBatchRespId") String scheduleBatchRespId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
158 | 0 | return getNextDecorator().getScheduleBatchResp(scheduleBatchRespId, contextInfo); |
159 | |
} |
160 | |
|
161 | |
@Override |
162 | |
public List<ScheduleBatchRespInfo> getScheduleBatchRespsByIds(@WebParam(name = "scheduleBatchRespIds") List<String> scheduleBatchRespIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
163 | 0 | return getNextDecorator().getScheduleBatchRespsByIds(scheduleBatchRespIds, contextInfo); |
164 | |
} |
165 | |
|
166 | |
@Override |
167 | |
public List<String> getScheduleBatchRespIdsByType(@WebParam(name = "scheduleBatchRespTypeKey") String scheduleBatchRespTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
168 | 0 | return getNextDecorator().getScheduleBatchRespIdsByType(scheduleBatchRespTypeKey, contextInfo); |
169 | |
} |
170 | |
|
171 | |
@Override |
172 | |
public List<ScheduleBatchRespInfo> getScheduleBatchRespsByScheduleBatchRequest(@WebParam(name = "scheduleBatchId") String scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
173 | 0 | return getNextDecorator().getScheduleBatchRespsByScheduleBatchRequest(scheduleBatchId, contextInfo); |
174 | |
} |
175 | |
|
176 | |
@Override |
177 | |
public ScheduleRequestInfo getScheduleRequest(@WebParam(name = "scheduleRequestId") String scheduleRequestId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
178 | 0 | return getNextDecorator().getScheduleRequest(scheduleRequestId, contextInfo); |
179 | |
} |
180 | |
|
181 | |
@Override |
182 | |
public List<ScheduleRequestInfo> getScheduleRequestsByIds(@WebParam(name = "scheduleRequestIds") List<String> scheduleRequestIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
183 | 0 | return getNextDecorator().getScheduleRequestsByIds(scheduleRequestIds, contextInfo); |
184 | |
} |
185 | |
|
186 | |
@Override |
187 | |
public List<String> getScheduleRequestIdsByType(@WebParam(name = "scheduleRequestTypeKey") String scheduleRequestTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
188 | 0 | return getNextDecorator().getScheduleRequestIdsByType(scheduleRequestTypeKey, contextInfo); |
189 | |
} |
190 | |
|
191 | |
@Override |
192 | |
public List<String> getScheduleRequestsByRefObject(@WebParam(name = "refObjectType") String refObjectType, @WebParam(name = "refObjectId") String refObjectId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
193 | 0 | return getNextDecorator().getScheduleRequestsByRefObject(refObjectType, refObjectId, contextInfo); |
194 | |
} |
195 | |
|
196 | |
@Override |
197 | |
public List<ScheduleRequestInfo> getScheduleRequestsForScheduleBatch(@WebParam(name = "scheduleBatchId") String scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
198 | 0 | return getNextDecorator().getScheduleRequestsForScheduleBatch(scheduleBatchId, contextInfo); |
199 | |
} |
200 | |
|
201 | |
@Override |
202 | |
public List<String> searchForScheduleRequestIds(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
203 | 0 | return getNextDecorator().searchForScheduleRequestIds(criteria, contextInfo); |
204 | |
} |
205 | |
|
206 | |
@Override |
207 | |
public List<ScheduleRequestInfo> searchForScheduleRequests(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
208 | 0 | return getNextDecorator().searchForScheduleRequests(criteria, contextInfo); |
209 | |
} |
210 | |
|
211 | |
@Override |
212 | |
public List<ValidationResultInfo> validateScheduleRequest(@WebParam(name = "validationTypeKey") String validationTypeKey, @WebParam(name = "scheduleRequestTypeKey") String scheduleRequestTypeKey, @WebParam(name = "scheduleRequestInfo") ScheduleRequestInfo scheduleRequestInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
213 | 0 | return getNextDecorator().validateScheduleRequest(validationTypeKey, scheduleRequestTypeKey, scheduleRequestInfo, contextInfo); |
214 | |
} |
215 | |
|
216 | |
@Override |
217 | |
public ScheduleRequestInfo createScheduleRequest(@WebParam(name = "scheduleRequestTypeKey") String scheduleRequestTypeKey, @WebParam(name = "scheduleRequestInfo") ScheduleRequestInfo scheduleRequestInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
218 | 0 | return getNextDecorator().createScheduleRequest(scheduleRequestTypeKey, scheduleRequestInfo, contextInfo); |
219 | |
} |
220 | |
|
221 | |
@Override |
222 | |
public ScheduleRequestInfo updateScheduleRequest(@WebParam(name = "scheduleRequestId") String scheduleRequestId, @WebParam(name = "scheduleRequestInfo") ScheduleRequestInfo scheduleRequestInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
223 | 0 | return getNextDecorator().updateScheduleRequest(scheduleRequestId, scheduleRequestInfo, contextInfo); |
224 | |
} |
225 | |
|
226 | |
@Override |
227 | |
public StatusInfo deleteScheduleRequest(@WebParam(name = "scheduleRequestId") String scheduleRequestId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
228 | 0 | return getNextDecorator().deleteScheduleRequest(scheduleRequestId, contextInfo); |
229 | |
} |
230 | |
|
231 | |
@Override |
232 | |
public TimeSlotInfo getTimeSlot(@WebParam(name = "timeSlotId") String timeSlotId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
233 | 0 | return getNextDecorator().getTimeSlot(timeSlotId, contextInfo); |
234 | |
} |
235 | |
|
236 | |
@Override |
237 | |
public List<TimeSlotInfo> getTimeSlotsByIds(@WebParam(name = "timeSlotIds") List<String> timeSlotIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
238 | 0 | return getNextDecorator().getTimeSlotsByIds(timeSlotIds, contextInfo); |
239 | |
} |
240 | |
|
241 | |
@Override |
242 | |
public List<String> getTimeSlotIdsByType(@WebParam(name = "timeSlotTypeKey") String timeSlotTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
243 | 0 | return getNextDecorator().getTimeSlotIdsByType(timeSlotTypeKey, contextInfo); |
244 | |
} |
245 | |
|
246 | |
@Override |
247 | |
public List<TimeSlotInfo> getTimeSlotsByDaysAndStartTime(@WebParam(name = "timeSlotTypeKey") String timeSlotTypeKey, @WebParam(name = "daysOfWeek") List<Integer> daysOfWeek, @WebParam(name = "startTime") TimeOfDayInfo startTime, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
248 | 0 | return getNextDecorator().getTimeSlotsByDaysAndStartTime(timeSlotTypeKey, daysOfWeek, startTime, contextInfo); |
249 | |
} |
250 | |
|
251 | |
@Override |
252 | |
public List<TimeSlotInfo> getTimeSlotsByDaysAndStartTimeAndEndTime(@WebParam(name = "timeSlotTypeKey") String timeSlotTypeKey, @WebParam(name = "daysOfWeek") List<Integer> daysOfWeek, @WebParam(name = "startTime") TimeOfDayInfo startTime, @WebParam(name = "endTime") TimeOfDayInfo endTime, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
253 | 0 | return getNextDecorator().getTimeSlotsByDaysAndStartTimeAndEndTime(timeSlotTypeKey, daysOfWeek, startTime, endTime, contextInfo); |
254 | |
} |
255 | |
|
256 | |
@Override |
257 | |
public List<String> searchForTimeSlotIds(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
258 | 0 | return getNextDecorator().searchForTimeSlotIds(criteria, contextInfo); |
259 | |
} |
260 | |
|
261 | |
@Override |
262 | |
public List<TimeSlotInfo> searchForTimeSlots(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
263 | 0 | return getNextDecorator().searchForTimeSlots(criteria, contextInfo); |
264 | |
} |
265 | |
|
266 | |
@Override |
267 | |
public List<ValidationResultInfo> validateTimeSlot(@WebParam(name = "validationTypeKey") String validationTypeKey, @WebParam(name = "timeSlotTypeKey") String timeSlotTypeKey, @WebParam(name = "timeSlotInfo") TimeSlotInfo timeSlotInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
268 | 0 | return getNextDecorator().validateTimeSlot(validationTypeKey, timeSlotTypeKey, timeSlotInfo, contextInfo); |
269 | |
} |
270 | |
|
271 | |
@Override |
272 | |
public TimeSlotInfo createTimeSlot(@WebParam(name = "timeSlotTypeKey") String timeSlotTypeKey, @WebParam(name = "timeSlotInfo") TimeSlotInfo timeSlotInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
273 | 0 | return getNextDecorator().createTimeSlot(timeSlotTypeKey, timeSlotInfo, contextInfo); |
274 | |
} |
275 | |
|
276 | |
@Override |
277 | |
public TimeSlotInfo updateTimeSlot(@WebParam(name = "timeSlotId") String timeSlotId, @WebParam(name = "timeSlotInfo") TimeSlotInfo timeSlotInfo, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
278 | 0 | return getNextDecorator().updateTimeSlot(timeSlotId, timeSlotInfo, contextInfo); |
279 | |
} |
280 | |
|
281 | |
@Override |
282 | |
public StatusInfo deleteTimeSlot(@WebParam(name = "timeSlotId") String timeSlotId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
283 | 0 | return getNextDecorator().deleteTimeSlot(timeSlotId, contextInfo); |
284 | |
} |
285 | |
|
286 | |
@Override |
287 | |
public ScheduleRespInfo getScheduleResp(@WebParam(name = "scheduleRespId") String scheduleRespId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
288 | 0 | return getNextDecorator().getScheduleResp(scheduleRespId, contextInfo); |
289 | |
} |
290 | |
|
291 | |
@Override |
292 | |
public List<ScheduleRespInfo> getScheduleRespsByIds(@WebParam(name = "scheduleRespIds") List<String> scheduleRespIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
293 | 0 | return getNextDecorator().getScheduleRespsByIds(scheduleRespIds, contextInfo); |
294 | |
} |
295 | |
|
296 | |
@Override |
297 | |
public List<String> getScheduleRespIdsByType(@WebParam(name = "scheduleRespTypeKey") String scheduleRespTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
298 | 0 | return getNextDecorator().getScheduleRespIdsByType(scheduleRespTypeKey, contextInfo); |
299 | |
} |
300 | |
|
301 | |
@Override |
302 | |
public List<ScheduleRespInfo> getScheduleRespsByScheduleRequestIds(@WebParam(name = "scheduleRequestIds") List<String> scheduleRequestIds, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
303 | 0 | return getNextDecorator().getScheduleRespsByScheduleRequestIds(scheduleRequestIds, contextInfo); |
304 | |
} |
305 | |
|
306 | |
@Override |
307 | |
public List<ScheduleRespInfo> getScheduleRespsByScheduleBatchResp(@WebParam(name = "scheduleBatchRespId") String scheduleBatchRespId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
308 | 0 | return getNextDecorator().getScheduleRespsByScheduleBatchResp(scheduleBatchRespId, contextInfo); |
309 | |
} |
310 | |
|
311 | |
@Override |
312 | |
public ScheduleRespInfo submitScheduleBatch(@WebParam(name = "scheduleBatchId") String scheduleBatchId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
313 | 0 | return getNextDecorator().submitScheduleBatch(scheduleBatchId, contextInfo); |
314 | |
} |
315 | |
|
316 | |
@Override |
317 | |
public StatusInfo commitSchedules(@WebParam(name = "scheduleBatchRespId") String scheduleBatchRespId, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
318 | 0 | return getNextDecorator().commitSchedules(scheduleBatchRespId, contextInfo); |
319 | |
} |
320 | |
|
321 | |
@Override |
322 | |
public List<Integer> getValidDaysOfWeekByTimeSlotType(@WebParam(name = "timeSlotTypeKey") String timeSlotTypeKey, @WebParam(name = "contextInfo") ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
323 | 0 | return getNextDecorator().getValidDaysOfWeekByTimeSlotType(timeSlotTypeKey, contextInfo); |
324 | |
} |
325 | |
} |