View Javadoc

1   /*
2    * Copyright 2012 The Kuali Foundation 
3    *
4    * Licensed under the Educational Community License, Version 1.0 (the
5    * "License"); you may not use this file except in compliance with the
6    * License. You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php 
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13   * implied. See the License for the specific language governing
14   * permissions and limitations under the License.
15   */
16  
17  package org.kuali.student.r2.common.util.constants;
18  
19  import org.kuali.student.enrollment.roster.dto.LprRosterInfo;
20  import org.kuali.student.enrollment.roster.dto.LprRosterEntryInfo;
21  
22  import org.kuali.student.r2.common.constants.CommonServiceConstants;
23  
24  /**
25   * Constants used by for LuprRosterService
26   */
27  
28  public class LprRosterServiceConstants {
29  
30      /**
31       * Reference Object URI's
32       */
33      public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "roster";
34      public static final String REF_OBJECT_URI_LPR_ROSTER = NAMESPACE + "/"
35              + LprRosterInfo.class.getSimpleName();
36      public static final String REF_OBJECT_URI_LPR_ROSTER_ENTRY = NAMESPACE + "/"
37              + LprRosterEntryInfo.class.getSimpleName();
38  
39      /**
40       * LprRoster types
41       */
42      public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_TYPE_KEY = "kuali.lpr.roster.type.course.grade.final";
43      // reverted public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_TYPE_KEY = "kuali.roster.type.course.assessment.final ";
44      // roster type keys
45      // TODO: rename the one above to the one below as they point to the same thing
46      public static final String LPRROSTER_COURSE_FINAL_GRADE_TYPE_KEY = "kuali.lpr.roster.type.course.grade.final";
47      public static final String LPRROSTER_COURSE_MIDTERM_GRADE_TYPE_KEY = "kuali.lpr.roster.type.course.assessment.interim.midterm";
48      public static final String LPRROSTER_COURSE_WAITLIST_TYPE_KEY = "kuali.lpr.roster.type.course.waitlist";
49      public static final String LPRROSTER_COURSE_HOLD_UNTIL_LIST_TYPE_KEY = "kuali.lpr.roster.type.course.hold.until.list";    
50      /**
51       * LprRoster states
52       */
53        // grading roster process and state key
54      public static final String LPRROSTER_GRADING_POCESS_KEY = "kuali.lpr.roster.process.course.grading";
55      public static final String LPRROSTER_READY_STATE_KEY = "kuali.lpr.roster.state.ready";    
56      public static final String LPRROSTER_SAVED_STATE_KEY = "kuali.lpr.roster.state.saved";
57      public static final String LPRROSTER_SUBMITTED_STATE_KEY = "kuali.lpr.roster.state.submitted";
58      public static final String[] LPRROSTER_GRADING_POCESS_KEYS = {LPRROSTER_READY_STATE_KEY, LPRROSTER_SAVED_STATE_KEY,
59          LPRROSTER_SUBMITTED_STATE_KEY};
60      // other roster process state keys
61      public static final String LPRROSTER_LIST_POCESS_KEY = "kuali.lpr.roster.process.lists";   
62      public static final String LPRROSTER_CREATED_STATE_KEY = "kuali.lpr.roster.state.created";    
63      public static final String[] LPRROSTER_LIST_POCESS_KEYS = {LPRROSTER_CREATED_STATE_KEY};
64      // TODO: switch these constants to those above since they now point to the same thing
65      public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_NEW_STATE_KEY = "kuali.lpr.roster.state.created"; // Is this needed/to-be-used?
66      public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_READY_STATE_KEY = "kuali.lpr.roster.state.ready";
67      public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_SAVED_STATE_KEY = "kuali.lpr.roster.state.saved";
68      public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_SUBMITTED_STATE_KEY = "kuali.lpr.roster.state.submitted";
69  }