001
014
015 package com.liferay.portal.service;
016
017
026 public class UserLocalServiceWrapper implements UserLocalService {
027 public UserLocalServiceWrapper(UserLocalService userLocalService) {
028 _userLocalService = userLocalService;
029 }
030
031
038 public com.liferay.portal.model.User addUser(
039 com.liferay.portal.model.User user)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return _userLocalService.addUser(user);
042 }
043
044
050 public com.liferay.portal.model.User createUser(long userId) {
051 return _userLocalService.createUser(userId);
052 }
053
054
061 public void deleteUser(long userId)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 _userLocalService.deleteUser(userId);
065 }
066
067
073 public void deleteUser(com.liferay.portal.model.User user)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 _userLocalService.deleteUser(user);
076 }
077
078
085 @SuppressWarnings("rawtypes")
086 public java.util.List dynamicQuery(
087 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _userLocalService.dynamicQuery(dynamicQuery);
090 }
091
092
105 @SuppressWarnings("rawtypes")
106 public java.util.List dynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
108 int end) throws com.liferay.portal.kernel.exception.SystemException {
109 return _userLocalService.dynamicQuery(dynamicQuery, start, end);
110 }
111
112
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end,
130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
131 throws com.liferay.portal.kernel.exception.SystemException {
132 return _userLocalService.dynamicQuery(dynamicQuery, start, end,
133 orderByComparator);
134 }
135
136
143 public long dynamicQueryCount(
144 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _userLocalService.dynamicQueryCount(dynamicQuery);
147 }
148
149
157 public com.liferay.portal.model.User getUser(long userId)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return _userLocalService.getUser(userId);
161 }
162
163
175 public java.util.List<com.liferay.portal.model.User> getUsers(int start,
176 int end) throws com.liferay.portal.kernel.exception.SystemException {
177 return _userLocalService.getUsers(start, end);
178 }
179
180
186 public int getUsersCount()
187 throws com.liferay.portal.kernel.exception.SystemException {
188 return _userLocalService.getUsersCount();
189 }
190
191
198 public com.liferay.portal.model.User updateUser(
199 com.liferay.portal.model.User user)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _userLocalService.updateUser(user);
202 }
203
204
212 public com.liferay.portal.model.User updateUser(
213 com.liferay.portal.model.User user, boolean merge)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _userLocalService.updateUser(user, merge);
216 }
217
218 public void addDefaultGroups(long userId)
219 throws com.liferay.portal.kernel.exception.PortalException,
220 com.liferay.portal.kernel.exception.SystemException {
221 _userLocalService.addDefaultGroups(userId);
222 }
223
224 public void addDefaultRoles(long userId)
225 throws com.liferay.portal.kernel.exception.PortalException,
226 com.liferay.portal.kernel.exception.SystemException {
227 _userLocalService.addDefaultRoles(userId);
228 }
229
230 public void addDefaultUserGroups(long userId)
231 throws com.liferay.portal.kernel.exception.PortalException,
232 com.liferay.portal.kernel.exception.SystemException {
233 _userLocalService.addDefaultUserGroups(userId);
234 }
235
236 public void addGroupUsers(long groupId, long[] userIds)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 _userLocalService.addGroupUsers(groupId, userIds);
240 }
241
242 public void addOrganizationUsers(long organizationId, long[] userIds)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException {
245 _userLocalService.addOrganizationUsers(organizationId, userIds);
246 }
247
248 public void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 _userLocalService.addPasswordPolicyUsers(passwordPolicyId, userIds);
251 }
252
253 public void addRoleUsers(long roleId, long[] userIds)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 _userLocalService.addRoleUsers(roleId, userIds);
257 }
258
259 public void addTeamUsers(long teamId, long[] userIds)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 _userLocalService.addTeamUsers(teamId, userIds);
263 }
264
265 public com.liferay.portal.model.User addUser(long creatorUserId,
266 long companyId, boolean autoPassword, java.lang.String password1,
267 java.lang.String password2, boolean autoScreenName,
268 java.lang.String screenName, java.lang.String emailAddress,
269 long facebookId, java.lang.String openId, java.util.Locale locale,
270 java.lang.String firstName, java.lang.String middleName,
271 java.lang.String lastName, int prefixId, int suffixId, boolean male,
272 int birthdayMonth, int birthdayDay, int birthdayYear,
273 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
274 long[] roleIds, long[] userGroupIds, boolean sendEmail,
275 com.liferay.portal.service.ServiceContext serviceContext)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return _userLocalService.addUser(creatorUserId, companyId,
279 autoPassword, password1, password2, autoScreenName, screenName,
280 emailAddress, facebookId, openId, locale, firstName, middleName,
281 lastName, prefixId, suffixId, male, birthdayMonth, birthdayDay,
282 birthdayYear, jobTitle, groupIds, organizationIds, roleIds,
283 userGroupIds, sendEmail, serviceContext);
284 }
285
286 public void addUserGroupUsers(long userGroupId, long[] userIds)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 _userLocalService.addUserGroupUsers(userGroupId, userIds);
290 }
291
292 public int authenticateByEmailAddress(long companyId,
293 java.lang.String emailAddress, java.lang.String password,
294 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
295 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
296 throws com.liferay.portal.kernel.exception.PortalException,
297 com.liferay.portal.kernel.exception.SystemException {
298 return _userLocalService.authenticateByEmailAddress(companyId,
299 emailAddress, password, headerMap, parameterMap);
300 }
301
302 public int authenticateByScreenName(long companyId,
303 java.lang.String screenName, java.lang.String password,
304 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
305 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 return _userLocalService.authenticateByScreenName(companyId,
309 screenName, password, headerMap, parameterMap);
310 }
311
312 public int authenticateByUserId(long companyId, long userId,
313 java.lang.String password,
314 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
315 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 return _userLocalService.authenticateByUserId(companyId, userId,
319 password, headerMap, parameterMap);
320 }
321
322 public long authenticateForBasic(long companyId, java.lang.String authType,
323 java.lang.String login, java.lang.String password)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return _userLocalService.authenticateForBasic(companyId, authType,
327 login, password);
328 }
329
330 public long authenticateForDigest(long companyId,
331 java.lang.String username, java.lang.String realm,
332 java.lang.String nonce, java.lang.String method, java.lang.String uri,
333 java.lang.String response)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 return _userLocalService.authenticateForDigest(companyId, username,
337 realm, nonce, method, uri, response);
338 }
339
340 public boolean authenticateForJAAS(long userId, java.lang.String encPassword) {
341 return _userLocalService.authenticateForJAAS(userId, encPassword);
342 }
343
344 public void checkLockout(com.liferay.portal.model.User user)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 _userLocalService.checkLockout(user);
348 }
349
350 public void checkLoginFailure(com.liferay.portal.model.User user)
351 throws com.liferay.portal.kernel.exception.SystemException {
352 _userLocalService.checkLoginFailure(user);
353 }
354
355 public void checkLoginFailureByEmailAddress(long companyId,
356 java.lang.String emailAddress)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _userLocalService.checkLoginFailureByEmailAddress(companyId,
360 emailAddress);
361 }
362
363 public void checkLoginFailureById(long userId)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _userLocalService.checkLoginFailureById(userId);
367 }
368
369 public void checkLoginFailureByScreenName(long companyId,
370 java.lang.String screenName)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _userLocalService.checkLoginFailureByScreenName(companyId, screenName);
374 }
375
376 public void checkPasswordExpired(com.liferay.portal.model.User user)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException {
379 _userLocalService.checkPasswordExpired(user);
380 }
381
382 public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
383 long companyId, java.lang.String name, java.lang.String password)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 return _userLocalService.decryptUserId(companyId, name, password);
387 }
388
389 public void deletePortrait(long userId)
390 throws com.liferay.portal.kernel.exception.PortalException,
391 com.liferay.portal.kernel.exception.SystemException {
392 _userLocalService.deletePortrait(userId);
393 }
394
395 public void deleteRoleUser(long roleId, long userId)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException {
398 _userLocalService.deleteRoleUser(roleId, userId);
399 }
400
401 public java.lang.String encryptUserId(java.lang.String name)
402 throws com.liferay.portal.kernel.exception.PortalException,
403 com.liferay.portal.kernel.exception.SystemException {
404 return _userLocalService.encryptUserId(name);
405 }
406
407 public java.util.List<com.liferay.portal.model.User> getCompanyUsers(
408 long companyId, int start, int end)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 return _userLocalService.getCompanyUsers(companyId, start, end);
411 }
412
413 public int getCompanyUsersCount(long companyId)
414 throws com.liferay.portal.kernel.exception.SystemException {
415 return _userLocalService.getCompanyUsersCount(companyId);
416 }
417
418 public com.liferay.portal.model.User getDefaultUser(long companyId)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 return _userLocalService.getDefaultUser(companyId);
422 }
423
424 public long getDefaultUserId(long companyId)
425 throws com.liferay.portal.kernel.exception.PortalException,
426 com.liferay.portal.kernel.exception.SystemException {
427 return _userLocalService.getDefaultUserId(companyId);
428 }
429
430 public long[] getGroupUserIds(long groupId)
431 throws com.liferay.portal.kernel.exception.SystemException {
432 return _userLocalService.getGroupUserIds(groupId);
433 }
434
435 public java.util.List<com.liferay.portal.model.User> getGroupUsers(
436 long groupId)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 return _userLocalService.getGroupUsers(groupId);
439 }
440
441 public int getGroupUsersCount(long groupId)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 return _userLocalService.getGroupUsersCount(groupId);
444 }
445
446 public int getGroupUsersCount(long groupId, boolean active)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 return _userLocalService.getGroupUsersCount(groupId, active);
450 }
451
452 public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
453 java.lang.String type)
454 throws com.liferay.portal.kernel.exception.SystemException {
455 return _userLocalService.getNoAnnouncementsDeliveries(type);
456 }
457
458 public java.util.List<com.liferay.portal.model.User> getNoContacts()
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _userLocalService.getNoContacts();
461 }
462
463 public java.util.List<com.liferay.portal.model.User> getNoGroups()
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return _userLocalService.getNoGroups();
466 }
467
468 public long[] getOrganizationUserIds(long organizationId)
469 throws com.liferay.portal.kernel.exception.SystemException {
470 return _userLocalService.getOrganizationUserIds(organizationId);
471 }
472
473 public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
474 long organizationId)
475 throws com.liferay.portal.kernel.exception.SystemException {
476 return _userLocalService.getOrganizationUsers(organizationId);
477 }
478
479 public int getOrganizationUsersCount(long organizationId)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _userLocalService.getOrganizationUsersCount(organizationId);
482 }
483
484 public int getOrganizationUsersCount(long organizationId, boolean active)
485 throws com.liferay.portal.kernel.exception.PortalException,
486 com.liferay.portal.kernel.exception.SystemException {
487 return _userLocalService.getOrganizationUsersCount(organizationId,
488 active);
489 }
490
491 public long[] getRoleUserIds(long roleId)
492 throws com.liferay.portal.kernel.exception.SystemException {
493 return _userLocalService.getRoleUserIds(roleId);
494 }
495
496 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
497 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
498 return _userLocalService.getRoleUsers(roleId);
499 }
500
501 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
502 long roleId, int start, int end)
503 throws com.liferay.portal.kernel.exception.SystemException {
504 return _userLocalService.getRoleUsers(roleId, start, end);
505 }
506
507 public int getRoleUsersCount(long roleId)
508 throws com.liferay.portal.kernel.exception.SystemException {
509 return _userLocalService.getRoleUsersCount(roleId);
510 }
511
512 public int getRoleUsersCount(long roleId, boolean active)
513 throws com.liferay.portal.kernel.exception.PortalException,
514 com.liferay.portal.kernel.exception.SystemException {
515 return _userLocalService.getRoleUsersCount(roleId, active);
516 }
517
518 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
519 long userId, int type, int start, int end,
520 com.liferay.portal.kernel.util.OrderByComparator obc)
521 throws com.liferay.portal.kernel.exception.PortalException,
522 com.liferay.portal.kernel.exception.SystemException {
523 return _userLocalService.getSocialUsers(userId, type, start, end, obc);
524 }
525
526 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
527 long userId, int start, int end,
528 com.liferay.portal.kernel.util.OrderByComparator obc)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException {
531 return _userLocalService.getSocialUsers(userId, start, end, obc);
532 }
533
534 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
535 long userId1, long userId2, int type, int start, int end,
536 com.liferay.portal.kernel.util.OrderByComparator obc)
537 throws com.liferay.portal.kernel.exception.PortalException,
538 com.liferay.portal.kernel.exception.SystemException {
539 return _userLocalService.getSocialUsers(userId1, userId2, type, start,
540 end, obc);
541 }
542
543 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
544 long userId1, long userId2, int start, int end,
545 com.liferay.portal.kernel.util.OrderByComparator obc)
546 throws com.liferay.portal.kernel.exception.PortalException,
547 com.liferay.portal.kernel.exception.SystemException {
548 return _userLocalService.getSocialUsers(userId1, userId2, start, end,
549 obc);
550 }
551
552 public int getSocialUsersCount(long userId)
553 throws com.liferay.portal.kernel.exception.PortalException,
554 com.liferay.portal.kernel.exception.SystemException {
555 return _userLocalService.getSocialUsersCount(userId);
556 }
557
558 public int getSocialUsersCount(long userId, int type)
559 throws com.liferay.portal.kernel.exception.PortalException,
560 com.liferay.portal.kernel.exception.SystemException {
561 return _userLocalService.getSocialUsersCount(userId, type);
562 }
563
564 public int getSocialUsersCount(long userId1, long userId2)
565 throws com.liferay.portal.kernel.exception.PortalException,
566 com.liferay.portal.kernel.exception.SystemException {
567 return _userLocalService.getSocialUsersCount(userId1, userId2);
568 }
569
570 public int getSocialUsersCount(long userId1, long userId2, int type)
571 throws com.liferay.portal.kernel.exception.PortalException,
572 com.liferay.portal.kernel.exception.SystemException {
573 return _userLocalService.getSocialUsersCount(userId1, userId2, type);
574 }
575
576 public com.liferay.portal.model.User getUserByContactId(long contactId)
577 throws com.liferay.portal.kernel.exception.PortalException,
578 com.liferay.portal.kernel.exception.SystemException {
579 return _userLocalService.getUserByContactId(contactId);
580 }
581
582 public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
583 java.lang.String emailAddress)
584 throws com.liferay.portal.kernel.exception.PortalException,
585 com.liferay.portal.kernel.exception.SystemException {
586 return _userLocalService.getUserByEmailAddress(companyId, emailAddress);
587 }
588
589 public com.liferay.portal.model.User getUserByFacebookId(long companyId,
590 long facebookId)
591 throws com.liferay.portal.kernel.exception.PortalException,
592 com.liferay.portal.kernel.exception.SystemException {
593 return _userLocalService.getUserByFacebookId(companyId, facebookId);
594 }
595
596 public com.liferay.portal.model.User getUserById(long userId)
597 throws com.liferay.portal.kernel.exception.PortalException,
598 com.liferay.portal.kernel.exception.SystemException {
599 return _userLocalService.getUserById(userId);
600 }
601
602 public com.liferay.portal.model.User getUserById(long companyId, long userId)
603 throws com.liferay.portal.kernel.exception.PortalException,
604 com.liferay.portal.kernel.exception.SystemException {
605 return _userLocalService.getUserById(companyId, userId);
606 }
607
608 public com.liferay.portal.model.User getUserByOpenId(long companyId,
609 java.lang.String openId)
610 throws com.liferay.portal.kernel.exception.PortalException,
611 com.liferay.portal.kernel.exception.SystemException {
612 return _userLocalService.getUserByOpenId(companyId, openId);
613 }
614
615 public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
616 throws com.liferay.portal.kernel.exception.PortalException,
617 com.liferay.portal.kernel.exception.SystemException {
618 return _userLocalService.getUserByPortraitId(portraitId);
619 }
620
621 public com.liferay.portal.model.User getUserByScreenName(long companyId,
622 java.lang.String screenName)
623 throws com.liferay.portal.kernel.exception.PortalException,
624 com.liferay.portal.kernel.exception.SystemException {
625 return _userLocalService.getUserByScreenName(companyId, screenName);
626 }
627
628 public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
629 throws com.liferay.portal.kernel.exception.PortalException,
630 com.liferay.portal.kernel.exception.SystemException {
631 return _userLocalService.getUserByUuid(uuid);
632 }
633
634 public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
635 long userGroupId)
636 throws com.liferay.portal.kernel.exception.SystemException {
637 return _userLocalService.getUserGroupUsers(userGroupId);
638 }
639
640 public int getUserGroupUsersCount(long userGroupId)
641 throws com.liferay.portal.kernel.exception.SystemException {
642 return _userLocalService.getUserGroupUsersCount(userGroupId);
643 }
644
645 public int getUserGroupUsersCount(long userGroupId, boolean active)
646 throws com.liferay.portal.kernel.exception.PortalException,
647 com.liferay.portal.kernel.exception.SystemException {
648 return _userLocalService.getUserGroupUsersCount(userGroupId, active);
649 }
650
651 public long getUserIdByEmailAddress(long companyId,
652 java.lang.String emailAddress)
653 throws com.liferay.portal.kernel.exception.PortalException,
654 com.liferay.portal.kernel.exception.SystemException {
655 return _userLocalService.getUserIdByEmailAddress(companyId, emailAddress);
656 }
657
658 public long getUserIdByScreenName(long companyId,
659 java.lang.String screenName)
660 throws com.liferay.portal.kernel.exception.PortalException,
661 com.liferay.portal.kernel.exception.SystemException {
662 return _userLocalService.getUserIdByScreenName(companyId, screenName);
663 }
664
665 public boolean hasGroupUser(long groupId, long userId)
666 throws com.liferay.portal.kernel.exception.SystemException {
667 return _userLocalService.hasGroupUser(groupId, userId);
668 }
669
670 public boolean hasOrganizationUser(long organizationId, long userId)
671 throws com.liferay.portal.kernel.exception.SystemException {
672 return _userLocalService.hasOrganizationUser(organizationId, userId);
673 }
674
675 public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
676 throws com.liferay.portal.kernel.exception.SystemException {
677 return _userLocalService.hasPasswordPolicyUser(passwordPolicyId, userId);
678 }
679
680 public boolean hasRoleUser(long roleId, long userId)
681 throws com.liferay.portal.kernel.exception.SystemException {
682 return _userLocalService.hasRoleUser(roleId, userId);
683 }
684
685
690 public boolean hasRoleUser(long companyId, java.lang.String name,
691 long userId, boolean inherited)
692 throws com.liferay.portal.kernel.exception.PortalException,
693 com.liferay.portal.kernel.exception.SystemException {
694 return _userLocalService.hasRoleUser(companyId, name, userId, inherited);
695 }
696
697 public boolean hasTeamUser(long teamId, long userId)
698 throws com.liferay.portal.kernel.exception.SystemException {
699 return _userLocalService.hasTeamUser(teamId, userId);
700 }
701
702 public boolean hasUserGroupUser(long userGroupId, long userId)
703 throws com.liferay.portal.kernel.exception.SystemException {
704 return _userLocalService.hasUserGroupUser(userGroupId, userId);
705 }
706
707 public boolean isPasswordExpired(com.liferay.portal.model.User user)
708 throws com.liferay.portal.kernel.exception.PortalException,
709 com.liferay.portal.kernel.exception.SystemException {
710 return _userLocalService.isPasswordExpired(user);
711 }
712
713 public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
714 throws com.liferay.portal.kernel.exception.PortalException,
715 com.liferay.portal.kernel.exception.SystemException {
716 return _userLocalService.isPasswordExpiringSoon(user);
717 }
718
719 public java.util.List<com.liferay.portal.model.User> search(
720 long companyId, java.lang.String keywords, java.lang.Boolean active,
721 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
722 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
723 throws com.liferay.portal.kernel.exception.SystemException {
724 return _userLocalService.search(companyId, keywords, active, params,
725 start, end, obc);
726 }
727
728 public com.liferay.portal.kernel.search.Hits search(long companyId,
729 java.lang.String keywords, java.lang.Boolean active,
730 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
731 int start, int end, com.liferay.portal.kernel.search.Sort sort)
732 throws com.liferay.portal.kernel.exception.SystemException {
733 return _userLocalService.search(companyId, keywords, active, params,
734 start, end, sort);
735 }
736
737 public java.util.List<com.liferay.portal.model.User> search(
738 long companyId, java.lang.String firstName,
739 java.lang.String middleName, java.lang.String lastName,
740 java.lang.String screenName, java.lang.String emailAddress,
741 java.lang.Boolean active,
742 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
743 boolean andSearch, int start, int end,
744 com.liferay.portal.kernel.util.OrderByComparator obc)
745 throws com.liferay.portal.kernel.exception.SystemException {
746 return _userLocalService.search(companyId, firstName, middleName,
747 lastName, screenName, emailAddress, active, params, andSearch,
748 start, end, obc);
749 }
750
751 public com.liferay.portal.kernel.search.Hits search(long companyId,
752 java.lang.String firstName, java.lang.String middleName,
753 java.lang.String lastName, java.lang.String screenName,
754 java.lang.String emailAddress, java.lang.Boolean active,
755 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
756 boolean andSearch, int start, int end,
757 com.liferay.portal.kernel.search.Sort sort)
758 throws com.liferay.portal.kernel.exception.SystemException {
759 return _userLocalService.search(companyId, firstName, middleName,
760 lastName, screenName, emailAddress, active, params, andSearch,
761 start, end, sort);
762 }
763
764 public int searchCount(long companyId, java.lang.String keywords,
765 java.lang.Boolean active,
766 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
767 throws com.liferay.portal.kernel.exception.SystemException {
768 return _userLocalService.searchCount(companyId, keywords, active, params);
769 }
770
771 public int searchCount(long companyId, java.lang.String firstName,
772 java.lang.String middleName, java.lang.String lastName,
773 java.lang.String screenName, java.lang.String emailAddress,
774 java.lang.Boolean active,
775 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
776 boolean andSearch)
777 throws com.liferay.portal.kernel.exception.SystemException {
778 return _userLocalService.searchCount(companyId, firstName, middleName,
779 lastName, screenName, emailAddress, active, params, andSearch);
780 }
781
782 public void sendPassword(long companyId, java.lang.String emailAddress,
783 java.lang.String remoteAddr, java.lang.String remoteHost,
784 java.lang.String userAgent, java.lang.String fromName,
785 java.lang.String fromAddress, java.lang.String subject,
786 java.lang.String body,
787 com.liferay.portal.service.ServiceContext serviceContext)
788 throws com.liferay.portal.kernel.exception.PortalException,
789 com.liferay.portal.kernel.exception.SystemException {
790 _userLocalService.sendPassword(companyId, emailAddress, remoteAddr,
791 remoteHost, userAgent, fromName, fromAddress, subject, body,
792 serviceContext);
793 }
794
795 public void setRoleUsers(long roleId, long[] userIds)
796 throws com.liferay.portal.kernel.exception.PortalException,
797 com.liferay.portal.kernel.exception.SystemException {
798 _userLocalService.setRoleUsers(roleId, userIds);
799 }
800
801 public void setUserGroupUsers(long userGroupId, long[] userIds)
802 throws com.liferay.portal.kernel.exception.PortalException,
803 com.liferay.portal.kernel.exception.SystemException {
804 _userLocalService.setUserGroupUsers(userGroupId, userIds);
805 }
806
807 public void unsetGroupUsers(long groupId, long[] userIds)
808 throws com.liferay.portal.kernel.exception.PortalException,
809 com.liferay.portal.kernel.exception.SystemException {
810 _userLocalService.unsetGroupUsers(groupId, userIds);
811 }
812
813 public void unsetOrganizationUsers(long organizationId, long[] userIds)
814 throws com.liferay.portal.kernel.exception.PortalException,
815 com.liferay.portal.kernel.exception.SystemException {
816 _userLocalService.unsetOrganizationUsers(organizationId, userIds);
817 }
818
819 public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
820 throws com.liferay.portal.kernel.exception.SystemException {
821 _userLocalService.unsetPasswordPolicyUsers(passwordPolicyId, userIds);
822 }
823
824 public void unsetRoleUsers(long roleId,
825 java.util.List<com.liferay.portal.model.User> users)
826 throws com.liferay.portal.kernel.exception.PortalException,
827 com.liferay.portal.kernel.exception.SystemException {
828 _userLocalService.unsetRoleUsers(roleId, users);
829 }
830
831 public void unsetRoleUsers(long roleId, long[] userIds)
832 throws com.liferay.portal.kernel.exception.PortalException,
833 com.liferay.portal.kernel.exception.SystemException {
834 _userLocalService.unsetRoleUsers(roleId, userIds);
835 }
836
837 public void unsetTeamUsers(long teamId, long[] userIds)
838 throws com.liferay.portal.kernel.exception.PortalException,
839 com.liferay.portal.kernel.exception.SystemException {
840 _userLocalService.unsetTeamUsers(teamId, userIds);
841 }
842
843 public void unsetUserGroupUsers(long userGroupId, long[] userIds)
844 throws com.liferay.portal.kernel.exception.PortalException,
845 com.liferay.portal.kernel.exception.SystemException {
846 _userLocalService.unsetUserGroupUsers(userGroupId, userIds);
847 }
848
849 public com.liferay.portal.model.User updateActive(long userId,
850 boolean active)
851 throws com.liferay.portal.kernel.exception.PortalException,
852 com.liferay.portal.kernel.exception.SystemException {
853 return _userLocalService.updateActive(userId, active);
854 }
855
856 public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
857 boolean agreedToTermsOfUse)
858 throws com.liferay.portal.kernel.exception.PortalException,
859 com.liferay.portal.kernel.exception.SystemException {
860 return _userLocalService.updateAgreedToTermsOfUse(userId,
861 agreedToTermsOfUse);
862 }
863
864 public void updateAsset(long userId, com.liferay.portal.model.User user,
865 long[] assetCategoryIds, java.lang.String[] assetTagNames)
866 throws com.liferay.portal.kernel.exception.PortalException,
867 com.liferay.portal.kernel.exception.SystemException {
868 _userLocalService.updateAsset(userId, user, assetCategoryIds,
869 assetTagNames);
870 }
871
872 public com.liferay.portal.model.User updateCreateDate(long userId,
873 java.util.Date createDate)
874 throws com.liferay.portal.kernel.exception.PortalException,
875 com.liferay.portal.kernel.exception.SystemException {
876 return _userLocalService.updateCreateDate(userId, createDate);
877 }
878
879 public com.liferay.portal.model.User updateEmailAddress(long userId,
880 java.lang.String password, java.lang.String emailAddress1,
881 java.lang.String emailAddress2)
882 throws com.liferay.portal.kernel.exception.PortalException,
883 com.liferay.portal.kernel.exception.SystemException {
884 return _userLocalService.updateEmailAddress(userId, password,
885 emailAddress1, emailAddress2);
886 }
887
888 public void updateGroups(long userId, long[] newGroupIds)
889 throws com.liferay.portal.kernel.exception.PortalException,
890 com.liferay.portal.kernel.exception.SystemException {
891 _userLocalService.updateGroups(userId, newGroupIds);
892 }
893
894 public com.liferay.portal.model.User updateLastLogin(long userId,
895 java.lang.String loginIP)
896 throws com.liferay.portal.kernel.exception.PortalException,
897 com.liferay.portal.kernel.exception.SystemException {
898 return _userLocalService.updateLastLogin(userId, loginIP);
899 }
900
901 public com.liferay.portal.model.User updateLockout(
902 com.liferay.portal.model.User user, boolean lockout)
903 throws com.liferay.portal.kernel.exception.PortalException,
904 com.liferay.portal.kernel.exception.SystemException {
905 return _userLocalService.updateLockout(user, lockout);
906 }
907
908 public com.liferay.portal.model.User updateLockoutByEmailAddress(
909 long companyId, java.lang.String emailAddress, boolean lockout)
910 throws com.liferay.portal.kernel.exception.PortalException,
911 com.liferay.portal.kernel.exception.SystemException {
912 return _userLocalService.updateLockoutByEmailAddress(companyId,
913 emailAddress, lockout);
914 }
915
916 public com.liferay.portal.model.User updateLockoutById(long userId,
917 boolean lockout)
918 throws com.liferay.portal.kernel.exception.PortalException,
919 com.liferay.portal.kernel.exception.SystemException {
920 return _userLocalService.updateLockoutById(userId, lockout);
921 }
922
923 public com.liferay.portal.model.User updateLockoutByScreenName(
924 long companyId, java.lang.String screenName, boolean lockout)
925 throws com.liferay.portal.kernel.exception.PortalException,
926 com.liferay.portal.kernel.exception.SystemException {
927 return _userLocalService.updateLockoutByScreenName(companyId,
928 screenName, lockout);
929 }
930
931 public com.liferay.portal.model.User updateModifiedDate(long userId,
932 java.util.Date modifiedDate)
933 throws com.liferay.portal.kernel.exception.PortalException,
934 com.liferay.portal.kernel.exception.SystemException {
935 return _userLocalService.updateModifiedDate(userId, modifiedDate);
936 }
937
938 public void updateOpenId(long userId, java.lang.String openId)
939 throws com.liferay.portal.kernel.exception.PortalException,
940 com.liferay.portal.kernel.exception.SystemException {
941 _userLocalService.updateOpenId(userId, openId);
942 }
943
944 public void updateOrganizations(long userId, long[] newOrganizationIds)
945 throws com.liferay.portal.kernel.exception.PortalException,
946 com.liferay.portal.kernel.exception.SystemException {
947 _userLocalService.updateOrganizations(userId, newOrganizationIds);
948 }
949
950 public com.liferay.portal.model.User updatePassword(long userId,
951 java.lang.String password1, java.lang.String password2,
952 boolean passwordReset)
953 throws com.liferay.portal.kernel.exception.PortalException,
954 com.liferay.portal.kernel.exception.SystemException {
955 return _userLocalService.updatePassword(userId, password1, password2,
956 passwordReset);
957 }
958
959 public com.liferay.portal.model.User updatePassword(long userId,
960 java.lang.String password1, java.lang.String password2,
961 boolean passwordReset, boolean silentUpdate)
962 throws com.liferay.portal.kernel.exception.PortalException,
963 com.liferay.portal.kernel.exception.SystemException {
964 return _userLocalService.updatePassword(userId, password1, password2,
965 passwordReset, silentUpdate);
966 }
967
968 public com.liferay.portal.model.User updatePasswordManually(long userId,
969 java.lang.String password, boolean passwordEncrypted,
970 boolean passwordReset, java.util.Date passwordModifiedDate)
971 throws com.liferay.portal.kernel.exception.PortalException,
972 com.liferay.portal.kernel.exception.SystemException {
973 return _userLocalService.updatePasswordManually(userId, password,
974 passwordEncrypted, passwordReset, passwordModifiedDate);
975 }
976
977 public void updatePasswordReset(long userId, boolean passwordReset)
978 throws com.liferay.portal.kernel.exception.PortalException,
979 com.liferay.portal.kernel.exception.SystemException {
980 _userLocalService.updatePasswordReset(userId, passwordReset);
981 }
982
983 public void updatePortrait(long userId, byte[] bytes)
984 throws com.liferay.portal.kernel.exception.PortalException,
985 com.liferay.portal.kernel.exception.SystemException {
986 _userLocalService.updatePortrait(userId, bytes);
987 }
988
989 public void updateReminderQuery(long userId, java.lang.String question,
990 java.lang.String answer)
991 throws com.liferay.portal.kernel.exception.PortalException,
992 com.liferay.portal.kernel.exception.SystemException {
993 _userLocalService.updateReminderQuery(userId, question, answer);
994 }
995
996 public void updateScreenName(long userId, java.lang.String screenName)
997 throws com.liferay.portal.kernel.exception.PortalException,
998 com.liferay.portal.kernel.exception.SystemException {
999 _userLocalService.updateScreenName(userId, screenName);
1000 }
1001
1002 public com.liferay.portal.model.User updateUser(long userId,
1003 java.lang.String oldPassword, java.lang.String newPassword1,
1004 java.lang.String newPassword2, boolean passwordReset,
1005 java.lang.String reminderQueryQuestion,
1006 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1007 java.lang.String emailAddress, long facebookId,
1008 java.lang.String openId, java.lang.String languageId,
1009 java.lang.String timeZoneId, java.lang.String greeting,
1010 java.lang.String comments, java.lang.String firstName,
1011 java.lang.String middleName, java.lang.String lastName, int prefixId,
1012 int suffixId, boolean male, int birthdayMonth, int birthdayDay,
1013 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1014 java.lang.String facebookSn, java.lang.String icqSn,
1015 java.lang.String jabberSn, java.lang.String msnSn,
1016 java.lang.String mySpaceSn, java.lang.String skypeSn,
1017 java.lang.String twitterSn, java.lang.String ymSn,
1018 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1019 long[] roleIds,
1020 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1021 long[] userGroupIds,
1022 com.liferay.portal.service.ServiceContext serviceContext)
1023 throws com.liferay.portal.kernel.exception.PortalException,
1024 com.liferay.portal.kernel.exception.SystemException {
1025 return _userLocalService.updateUser(userId, oldPassword, newPassword1,
1026 newPassword2, passwordReset, reminderQueryQuestion,
1027 reminderQueryAnswer, screenName, emailAddress, facebookId, openId,
1028 languageId, timeZoneId, greeting, comments, firstName, middleName,
1029 lastName, prefixId, suffixId, male, birthdayMonth, birthdayDay,
1030 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn, msnSn,
1031 mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle, groupIds,
1032 organizationIds, roleIds, userGroupRoles, userGroupIds,
1033 serviceContext);
1034 }
1035
1036 public UserLocalService getWrappedUserLocalService() {
1037 return _userLocalService;
1038 }
1039
1040 private UserLocalService _userLocalService;
1041 }