1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.kuali.student.r2.core.constants;
16
17 import org.kuali.student.r2.common.constants.CommonServiceConstants;
18 import org.kuali.student.r2.core.population.dto.PopulationInfo;
19 import org.kuali.student.r2.core.population.dto.PopulationRuleInfo;
20 import org.kuali.student.r2.core.population.service.PopulationService;
21
22
23
24
25
26
27 public class PopulationServiceConstants {
28
29
30
31
32 public static final String SERVICE_NAME_LOCAL_PART = PopulationService.class.getSimpleName ();
33 public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "population";
34 public static final String REF_OBJECT_URI_POPULATION = NAMESPACE + "/" + PopulationInfo.class.getSimpleName();
35 public static final String REF_OBJECT_URI_POPULATION_RULE = NAMESPACE + "/" + PopulationRuleInfo.class.getSimpleName();
36
37
38
39
40
41
42
43
44 public static final String POPULATION_RULE_TYPE_PERSON_KEY = "kuali.population.rule.type.person";
45 public static final String POPULATION_RULE_TYPE_RULE_KEY = "kuali.population.rule.type.rule";
46 public static final String POPULATION_RULE_TYPE_SEARCH_KEY = "kuali.population.rule.type.search";
47 public static final String POPULATION_RULE_TYPE_UNION_KEY = "kuali.population.rule.type.union";
48 public static final String POPULATION_RULE_TYPE_INTERSECTION_KEY = "kuali.population.rule.type.intersection";
49 public static final String POPULATION_RULE_TYPE_EXCLUSION_KEY = "kuali.population.rule.type.exclusion";
50
51 public static final String[] POPULATION_RULE_TYPE_KEYS = {
52 PopulationServiceConstants.POPULATION_RULE_TYPE_RULE_KEY,
53 PopulationServiceConstants.POPULATION_RULE_TYPE_PERSON_KEY,
54 PopulationServiceConstants.POPULATION_RULE_TYPE_SEARCH_KEY,
55 PopulationServiceConstants.POPULATION_RULE_TYPE_UNION_KEY,
56 PopulationServiceConstants.POPULATION_RULE_TYPE_INTERSECTION_KEY,
57 PopulationServiceConstants.POPULATION_RULE_TYPE_EXCLUSION_KEY
58 };
59
60
61
62
63 public static final String POPULATION_RULE_LIFECYCLE_KEY = "kuali.population.population.rule.lifecycle";
64 public static final String POPULATION_RULE_ACTIVE_STATE_KEY = "kuali.population.population.rule.state.active";
65 public static final String POPULATION_RULE_INACTIVE_STATE_KEY = "kuali.population.population.rule.state.inactive";
66 public static final String[] POPULATION_RULE_LIFECYCLE_KEYS = {
67 POPULATION_RULE_ACTIVE_STATE_KEY,
68 POPULATION_RULE_INACTIVE_STATE_KEY
69 };
70
71
72
73
74
75
76
77
78 public static final String POPULATION_CATEGORY_TYPE_KEY = "kuali.population.type.population.category";
79
80
81
82
83 public static final String POPULATION_CATEGORY_LIFECYCLE_KEY = "kuali.population.population.category.lifecycle";
84 public static final String POPULATION_CATEGORY_ACTIVE_STATE_KEY = "kuali.population.population.category.state.active";
85 public static final String POPULATION_CATEGORY_INACTIVE_STATE_KEY = "kuali.population.population.category.state.inactive";
86 public static final String[] POPULATION_CATEGORY_LIFECYCLE_KEYS = {
87 POPULATION_CATEGORY_ACTIVE_STATE_KEY,
88 POPULATION_CATEGORY_INACTIVE_STATE_KEY
89 };
90
91
92
93
94
95
96
97
98 public static final String POPULATION_TYPE_KEY = "kuali.population.type.population";
99 public static final String POPULATION_STUDENT_TYPE_KEY = "kuali.population.type.student";
100
101
102
103
104 public static final String POPULATION_LIFECYCLE_KEY = "kuali.population.population.lifecycle";
105 public static final String POPULATION_ACTIVE_STATE_KEY = "kuali.population.population.state.active";
106 public static final String POPULATION_INACTIVE_STATE_KEY = "kuali.population.population.state.inactive";
107 public static final String[] POPULATION_LIFECYCLE_KEYS = {
108 POPULATION_ACTIVE_STATE_KEY,
109 POPULATION_INACTIVE_STATE_KEY
110 };
111
112
113
114
115 public static final String SUMMER_ONLY_STUDENTS_POPULATION_KEY = "kuali.population.summer.only.student";
116 public static final String EVERYONE_POPULATION_KEY = "kuali.population.everyone";
117 }