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