001/* 002 * Copyright 2012 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 1.0 (the 005 * "License"); you may not use this file except in compliance with the 006 * License. You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl1.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 013 * implied. See the License for the specific language governing 014 * permissions and limitations under the License. 015 */ 016 017package org.kuali.student.r2.common.util.constants; 018 019import org.kuali.student.enrollment.roster.dto.LprRosterInfo; 020import org.kuali.student.enrollment.roster.dto.LprRosterEntryInfo; 021 022import org.kuali.student.r2.common.constants.CommonServiceConstants; 023 024/** 025 * Constants used by for LuprRosterService 026 */ 027 028public class LprRosterServiceConstants { 029 030 /** 031 * Reference Object URI's 032 */ 033 public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "roster"; 034 public static final String REF_OBJECT_URI_LPR_ROSTER = NAMESPACE + "/" 035 + LprRosterInfo.class.getSimpleName(); 036 public static final String REF_OBJECT_URI_LPR_ROSTER_ENTRY = NAMESPACE + "/" 037 + LprRosterEntryInfo.class.getSimpleName(); 038 039 /** 040 * LprRoster types 041 */ 042 public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_TYPE_KEY = "kuali.lpr.roster.type.course.grade.final"; 043 // reverted public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_TYPE_KEY = "kuali.roster.type.course.assessment.final "; 044 // roster type keys 045 // TODO: rename the one above to the one below as they point to the same thing 046 public static final String LPRROSTER_COURSE_FINAL_GRADE_TYPE_KEY = "kuali.lpr.roster.type.course.grade.final"; 047 public static final String LPRROSTER_COURSE_MIDTERM_GRADE_TYPE_KEY = "kuali.lpr.roster.type.course.assessment.interim.midterm"; 048 public static final String LPRROSTER_COURSE_WAITLIST_TYPE_KEY = "kuali.lpr.roster.type.course.waitlist"; 049 public static final String LPRROSTER_COURSE_HOLD_UNTIL_LIST_TYPE_KEY = "kuali.lpr.roster.type.course.hold.until.list"; 050 /** 051 * LprRoster states 052 */ 053 // grading roster process and state key 054 public static final String LPRROSTER_GRADING_POCESS_KEY = "kuali.lpr.roster.process.course.grading"; 055 public static final String LPRROSTER_READY_STATE_KEY = "kuali.lpr.roster.state.ready"; 056 public static final String LPRROSTER_SAVED_STATE_KEY = "kuali.lpr.roster.state.saved"; 057 public static final String LPRROSTER_SUBMITTED_STATE_KEY = "kuali.lpr.roster.state.submitted"; 058 public static final String[] LPRROSTER_GRADING_POCESS_KEYS = {LPRROSTER_READY_STATE_KEY, LPRROSTER_SAVED_STATE_KEY, 059 LPRROSTER_SUBMITTED_STATE_KEY}; 060 // other roster process state keys 061 public static final String LPRROSTER_LIST_POCESS_KEY = "kuali.lpr.roster.process.lists"; 062 public static final String LPRROSTER_CREATED_STATE_KEY = "kuali.lpr.roster.state.created"; 063 public static final String[] LPRROSTER_LIST_POCESS_KEYS = {LPRROSTER_CREATED_STATE_KEY}; 064 // TODO: switch these constants to those above since they now point to the same thing 065 public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_NEW_STATE_KEY = "kuali.lpr.roster.state.created"; // Is this needed/to-be-used? 066 public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_READY_STATE_KEY = "kuali.lpr.roster.state.ready"; 067 public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_SAVED_STATE_KEY = "kuali.lpr.roster.state.saved"; 068 public static final String LPRROSTER_COURSE_FINAL_GRADEROSTER_SUBMITTED_STATE_KEY = "kuali.lpr.roster.state.submitted"; 069}