View Javadoc

1   /**
2    * Copyright 2013 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   * Created by Mezba Mahtab (mezba.mahtab@utoronto.ca) on 7/15/13
16   */
17  package org.kuali.student.r2.common.util.constants;
18  
19  import org.kuali.student.enrollment.examoffering.dto.ExamOfferingInfo;
20  import org.kuali.student.enrollment.examoffering.service.ExamOfferingService;
21  import org.kuali.student.r2.common.constants.CommonServiceConstants;
22  
23  /**
24   * This class represents constants for the ExamOffering Service.
25   *
26   * @author Mezba Mahtab (mezba.mahtab@utoronto.ca)
27   */
28  public class ExamOfferingServiceConstants {
29  
30      public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "examOffering";
31      public static final String SERVICE_NAME_LOCAL_PART = ExamOfferingService.class.getSimpleName();
32      public static final String REF_OBJECT_URI_EXAM_OFFERING = NAMESPACE + "/" + ExamOfferingInfo.class.getSimpleName();
33  
34      /////////////////
35      // TYPES
36      /////////////////
37  
38      public static final String EXAM_OFFERING_TYPE_KEY = "kuali.lui.type.exam.offering";
39      public static final String EXAM_OFFERING_FINAL_TYPE_KEY = "kuali.lui.type.exam.offering.final";
40  
41      /////////////////
42      // STATES
43      /////////////////
44      public static final String EXAM_OFFERING_DRAFT_STATE_KEY = "kuali.lui.exam.offering.state.draft";
45      public static final String EXAM_OFFERING_OFFERED_STATE_KEY = "kuali.lui.exam.offering.state.offered";
46      public static final String EXAM_OFFERING_SUSPENDED_STATE_KEY = "kuali.lui.exam.offering.state.suspended";
47      public static final String EXAM_OFFERING_CANCELED_STATE_KEY = "kuali.lui.exam.offering.state.canceled";
48  
49      public static final String EXAM_OFFERING_SCHEDULING_EXEMPT_STATE_KEY = "kuali.lui.exam.offering.scheduling.state.exempt";
50      public static final String EXAM_OFFERING_SCHEDULING_UNSCHEDULED_STATE_KEY = "kuali.lui.exam.offering.scheduling.state.unscheduled";
51      public static final String EXAM_OFFERING_SCHEDULING_MATRIX_ERROR_STATE_KEY = "kuali.lui.exam.offering.scheduling.state.matrix.error";
52  
53      public static final String FINAL_EXAM_DRIVER_ATTR = "kuali.attribute.final.exam.driver";
54      public static final String FINAL_EXAM_ACTIVITY_DRIVER_ATTR = "kuali.attribute.final.exam.activity.driver";
55  
56  }