View Javadoc

1   package org.kuali.student.enrollment.class2.scheduleofclasses.service;
2   
3   
4   import org.kuali.student.enrollment.class2.courseoffering.dto.ActivityOfferingWrapper;
5   import org.kuali.student.enrollment.class2.courseoffering.dto.RegistrationGroupWrapper;
6   import org.kuali.student.enrollment.class2.courseoffering.service.CourseOfferingManagementViewHelperService;
7   import org.kuali.student.enrollment.class2.scheduleofclasses.dto.CourseOfferingDisplayWrapper;
8   import org.kuali.student.enrollment.class2.scheduleofclasses.form.ScheduleOfClassesSearchForm;
9   import org.kuali.student.enrollment.class2.scheduleofclasses.sort.KSComparatorChain;
10  import org.kuali.student.enrollment.class2.scheduleofclasses.util.SOCRequisiteWrapper;
11  import org.kuali.student.r2.core.acal.dto.TermInfo;
12  
13  import java.util.List;
14  
15  
16  /**
17   * Created with IntelliJ IDEA.
18   * User: vgadiyak
19   * Date: 9/12/12
20   * Time: 2:24 PM
21   * To change this template use File | Settings | File Templates.
22   */
23  public interface ScheduleOfClassesViewHelperService extends CourseOfferingManagementViewHelperService {
24  
25      public void loadCourseOfferingsByTermAndCourseCode (String termId, String courseCode, ScheduleOfClassesSearchForm form) throws Exception;
26  
27      public void loadCourseOfferingsByTermAndInstructor(String termId, String instructorId, String instructorName, ScheduleOfClassesSearchForm form) throws Exception;
28  
29      public void loadCourseOfferingsByTermAndDepartment(String termId, String organizationId, String organizationName, ScheduleOfClassesSearchForm form) throws Exception;
30  
31      /**
32       * This method will populate the form object with CourseOfferingDisplay Objects. It will do a search on the Course Offering Titile OR Description.
33       *
34       * In addition to the ORing the title has an automatically applied like such that: like "title%"
35       * which is ORed with like %description%
36       *
37       *
38       * @param termId
39       * @param titleOrDescription
40       * @param form
41       * @throws Exception
42       */
43      public void loadCourseOfferingsByTitleAndDescription(String termId, String titleOrDescription, ScheduleOfClassesSearchForm form) throws Exception;
44  
45      public SOCRequisiteWrapper retrieveRequisites(String coId, List<ActivityOfferingWrapper> activityOfferingWrapperList);
46  
47      public String getTermStartEndDate(TermInfo term);
48  
49      public void sortActivityOfferings(ScheduleOfClassesSearchForm form,CourseOfferingDisplayWrapper coWrapper);
50  
51      public void sortRegGroups(List<RegistrationGroupWrapper> regGroupWrappers);
52  
53      public KSComparatorChain getActivityComparatorChain();
54  
55      public List<String> getAOStateFilter();
56  
57      public List<String> getRegGroupStateFilter();
58  
59  }