1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.util; |
17 | |
|
18 | |
import org.kuali.rice.kns.util.KNSPropertyConstants; |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public final class KIMPropertyConstants { |
27 | |
|
28 | |
public static final class Entity { |
29 | |
public static final String ENTITY_ID = "entityId"; |
30 | |
|
31 | 0 | private Entity() { |
32 | 0 | throw new UnsupportedOperationException("do not call"); |
33 | |
} |
34 | |
} |
35 | |
|
36 | |
public static final class Principal { |
37 | |
public static final String PRINCIPAL_ID = "principalId"; |
38 | |
public static final String PRINCIPAL_NAME = "principalName"; |
39 | |
public static final String PASSWORD = "password"; |
40 | |
public static final String ACTIVE = KNSPropertyConstants.ACTIVE; |
41 | |
|
42 | 0 | private Principal() { |
43 | 0 | throw new UnsupportedOperationException("do not call"); |
44 | |
} |
45 | |
} |
46 | |
|
47 | |
public static final class Person { |
48 | |
public static final String ENTITY_ID = Entity.ENTITY_ID; |
49 | |
public static final String PRINCIPAL_ID = Principal.PRINCIPAL_ID; |
50 | |
public static final String PRINCIPAL_NAME = Principal.PRINCIPAL_NAME; |
51 | |
public static final String FIRST_NAME = "firstName"; |
52 | |
public static final String MIDDLE_NAME = "middleName"; |
53 | |
public static final String LAST_NAME = "lastName"; |
54 | |
public static final String NAME = "name"; |
55 | |
public static final String EMAIL_ADDRESS = KNSPropertyConstants.EMAIL_ADDRESS; |
56 | |
public static final String PHONE_NUMBER = "phoneNumber"; |
57 | |
public static final String ACTIVE = KNSPropertyConstants.ACTIVE; |
58 | |
public static final String EMPLOYEE_ID = "employeeId"; |
59 | |
public static final String EMPLOYEE_STATUS_CODE = "employeeStatusCode"; |
60 | |
public static final String EMPLOYEE_TYPE_CODE = "employeeTypeCode"; |
61 | |
public static final String EXTERNAL_ID = "externalId"; |
62 | |
public static final String EXTERNAL_IDENTIFIER_TYPE_CODE = "externalIdentifierTypeCode"; |
63 | |
public static final String ADDRESS_LINE_1 = "line1"; |
64 | |
public static final String ADDRESS_LINE_2 = "line2"; |
65 | |
public static final String ADDRESS_LINE_3 = "line3"; |
66 | |
public static final String CITY_NAME = "cityName"; |
67 | |
public static final String STATE_CODE = KNSPropertyConstants.STATE_CODE; |
68 | |
public static final String POSTAL_CODE = KNSPropertyConstants.POSTAL_CODE; |
69 | |
public static final String COUNTRY_CODE = KNSPropertyConstants.COUNTY_CODE; |
70 | |
public static final String CAMPUS_CODE = KNSPropertyConstants.CAMPUS_CODE; |
71 | |
public static final String AFFILIATION_TYPE_CODE = "affiliationTypeCode"; |
72 | |
public static final String PRIMARY_DEPARTMENT_CODE = "primaryDepartmentCode"; |
73 | |
public static final String BASE_SALARY_AMOUNT = "baseSalaryAmount"; |
74 | |
|
75 | 0 | private Person() { |
76 | 0 | throw new UnsupportedOperationException("do not call"); |
77 | |
} |
78 | |
} |
79 | |
|
80 | |
public static final class Group { |
81 | |
public static final String GROUP_ID = "groupId"; |
82 | |
public static final String GROUP_NAME = "groupName"; |
83 | |
|
84 | 0 | private Group() { |
85 | 0 | throw new UnsupportedOperationException("do not call"); |
86 | |
} |
87 | |
} |
88 | |
|
89 | |
public static final class KimType { |
90 | |
public static final String KIM_TYPE_ID = "kimTypeId"; |
91 | |
|
92 | 0 | private KimType() { |
93 | 0 | throw new UnsupportedOperationException("do not call"); |
94 | |
} |
95 | |
} |
96 | |
|
97 | |
public static final class Role { |
98 | |
public static final String ROLE_ID = "roleId"; |
99 | |
public static final String ROLE_NAME = "roleName"; |
100 | |
public static final String KIM_TYPE_ID = KimType.KIM_TYPE_ID; |
101 | |
public static final String ACTIVE = KNSPropertyConstants.ACTIVE; |
102 | |
|
103 | 0 | private Role() { |
104 | 0 | throw new UnsupportedOperationException("do not call"); |
105 | |
} |
106 | |
} |
107 | |
|
108 | |
public static final class KimMember { |
109 | |
public static final String MEMBER_ID = "memberId"; |
110 | |
public static final String MEMBER_TYPE_CODE = "memberTypeCode"; |
111 | |
public static final String ACTIVE_FROM_DATE = "activeFromDate"; |
112 | |
public static final String ACTIVE_TO_DATE = "activeToDate"; |
113 | |
|
114 | 0 | private KimMember() { |
115 | 0 | throw new UnsupportedOperationException("do not call"); |
116 | |
} |
117 | |
} |
118 | |
|
119 | |
public static final class RoleMember { |
120 | |
public static final String ROLE_MEMBER_ID = "roleMemberId"; |
121 | |
public static final String ROLE_ID = Role.ROLE_ID; |
122 | |
public static final String MEMBER_ID = KimMember.MEMBER_ID; |
123 | |
public static final String MEMBER_TYPE_CODE = KimMember.MEMBER_TYPE_CODE; |
124 | |
public static final String ACTIVE_FROM_DATE = KimMember.ACTIVE_FROM_DATE; |
125 | |
public static final String ACTIVE_TO_DATE = KimMember.ACTIVE_TO_DATE; |
126 | |
|
127 | 0 | private RoleMember() { |
128 | 0 | throw new UnsupportedOperationException("do not call"); |
129 | |
} |
130 | |
} |
131 | |
|
132 | |
public static final class GroupMember { |
133 | |
public static final String GROUP_MEMBER_ID = "groupMemberId"; |
134 | |
public static final String GROUP_ID = Group.GROUP_ID; |
135 | |
public static final String MEMBER_ID = KimMember.MEMBER_ID; |
136 | |
public static final String MEMBER_TYPE_CODE = KimMember.MEMBER_TYPE_CODE; |
137 | |
public static final String ACTIVE_FROM_DATE = KimMember.ACTIVE_FROM_DATE; |
138 | |
public static final String ACTIVE_TO_DATE = KimMember.ACTIVE_TO_DATE; |
139 | |
|
140 | 0 | private GroupMember() { |
141 | 0 | throw new UnsupportedOperationException("do not call"); |
142 | |
} |
143 | |
} |
144 | |
|
145 | |
public static final class DelegationMember { |
146 | |
public static final String DELEGATION_MEMBER_ID = "delegationMemberId"; |
147 | |
public static final String DELEGATION_ID = Delegation.DELEGATION_ID; |
148 | |
public static final String MEMBER_ID = KimMember.MEMBER_ID; |
149 | |
public static final String MEMBER_TYPE_CODE = KimMember.MEMBER_TYPE_CODE; |
150 | |
public static final String ACTIVE_FROM_DATE = KimMember.ACTIVE_FROM_DATE; |
151 | |
public static final String ACTIVE_TO_DATE = KimMember.ACTIVE_TO_DATE; |
152 | |
|
153 | 0 | private DelegationMember() { |
154 | 0 | throw new UnsupportedOperationException("do not call"); |
155 | |
} |
156 | |
} |
157 | |
|
158 | |
public static final class Delegation { |
159 | |
public static final String ROLE_ID = "roleId"; |
160 | |
public static final String DELEGATION_ID = "delegationId"; |
161 | |
public static final String ACTIVE = KNSPropertyConstants.ACTIVE; |
162 | |
|
163 | 0 | private Delegation() { |
164 | 0 | throw new UnsupportedOperationException("do not call"); |
165 | |
} |
166 | |
} |
167 | |
|
168 | 0 | private KIMPropertyConstants() { |
169 | 0 | throw new UnsupportedOperationException("do not call"); |
170 | |
} |
171 | |
} |