Coverage Report - org.kuali.student.enrollment.class2.courseoffering.service.CourseOfferingViewHelperService
 
Classes in this File Line Coverage Branch Coverage Complexity
CourseOfferingViewHelperService
N/A
N/A
1
 
 1  
 package org.kuali.student.enrollment.class2.courseoffering.service;
 2  
 
 3  
 import org.kuali.rice.krad.uif.service.ViewHelperService;
 4  
 import org.kuali.student.enrollment.acal.dto.TermInfo;
 5  
 import org.kuali.student.enrollment.class2.courseoffering.form.CourseOfferingRolloverManagementForm;
 6  
 import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo;
 7  
 import org.kuali.student.enrollment.courseofferingset.dto.SocInfo;
 8  
 import org.kuali.student.enrollment.courseofferingset.dto.SocRolloverResultInfo;
 9  
 
 10  
 import java.util.List;
 11  
 
 12  
 /**
 13  
  * Copyright 2012 The Kuali Foundation Licensed under the
 14  
  * Educational Community License, Version 2.0 (the "License"); you may
 15  
  * not use this file except in compliance with the License. You may
 16  
  * obtain a copy of the License at
 17  
  *
 18  
  * http://www.osedu.org/licenses/ECL-2.0
 19  
  *
 20  
  * Unless required by applicable law or agreed to in writing,
 21  
  * software distributed under the License is distributed on an "AS IS"
 22  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 23  
  * or implied. See the License for the specific language governing
 24  
  * permissions and limitations under the License.
 25  
  *
 26  
  * Created by Charles on 5/7/12
 27  
  */
 28  
 public interface CourseOfferingViewHelperService extends ViewHelperService {
 29  
     /**
 30  
      *
 31  
      * @param termCode Each institution uses a code to represent a term.  At UW, the code appears to be three letters
 32  
      *                 followed by a 4-digit year, e.g., FAL2011, WIN2011, etc.
 33  
      * @return List of terms which match the term code (should be a list of one TermInfo)
 34  
      * @throws Exception
 35  
      */
 36  
     public List<TermInfo> findTermByTermCode(String termCode) throws Exception;
 37  
 
 38  
     public SocInfo createSocCoFoAoForTerm(String termId, CourseOfferingRolloverManagementForm form);
 39  
 
 40  
     public boolean cleanSourceTerm(String targetTermId, CourseOfferingRolloverManagementForm form);
 41  
     
 42  
     public SocInfo performRollover(String sourceTermId, String targetTermId, CourseOfferingRolloverManagementForm form);
 43  
 
 44  
     public SocRolloverResultInfo performReverseRollover(String sourceTermId, String targetTermId, CourseOfferingRolloverManagementForm form);
 45  
 
 46  
     public void cleanTargetTerm(String targetTermId, CourseOfferingRolloverManagementForm form);
 47  
 }