| 1 | |
package org.kuali.student.enrollment.courseoffering.service; |
| 2 | |
|
| 3 | |
import java.util.List; |
| 4 | |
|
| 5 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
| 6 | |
import org.kuali.student.enrollment.courseoffering.dto.ActivityOfferingInfo; |
| 7 | |
import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo; |
| 8 | |
import org.kuali.student.enrollment.courseoffering.dto.RegistrationGroupInfo; |
| 9 | |
import org.kuali.student.enrollment.courseoffering.dto.SeatPoolDefinitionInfo; |
| 10 | |
import org.kuali.student.enrollment.courseregistration.dto.CourseRegistrationInfo; |
| 11 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
| 12 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
| 13 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
| 14 | |
import org.kuali.student.r2.common.exceptions.AlreadyExistsException; |
| 15 | |
import org.kuali.student.r2.common.exceptions.CircularReferenceException; |
| 16 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
| 17 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
| 18 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
| 19 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
| 20 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
| 21 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
| 22 | |
import org.kuali.student.r2.common.exceptions.VersionMismatchException; |
| 23 | |
import org.kuali.student.r2.core.statement.dto.StatementTreeViewInfo; |
| 24 | |
import org.kuali.student.r2.core.type.dto.TypeInfo; |
| 25 | |
|
| 26 | 0 | public class CourseOfferingServiceDecorator implements CourseOfferingService { |
| 27 | |
|
| 28 | |
private CourseOfferingService nextDecorator; |
| 29 | |
|
| 30 | |
public CourseOfferingService getNextDecorator() throws OperationFailedException { |
| 31 | 0 | if (null == nextDecorator) { |
| 32 | 0 | throw new OperationFailedException("Misconfigured application: nextDecorator is null"); |
| 33 | |
} |
| 34 | 0 | return nextDecorator; |
| 35 | |
} |
| 36 | |
|
| 37 | |
public void setNextDecorator(CourseOfferingService nextDecorator) { |
| 38 | 0 | this.nextDecorator = nextDecorator; |
| 39 | 0 | } |
| 40 | |
|
| 41 | |
|
| 42 | |
@Override |
| 43 | |
public CourseOfferingInfo getCourseOffering(String courseOfferingId, ContextInfo context) |
| 44 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 45 | |
OperationFailedException, PermissionDeniedException { |
| 46 | 0 | return getNextDecorator().getCourseOffering(courseOfferingId, context); |
| 47 | |
} |
| 48 | |
|
| 49 | |
@Override |
| 50 | |
public List<CourseOfferingInfo> getCourseOfferingsForCourseAndTerm(String courseId, String termId, |
| 51 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 52 | |
OperationFailedException, PermissionDeniedException { |
| 53 | 0 | return getNextDecorator().getCourseOfferingsForCourseAndTerm(courseId, termId, context); |
| 54 | |
} |
| 55 | |
|
| 56 | |
@Override |
| 57 | |
public List<String> getCourseOfferingIdsForTerm(String termId, Boolean useIncludedTerm, ContextInfo context) |
| 58 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 59 | |
OperationFailedException, PermissionDeniedException { |
| 60 | 0 | return getNextDecorator().getCourseOfferingIdsForTerm(termId, useIncludedTerm, context); |
| 61 | |
} |
| 62 | |
|
| 63 | |
@Override |
| 64 | |
public List<String> getCourseOfferingIdsByTermAndSubjectArea(String termId, String subjectArea, ContextInfo context) |
| 65 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 66 | |
OperationFailedException, PermissionDeniedException { |
| 67 | 0 | return getNextDecorator().getCourseOfferingIdsByTermAndSubjectArea(termId, subjectArea, context); |
| 68 | |
} |
| 69 | |
|
| 70 | |
@Override |
| 71 | |
public List<String> getCourseOfferingIdsByTermAndUnitContentOwner(String termId, String unitOwnerId, |
| 72 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 73 | |
OperationFailedException, PermissionDeniedException { |
| 74 | 0 | return getNextDecorator().getCourseOfferingIdsByTermAndUnitContentOwner(termId, unitOwnerId, context); |
| 75 | |
} |
| 76 | |
|
| 77 | |
@Override |
| 78 | |
public CourseOfferingInfo createCourseOfferingFromCanonical(String courseid, String termId, |
| 79 | |
List<String> formatIdList, ContextInfo context) throws AlreadyExistsException, DoesNotExistException, |
| 80 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, |
| 81 | |
OperationFailedException, PermissionDeniedException { |
| 82 | 0 | return getNextDecorator().createCourseOfferingFromCanonical(courseid, termId, formatIdList, context); |
| 83 | |
} |
| 84 | |
|
| 85 | |
@Override |
| 86 | |
public CourseOfferingInfo updateCourseOffering(String courseOfferingId, CourseOfferingInfo courseOfferingInfo, |
| 87 | |
ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 88 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 89 | 0 | return getNextDecorator().updateCourseOffering(courseOfferingId, courseOfferingInfo, context); |
| 90 | |
} |
| 91 | |
|
| 92 | |
@Override |
| 93 | |
public CourseOfferingInfo updateCourseOfferingFromCanonical(String courseOfferingId, ContextInfo context) |
| 94 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 95 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 96 | 0 | return getNextDecorator().updateCourseOfferingFromCanonical(courseOfferingId, context); |
| 97 | |
} |
| 98 | |
|
| 99 | |
@Override |
| 100 | |
public StatusInfo deleteCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, |
| 101 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 102 | 0 | return getNextDecorator().deleteCourseOffering(courseOfferingId, context); |
| 103 | |
} |
| 104 | |
|
| 105 | |
@Override |
| 106 | |
public TypeInfo getActivityOfferingType(String activityOfferingTypeKey, ContextInfo context) |
| 107 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 108 | |
OperationFailedException, PermissionDeniedException { |
| 109 | 0 | return getNextDecorator().getActivityOfferingType(activityOfferingTypeKey, context); |
| 110 | |
} |
| 111 | |
|
| 112 | |
@Override |
| 113 | |
public List<TypeInfo> getAllActivityOfferingTypes(ContextInfo context) throws InvalidParameterException, |
| 114 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 115 | 0 | return getNextDecorator().getAllActivityOfferingTypes(context); |
| 116 | |
} |
| 117 | |
|
| 118 | |
@Override |
| 119 | |
public List<TypeInfo> getActivityOfferingTypesForActivityType(String activityTypeKey, ContextInfo context) |
| 120 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 121 | |
OperationFailedException, PermissionDeniedException { |
| 122 | 0 | return getNextDecorator().getActivityOfferingTypesForActivityType(activityTypeKey, context); |
| 123 | |
} |
| 124 | |
|
| 125 | |
@Override |
| 126 | |
public ActivityOfferingInfo getActivityOffering(String activityOfferingId, ContextInfo context) |
| 127 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 128 | |
OperationFailedException, PermissionDeniedException { |
| 129 | 0 | return getNextDecorator().getActivityOffering(activityOfferingId, context); |
| 130 | |
} |
| 131 | |
|
| 132 | |
@Override |
| 133 | |
public List<ActivityOfferingInfo> getActivitiesForCourseOffering(String courseOfferingId, ContextInfo context) |
| 134 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 135 | |
OperationFailedException, PermissionDeniedException { |
| 136 | 0 | return getNextDecorator().getActivitiesForCourseOffering(courseOfferingId, context); |
| 137 | |
} |
| 138 | |
|
| 139 | |
@Override |
| 140 | |
public ActivityOfferingInfo createActivityOffering(List<String> courseOfferingIdList, |
| 141 | |
ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws AlreadyExistsException, |
| 142 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, |
| 143 | |
OperationFailedException, PermissionDeniedException { |
| 144 | 0 | return getNextDecorator().createActivityOffering(courseOfferingIdList, activityOfferingInfo, context); |
| 145 | |
} |
| 146 | |
|
| 147 | |
@Override |
| 148 | |
public ActivityOfferingInfo updateActivityOffering(String activityOfferingId, |
| 149 | |
ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws DataValidationErrorException, |
| 150 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, |
| 151 | |
PermissionDeniedException, VersionMismatchException { |
| 152 | 0 | return getNextDecorator().updateActivityOffering(activityOfferingId, activityOfferingInfo, context); |
| 153 | |
} |
| 154 | |
|
| 155 | |
@Override |
| 156 | |
public StatusInfo deleteActivityOffering(String activityOfferingId, ContextInfo context) |
| 157 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 158 | |
OperationFailedException, PermissionDeniedException { |
| 159 | 0 | return getNextDecorator().deleteActivityOffering(activityOfferingId, context); |
| 160 | |
} |
| 161 | |
|
| 162 | |
@Override |
| 163 | |
public Float calculateInClassContactHoursForTerm(String activityOfferingId, ContextInfo context) |
| 164 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 165 | |
OperationFailedException, PermissionDeniedException { |
| 166 | 0 | return getNextDecorator().calculateInClassContactHoursForTerm(activityOfferingId, context); |
| 167 | |
} |
| 168 | |
|
| 169 | |
@Override |
| 170 | |
public Float calculateOutofClassContactHoursForTerm(String activityOfferingId, ContextInfo context) |
| 171 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 172 | |
OperationFailedException, PermissionDeniedException { |
| 173 | 0 | return getNextDecorator().calculateOutofClassContactHoursForTerm(activityOfferingId, context); |
| 174 | |
} |
| 175 | |
|
| 176 | |
@Override |
| 177 | |
public Float calculateTotalContactHoursForTerm(String activityOfferingId, ContextInfo context) |
| 178 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 179 | |
OperationFailedException, PermissionDeniedException { |
| 180 | 0 | return getNextDecorator().calculateTotalContactHoursForTerm(activityOfferingId, context); |
| 181 | |
} |
| 182 | |
|
| 183 | |
@Override |
| 184 | |
public List<ActivityOfferingInfo> copyActivityOffering(String activityOfferingId, Integer numberOfCopies, |
| 185 | |
String copyContextTypeKey, ContextInfo context) throws InvalidParameterException, |
| 186 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 187 | 0 | return getNextDecorator().copyActivityOffering(activityOfferingId, numberOfCopies, copyContextTypeKey, context); |
| 188 | |
} |
| 189 | |
|
| 190 | |
@Override |
| 191 | |
public RegistrationGroupInfo getRegistrationGroup(String registrationGroupId, ContextInfo context) |
| 192 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 193 | |
OperationFailedException, PermissionDeniedException { |
| 194 | 0 | return getNextDecorator().getRegistrationGroup(registrationGroupId, context); |
| 195 | |
} |
| 196 | |
|
| 197 | |
@Override |
| 198 | |
public List<RegistrationGroupInfo> getRegGroupsForCourseOffering(String courseOfferingId, ContextInfo context) |
| 199 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 200 | |
OperationFailedException, PermissionDeniedException { |
| 201 | 0 | return getNextDecorator().getRegGroupsForCourseOffering(courseOfferingId, context); |
| 202 | |
} |
| 203 | |
|
| 204 | |
@Override |
| 205 | |
public List<RegistrationGroupInfo> getRegGroupsByFormatForCourse(String courseOfferingId, String formatTypeKey, |
| 206 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 207 | |
OperationFailedException, PermissionDeniedException { |
| 208 | 0 | return getNextDecorator().getRegGroupsByFormatForCourse(courseOfferingId, formatTypeKey, context); |
| 209 | |
} |
| 210 | |
|
| 211 | |
@Override |
| 212 | |
public RegistrationGroupInfo createRegistrationGroup(String courseOfferingId, |
| 213 | |
RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws AlreadyExistsException, |
| 214 | |
DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, |
| 215 | |
OperationFailedException, PermissionDeniedException { |
| 216 | 0 | return getNextDecorator().createRegistrationGroup(courseOfferingId, registrationGroupInfo, context); |
| 217 | |
} |
| 218 | |
|
| 219 | |
@Override |
| 220 | |
public RegistrationGroupInfo updateRegistrationGroup(String registrationGroupId, |
| 221 | |
RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DataValidationErrorException, |
| 222 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, |
| 223 | |
PermissionDeniedException, VersionMismatchException { |
| 224 | 0 | return getNextDecorator().updateRegistrationGroup(registrationGroupId, registrationGroupInfo, context); |
| 225 | |
} |
| 226 | |
|
| 227 | |
@Override |
| 228 | |
public StatusInfo deleteRegistrationGroup(String registrationGroupId, ContextInfo context) |
| 229 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 230 | |
OperationFailedException, PermissionDeniedException { |
| 231 | 0 | return getNextDecorator().deleteRegistrationGroup(registrationGroupId, context); |
| 232 | |
} |
| 233 | |
|
| 234 | |
@Override |
| 235 | |
public SeatPoolDefinitionInfo getSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) |
| 236 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 237 | |
OperationFailedException, PermissionDeniedException { |
| 238 | 0 | return getNextDecorator().getSeatPoolDefinition(seatPoolDefinitionId, context); |
| 239 | |
} |
| 240 | |
|
| 241 | |
@Override |
| 242 | |
public List<SeatPoolDefinitionInfo> getSeatPoolsForCourseOffering(String courseOfferingId, ContextInfo context) |
| 243 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 244 | |
OperationFailedException, PermissionDeniedException { |
| 245 | 0 | return getNextDecorator().getSeatPoolsForCourseOffering(courseOfferingId, context); |
| 246 | |
} |
| 247 | |
|
| 248 | |
@Override |
| 249 | |
public List<SeatPoolDefinitionInfo> getSeatPoolsForRegGroup(String registrationGroupId, ContextInfo context) |
| 250 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 251 | |
OperationFailedException, PermissionDeniedException { |
| 252 | 0 | return getNextDecorator().getSeatPoolsForRegGroup(registrationGroupId, context); |
| 253 | |
} |
| 254 | |
|
| 255 | |
@Override |
| 256 | |
public SeatPoolDefinitionInfo createSeatPoolDefinition(SeatPoolDefinitionInfo seatPoolDefinitionInfo, |
| 257 | |
ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
| 258 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 259 | 0 | return getNextDecorator().createSeatPoolDefinition(seatPoolDefinitionInfo, context); |
| 260 | |
} |
| 261 | |
|
| 262 | |
@Override |
| 263 | |
public SeatPoolDefinitionInfo updateSeatPoolDefinition(String seatPoolDefinitionId, |
| 264 | |
SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DataValidationErrorException, |
| 265 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, |
| 266 | |
PermissionDeniedException, VersionMismatchException { |
| 267 | 0 | return getNextDecorator().updateSeatPoolDefinition(seatPoolDefinitionId, seatPoolDefinitionInfo, context); |
| 268 | |
} |
| 269 | |
|
| 270 | |
@Override |
| 271 | |
public StatusInfo deleteSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) |
| 272 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 273 | |
OperationFailedException, PermissionDeniedException { |
| 274 | 0 | return getNextDecorator().deleteSeatPoolDefinition(seatPoolDefinitionId, context); |
| 275 | |
} |
| 276 | |
|
| 277 | |
@Override |
| 278 | |
public List<StatementTreeViewInfo> getCourseOfferingRestrictions(String courseOfferingId, String nlUsageTypeKey, |
| 279 | |
String language, ContextInfo context) throws DoesNotExistException, InvalidParameterException, |
| 280 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 281 | 0 | return getNextDecorator().getCourseOfferingRestrictions(courseOfferingId, nlUsageTypeKey, language, context); |
| 282 | |
} |
| 283 | |
|
| 284 | |
@Override |
| 285 | |
public StatementTreeViewInfo createCourseOfferingRestriction(String courseOfferingId, |
| 286 | |
StatementTreeViewInfo restrictionInfo, ContextInfo context) throws DoesNotExistException, |
| 287 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, |
| 288 | |
DataValidationErrorException { |
| 289 | 0 | return getNextDecorator().createCourseOfferingRestriction(courseOfferingId, restrictionInfo, context); |
| 290 | |
} |
| 291 | |
|
| 292 | |
@Override |
| 293 | |
public StatementTreeViewInfo updateCourseOfferingRestriction(String courseOfferingId, |
| 294 | |
StatementTreeViewInfo restrictionInfo, ContextInfo context) throws DoesNotExistException, |
| 295 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, |
| 296 | |
DataValidationErrorException, CircularReferenceException, VersionMismatchException { |
| 297 | 0 | return getNextDecorator().updateCourseOfferingRestriction(courseOfferingId, restrictionInfo, context); |
| 298 | |
} |
| 299 | |
|
| 300 | |
@Override |
| 301 | |
public StatusInfo deleteCourseOfferingRestriction(String courseOfferingId, String restrictionId, ContextInfo context) |
| 302 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 303 | |
OperationFailedException, PermissionDeniedException { |
| 304 | 0 | return getNextDecorator().deleteCourseOfferingRestriction(courseOfferingId, restrictionId, context); |
| 305 | |
} |
| 306 | |
|
| 307 | |
@Override |
| 308 | |
public List<StatementTreeViewInfo> getActivityOfferingRestrictions(String activityOfferingId, |
| 309 | |
String nlUsageTypeKey, String language, ContextInfo context) throws DoesNotExistException, |
| 310 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 311 | 0 | return getNextDecorator() |
| 312 | |
.getActivityOfferingRestrictions(activityOfferingId, nlUsageTypeKey, language, context); |
| 313 | |
} |
| 314 | |
|
| 315 | |
@Override |
| 316 | |
public StatementTreeViewInfo createActivityOfferingRestriction(String activityOfferingId, |
| 317 | |
StatementTreeViewInfo restrictionInfo, ContextInfo context) throws DoesNotExistException, |
| 318 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, |
| 319 | |
DataValidationErrorException { |
| 320 | 0 | return getNextDecorator().createActivityOfferingRestriction(activityOfferingId, restrictionInfo, context); |
| 321 | |
} |
| 322 | |
|
| 323 | |
@Override |
| 324 | |
public StatementTreeViewInfo updateActivityOfferingRestriction(String activityOfferingId, |
| 325 | |
StatementTreeViewInfo restrictionInfo, ContextInfo context) throws DoesNotExistException, |
| 326 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, |
| 327 | |
DataValidationErrorException, CircularReferenceException, VersionMismatchException { |
| 328 | 0 | return getNextDecorator().updateActivityOfferingRestriction(activityOfferingId, restrictionInfo, context); |
| 329 | |
} |
| 330 | |
|
| 331 | |
@Override |
| 332 | |
public StatusInfo deleteActivityOfferingRestriction(String activityOfferingId, String restrictionId, |
| 333 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 334 | |
OperationFailedException, PermissionDeniedException { |
| 335 | 0 | return getNextDecorator().deleteActivityOfferingRestriction(activityOfferingId, restrictionId, context); |
| 336 | |
} |
| 337 | |
|
| 338 | |
@Override |
| 339 | |
public List<ValidationResultInfo> validateCourseOffering(String validationType, |
| 340 | |
CourseOfferingInfo courseOfferingInfo, ContextInfo context) throws DoesNotExistException, |
| 341 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 342 | 0 | return getNextDecorator().validateCourseOffering(validationType, courseOfferingInfo, context); |
| 343 | |
} |
| 344 | |
|
| 345 | |
@Override |
| 346 | |
public List<ValidationResultInfo> validateCourseOfferingRestriction(String validationType, |
| 347 | |
StatementTreeViewInfo restrictionInfo, ContextInfo context) throws DoesNotExistException, |
| 348 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 349 | 0 | return getNextDecorator().validateCourseOfferingRestriction(validationType, restrictionInfo, context); |
| 350 | |
} |
| 351 | |
|
| 352 | |
@Override |
| 353 | |
public List<ValidationResultInfo> validateActivityOffering(String validationType, |
| 354 | |
ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws DoesNotExistException, |
| 355 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 356 | 0 | return getNextDecorator().validateActivityOffering(validationType, activityOfferingInfo, context); |
| 357 | |
} |
| 358 | |
|
| 359 | |
@Override |
| 360 | |
public List<ValidationResultInfo> validateActivityOfferingRestriction(String validationType, |
| 361 | |
StatementTreeViewInfo restrictionInfo, ContextInfo context) throws DoesNotExistException, |
| 362 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 363 | 0 | return getNextDecorator().validateActivityOfferingRestriction(validationType, restrictionInfo, context); |
| 364 | |
} |
| 365 | |
|
| 366 | |
@Override |
| 367 | |
public List<ValidationResultInfo> validateRegistrationGroup(String validationType, |
| 368 | |
RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DoesNotExistException, |
| 369 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 370 | 0 | return getNextDecorator().validateRegistrationGroup(validationType, registrationGroupInfo, context); |
| 371 | |
} |
| 372 | |
|
| 373 | |
@Override |
| 374 | |
public List<CourseOfferingInfo> getCourseOfferingsByIdList(List<String> courseOfferingIds, ContextInfo context) |
| 375 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 376 | |
OperationFailedException, PermissionDeniedException { |
| 377 | 0 | return getNextDecorator().getCourseOfferingsByIdList(courseOfferingIds, context); |
| 378 | |
} |
| 379 | |
|
| 380 | |
@Override |
| 381 | |
public List<ActivityOfferingInfo> getActivityOfferingsByIdList(List<String> activityOfferingIds, ContextInfo context) |
| 382 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 383 | |
OperationFailedException, PermissionDeniedException { |
| 384 | 0 | return getNextDecorator().getActivityOfferingsByIdList(activityOfferingIds, context); |
| 385 | |
} |
| 386 | |
|
| 387 | |
@Override |
| 388 | |
public StatusInfo assignActivityToCourseOffering(String activityOfferingId, List<String> courseOfferingIdList, |
| 389 | |
ContextInfo context) throws AlreadyExistsException, DoesNotExistException, DataValidationErrorException, |
| 390 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 391 | 0 | return getNextDecorator().assignActivityToCourseOffering(activityOfferingId, courseOfferingIdList, context); |
| 392 | |
} |
| 393 | |
|
| 394 | |
@Override |
| 395 | |
public List<RegistrationGroupInfo> getRegistrationGroupsByIdList(List<String> registrationGroupIds, |
| 396 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 397 | |
OperationFailedException, PermissionDeniedException { |
| 398 | 0 | return getNextDecorator().getRegistrationGroupsByIdList(registrationGroupIds, context); |
| 399 | |
} |
| 400 | |
|
| 401 | |
@Override |
| 402 | |
public List<CourseOfferingInfo> searchForCourseOfferings(QueryByCriteria criteria, ContextInfo context) |
| 403 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 404 | |
PermissionDeniedException { |
| 405 | 0 | return getNextDecorator().searchForCourseOfferings(criteria, context); |
| 406 | |
} |
| 407 | |
|
| 408 | |
@Override |
| 409 | |
public List<String> searchForCourseOfferingIds(QueryByCriteria criteria, ContextInfo context) |
| 410 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 411 | |
PermissionDeniedException { |
| 412 | 0 | return getNextDecorator().searchForCourseOfferingIds(criteria, context); |
| 413 | |
} |
| 414 | |
|
| 415 | |
@Override |
| 416 | |
public List<ActivityOfferingInfo> searchForActivityOfferings(QueryByCriteria criteria, ContextInfo context) |
| 417 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 418 | |
PermissionDeniedException { |
| 419 | 0 | return getNextDecorator().searchForActivityOfferings(criteria, context); |
| 420 | |
} |
| 421 | |
|
| 422 | |
@Override |
| 423 | |
public List<String> searchForActivityOfferingIds(QueryByCriteria criteria, ContextInfo context) |
| 424 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 425 | |
PermissionDeniedException { |
| 426 | 0 | return getNextDecorator().searchForActivityOfferingIds(criteria, context); |
| 427 | |
} |
| 428 | |
|
| 429 | |
@Override |
| 430 | |
public List<CourseRegistrationInfo> searchForRegistrationGroups(QueryByCriteria criteria, ContextInfo context) |
| 431 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 432 | |
PermissionDeniedException { |
| 433 | 0 | return getNextDecorator().searchForRegistrationGroups(criteria, context); |
| 434 | |
} |
| 435 | |
|
| 436 | |
@Override |
| 437 | |
public List<String> searchForRegistrationGroupIds(QueryByCriteria criteria, ContextInfo context) |
| 438 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 439 | |
PermissionDeniedException { |
| 440 | 0 | return getNextDecorator().searchForRegistrationGroupIds(criteria, context); |
| 441 | |
} |
| 442 | |
|
| 443 | |
@Override |
| 444 | |
public List<SeatPoolDefinitionInfo> searchForSeatpoolDefintions(QueryByCriteria criteria, ContextInfo context) |
| 445 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 446 | |
PermissionDeniedException { |
| 447 | 0 | return getNextDecorator().searchForSeatpoolDefintions(criteria, context); |
| 448 | |
} |
| 449 | |
|
| 450 | |
@Override |
| 451 | |
public List<String> searchForSeatpoolDefintionIds(QueryByCriteria criteria, ContextInfo context) |
| 452 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 453 | |
PermissionDeniedException { |
| 454 | 0 | return getNextDecorator().searchForSeatpoolDefintionIds(criteria, context); |
| 455 | |
} |
| 456 | |
|
| 457 | |
@Override |
| 458 | |
public List<String> getCourseOfferingIdsByTermAndInstructorId(String termId, String instructorId, |
| 459 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 460 | |
OperationFailedException, PermissionDeniedException { |
| 461 | 0 | return getNextDecorator().getCourseOfferingIdsByTermAndInstructorId(termId, instructorId, context); |
| 462 | |
} |
| 463 | |
|
| 464 | |
} |