1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r2.common.util.constants;
17
18 import org.kuali.student.enrollment.courseoffering.dto.ActivityOfferingInfo;
19 import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo;
20 import org.kuali.student.enrollment.courseoffering.dto.RegistrationGroupInfo;
21 import org.kuali.student.enrollment.courseoffering.dto.SeatPoolDefinitionInfo;
22 import org.kuali.student.enrollment.courseoffering.service.CourseOfferingService;
23 import org.kuali.student.r2.common.constants.CommonServiceConstants;
24 import org.kuali.student.r2.lum.util.constants.LrcServiceConstants;
25
26
27
28
29
30
31
32 public class CourseOfferingServiceConstants {
33
34 public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "courseOffering";
35 public static final String SERVICE_NAME_LOCAL_PART = CourseOfferingService.class.getSimpleName();
36 public static final String REF_OBJECT_URI_COURSE_OFFERING = NAMESPACE + "/" + CourseOfferingInfo.class.getSimpleName();
37 public static final String REF_OBJECT_URI_ACTIVITY_OFFERING = NAMESPACE + "/" + ActivityOfferingInfo.class.getSimpleName();
38 public static final String REF_OBJECT_URI_REGISTRATION_GROUP = NAMESPACE + "/" + RegistrationGroupInfo.class.getSimpleName();
39 public static final String REF_OBJECT_URI_SEAT_POOL_DEFINITION = NAMESPACE + "/" + SeatPoolDefinitionInfo.class.getSimpleName();
40
41
42
43 public static final String WAIT_LIST_TYPE_KEY_ATTR = "kuali.attribute.wait.list.type.key";
44 public static final String WAIT_LIST_LEVEL_TYPE_KEY_ATTR = "kuali.attribute.wait.list.level.type.key";
45 public static final String GRADE_ROSTER_LEVEL_TYPE_KEY_ATTR = "kuali.attribute.grade.roster.level.type.key";
46 public static final String FINAL_EXAM_LEVEL_TYPE_KEY_ATTR = "kuali.attribute.final.exam.level.type";
47 public static final String COURSE_EVALUATION_INDICATOR_ATTR = "kuali.attribute.course.evaluation.indicator";
48 public static final String FINAL_EXAM_INDICATOR_ATTR = "kuali.attribute.final.exam.indicator";
49 public static final String FUNDING_SOURCE_ATTR = "kuali.attribute.funding.source";
50 public static final String FEES_ATTACHED_FLAG_ATTR = "kuali.attribute.where.fees.attached.flag";
51 public static final String MAX_ENROLLMENT_IS_ESTIMATED_ATTR = "kuali.attribute.max.enrollment.is.estimate";
52 public static final String WHERE_FEES_ATTACHED_FLAG_ATTR = "kuali.attribute.where.fees.attached.flag";
53 public static final String IS_MAX_ENROLLMENT_ESTIMATE_ATTR = "kuali.attribute.max.enrollment.is.estimate";
54 public static final String WAIT_LIST_INDICATOR_ATTR = "kuali.attribute.wait.list.indicator";
55 public static final String COURSE_NUMBER_IN_SUFX_ATTR = "kuali.attribute.course.number.internal.suffix";
56 public static final String IS_REGISTRATION_GROUP_GENERATED_INDICATOR_ATTR = "kuali.attribute.registration.group.is.generated";
57 public static final String AOCLUSTER_ID_ATTR = "kuali.attribute.registration.group.aocluster.id";
58
59
60
61 public static final String[] ALL_STUDENT_REGISTRATION_OPTION_TYPE_KEYS = {
62 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_AUDIT,
63 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PASSFAIL};
64
65 public static final String[] ALL_GRADING_OPTION_TYPE_KEYS = {
66 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_LETTER,
67 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_LETTER_PASSING_TRANSLATION,
68 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_LETTER_GRADUATE,
69 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PNP_STANDARD,
70 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_LETTER_PLUS_MINUS_STANDARD,
71 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE,
72 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_0_59,
73 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_60_69,
74 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_70_79,
75 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_80_84,
76 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_85_89,
77 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_90_MINUS94,
78 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_PERCENTAGE_95_100,
79 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_ADMIN_STANDARD,
80 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_ADMIN_IN_MINUSPROGRESS,
81 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_SATISFACTORY,
82 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_COMPLETEDNOTATION,
83 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_DESIGNREVIEW,
84 LrcServiceConstants.RESULT_GROUP_KEY_GRADE_RECITALREVIEW};
85
86 public static final String APPEND_COURSE_OFFERING_CODE_SUFFIX_OPTION_KEY = "kuali.course.offering.optionkey.append.course.offering.suffix";
87 public static final String APPEND_COURSE_OFFERING_IN_SUFFIX_OPTION_KEY = "kuali.course.offering.optionkey.append.course.offering.internal.suffix";
88
89 public static final String COURSE_OFFERING_CODE_VALIDATION_ELEMENT = "courseOfferingCode";
90 public static final String COURSE_OFFERING_CODE_UNIQUENESS_VALIDATION_MESSAGE = "Course offering code is not unique within the term";
91
92
93 public static final String AOC_ACTIVE_STATE_KEY = "kuali.activity.offering.cluster.state.active";
94
95
96 public static final String AOC_ROOT_TYPE_KEY = "kuali.activity.offering.cluster.type.activity.offering.cluster";
97 }