1 | |
package org.kuali.student.enrollment.class2.acal.service; |
2 | |
|
3 | |
import org.kuali.rice.krad.uif.field.InputField; |
4 | |
import org.kuali.rice.krad.uif.service.ViewHelperService; |
5 | |
import org.kuali.student.enrollment.acal.dto.AcademicCalendarInfo; |
6 | |
import org.kuali.student.enrollment.acal.dto.HolidayCalendarInfo; |
7 | |
import org.kuali.student.enrollment.acal.dto.TermInfo; |
8 | |
import org.kuali.student.enrollment.acal.service.AcademicCalendarService; |
9 | |
import org.kuali.student.enrollment.class2.acal.dto.*; |
10 | |
import org.kuali.student.enrollment.class2.acal.form.AcademicCalendarForm; |
11 | |
import org.kuali.student.enrollment.class2.acal.form.HolidayCalendarForm; |
12 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
13 | |
|
14 | |
import java.util.List; |
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
public interface AcademicCalendarViewHelperService extends ViewHelperService { |
23 | |
|
24 | |
|
25 | |
public void saveHolidayCalendar(HolidayCalendarForm hcForm) throws Exception; |
26 | |
|
27 | |
public HolidayCalendarInfo getHolidayCalendar(String hcId) throws Exception; |
28 | |
|
29 | |
public HolidayCalendarInfo getNewestHolidayCalendar() throws Exception; |
30 | |
|
31 | |
public List<HolidayWrapper> getHolidayWrappersForHolidayCalendar(String holidayCalendarId) throws Exception; |
32 | |
|
33 | |
public void deleteHoliday(int selectedIndex,HolidayCalendarForm hcForm) throws Exception; |
34 | |
|
35 | |
public String getHolidayTypeName(String holidayTypeKey) throws Exception; |
36 | |
|
37 | |
public String getHolidayCalendarState(String holidayCalendarStateKey) throws Exception; |
38 | |
|
39 | |
public void deleteHolidayCalendar(String holidayCalendarId) throws Exception; |
40 | |
|
41 | |
public void populateHolidayTypes(InputField field, HolidayCalendarForm hcForm); |
42 | |
|
43 | |
|
44 | |
public AcademicCalendarInfo createAcademicCalendar(AcademicCalendarForm acalForm) throws Exception; |
45 | |
|
46 | |
public void deleteAcademicCalendar(String academicCalendarId) throws Exception; |
47 | |
|
48 | |
public AcademicCalendarInfo getLatestAcademicCalendar() throws Exception; |
49 | |
|
50 | |
public void copyToCreateAcademicCalendar(AcademicCalendarForm form) throws Exception; |
51 | |
|
52 | |
public List<AcalEventWrapper> populateEventWrappers(AcademicCalendarForm acalForm) throws Exception; |
53 | |
|
54 | |
public AcalEventWrapper createEvent(String acalId, AcalEventWrapper event) throws Exception; |
55 | |
|
56 | |
public AcalEventWrapper updateEvent(String eventId, AcalEventWrapper event) throws Exception; |
57 | |
|
58 | |
public void deleteEvent(String eventId) throws Exception; |
59 | |
|
60 | |
public List<HolidayCalendarWrapper> loadHolidayCalendars (AcademicCalendarInfo acalInfo) throws Exception; |
61 | |
|
62 | |
|
63 | |
public void saveTerm(AcademicTermWrapper termWrapper, String acalId,boolean isOfficial) throws Exception; |
64 | |
|
65 | |
|
66 | |
|
67 | |
public void deleteTerm(List<AcademicTermWrapper> termWrapper,int selectedIndex, String acalId) throws Exception; |
68 | |
|
69 | |
public void deleteKeyDate(KeyDatesGroupWrapper keyDatesGroup,int selectedIndex) throws Exception; |
70 | |
|
71 | |
public void populateKeyDateTypes(InputField field, AcademicCalendarForm acalForm); |
72 | |
|
73 | |
public void deleteKeyDateGroup(AcademicTermWrapper termWrapper,int selectedIndex) throws Exception; |
74 | |
|
75 | |
public void populateKeyDateGroupTypes(InputField field, AcademicCalendarForm acalForm) throws Exception; |
76 | |
|
77 | |
public void populateInstructionalDays(List<AcademicTermWrapper> termWrapperList)throws Exception; |
78 | |
|
79 | |
public void populateInstructionalDays(AcademicTermWrapper termWrapper) throws Exception; |
80 | |
|
81 | |
public List<AcademicTermWrapper> populateTermWrappers(String acalId, boolean isCopy); |
82 | |
|
83 | |
public void validateAcademicCalendar(AcademicCalendarForm acalForm); |
84 | |
|
85 | |
public void validateHolidayCalendar(HolidayCalendarForm hcForm); |
86 | |
|
87 | |
public void validateTerm(List<AcademicTermWrapper> termWrapper,int termToValidateIndex,AcademicCalendarInfo acal); |
88 | |
|
89 | |
public void populateHolidayCalendarDefaults(HolidayCalendarForm hcForm); |
90 | |
|
91 | |
public void populateAcademicCalendarDefaults(AcademicCalendarForm acalForm); |
92 | |
|
93 | |
public AcademicTermWrapper populateTermWrapper(TermInfo termInfo, boolean isCopy); |
94 | |
|
95 | |
public AcademicCalendarService getAcalService(); |
96 | |
|
97 | |
public ContextInfo getContextInfo(); |
98 | |
|
99 | |
} |