1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.enrollment.class2.acal.service;
17
18 import org.kuali.student.enrollment.acal.dto.AcademicCalendarInfo;
19 import org.kuali.student.enrollment.acal.dto.TermInfo;
20 import org.kuali.student.enrollment.acal.service.AcademicCalendarService;
21 import org.kuali.student.enrollment.class2.acal.dto.AcademicTermWrapper;
22 import org.kuali.student.enrollment.class2.acal.dto.AcalEventWrapper;
23 import org.kuali.student.enrollment.class2.acal.dto.KeyDatesGroupWrapper;
24 import org.kuali.student.enrollment.class2.acal.form.AcademicCalendarForm;
25 import org.kuali.student.enrollment.uif.service.KSViewHelperService;
26
27 import java.util.List;
28
29
30
31
32 public interface AcademicCalendarViewHelperService extends KSViewHelperService {
33
34 public void populateAcademicCalendar(String acalId, AcademicCalendarForm acalForm);
35
36 public AcademicCalendarInfo createAcademicCalendar(AcademicCalendarForm acalForm) throws Exception;
37
38 public AcademicCalendarInfo getLatestAcademicCalendar() throws Exception;
39
40 public void copyToCreateAcademicCalendar(AcademicCalendarForm form);
41
42 public List<AcalEventWrapper> populateEventWrappers(String acalId) throws Exception;
43
44 public AcalEventWrapper createEvent(String acalId, AcalEventWrapper event) throws Exception;
45
46 public AcalEventWrapper updateEvent(String eventId, AcalEventWrapper event) throws Exception;
47
48 public void saveTerm(AcademicTermWrapper termWrapper, String acalId,boolean isOfficial,boolean calculateInstrDays) throws Exception;
49
50 public void populateInstructionalDays(AcademicTermWrapper termWrapper);
51
52 public List<AcademicTermWrapper> populateTermWrappers(String acalId, boolean isCopy,boolean calculateInstrDays);
53
54 public void validateAcademicCalendar(AcademicCalendarForm acalForm);
55
56 public void validateTerm(List<AcademicTermWrapper> termWrapper,int termToValidateIndex,AcademicCalendarInfo acal);
57
58 public void populateAcademicCalendarDefaults(AcademicCalendarForm acalForm);
59
60 public AcademicTermWrapper populateTermWrapper(TermInfo termInfo, boolean isCopy,boolean calculateInstrDays)throws Exception;
61
62 }