1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  
17  package org.kuali.student.enrollment.class2.appointment.service;
18  
19  import org.kuali.rice.krad.uif.service.ViewHelperService;
20  import org.kuali.student.enrollment.class2.appointment.dto.AppointmentWindowWrapper;
21  import org.kuali.student.enrollment.class2.appointment.form.RegistrationWindowsManagementForm;
22  import org.kuali.student.r2.common.dto.ContextInfo;
23  import org.kuali.student.r2.common.exceptions.*;
24  
25  
26  
27  
28  
29  
30  public interface AppointmentViewHelperService extends ViewHelperService {
31  
32      public void searchForTerm(String name, String year, RegistrationWindowsManagementForm form)throws Exception;
33      public void loadTermAndPeriods(String termId, RegistrationWindowsManagementForm form) throws Exception;
34      public void loadPeriods(String termId, RegistrationWindowsManagementForm form) throws Exception;
35      public boolean saveWindows(RegistrationWindowsManagementForm form) throws InvalidParameterException, DataValidationErrorException, MissingParameterException,
36                      DoesNotExistException, ReadOnlyException, PermissionDeniedException, OperationFailedException, VersionMismatchException;
37      public boolean saveApptWindow(AppointmentWindowWrapper appointmentWindowWrapper) throws InvalidParameterException, DataValidationErrorException, MissingParameterException,
38                      DoesNotExistException, ReadOnlyException, PermissionDeniedException, OperationFailedException, VersionMismatchException;
39      public boolean validateApptWidnow(AppointmentWindowWrapper appointmentWindowWrapper);
40      public boolean validateApptWidnow(AppointmentWindowWrapper appointmentWindowWrapper, boolean validateForUniqueness);
41  
42  
43  }