1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.enrollment.class2.courseoffering.service.impl;
18
19 import org.kuali.rice.core.api.util.type.KualiDecimal;
20 import org.kuali.rice.kim.api.identity.Person;
21 import org.kuali.rice.kim.api.identity.PersonService;
22 import org.kuali.rice.kim.api.identity.entity.EntityDefault;
23 import org.kuali.rice.krad.bo.BusinessObject;
24 import org.kuali.student.r1.core.personsearch.service.impl.KsPerson;
25
26 import java.util.List;
27 import java.util.Map;
28
29
30
31
32
33
34 public class PersonServiceMockImpl implements PersonService {
35 @Override
36 public Person getPerson(final String s) {
37 return new Person(){
38
39 @Override
40 public String getPrincipalId() {
41 return s;
42 }
43
44 @Override
45 public String getPrincipalName() {
46 return null;
47 }
48
49 @Override
50 public String getEntityId() {
51 return null;
52 }
53
54 @Override
55 public String getEntityTypeCode() {
56 return null;
57 }
58
59 @Override
60 public String getFirstName() {
61 return null;
62 }
63
64 @Override
65 public String getFirstNameUnmasked() {
66 return null;
67 }
68
69 @Override
70 public String getMiddleName() {
71 return null;
72 }
73
74 @Override
75 public String getMiddleNameUnmasked() {
76 return null;
77 }
78
79 @Override
80 public String getLastName() {
81 return null;
82 }
83
84 @Override
85 public String getLastNameUnmasked() {
86 return null;
87 }
88
89 @Override
90 public String getName() {
91 return null;
92 }
93
94 @Override
95 public String getNameUnmasked() {
96 return null;
97 }
98
99 @Override
100 public String getEmailAddress() {
101 return null;
102 }
103
104 @Override
105 public String getEmailAddressUnmasked() {
106 return null;
107 }
108
109 @Override
110 public String getAddressLine1() {
111 return null;
112 }
113
114 @Override
115 public String getAddressLine1Unmasked() {
116 return null;
117 }
118
119 @Override
120 public String getAddressLine2() {
121 return null;
122 }
123
124 @Override
125 public String getAddressLine2Unmasked() {
126 return null;
127 }
128
129 @Override
130 public String getAddressLine3() {
131 return null;
132 }
133
134 @Override
135 public String getAddressLine3Unmasked() {
136 return null;
137 }
138
139 @Override
140 public String getAddressCity() {
141 return null;
142 }
143
144 @Override
145 public String getAddressCityUnmasked() {
146 return null;
147 }
148
149 @Override
150 public String getAddressStateProvinceCode() {
151 return null;
152 }
153
154 @Override
155 public String getAddressStateProvinceCodeUnmasked() {
156 return null;
157 }
158
159 @Override
160 public String getAddressPostalCode() {
161 return null;
162 }
163
164 @Override
165 public String getAddressPostalCodeUnmasked() {
166 return null;
167 }
168
169 @Override
170 public String getAddressCountryCode() {
171 return null;
172 }
173
174 @Override
175 public String getAddressCountryCodeUnmasked() {
176 return null;
177 }
178
179 @Override
180 public String getPhoneNumber() {
181 return null;
182 }
183
184 @Override
185 public String getPhoneNumberUnmasked() {
186 return null;
187 }
188
189 @Override
190 public String getCampusCode() {
191 return null;
192 }
193
194 @Override
195 public Map<String, String> getExternalIdentifiers() {
196 return null;
197 }
198
199 @Override
200 public boolean hasAffiliationOfType(String affiliationTypeCode) {
201 return false;
202 }
203
204 @Override
205 public List<String> getCampusCodesForAffiliationOfType(String affiliationTypeCode) {
206 return null;
207 }
208
209 @Override
210 public String getEmployeeStatusCode() {
211 return null;
212 }
213
214 @Override
215 public String getEmployeeTypeCode() {
216 return null;
217 }
218
219 @Override
220 public KualiDecimal getBaseSalaryAmount() {
221 return null;
222 }
223
224 @Override
225 public String getExternalId(String externalIdentifierTypeCode) {
226 return null;
227 }
228
229 @Override
230 public String getPrimaryDepartmentCode() {
231 return null;
232 }
233
234 @Override
235 public String getEmployeeId() {
236 return null;
237 }
238
239 @Override
240 public boolean isActive() {
241 return false;
242 }
243
244 @Override
245 public void refresh() {
246
247 }
248 };
249 }
250
251 @Override
252 public List<Person> getPersonByExternalIdentifier(String s, String s1) {
253 throw new UnsupportedOperationException("Not supported yet.");
254 }
255
256 @Override
257 public Person getPersonByPrincipalName(String s) {
258 throw new UnsupportedOperationException("Not supported yet.");
259 }
260
261 @Override
262 public Person getPersonByEmployeeId(String s) {
263 throw new UnsupportedOperationException("Not supported yet.");
264 }
265
266 @Override
267 public List<Person> findPeople(Map<String, String> stringStringMap) {
268 throw new UnsupportedOperationException("Not supported yet.");
269 }
270
271 @Override
272 public List<Person> findPeople(Map<String, String> stringStringMap, boolean b) {
273 throw new UnsupportedOperationException("Not supported yet.");
274 }
275
276 @Override
277 public Class<? extends Person> getPersonImplementationClass() {
278 throw new UnsupportedOperationException("Not supported yet.");
279 }
280
281 @Override
282 public Map<String, String> resolvePrincipalNamesToPrincipalIds(BusinessObject businessObject, Map<String, String> stringStringMap) {
283 throw new UnsupportedOperationException("Not supported yet.");
284 }
285
286 @Override
287 public Person updatePersonIfNecessary(String s, Person person) {
288 throw new UnsupportedOperationException("Not supported yet.");
289 }
290 }