1 package org.kuali.student.enrollment.class2.courseoffering.service;
2
3 import org.kuali.rice.krad.uif.service.ViewHelperService;
4 import org.kuali.student.r2.core.acal.dto.TermInfo;
5 import org.kuali.student.enrollment.class2.courseoffering.form.CourseOfferingRolloverManagementForm;
6 import org.kuali.student.enrollment.class2.courseoffering.form.DeleteTargetTermForm;
7 import org.kuali.student.enrollment.courseofferingset.dto.SocInfo;
8 import org.kuali.student.enrollment.courseofferingset.dto.SocRolloverResultInfo;
9
10 import java.util.Date;
11 import java.util.List;
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 public interface CourseOfferingViewHelperService extends ViewHelperService {
30
31
32
33
34
35
36
37 public List<TermInfo> findTermByTermCode(String termCode) throws Exception;
38
39 public boolean performRollover(String sourceTermId, String targetTermId, CourseOfferingRolloverManagementForm form);
40
41 public SocRolloverResultInfo performReverseRollover(String sourceTermId, String targetTermId, CourseOfferingRolloverManagementForm form);
42
43 public void deleteTargetTerm(String targetTermId, DeleteTargetTermForm form);
44
45 public List<SocRolloverResultInfo> findRolloverByTerm(String termId) throws Exception;
46
47 public boolean termHasSoc(String termId, CourseOfferingRolloverManagementForm form);
48
49 public String formatDate(Date date);
50
51 public SocInfo getMainSoc(String termId);
52
53
54 public String formatDateAndTime(Date date);
55
56
57 public String getTermDesc(String termId);
58 }