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