1
14
15 package com.liferay.portal.service;
16
17
18
34 public class UserLocalServiceWrapper implements UserLocalService {
35 public UserLocalServiceWrapper(UserLocalService userLocalService) {
36 _userLocalService = userLocalService;
37 }
38
39 public com.liferay.portal.model.User addUser(
40 com.liferay.portal.model.User user)
41 throws com.liferay.portal.kernel.exception.SystemException {
42 return _userLocalService.addUser(user);
43 }
44
45 public com.liferay.portal.model.User createUser(long userId) {
46 return _userLocalService.createUser(userId);
47 }
48
49 public void deleteUser(long userId)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException {
52 _userLocalService.deleteUser(userId);
53 }
54
55 public void deleteUser(com.liferay.portal.model.User user)
56 throws com.liferay.portal.kernel.exception.SystemException {
57 _userLocalService.deleteUser(user);
58 }
59
60 @SuppressWarnings("unchecked")
61 public java.util.List dynamicQuery(
62 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63 throws com.liferay.portal.kernel.exception.SystemException {
64 return _userLocalService.dynamicQuery(dynamicQuery);
65 }
66
67 @SuppressWarnings("unchecked")
68 public java.util.List dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.kernel.exception.SystemException {
71 return _userLocalService.dynamicQuery(dynamicQuery, start, end);
72 }
73
74 @SuppressWarnings("unchecked")
75 public java.util.List dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return _userLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public long dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _userLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portal.model.User getUser(long userId)
91 throws com.liferay.portal.kernel.exception.PortalException,
92 com.liferay.portal.kernel.exception.SystemException {
93 return _userLocalService.getUser(userId);
94 }
95
96 public java.util.List<com.liferay.portal.model.User> getUsers(int start,
97 int end) throws com.liferay.portal.kernel.exception.SystemException {
98 return _userLocalService.getUsers(start, end);
99 }
100
101 public int getUsersCount()
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _userLocalService.getUsersCount();
104 }
105
106 public com.liferay.portal.model.User updateUser(
107 com.liferay.portal.model.User user)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _userLocalService.updateUser(user);
110 }
111
112 public com.liferay.portal.model.User updateUser(
113 com.liferay.portal.model.User user, boolean merge)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _userLocalService.updateUser(user, merge);
116 }
117
118 public void addDefaultGroups(long userId)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 _userLocalService.addDefaultGroups(userId);
122 }
123
124 public void addDefaultRoles(long userId)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 _userLocalService.addDefaultRoles(userId);
128 }
129
130 public void addDefaultUserGroups(long userId)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 _userLocalService.addDefaultUserGroups(userId);
134 }
135
136 public void addGroupUsers(long groupId, long[] userIds)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 _userLocalService.addGroupUsers(groupId, userIds);
140 }
141
142 public void addOrganizationUsers(long organizationId, long[] userIds)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException {
145 _userLocalService.addOrganizationUsers(organizationId, userIds);
146 }
147
148 public void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 _userLocalService.addPasswordPolicyUsers(passwordPolicyId, userIds);
151 }
152
153 public void addRoleUsers(long roleId, long[] userIds)
154 throws com.liferay.portal.kernel.exception.PortalException,
155 com.liferay.portal.kernel.exception.SystemException {
156 _userLocalService.addRoleUsers(roleId, userIds);
157 }
158
159 public void addTeamUsers(long teamId, long[] userIds)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 _userLocalService.addTeamUsers(teamId, userIds);
163 }
164
165 public com.liferay.portal.model.User addUser(long creatorUserId,
166 long companyId, boolean autoPassword, java.lang.String password1,
167 java.lang.String password2, boolean autoScreenName,
168 java.lang.String screenName, java.lang.String emailAddress,
169 java.lang.String openId, java.util.Locale locale,
170 java.lang.String firstName, java.lang.String middleName,
171 java.lang.String lastName, int prefixId, int suffixId, boolean male,
172 int birthdayMonth, int birthdayDay, int birthdayYear,
173 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
174 long[] roleIds, long[] userGroupIds, boolean sendEmail,
175 com.liferay.portal.service.ServiceContext serviceContext)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return _userLocalService.addUser(creatorUserId, companyId,
179 autoPassword, password1, password2, autoScreenName, screenName,
180 emailAddress, openId, locale, firstName, middleName, lastName,
181 prefixId, suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
182 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
183 sendEmail, serviceContext);
184 }
185
186 public void addUserGroupUsers(long userGroupId, long[] userIds)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException {
189 _userLocalService.addUserGroupUsers(userGroupId, userIds);
190 }
191
192 public int authenticateByEmailAddress(long companyId,
193 java.lang.String emailAddress, java.lang.String password,
194 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
195 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
196 throws com.liferay.portal.kernel.exception.PortalException,
197 com.liferay.portal.kernel.exception.SystemException {
198 return _userLocalService.authenticateByEmailAddress(companyId,
199 emailAddress, password, headerMap, parameterMap);
200 }
201
202 public int authenticateByScreenName(long companyId,
203 java.lang.String screenName, java.lang.String password,
204 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
205 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _userLocalService.authenticateByScreenName(companyId,
209 screenName, password, headerMap, parameterMap);
210 }
211
212 public int authenticateByUserId(long companyId, long userId,
213 java.lang.String password,
214 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
215 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
216 throws com.liferay.portal.kernel.exception.PortalException,
217 com.liferay.portal.kernel.exception.SystemException {
218 return _userLocalService.authenticateByUserId(companyId, userId,
219 password, headerMap, parameterMap);
220 }
221
222 public long authenticateForBasic(long companyId, java.lang.String authType,
223 java.lang.String login, java.lang.String password)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _userLocalService.authenticateForBasic(companyId, authType,
227 login, password);
228 }
229
230 public boolean authenticateForJAAS(long userId, java.lang.String encPassword) {
231 return _userLocalService.authenticateForJAAS(userId, encPassword);
232 }
233
234 public void checkLockout(com.liferay.portal.model.User user)
235 throws com.liferay.portal.kernel.exception.PortalException,
236 com.liferay.portal.kernel.exception.SystemException {
237 _userLocalService.checkLockout(user);
238 }
239
240 public void checkLoginFailure(com.liferay.portal.model.User user)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 _userLocalService.checkLoginFailure(user);
243 }
244
245 public void checkLoginFailureByEmailAddress(long companyId,
246 java.lang.String emailAddress)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 _userLocalService.checkLoginFailureByEmailAddress(companyId,
250 emailAddress);
251 }
252
253 public void checkLoginFailureById(long userId)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 _userLocalService.checkLoginFailureById(userId);
257 }
258
259 public void checkLoginFailureByScreenName(long companyId,
260 java.lang.String screenName)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 _userLocalService.checkLoginFailureByScreenName(companyId, screenName);
264 }
265
266 public void checkPasswordExpired(com.liferay.portal.model.User user)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 _userLocalService.checkPasswordExpired(user);
270 }
271
272 public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
273 long companyId, java.lang.String name, java.lang.String password)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 return _userLocalService.decryptUserId(companyId, name, password);
277 }
278
279 public void deletePortrait(long userId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _userLocalService.deletePortrait(userId);
283 }
284
285 public void deleteRoleUser(long roleId, long userId)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _userLocalService.deleteRoleUser(roleId, userId);
289 }
290
291 public java.lang.String encryptUserId(java.lang.String name)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 return _userLocalService.encryptUserId(name);
295 }
296
297 public java.util.List<com.liferay.portal.model.User> getCompanyUsers(
298 long companyId, int start, int end)
299 throws com.liferay.portal.kernel.exception.SystemException {
300 return _userLocalService.getCompanyUsers(companyId, start, end);
301 }
302
303 public int getCompanyUsersCount(long companyId)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _userLocalService.getCompanyUsersCount(companyId);
306 }
307
308 public com.liferay.portal.model.User getDefaultUser(long companyId)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _userLocalService.getDefaultUser(companyId);
312 }
313
314 public long getDefaultUserId(long companyId)
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException {
317 return _userLocalService.getDefaultUserId(companyId);
318 }
319
320 public long[] getGroupUserIds(long groupId)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return _userLocalService.getGroupUserIds(groupId);
323 }
324
325 public java.util.List<com.liferay.portal.model.User> getGroupUsers(
326 long groupId)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _userLocalService.getGroupUsers(groupId);
329 }
330
331 public int getGroupUsersCount(long groupId)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _userLocalService.getGroupUsersCount(groupId);
334 }
335
336 public int getGroupUsersCount(long groupId, boolean active)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _userLocalService.getGroupUsersCount(groupId, active);
340 }
341
342 public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
343 java.lang.String type)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return _userLocalService.getNoAnnouncementsDeliveries(type);
346 }
347
348 public java.util.List<com.liferay.portal.model.User> getNoContacts()
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _userLocalService.getNoContacts();
351 }
352
353 public java.util.List<com.liferay.portal.model.User> getNoGroups()
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _userLocalService.getNoGroups();
356 }
357
358 public long[] getOrganizationUserIds(long organizationId)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return _userLocalService.getOrganizationUserIds(organizationId);
361 }
362
363 public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
364 long organizationId)
365 throws com.liferay.portal.kernel.exception.SystemException {
366 return _userLocalService.getOrganizationUsers(organizationId);
367 }
368
369 public int getOrganizationUsersCount(long organizationId)
370 throws com.liferay.portal.kernel.exception.SystemException {
371 return _userLocalService.getOrganizationUsersCount(organizationId);
372 }
373
374 public int getOrganizationUsersCount(long organizationId, boolean active)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 return _userLocalService.getOrganizationUsersCount(organizationId,
378 active);
379 }
380
381 public long[] getRoleUserIds(long roleId)
382 throws com.liferay.portal.kernel.exception.SystemException {
383 return _userLocalService.getRoleUserIds(roleId);
384 }
385
386 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
387 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
388 return _userLocalService.getRoleUsers(roleId);
389 }
390
391 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
392 long roleId, int start, int end)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return _userLocalService.getRoleUsers(roleId, start, end);
395 }
396
397 public int getRoleUsersCount(long roleId)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 return _userLocalService.getRoleUsersCount(roleId);
400 }
401
402 public int getRoleUsersCount(long roleId, boolean active)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 return _userLocalService.getRoleUsersCount(roleId, active);
406 }
407
408 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
409 long userId, int type, int start, int end,
410 com.liferay.portal.kernel.util.OrderByComparator obc)
411 throws com.liferay.portal.kernel.exception.PortalException,
412 com.liferay.portal.kernel.exception.SystemException {
413 return _userLocalService.getSocialUsers(userId, type, start, end, obc);
414 }
415
416 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
417 long userId, int start, int end,
418 com.liferay.portal.kernel.util.OrderByComparator obc)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 return _userLocalService.getSocialUsers(userId, start, end, obc);
422 }
423
424 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
425 long userId1, long userId2, int type, int start, int end,
426 com.liferay.portal.kernel.util.OrderByComparator obc)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 return _userLocalService.getSocialUsers(userId1, userId2, type, start,
430 end, obc);
431 }
432
433 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
434 long userId1, long userId2, int start, int end,
435 com.liferay.portal.kernel.util.OrderByComparator obc)
436 throws com.liferay.portal.kernel.exception.PortalException,
437 com.liferay.portal.kernel.exception.SystemException {
438 return _userLocalService.getSocialUsers(userId1, userId2, start, end,
439 obc);
440 }
441
442 public int getSocialUsersCount(long userId)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _userLocalService.getSocialUsersCount(userId);
446 }
447
448 public int getSocialUsersCount(long userId, int type)
449 throws com.liferay.portal.kernel.exception.PortalException,
450 com.liferay.portal.kernel.exception.SystemException {
451 return _userLocalService.getSocialUsersCount(userId, type);
452 }
453
454 public int getSocialUsersCount(long userId1, long userId2)
455 throws com.liferay.portal.kernel.exception.PortalException,
456 com.liferay.portal.kernel.exception.SystemException {
457 return _userLocalService.getSocialUsersCount(userId1, userId2);
458 }
459
460 public int getSocialUsersCount(long userId1, long userId2, int type)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException {
463 return _userLocalService.getSocialUsersCount(userId1, userId2, type);
464 }
465
466 public com.liferay.portal.model.User getUserByContactId(long contactId)
467 throws com.liferay.portal.kernel.exception.PortalException,
468 com.liferay.portal.kernel.exception.SystemException {
469 return _userLocalService.getUserByContactId(contactId);
470 }
471
472 public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
473 java.lang.String emailAddress)
474 throws com.liferay.portal.kernel.exception.PortalException,
475 com.liferay.portal.kernel.exception.SystemException {
476 return _userLocalService.getUserByEmailAddress(companyId, emailAddress);
477 }
478
479 public com.liferay.portal.model.User getUserById(long userId)
480 throws com.liferay.portal.kernel.exception.PortalException,
481 com.liferay.portal.kernel.exception.SystemException {
482 return _userLocalService.getUserById(userId);
483 }
484
485 public com.liferay.portal.model.User getUserById(long companyId, long userId)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException {
488 return _userLocalService.getUserById(companyId, userId);
489 }
490
491 public com.liferay.portal.model.User getUserByOpenId(
492 java.lang.String openId)
493 throws com.liferay.portal.kernel.exception.PortalException,
494 com.liferay.portal.kernel.exception.SystemException {
495 return _userLocalService.getUserByOpenId(openId);
496 }
497
498 public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
499 throws com.liferay.portal.kernel.exception.PortalException,
500 com.liferay.portal.kernel.exception.SystemException {
501 return _userLocalService.getUserByPortraitId(portraitId);
502 }
503
504 public com.liferay.portal.model.User getUserByScreenName(long companyId,
505 java.lang.String screenName)
506 throws com.liferay.portal.kernel.exception.PortalException,
507 com.liferay.portal.kernel.exception.SystemException {
508 return _userLocalService.getUserByScreenName(companyId, screenName);
509 }
510
511 public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
512 throws com.liferay.portal.kernel.exception.PortalException,
513 com.liferay.portal.kernel.exception.SystemException {
514 return _userLocalService.getUserByUuid(uuid);
515 }
516
517 public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
518 long userGroupId)
519 throws com.liferay.portal.kernel.exception.SystemException {
520 return _userLocalService.getUserGroupUsers(userGroupId);
521 }
522
523 public int getUserGroupUsersCount(long userGroupId)
524 throws com.liferay.portal.kernel.exception.SystemException {
525 return _userLocalService.getUserGroupUsersCount(userGroupId);
526 }
527
528 public int getUserGroupUsersCount(long userGroupId, boolean active)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException {
531 return _userLocalService.getUserGroupUsersCount(userGroupId, active);
532 }
533
534 public long getUserIdByEmailAddress(long companyId,
535 java.lang.String emailAddress)
536 throws com.liferay.portal.kernel.exception.PortalException,
537 com.liferay.portal.kernel.exception.SystemException {
538 return _userLocalService.getUserIdByEmailAddress(companyId, emailAddress);
539 }
540
541 public long getUserIdByScreenName(long companyId,
542 java.lang.String screenName)
543 throws com.liferay.portal.kernel.exception.PortalException,
544 com.liferay.portal.kernel.exception.SystemException {
545 return _userLocalService.getUserIdByScreenName(companyId, screenName);
546 }
547
548 public boolean hasGroupUser(long groupId, long userId)
549 throws com.liferay.portal.kernel.exception.SystemException {
550 return _userLocalService.hasGroupUser(groupId, userId);
551 }
552
553 public boolean hasOrganizationUser(long organizationId, long userId)
554 throws com.liferay.portal.kernel.exception.SystemException {
555 return _userLocalService.hasOrganizationUser(organizationId, userId);
556 }
557
558 public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
559 throws com.liferay.portal.kernel.exception.SystemException {
560 return _userLocalService.hasPasswordPolicyUser(passwordPolicyId, userId);
561 }
562
563 public boolean hasRoleUser(long roleId, long userId)
564 throws com.liferay.portal.kernel.exception.SystemException {
565 return _userLocalService.hasRoleUser(roleId, userId);
566 }
567
568
573 public boolean hasRoleUser(long companyId, java.lang.String name,
574 long userId, boolean inherited)
575 throws com.liferay.portal.kernel.exception.PortalException,
576 com.liferay.portal.kernel.exception.SystemException {
577 return _userLocalService.hasRoleUser(companyId, name, userId, inherited);
578 }
579
580 public boolean hasTeamUser(long teamId, long userId)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return _userLocalService.hasTeamUser(teamId, userId);
583 }
584
585 public boolean hasUserGroupUser(long userGroupId, long userId)
586 throws com.liferay.portal.kernel.exception.SystemException {
587 return _userLocalService.hasUserGroupUser(userGroupId, userId);
588 }
589
590 public boolean isPasswordExpired(com.liferay.portal.model.User user)
591 throws com.liferay.portal.kernel.exception.PortalException,
592 com.liferay.portal.kernel.exception.SystemException {
593 return _userLocalService.isPasswordExpired(user);
594 }
595
596 public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
597 throws com.liferay.portal.kernel.exception.PortalException,
598 com.liferay.portal.kernel.exception.SystemException {
599 return _userLocalService.isPasswordExpiringSoon(user);
600 }
601
602 public java.util.List<com.liferay.portal.model.User> search(
603 long companyId, java.lang.String keywords, java.lang.Boolean active,
604 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
605 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
606 throws com.liferay.portal.kernel.exception.SystemException {
607 return _userLocalService.search(companyId, keywords, active, params,
608 start, end, obc);
609 }
610
611 public com.liferay.portal.kernel.search.Hits search(long companyId,
612 java.lang.String keywords, java.lang.Boolean active,
613 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
614 int start, int end, com.liferay.portal.kernel.search.Sort sort)
615 throws com.liferay.portal.kernel.exception.SystemException {
616 return _userLocalService.search(companyId, keywords, active, params,
617 start, end, sort);
618 }
619
620 public java.util.List<com.liferay.portal.model.User> search(
621 long companyId, java.lang.String firstName,
622 java.lang.String middleName, java.lang.String lastName,
623 java.lang.String screenName, java.lang.String emailAddress,
624 java.lang.Boolean active,
625 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
626 boolean andSearch, int start, int end,
627 com.liferay.portal.kernel.util.OrderByComparator obc)
628 throws com.liferay.portal.kernel.exception.SystemException {
629 return _userLocalService.search(companyId, firstName, middleName,
630 lastName, screenName, emailAddress, active, params, andSearch,
631 start, end, obc);
632 }
633
634 public com.liferay.portal.kernel.search.Hits search(long companyId,
635 java.lang.String firstName, java.lang.String middleName,
636 java.lang.String lastName, java.lang.String screenName,
637 java.lang.String emailAddress, java.lang.Boolean active,
638 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
639 boolean andSearch, int start, int end,
640 com.liferay.portal.kernel.search.Sort sort)
641 throws com.liferay.portal.kernel.exception.SystemException {
642 return _userLocalService.search(companyId, firstName, middleName,
643 lastName, screenName, emailAddress, active, params, andSearch,
644 start, end, sort);
645 }
646
647 public int searchCount(long companyId, java.lang.String keywords,
648 java.lang.Boolean active,
649 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
650 throws com.liferay.portal.kernel.exception.SystemException {
651 return _userLocalService.searchCount(companyId, keywords, active, params);
652 }
653
654 public int searchCount(long companyId, java.lang.String firstName,
655 java.lang.String middleName, java.lang.String lastName,
656 java.lang.String screenName, java.lang.String emailAddress,
657 java.lang.Boolean active,
658 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
659 boolean andSearch)
660 throws com.liferay.portal.kernel.exception.SystemException {
661 return _userLocalService.searchCount(companyId, firstName, middleName,
662 lastName, screenName, emailAddress, active, params, andSearch);
663 }
664
665 public void sendPassword(long companyId, java.lang.String emailAddress,
666 java.lang.String remoteAddr, java.lang.String remoteHost,
667 java.lang.String userAgent, java.lang.String fromName,
668 java.lang.String fromAddress, java.lang.String subject,
669 java.lang.String body,
670 com.liferay.portal.service.ServiceContext serviceContext)
671 throws com.liferay.portal.kernel.exception.PortalException,
672 com.liferay.portal.kernel.exception.SystemException {
673 _userLocalService.sendPassword(companyId, emailAddress, remoteAddr,
674 remoteHost, userAgent, fromName, fromAddress, subject, body,
675 serviceContext);
676 }
677
678 public void setRoleUsers(long roleId, long[] userIds)
679 throws com.liferay.portal.kernel.exception.PortalException,
680 com.liferay.portal.kernel.exception.SystemException {
681 _userLocalService.setRoleUsers(roleId, userIds);
682 }
683
684 public void setUserGroupUsers(long userGroupId, long[] userIds)
685 throws com.liferay.portal.kernel.exception.PortalException,
686 com.liferay.portal.kernel.exception.SystemException {
687 _userLocalService.setUserGroupUsers(userGroupId, userIds);
688 }
689
690 public void unsetGroupUsers(long groupId, long[] userIds)
691 throws com.liferay.portal.kernel.exception.PortalException,
692 com.liferay.portal.kernel.exception.SystemException {
693 _userLocalService.unsetGroupUsers(groupId, userIds);
694 }
695
696 public void unsetOrganizationUsers(long organizationId, long[] userIds)
697 throws com.liferay.portal.kernel.exception.PortalException,
698 com.liferay.portal.kernel.exception.SystemException {
699 _userLocalService.unsetOrganizationUsers(organizationId, userIds);
700 }
701
702 public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
703 throws com.liferay.portal.kernel.exception.SystemException {
704 _userLocalService.unsetPasswordPolicyUsers(passwordPolicyId, userIds);
705 }
706
707 public void unsetRoleUsers(long roleId,
708 java.util.List<com.liferay.portal.model.User> users)
709 throws com.liferay.portal.kernel.exception.PortalException,
710 com.liferay.portal.kernel.exception.SystemException {
711 _userLocalService.unsetRoleUsers(roleId, users);
712 }
713
714 public void unsetRoleUsers(long roleId, long[] userIds)
715 throws com.liferay.portal.kernel.exception.PortalException,
716 com.liferay.portal.kernel.exception.SystemException {
717 _userLocalService.unsetRoleUsers(roleId, userIds);
718 }
719
720 public void unsetTeamUsers(long teamId, long[] userIds)
721 throws com.liferay.portal.kernel.exception.PortalException,
722 com.liferay.portal.kernel.exception.SystemException {
723 _userLocalService.unsetTeamUsers(teamId, userIds);
724 }
725
726 public void unsetUserGroupUsers(long userGroupId, long[] userIds)
727 throws com.liferay.portal.kernel.exception.PortalException,
728 com.liferay.portal.kernel.exception.SystemException {
729 _userLocalService.unsetUserGroupUsers(userGroupId, userIds);
730 }
731
732 public com.liferay.portal.model.User updateActive(long userId,
733 boolean active)
734 throws com.liferay.portal.kernel.exception.PortalException,
735 com.liferay.portal.kernel.exception.SystemException {
736 return _userLocalService.updateActive(userId, active);
737 }
738
739 public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
740 boolean agreedToTermsOfUse)
741 throws com.liferay.portal.kernel.exception.PortalException,
742 com.liferay.portal.kernel.exception.SystemException {
743 return _userLocalService.updateAgreedToTermsOfUse(userId,
744 agreedToTermsOfUse);
745 }
746
747 public void updateAsset(long userId, com.liferay.portal.model.User user,
748 long[] assetCategoryIds, java.lang.String[] assetTagNames)
749 throws com.liferay.portal.kernel.exception.PortalException,
750 com.liferay.portal.kernel.exception.SystemException {
751 _userLocalService.updateAsset(userId, user, assetCategoryIds,
752 assetTagNames);
753 }
754
755 public com.liferay.portal.model.User updateCreateDate(long userId,
756 java.util.Date createDate)
757 throws com.liferay.portal.kernel.exception.PortalException,
758 com.liferay.portal.kernel.exception.SystemException {
759 return _userLocalService.updateCreateDate(userId, createDate);
760 }
761
762 public com.liferay.portal.model.User updateEmailAddress(long userId,
763 java.lang.String password, java.lang.String emailAddress1,
764 java.lang.String emailAddress2)
765 throws com.liferay.portal.kernel.exception.PortalException,
766 com.liferay.portal.kernel.exception.SystemException {
767 return _userLocalService.updateEmailAddress(userId, password,
768 emailAddress1, emailAddress2);
769 }
770
771 public void updateGroups(long userId, long[] newGroupIds)
772 throws com.liferay.portal.kernel.exception.PortalException,
773 com.liferay.portal.kernel.exception.SystemException {
774 _userLocalService.updateGroups(userId, newGroupIds);
775 }
776
777 public com.liferay.portal.model.User updateLastLogin(long userId,
778 java.lang.String loginIP)
779 throws com.liferay.portal.kernel.exception.PortalException,
780 com.liferay.portal.kernel.exception.SystemException {
781 return _userLocalService.updateLastLogin(userId, loginIP);
782 }
783
784 public com.liferay.portal.model.User updateLockout(
785 com.liferay.portal.model.User user, boolean lockout)
786 throws com.liferay.portal.kernel.exception.PortalException,
787 com.liferay.portal.kernel.exception.SystemException {
788 return _userLocalService.updateLockout(user, lockout);
789 }
790
791 public com.liferay.portal.model.User updateLockoutByEmailAddress(
792 long companyId, java.lang.String emailAddress, boolean lockout)
793 throws com.liferay.portal.kernel.exception.PortalException,
794 com.liferay.portal.kernel.exception.SystemException {
795 return _userLocalService.updateLockoutByEmailAddress(companyId,
796 emailAddress, lockout);
797 }
798
799 public com.liferay.portal.model.User updateLockoutById(long userId,
800 boolean lockout)
801 throws com.liferay.portal.kernel.exception.PortalException,
802 com.liferay.portal.kernel.exception.SystemException {
803 return _userLocalService.updateLockoutById(userId, lockout);
804 }
805
806 public com.liferay.portal.model.User updateLockoutByScreenName(
807 long companyId, java.lang.String screenName, boolean lockout)
808 throws com.liferay.portal.kernel.exception.PortalException,
809 com.liferay.portal.kernel.exception.SystemException {
810 return _userLocalService.updateLockoutByScreenName(companyId,
811 screenName, lockout);
812 }
813
814 public com.liferay.portal.model.User updateModifiedDate(long userId,
815 java.util.Date modifiedDate)
816 throws com.liferay.portal.kernel.exception.PortalException,
817 com.liferay.portal.kernel.exception.SystemException {
818 return _userLocalService.updateModifiedDate(userId, modifiedDate);
819 }
820
821 public void updateOpenId(long userId, java.lang.String openId)
822 throws com.liferay.portal.kernel.exception.PortalException,
823 com.liferay.portal.kernel.exception.SystemException {
824 _userLocalService.updateOpenId(userId, openId);
825 }
826
827 public void updateOrganizations(long userId, long[] newOrganizationIds)
828 throws com.liferay.portal.kernel.exception.PortalException,
829 com.liferay.portal.kernel.exception.SystemException {
830 _userLocalService.updateOrganizations(userId, newOrganizationIds);
831 }
832
833 public com.liferay.portal.model.User updatePassword(long userId,
834 java.lang.String password1, java.lang.String password2,
835 boolean passwordReset)
836 throws com.liferay.portal.kernel.exception.PortalException,
837 com.liferay.portal.kernel.exception.SystemException {
838 return _userLocalService.updatePassword(userId, password1, password2,
839 passwordReset);
840 }
841
842 public com.liferay.portal.model.User updatePassword(long userId,
843 java.lang.String password1, java.lang.String password2,
844 boolean passwordReset, boolean silentUpdate)
845 throws com.liferay.portal.kernel.exception.PortalException,
846 com.liferay.portal.kernel.exception.SystemException {
847 return _userLocalService.updatePassword(userId, password1, password2,
848 passwordReset, silentUpdate);
849 }
850
851 public com.liferay.portal.model.User updatePasswordManually(long userId,
852 java.lang.String password, boolean passwordEncrypted,
853 boolean passwordReset, java.util.Date passwordModifiedDate)
854 throws com.liferay.portal.kernel.exception.PortalException,
855 com.liferay.portal.kernel.exception.SystemException {
856 return _userLocalService.updatePasswordManually(userId, password,
857 passwordEncrypted, passwordReset, passwordModifiedDate);
858 }
859
860 public void updatePasswordReset(long userId, boolean passwordReset)
861 throws com.liferay.portal.kernel.exception.PortalException,
862 com.liferay.portal.kernel.exception.SystemException {
863 _userLocalService.updatePasswordReset(userId, passwordReset);
864 }
865
866 public void updatePortrait(long userId, byte[] bytes)
867 throws com.liferay.portal.kernel.exception.PortalException,
868 com.liferay.portal.kernel.exception.SystemException {
869 _userLocalService.updatePortrait(userId, bytes);
870 }
871
872 public void updateReminderQuery(long userId, java.lang.String question,
873 java.lang.String answer)
874 throws com.liferay.portal.kernel.exception.PortalException,
875 com.liferay.portal.kernel.exception.SystemException {
876 _userLocalService.updateReminderQuery(userId, question, answer);
877 }
878
879 public void updateScreenName(long userId, java.lang.String screenName)
880 throws com.liferay.portal.kernel.exception.PortalException,
881 com.liferay.portal.kernel.exception.SystemException {
882 _userLocalService.updateScreenName(userId, screenName);
883 }
884
885 public com.liferay.portal.model.User updateUser(long userId,
886 java.lang.String oldPassword, java.lang.String newPassword1,
887 java.lang.String newPassword2, boolean passwordReset,
888 java.lang.String reminderQueryQuestion,
889 java.lang.String reminderQueryAnswer, java.lang.String screenName,
890 java.lang.String emailAddress, java.lang.String openId,
891 java.lang.String languageId, java.lang.String timeZoneId,
892 java.lang.String greeting, java.lang.String comments,
893 java.lang.String firstName, java.lang.String middleName,
894 java.lang.String lastName, int prefixId, int suffixId, boolean male,
895 int birthdayMonth, int birthdayDay, int birthdayYear,
896 java.lang.String smsSn, java.lang.String aimSn,
897 java.lang.String facebookSn, java.lang.String icqSn,
898 java.lang.String jabberSn, java.lang.String msnSn,
899 java.lang.String mySpaceSn, java.lang.String skypeSn,
900 java.lang.String twitterSn, java.lang.String ymSn,
901 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
902 long[] roleIds,
903 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
904 long[] userGroupIds,
905 com.liferay.portal.service.ServiceContext serviceContext)
906 throws com.liferay.portal.kernel.exception.PortalException,
907 com.liferay.portal.kernel.exception.SystemException {
908 return _userLocalService.updateUser(userId, oldPassword, newPassword1,
909 newPassword2, passwordReset, reminderQueryQuestion,
910 reminderQueryAnswer, screenName, emailAddress, openId, languageId,
911 timeZoneId, greeting, comments, firstName, middleName, lastName,
912 prefixId, suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
913 smsSn, aimSn, facebookSn, icqSn, jabberSn, msnSn, mySpaceSn,
914 skypeSn, twitterSn, ymSn, jobTitle, groupIds, organizationIds,
915 roleIds, userGroupRoles, userGroupIds, serviceContext);
916 }
917
918 public UserLocalService getWrappedUserLocalService() {
919 return _userLocalService;
920 }
921
922 private UserLocalService _userLocalService;
923 }