View Javadoc

1   /**
2    * Copyright 2012 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   *
15   */
16  package org.kuali.student.enrollment.class2.appointment.util;
17  
18  /**
19   * This class //TODO ...
20   *
21   * @author Kuali Student Team
22   */
23  public class AppointmentConstants {
24  
25      public static final String REGISTRATION_WINDOWS_EDIT_PAGE = "registrationWindowsEditPage";
26      public static final String SELECT_TERM_PAGE = "selectTermForRegWindows";
27      public static final String REGISTRATION_WINDOWS_MANAGEMENT_VIEW = "registrationWindowsManagementView";
28  
29      public static final String REGISTRATION_WINDOWS_CONTROLLER_PATH = "registrationWindows";
30  
31      // Dialogs
32      public static final String Registration_Windows_ConfirmDelete_Dialog = "KS-RegistrationWindowsManagement-ConfirmDelete-Dialog";
33      public static final String Registration_Windows_ConfirmBreak_Dialog = "KS-RegistrationWindowsManagement-ConfirmBreakAppointments-Dialog";
34  
35      //Message keys
36      public static final String APPOINTMENT_MSG_INFO_SAVED = "info.enroll.appointment.saved";
37      public static final String APPOINTMENT_MSG_INFO_ASSIGNED = "info.enroll.appointment.assigned";
38      public static final String APPOINTMENT_MSG_INFO_DELETED = "info.enroll.appointment.windowDeleted";
39      public static final String APPOINTMENT_MSG_ERROR_TOO_MANY_STUDENTS = "error.enroll.appointment.tooManyStudents";
40      public static final String APPOINTMENT_MSG_INFO_BREAK_APPOINTMENTS_SUCCESS = "info.enroll.appointment.breakAppointmentsSuccess";
41      public static final String APPOINTMENT_MSG_ERROR_BREAK_APPOINTMENTS_FAILURE = "error.enroll.appointment.breakAppointmentsFailure";
42      public static final String APPOINTMENT_MSG_ERROR_NO_TERMS_FOUND = "error.enroll.appointment.noTermsFound";
43      public static final String APPOINTMENT_MSG_ERROR_NO_REG_PERIODS_FOR_TERM = "error.enroll.appointment.noRegPeriodsForTerm";
44      public static final String APPOINTMENT_MSG_ERROR_END_DATE_REQUIRED_FOR_UNIFORM = "error.enroll.appointment.endDate.requiredForUniform";
45      public static final String APPOINTMENT_MSG_ERROR_END_TIME_REQUIRED_FOR_UNIFORM = "error.enroll.appointment.endTime.requiredForUniform";
46      public static final String APPOINTMENT_MSG_ERROR_START_DATE_OUT_OF_RANGE = "error.enroll.appointment.startDate.outOfRange";
47      public static final String APPOINTMENT_MSG_ERROR_START_DATE_REQUIRED_FIELD = "error.enroll.appointment.startDate.required";
48      public static final String APPOINTMENT_MSG_ERROR_START_TIME_REQUIRED_FIELD = "error.enroll.appointment.startTime.required";
49      public static final String APPOINTMENT_MSG_ERROR_START_TIME_AM_PM_REQUIRED_FIELD = "error.enroll.appointment.startTimeAmPm.required";
50      public static final String APPOINTMENT_MSG_ERROR_END_TIME_BEFORE_START_TIME = "error.enroll.appointment.endtTime.beforeStartTime";
51      public static final String APPOINTMENT_MSG_ERROR_END_TIME_AM_PM_BEFORE_START_TIME_AM_PM = "error.enroll.appointment.endTimeAmPm.beforeStartTimeAmPm";
52      public static final String APPOINTMENT_MSG_ERROR_DUPLICATE_WINDOW_FOR_PERIOD = "error.enroll.appointment.duplicateWindowName.forPeriod";
53  
54      public static final String APPOINTMENT_MSG_ERROR_END_DATE_OUT_OF_RANGE = "error.enroll.appointment.endDate.outOfRange";
55      public static final String APPOINTMENT_MSG_ERROR_WINDOW_SAVE_FAIL = "error.enroll.appointment.windowSaveFailed";
56      public static final String APPOINTMENT_MSG_ERROR_END_DATE_IS_BEFORE_START_DATE = "error.enroll.appointment.window.endDateBeforeStartDate";
57  }