1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.enrollment.courseoffering.service;
18
19 import java.util.List;
20 import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo;
21 import org.kuali.student.enrollment.courseoffering.dto.RegistrationGroupInfo;
22 import org.kuali.student.r2.common.dto.ContextInfo;
23 import org.kuali.student.r2.common.dto.ValidationResultInfo;
24 import org.kuali.student.r2.common.exceptions.AlreadyExistsException;
25 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
26 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
27 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
28 import org.kuali.student.r2.common.exceptions.MissingParameterException;
29 import org.kuali.student.r2.common.exceptions.OperationFailedException;
30 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
31 import org.kuali.student.r2.common.exceptions.ReadOnlyException;
32 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
33
34
35
36
37
38
39
40
41 public interface CourseOfferingServiceBusinessLogic {
42
43 public CourseOfferingInfo rolloverCourseOffering(String sourceCoId, String targetTermId, List<String> optionKeys, ContextInfo context)
44 throws AlreadyExistsException,
45 DataValidationErrorException, DoesNotExistException, DataValidationErrorException, InvalidParameterException,
46 MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException;
47
48 public CourseOfferingInfo updateCourseOfferingFromCanonical(String courseOfferingId, List<String> optionKeys, ContextInfo context)
49 throws DataValidationErrorException,
50 DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException,
51 PermissionDeniedException, VersionMismatchException;
52
53 public List<ValidationResultInfo> validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo, List<String> optionKeys, ContextInfo context)
54 throws DoesNotExistException,
55 InvalidParameterException, MissingParameterException, OperationFailedException;
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 public List<RegistrationGroupInfo> generateRegistrationGroupsForFormatOffering(
74 String formatOfferingId, ContextInfo context)
75 throws DoesNotExistException, InvalidParameterException,
76 MissingParameterException, OperationFailedException,
77 PermissionDeniedException, AlreadyExistsException;
78 }