1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
package org.kuali.student.enrollment.courseoffering.service; |
6 | |
|
7 | |
import java.util.List; |
8 | |
import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo; |
9 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
10 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
11 | |
import org.kuali.student.r2.common.exceptions.AlreadyExistsException; |
12 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
13 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
14 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
15 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
16 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
17 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
18 | |
import org.kuali.student.r2.common.exceptions.ReadOnlyException; |
19 | |
import org.kuali.student.r2.common.exceptions.VersionMismatchException; |
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
public interface CourseOfferingServiceBusinessLogic { |
26 | |
|
27 | |
public CourseOfferingInfo rolloverCourseOffering(String sourceCoId, String targetTermId, List<String> optionKeys, ContextInfo context) |
28 | |
throws AlreadyExistsException, |
29 | |
DataValidationErrorException, DoesNotExistException, DataValidationErrorException, InvalidParameterException, |
30 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException; |
31 | |
|
32 | |
public CourseOfferingInfo updateCourseOfferingFromCanonical(String courseOfferingId, List<String> optionKeys, ContextInfo context) |
33 | |
throws DataValidationErrorException, |
34 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, |
35 | |
PermissionDeniedException, VersionMismatchException; |
36 | |
|
37 | |
public List<ValidationResultInfo> validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo, List<String> optionKeys, ContextInfo context) |
38 | |
throws DoesNotExistException, |
39 | |
InvalidParameterException, MissingParameterException, OperationFailedException; |
40 | |
} |