1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.enrollment.courseofferingset.service;
17
18 import org.kuali.student.enrollment.courseofferingset.dto.SocInfo;
19 import org.kuali.student.enrollment.courseofferingset.dto.SocRolloverResultInfo;
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.exceptions.DoesNotExistException;
23 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
24 import org.kuali.student.r2.common.exceptions.MissingParameterException;
25 import org.kuali.student.r2.common.exceptions.OperationFailedException;
26 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
27
28 import javax.jws.WebParam;
29 import java.util.List;
30
31
32
33
34
35 public interface CourseOfferingSetServiceBusinessLogic {
36
37 public Integer deleteCourseOfferingsBySoc(String socId, ContextInfo context)
38 throws DoesNotExistException, InvalidParameterException,
39 MissingParameterException, OperationFailedException, PermissionDeniedException;
40
41 public List<String> getCourseOfferingIdsBySoc(String socId, ContextInfo context)
42 throws DoesNotExistException,
43 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
44
45 public List<String> getPublishedCourseOfferingIdsBySoc(String socId, ContextInfo context)
46 throws DoesNotExistException,
47 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
48
49 public List<String> getUnpublishedActivityOfferingIdsBySoc(String socId, ContextInfo context)
50 throws DoesNotExistException,
51 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
52
53 public List<String> getUnpublishedCourseOfferingIdsBySoc(String socId, ContextInfo context)
54 throws DoesNotExistException,
55 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
56
57 public List<String> getUnscheduledActivityOfferingIdsBySoc(String socId, ContextInfo context)
58 throws DoesNotExistException,
59 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
60
61 public Boolean isCourseOfferingInSoc(String socId, String courseOfferingId, ContextInfo context)
62 throws DoesNotExistException,
63 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
64
65 public SocRolloverResultInfo reverseRollover(String rolloverResultId, List<String> optionKeys, ContextInfo context)
66 throws DoesNotExistException,
67 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
68
69 public SocInfo rolloverSoc(String sourceSocId, String targetTermId, List<String> optionKeys, ContextInfo context)
70 throws DoesNotExistException,
71 InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93 public StatusInfo startScheduleSoc(@WebParam(name = "socId") String socId, @WebParam (name="optionKeys")
94 List<String> optionKeys, @WebParam(name = "context") ContextInfo context)
95 throws DoesNotExistException, InvalidParameterException, MissingParameterException,
96 OperationFailedException, PermissionDeniedException;
97
98 }