View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation
3    *
4    * Licensed under the the Educational Community License, Version 1.0
5    * (the "License"); you may not use this file except in compliance
6    * with the License.  You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.student.enrollment.courseofferingset.service;
17  
18  import java.util.List;
19  import org.kuali.student.enrollment.courseofferingset.dto.SocInfo;
20  import org.kuali.student.enrollment.courseofferingset.dto.SocRolloverResultInfo;
21  import org.kuali.student.r2.common.dto.ContextInfo;
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  /**
29   *
30   * @author nwright
31   */
32  public interface CourseOfferingSetServiceBusinessLogic {
33  
34      public Integer deleteCourseOfferingsBySoc(String socId, ContextInfo context)
35              throws DoesNotExistException, InvalidParameterException,
36              MissingParameterException, OperationFailedException, PermissionDeniedException;
37  
38      public List<String> getCourseOfferingIdsBySoc(String socId, ContextInfo context)
39              throws DoesNotExistException,
40              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
41  
42      public List<String> getPublishedCourseOfferingIdsBySoc(String socId, ContextInfo context)
43              throws DoesNotExistException,
44              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
45  
46      public List<String> getUnpublishedActivityOfferingIdsBySoc(String socId, ContextInfo context)
47              throws DoesNotExistException,
48              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
49  
50      public List<String> getUnpublishedCourseOfferingIdsBySoc(String socId, ContextInfo context)
51              throws DoesNotExistException,
52              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
53  
54      public List<String> getUnscheduledActivityOfferingIdsBySoc(String socId, ContextInfo context)
55              throws DoesNotExistException,
56              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
57  
58      public Boolean isCourseOfferingInSoc(String socId, String courseOfferingId, ContextInfo context)
59              throws DoesNotExistException,
60              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
61  
62      public SocRolloverResultInfo reverseRollover(String rolloverResultId, List<String> optionKeys, ContextInfo context)
63              throws DoesNotExistException,
64              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
65  
66      public SocInfo rolloverSoc(String sourceSocId, String targetTermId, List<String> optionKeys, ContextInfo context)
67              throws DoesNotExistException,
68              InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException;
69  }