1 /**
2 * Copyright 2012 The Kuali Foundation Licensed under the
3 * Educational Community License, Version 2.0 (the "License"); you may
4 * not use this file except in compliance with the License. You may
5 * obtain a copy of the License at
6 *
7 * http://www.osedu.org/licenses/ECL-2.0
8 *
9 * Unless required by applicable law or agreed to in writing,
10 * software distributed under the License is distributed on an "AS IS"
11 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12 * or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 *
15 * Created by Daniel on 7/9/12
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 * This class //TODO ...
31 *
32 * @author Kuali Student Team
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; //To change body of implemented methods use File | Settings | File Templates.
42 }
43
44 @Override
45 public String getPrincipalName() {
46 return null; //To change body of implemented methods use File | Settings | File Templates.
47 }
48
49 @Override
50 public String getEntityId() {
51 return null; //To change body of implemented methods use File | Settings | File Templates.
52 }
53
54 @Override
55 public String getEntityTypeCode() {
56 return null; //To change body of implemented methods use File | Settings | File Templates.
57 }
58
59 @Override
60 public String getFirstName() {
61 return null; //To change body of implemented methods use File | Settings | File Templates.
62 }
63
64 @Override
65 public String getFirstNameUnmasked() {
66 return null; //To change body of implemented methods use File | Settings | File Templates.
67 }
68
69 @Override
70 public String getMiddleName() {
71 return null; //To change body of implemented methods use File | Settings | File Templates.
72 }
73
74 @Override
75 public String getMiddleNameUnmasked() {
76 return null; //To change body of implemented methods use File | Settings | File Templates.
77 }
78
79 @Override
80 public String getLastName() {
81 return null; //To change body of implemented methods use File | Settings | File Templates.
82 }
83
84 @Override
85 public String getLastNameUnmasked() {
86 return null; //To change body of implemented methods use File | Settings | File Templates.
87 }
88
89 @Override
90 public String getName() {
91 return null; //To change body of implemented methods use File | Settings | File Templates.
92 }
93
94 @Override
95 public String getNameUnmasked() {
96 return null; //To change body of implemented methods use File | Settings | File Templates.
97 }
98
99 @Override
100 public String getEmailAddress() {
101 return null; //To change body of implemented methods use File | Settings | File Templates.
102 }
103
104 @Override
105 public String getEmailAddressUnmasked() {
106 return null; //To change body of implemented methods use File | Settings | File Templates.
107 }
108
109 @Override
110 public String getAddressLine1() {
111 return null; //To change body of implemented methods use File | Settings | File Templates.
112 }
113
114 @Override
115 public String getAddressLine1Unmasked() {
116 return null; //To change body of implemented methods use File | Settings | File Templates.
117 }
118
119 @Override
120 public String getAddressLine2() {
121 return null; //To change body of implemented methods use File | Settings | File Templates.
122 }
123
124 @Override
125 public String getAddressLine2Unmasked() {
126 return null; //To change body of implemented methods use File | Settings | File Templates.
127 }
128
129 @Override
130 public String getAddressLine3() {
131 return null; //To change body of implemented methods use File | Settings | File Templates.
132 }
133
134 @Override
135 public String getAddressLine3Unmasked() {
136 return null; //To change body of implemented methods use File | Settings | File Templates.
137 }
138
139 @Override
140 public String getAddressCity() {
141 return null; //To change body of implemented methods use File | Settings | File Templates.
142 }
143
144 @Override
145 public String getAddressCityUnmasked() {
146 return null; //To change body of implemented methods use File | Settings | File Templates.
147 }
148
149 @Override
150 public String getAddressStateProvinceCode() {
151 return null; //To change body of implemented methods use File | Settings | File Templates.
152 }
153
154 @Override
155 public String getAddressStateProvinceCodeUnmasked() {
156 return null; //To change body of implemented methods use File | Settings | File Templates.
157 }
158
159 @Override
160 public String getAddressPostalCode() {
161 return null; //To change body of implemented methods use File | Settings | File Templates.
162 }
163
164 @Override
165 public String getAddressPostalCodeUnmasked() {
166 return null; //To change body of implemented methods use File | Settings | File Templates.
167 }
168
169 @Override
170 public String getAddressCountryCode() {
171 return null; //To change body of implemented methods use File | Settings | File Templates.
172 }
173
174 @Override
175 public String getAddressCountryCodeUnmasked() {
176 return null; //To change body of implemented methods use File | Settings | File Templates.
177 }
178
179 @Override
180 public String getPhoneNumber() {
181 return null; //To change body of implemented methods use File | Settings | File Templates.
182 }
183
184 @Override
185 public String getPhoneNumberUnmasked() {
186 return null; //To change body of implemented methods use File | Settings | File Templates.
187 }
188
189 @Override
190 public String getCampusCode() {
191 return null; //To change body of implemented methods use File | Settings | File Templates.
192 }
193
194 @Override
195 public Map<String, String> getExternalIdentifiers() {
196 return null; //To change body of implemented methods use File | Settings | File Templates.
197 }
198
199 @Override
200 public boolean hasAffiliationOfType(String affiliationTypeCode) {
201 return false; //To change body of implemented methods use File | Settings | File Templates.
202 }
203
204 @Override
205 public List<String> getCampusCodesForAffiliationOfType(String affiliationTypeCode) {
206 return null; //To change body of implemented methods use File | Settings | File Templates.
207 }
208
209 @Override
210 public String getEmployeeStatusCode() {
211 return null; //To change body of implemented methods use File | Settings | File Templates.
212 }
213
214 @Override
215 public String getEmployeeTypeCode() {
216 return null; //To change body of implemented methods use File | Settings | File Templates.
217 }
218
219 @Override
220 public KualiDecimal getBaseSalaryAmount() {
221 return null; //To change body of implemented methods use File | Settings | File Templates.
222 }
223
224 @Override
225 public String getExternalId(String externalIdentifierTypeCode) {
226 return null; //To change body of implemented methods use File | Settings | File Templates.
227 }
228
229 @Override
230 public String getPrimaryDepartmentCode() {
231 return null; //To change body of implemented methods use File | Settings | File Templates.
232 }
233
234 @Override
235 public String getEmployeeId() {
236 return null; //To change body of implemented methods use File | Settings | File Templates.
237 }
238
239 @Override
240 public boolean isActive() {
241 return false; //To change body of implemented methods use File | Settings | File Templates.
242 }
243
244 @Override
245 public void refresh() {
246 //To change body of implemented methods use File | Settings | File Templates.
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 }