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 java.util.Map<java.lang.String, java.lang.Object> resultsMap)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 return _userLocalService.authenticateByEmailAddress(companyId,
300 emailAddress, password, headerMap, parameterMap, resultsMap);
301 }
302
303 public int authenticateByScreenName(long companyId,
304 java.lang.String screenName, java.lang.String password,
305 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
306 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
307 java.util.Map<java.lang.String, java.lang.Object> resultsMap)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 return _userLocalService.authenticateByScreenName(companyId,
311 screenName, password, headerMap, parameterMap, resultsMap);
312 }
313
314 public int authenticateByUserId(long companyId, long userId,
315 java.lang.String password,
316 java.util.Map<java.lang.String, java.lang.String[]> headerMap,
317 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
318 java.util.Map<java.lang.String, java.lang.Object> resultsMap)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 return _userLocalService.authenticateByUserId(companyId, userId,
322 password, headerMap, parameterMap, resultsMap);
323 }
324
325 public long authenticateForBasic(long companyId, java.lang.String authType,
326 java.lang.String login, java.lang.String password)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 return _userLocalService.authenticateForBasic(companyId, authType,
330 login, password);
331 }
332
333 public long authenticateForDigest(long companyId,
334 java.lang.String username, java.lang.String realm,
335 java.lang.String nonce, java.lang.String method, java.lang.String uri,
336 java.lang.String response)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _userLocalService.authenticateForDigest(companyId, username,
340 realm, nonce, method, uri, response);
341 }
342
343 public boolean authenticateForJAAS(long userId, java.lang.String encPassword) {
344 return _userLocalService.authenticateForJAAS(userId, encPassword);
345 }
346
347 public void checkLockout(com.liferay.portal.model.User user)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException {
350 _userLocalService.checkLockout(user);
351 }
352
353 public void checkLoginFailure(com.liferay.portal.model.User user)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 _userLocalService.checkLoginFailure(user);
356 }
357
358 public void checkLoginFailureByEmailAddress(long companyId,
359 java.lang.String emailAddress)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 _userLocalService.checkLoginFailureByEmailAddress(companyId,
363 emailAddress);
364 }
365
366 public void checkLoginFailureById(long userId)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 _userLocalService.checkLoginFailureById(userId);
370 }
371
372 public void checkLoginFailureByScreenName(long companyId,
373 java.lang.String screenName)
374 throws com.liferay.portal.kernel.exception.PortalException,
375 com.liferay.portal.kernel.exception.SystemException {
376 _userLocalService.checkLoginFailureByScreenName(companyId, screenName);
377 }
378
379 public void checkPasswordExpired(com.liferay.portal.model.User user)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 _userLocalService.checkPasswordExpired(user);
383 }
384
385 public void clearOrganizationUsers(long organizationId)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 _userLocalService.clearOrganizationUsers(organizationId);
388 }
389
390 public void clearUserGroupUsers(long userGroupId)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 _userLocalService.clearUserGroupUsers(userGroupId);
393 }
394
395 public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
396 long companyId, java.lang.String name, java.lang.String password)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 return _userLocalService.decryptUserId(companyId, name, password);
400 }
401
402 public void deletePortrait(long userId)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 _userLocalService.deletePortrait(userId);
406 }
407
408 public void deleteRoleUser(long roleId, long userId)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 _userLocalService.deleteRoleUser(roleId, userId);
412 }
413
414 public java.lang.String encryptUserId(java.lang.String name)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 return _userLocalService.encryptUserId(name);
418 }
419
420 public java.util.List<com.liferay.portal.model.User> getCompanyUsers(
421 long companyId, int start, int end)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return _userLocalService.getCompanyUsers(companyId, start, end);
424 }
425
426 public int getCompanyUsersCount(long companyId)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _userLocalService.getCompanyUsersCount(companyId);
429 }
430
431 public com.liferay.portal.model.User getDefaultUser(long companyId)
432 throws com.liferay.portal.kernel.exception.PortalException,
433 com.liferay.portal.kernel.exception.SystemException {
434 return _userLocalService.getDefaultUser(companyId);
435 }
436
437 public long getDefaultUserId(long companyId)
438 throws com.liferay.portal.kernel.exception.PortalException,
439 com.liferay.portal.kernel.exception.SystemException {
440 return _userLocalService.getDefaultUserId(companyId);
441 }
442
443 public long[] getGroupUserIds(long groupId)
444 throws com.liferay.portal.kernel.exception.SystemException {
445 return _userLocalService.getGroupUserIds(groupId);
446 }
447
448 public java.util.List<com.liferay.portal.model.User> getGroupUsers(
449 long groupId)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 return _userLocalService.getGroupUsers(groupId);
452 }
453
454 public int getGroupUsersCount(long groupId)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return _userLocalService.getGroupUsersCount(groupId);
457 }
458
459 public int getGroupUsersCount(long groupId, boolean active)
460 throws com.liferay.portal.kernel.exception.PortalException,
461 com.liferay.portal.kernel.exception.SystemException {
462 return _userLocalService.getGroupUsersCount(groupId, active);
463 }
464
465 public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
466 java.lang.String type)
467 throws com.liferay.portal.kernel.exception.SystemException {
468 return _userLocalService.getNoAnnouncementsDeliveries(type);
469 }
470
471 public java.util.List<com.liferay.portal.model.User> getNoContacts()
472 throws com.liferay.portal.kernel.exception.SystemException {
473 return _userLocalService.getNoContacts();
474 }
475
476 public java.util.List<com.liferay.portal.model.User> getNoGroups()
477 throws com.liferay.portal.kernel.exception.SystemException {
478 return _userLocalService.getNoGroups();
479 }
480
481 public long[] getOrganizationUserIds(long organizationId)
482 throws com.liferay.portal.kernel.exception.SystemException {
483 return _userLocalService.getOrganizationUserIds(organizationId);
484 }
485
486 public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
487 long organizationId)
488 throws com.liferay.portal.kernel.exception.SystemException {
489 return _userLocalService.getOrganizationUsers(organizationId);
490 }
491
492 public int getOrganizationUsersCount(long organizationId)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 return _userLocalService.getOrganizationUsersCount(organizationId);
495 }
496
497 public int getOrganizationUsersCount(long organizationId, boolean active)
498 throws com.liferay.portal.kernel.exception.PortalException,
499 com.liferay.portal.kernel.exception.SystemException {
500 return _userLocalService.getOrganizationUsersCount(organizationId,
501 active);
502 }
503
504 public long[] getRoleUserIds(long roleId)
505 throws com.liferay.portal.kernel.exception.SystemException {
506 return _userLocalService.getRoleUserIds(roleId);
507 }
508
509 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
510 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
511 return _userLocalService.getRoleUsers(roleId);
512 }
513
514 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
515 long roleId, int start, int end)
516 throws com.liferay.portal.kernel.exception.SystemException {
517 return _userLocalService.getRoleUsers(roleId, start, end);
518 }
519
520 public int getRoleUsersCount(long roleId)
521 throws com.liferay.portal.kernel.exception.SystemException {
522 return _userLocalService.getRoleUsersCount(roleId);
523 }
524
525 public int getRoleUsersCount(long roleId, boolean active)
526 throws com.liferay.portal.kernel.exception.PortalException,
527 com.liferay.portal.kernel.exception.SystemException {
528 return _userLocalService.getRoleUsersCount(roleId, active);
529 }
530
531 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
532 long userId, int type, int start, int end,
533 com.liferay.portal.kernel.util.OrderByComparator obc)
534 throws com.liferay.portal.kernel.exception.PortalException,
535 com.liferay.portal.kernel.exception.SystemException {
536 return _userLocalService.getSocialUsers(userId, type, start, end, obc);
537 }
538
539 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
540 long userId, int start, int end,
541 com.liferay.portal.kernel.util.OrderByComparator obc)
542 throws com.liferay.portal.kernel.exception.PortalException,
543 com.liferay.portal.kernel.exception.SystemException {
544 return _userLocalService.getSocialUsers(userId, start, end, obc);
545 }
546
547 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
548 long userId1, long userId2, int type, int start, int end,
549 com.liferay.portal.kernel.util.OrderByComparator obc)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 return _userLocalService.getSocialUsers(userId1, userId2, type, start,
553 end, obc);
554 }
555
556 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
557 long userId1, long userId2, int start, int end,
558 com.liferay.portal.kernel.util.OrderByComparator obc)
559 throws com.liferay.portal.kernel.exception.PortalException,
560 com.liferay.portal.kernel.exception.SystemException {
561 return _userLocalService.getSocialUsers(userId1, userId2, start, end,
562 obc);
563 }
564
565 public int getSocialUsersCount(long userId)
566 throws com.liferay.portal.kernel.exception.PortalException,
567 com.liferay.portal.kernel.exception.SystemException {
568 return _userLocalService.getSocialUsersCount(userId);
569 }
570
571 public int getSocialUsersCount(long userId, int type)
572 throws com.liferay.portal.kernel.exception.PortalException,
573 com.liferay.portal.kernel.exception.SystemException {
574 return _userLocalService.getSocialUsersCount(userId, type);
575 }
576
577 public int getSocialUsersCount(long userId1, long userId2)
578 throws com.liferay.portal.kernel.exception.PortalException,
579 com.liferay.portal.kernel.exception.SystemException {
580 return _userLocalService.getSocialUsersCount(userId1, userId2);
581 }
582
583 public int getSocialUsersCount(long userId1, long userId2, int type)
584 throws com.liferay.portal.kernel.exception.PortalException,
585 com.liferay.portal.kernel.exception.SystemException {
586 return _userLocalService.getSocialUsersCount(userId1, userId2, type);
587 }
588
589 public com.liferay.portal.model.User getUserByContactId(long contactId)
590 throws com.liferay.portal.kernel.exception.PortalException,
591 com.liferay.portal.kernel.exception.SystemException {
592 return _userLocalService.getUserByContactId(contactId);
593 }
594
595 public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
596 java.lang.String emailAddress)
597 throws com.liferay.portal.kernel.exception.PortalException,
598 com.liferay.portal.kernel.exception.SystemException {
599 return _userLocalService.getUserByEmailAddress(companyId, emailAddress);
600 }
601
602 public com.liferay.portal.model.User getUserByFacebookId(long companyId,
603 long facebookId)
604 throws com.liferay.portal.kernel.exception.PortalException,
605 com.liferay.portal.kernel.exception.SystemException {
606 return _userLocalService.getUserByFacebookId(companyId, facebookId);
607 }
608
609 public com.liferay.portal.model.User getUserById(long userId)
610 throws com.liferay.portal.kernel.exception.PortalException,
611 com.liferay.portal.kernel.exception.SystemException {
612 return _userLocalService.getUserById(userId);
613 }
614
615 public com.liferay.portal.model.User getUserById(long companyId, long userId)
616 throws com.liferay.portal.kernel.exception.PortalException,
617 com.liferay.portal.kernel.exception.SystemException {
618 return _userLocalService.getUserById(companyId, userId);
619 }
620
621 public com.liferay.portal.model.User getUserByOpenId(long companyId,
622 java.lang.String openId)
623 throws com.liferay.portal.kernel.exception.PortalException,
624 com.liferay.portal.kernel.exception.SystemException {
625 return _userLocalService.getUserByOpenId(companyId, openId);
626 }
627
628 public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
629 throws com.liferay.portal.kernel.exception.PortalException,
630 com.liferay.portal.kernel.exception.SystemException {
631 return _userLocalService.getUserByPortraitId(portraitId);
632 }
633
634 public com.liferay.portal.model.User getUserByScreenName(long companyId,
635 java.lang.String screenName)
636 throws com.liferay.portal.kernel.exception.PortalException,
637 com.liferay.portal.kernel.exception.SystemException {
638 return _userLocalService.getUserByScreenName(companyId, screenName);
639 }
640
641 public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
642 throws com.liferay.portal.kernel.exception.PortalException,
643 com.liferay.portal.kernel.exception.SystemException {
644 return _userLocalService.getUserByUuid(uuid);
645 }
646
647 public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
648 long userGroupId)
649 throws com.liferay.portal.kernel.exception.SystemException {
650 return _userLocalService.getUserGroupUsers(userGroupId);
651 }
652
653 public int getUserGroupUsersCount(long userGroupId)
654 throws com.liferay.portal.kernel.exception.SystemException {
655 return _userLocalService.getUserGroupUsersCount(userGroupId);
656 }
657
658 public int getUserGroupUsersCount(long userGroupId, boolean active)
659 throws com.liferay.portal.kernel.exception.PortalException,
660 com.liferay.portal.kernel.exception.SystemException {
661 return _userLocalService.getUserGroupUsersCount(userGroupId, active);
662 }
663
664 public long getUserIdByEmailAddress(long companyId,
665 java.lang.String emailAddress)
666 throws com.liferay.portal.kernel.exception.PortalException,
667 com.liferay.portal.kernel.exception.SystemException {
668 return _userLocalService.getUserIdByEmailAddress(companyId, emailAddress);
669 }
670
671 public long getUserIdByScreenName(long companyId,
672 java.lang.String screenName)
673 throws com.liferay.portal.kernel.exception.PortalException,
674 com.liferay.portal.kernel.exception.SystemException {
675 return _userLocalService.getUserIdByScreenName(companyId, screenName);
676 }
677
678 public boolean hasGroupUser(long groupId, long userId)
679 throws com.liferay.portal.kernel.exception.SystemException {
680 return _userLocalService.hasGroupUser(groupId, userId);
681 }
682
683 public boolean hasOrganizationUser(long organizationId, long userId)
684 throws com.liferay.portal.kernel.exception.SystemException {
685 return _userLocalService.hasOrganizationUser(organizationId, userId);
686 }
687
688 public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
689 throws com.liferay.portal.kernel.exception.SystemException {
690 return _userLocalService.hasPasswordPolicyUser(passwordPolicyId, userId);
691 }
692
693 public boolean hasRoleUser(long roleId, long userId)
694 throws com.liferay.portal.kernel.exception.SystemException {
695 return _userLocalService.hasRoleUser(roleId, userId);
696 }
697
698
703 public boolean hasRoleUser(long companyId, java.lang.String name,
704 long userId, boolean inherited)
705 throws com.liferay.portal.kernel.exception.PortalException,
706 com.liferay.portal.kernel.exception.SystemException {
707 return _userLocalService.hasRoleUser(companyId, name, userId, inherited);
708 }
709
710 public boolean hasTeamUser(long teamId, long userId)
711 throws com.liferay.portal.kernel.exception.SystemException {
712 return _userLocalService.hasTeamUser(teamId, userId);
713 }
714
715 public boolean hasUserGroupUser(long userGroupId, long userId)
716 throws com.liferay.portal.kernel.exception.SystemException {
717 return _userLocalService.hasUserGroupUser(userGroupId, userId);
718 }
719
720 public boolean isPasswordExpired(com.liferay.portal.model.User user)
721 throws com.liferay.portal.kernel.exception.PortalException,
722 com.liferay.portal.kernel.exception.SystemException {
723 return _userLocalService.isPasswordExpired(user);
724 }
725
726 public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
727 throws com.liferay.portal.kernel.exception.PortalException,
728 com.liferay.portal.kernel.exception.SystemException {
729 return _userLocalService.isPasswordExpiringSoon(user);
730 }
731
732 public java.util.List<com.liferay.portal.model.User> search(
733 long companyId, java.lang.String keywords, java.lang.Boolean active,
734 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
735 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
736 throws com.liferay.portal.kernel.exception.SystemException {
737 return _userLocalService.search(companyId, keywords, active, params,
738 start, end, obc);
739 }
740
741 public com.liferay.portal.kernel.search.Hits search(long companyId,
742 java.lang.String keywords, java.lang.Boolean active,
743 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
744 int start, int end, com.liferay.portal.kernel.search.Sort sort)
745 throws com.liferay.portal.kernel.exception.SystemException {
746 return _userLocalService.search(companyId, keywords, active, params,
747 start, end, sort);
748 }
749
750 public java.util.List<com.liferay.portal.model.User> search(
751 long companyId, java.lang.String firstName,
752 java.lang.String middleName, java.lang.String lastName,
753 java.lang.String screenName, java.lang.String emailAddress,
754 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.util.OrderByComparator obc)
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, obc);
762 }
763
764 public com.liferay.portal.kernel.search.Hits search(long companyId,
765 java.lang.String firstName, java.lang.String middleName,
766 java.lang.String lastName, java.lang.String screenName,
767 java.lang.String emailAddress, java.lang.Boolean active,
768 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
769 boolean andSearch, int start, int end,
770 com.liferay.portal.kernel.search.Sort sort)
771 throws com.liferay.portal.kernel.exception.SystemException {
772 return _userLocalService.search(companyId, firstName, middleName,
773 lastName, screenName, emailAddress, active, params, andSearch,
774 start, end, sort);
775 }
776
777 public int searchCount(long companyId, java.lang.String keywords,
778 java.lang.Boolean active,
779 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
780 throws com.liferay.portal.kernel.exception.SystemException {
781 return _userLocalService.searchCount(companyId, keywords, active, params);
782 }
783
784 public int searchCount(long companyId, java.lang.String firstName,
785 java.lang.String middleName, java.lang.String lastName,
786 java.lang.String screenName, java.lang.String emailAddress,
787 java.lang.Boolean active,
788 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
789 boolean andSearch)
790 throws com.liferay.portal.kernel.exception.SystemException {
791 return _userLocalService.searchCount(companyId, firstName, middleName,
792 lastName, screenName, emailAddress, active, params, andSearch);
793 }
794
795 public void sendPassword(long companyId, java.lang.String emailAddress,
796 java.lang.String remoteAddr, java.lang.String remoteHost,
797 java.lang.String userAgent, java.lang.String fromName,
798 java.lang.String fromAddress, java.lang.String subject,
799 java.lang.String body,
800 com.liferay.portal.service.ServiceContext serviceContext)
801 throws com.liferay.portal.kernel.exception.PortalException,
802 com.liferay.portal.kernel.exception.SystemException {
803 _userLocalService.sendPassword(companyId, emailAddress, remoteAddr,
804 remoteHost, userAgent, fromName, fromAddress, subject, body,
805 serviceContext);
806 }
807
808 public void setRoleUsers(long roleId, long[] userIds)
809 throws com.liferay.portal.kernel.exception.PortalException,
810 com.liferay.portal.kernel.exception.SystemException {
811 _userLocalService.setRoleUsers(roleId, userIds);
812 }
813
814 public void setUserGroupUsers(long userGroupId, long[] userIds)
815 throws com.liferay.portal.kernel.exception.PortalException,
816 com.liferay.portal.kernel.exception.SystemException {
817 _userLocalService.setUserGroupUsers(userGroupId, userIds);
818 }
819
820 public void unsetGroupUsers(long groupId, long[] userIds)
821 throws com.liferay.portal.kernel.exception.PortalException,
822 com.liferay.portal.kernel.exception.SystemException {
823 _userLocalService.unsetGroupUsers(groupId, userIds);
824 }
825
826 public void unsetOrganizationUsers(long organizationId, long[] userIds)
827 throws com.liferay.portal.kernel.exception.PortalException,
828 com.liferay.portal.kernel.exception.SystemException {
829 _userLocalService.unsetOrganizationUsers(organizationId, userIds);
830 }
831
832 public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
833 throws com.liferay.portal.kernel.exception.SystemException {
834 _userLocalService.unsetPasswordPolicyUsers(passwordPolicyId, userIds);
835 }
836
837 public void unsetRoleUsers(long roleId,
838 java.util.List<com.liferay.portal.model.User> users)
839 throws com.liferay.portal.kernel.exception.PortalException,
840 com.liferay.portal.kernel.exception.SystemException {
841 _userLocalService.unsetRoleUsers(roleId, users);
842 }
843
844 public void unsetRoleUsers(long roleId, long[] userIds)
845 throws com.liferay.portal.kernel.exception.PortalException,
846 com.liferay.portal.kernel.exception.SystemException {
847 _userLocalService.unsetRoleUsers(roleId, userIds);
848 }
849
850 public void unsetTeamUsers(long teamId, long[] userIds)
851 throws com.liferay.portal.kernel.exception.PortalException,
852 com.liferay.portal.kernel.exception.SystemException {
853 _userLocalService.unsetTeamUsers(teamId, userIds);
854 }
855
856 public void unsetUserGroupUsers(long userGroupId, long[] userIds)
857 throws com.liferay.portal.kernel.exception.PortalException,
858 com.liferay.portal.kernel.exception.SystemException {
859 _userLocalService.unsetUserGroupUsers(userGroupId, userIds);
860 }
861
862 public com.liferay.portal.model.User updateActive(long userId,
863 boolean active)
864 throws com.liferay.portal.kernel.exception.PortalException,
865 com.liferay.portal.kernel.exception.SystemException {
866 return _userLocalService.updateActive(userId, active);
867 }
868
869 public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
870 boolean agreedToTermsOfUse)
871 throws com.liferay.portal.kernel.exception.PortalException,
872 com.liferay.portal.kernel.exception.SystemException {
873 return _userLocalService.updateAgreedToTermsOfUse(userId,
874 agreedToTermsOfUse);
875 }
876
877 public void updateAsset(long userId, com.liferay.portal.model.User user,
878 long[] assetCategoryIds, java.lang.String[] assetTagNames)
879 throws com.liferay.portal.kernel.exception.PortalException,
880 com.liferay.portal.kernel.exception.SystemException {
881 _userLocalService.updateAsset(userId, user, assetCategoryIds,
882 assetTagNames);
883 }
884
885 public com.liferay.portal.model.User updateCreateDate(long userId,
886 java.util.Date createDate)
887 throws com.liferay.portal.kernel.exception.PortalException,
888 com.liferay.portal.kernel.exception.SystemException {
889 return _userLocalService.updateCreateDate(userId, createDate);
890 }
891
892 public com.liferay.portal.model.User updateEmailAddress(long userId,
893 java.lang.String password, java.lang.String emailAddress1,
894 java.lang.String emailAddress2)
895 throws com.liferay.portal.kernel.exception.PortalException,
896 com.liferay.portal.kernel.exception.SystemException {
897 return _userLocalService.updateEmailAddress(userId, password,
898 emailAddress1, emailAddress2);
899 }
900
901 public void updateGroups(long userId, long[] newGroupIds)
902 throws com.liferay.portal.kernel.exception.PortalException,
903 com.liferay.portal.kernel.exception.SystemException {
904 _userLocalService.updateGroups(userId, newGroupIds);
905 }
906
907 public com.liferay.portal.model.User updateLastLogin(long userId,
908 java.lang.String loginIP)
909 throws com.liferay.portal.kernel.exception.PortalException,
910 com.liferay.portal.kernel.exception.SystemException {
911 return _userLocalService.updateLastLogin(userId, loginIP);
912 }
913
914 public com.liferay.portal.model.User updateLockout(
915 com.liferay.portal.model.User user, boolean lockout)
916 throws com.liferay.portal.kernel.exception.PortalException,
917 com.liferay.portal.kernel.exception.SystemException {
918 return _userLocalService.updateLockout(user, lockout);
919 }
920
921 public com.liferay.portal.model.User updateLockoutByEmailAddress(
922 long companyId, java.lang.String emailAddress, boolean lockout)
923 throws com.liferay.portal.kernel.exception.PortalException,
924 com.liferay.portal.kernel.exception.SystemException {
925 return _userLocalService.updateLockoutByEmailAddress(companyId,
926 emailAddress, lockout);
927 }
928
929 public com.liferay.portal.model.User updateLockoutById(long userId,
930 boolean lockout)
931 throws com.liferay.portal.kernel.exception.PortalException,
932 com.liferay.portal.kernel.exception.SystemException {
933 return _userLocalService.updateLockoutById(userId, lockout);
934 }
935
936 public com.liferay.portal.model.User updateLockoutByScreenName(
937 long companyId, java.lang.String screenName, boolean lockout)
938 throws com.liferay.portal.kernel.exception.PortalException,
939 com.liferay.portal.kernel.exception.SystemException {
940 return _userLocalService.updateLockoutByScreenName(companyId,
941 screenName, lockout);
942 }
943
944 public com.liferay.portal.model.User updateModifiedDate(long userId,
945 java.util.Date modifiedDate)
946 throws com.liferay.portal.kernel.exception.PortalException,
947 com.liferay.portal.kernel.exception.SystemException {
948 return _userLocalService.updateModifiedDate(userId, modifiedDate);
949 }
950
951 public void updateOpenId(long userId, java.lang.String openId)
952 throws com.liferay.portal.kernel.exception.PortalException,
953 com.liferay.portal.kernel.exception.SystemException {
954 _userLocalService.updateOpenId(userId, openId);
955 }
956
957 public void updateOrganizations(long userId, long[] newOrganizationIds)
958 throws com.liferay.portal.kernel.exception.PortalException,
959 com.liferay.portal.kernel.exception.SystemException {
960 _userLocalService.updateOrganizations(userId, newOrganizationIds);
961 }
962
963 public com.liferay.portal.model.User updatePassword(long userId,
964 java.lang.String password1, java.lang.String password2,
965 boolean passwordReset)
966 throws com.liferay.portal.kernel.exception.PortalException,
967 com.liferay.portal.kernel.exception.SystemException {
968 return _userLocalService.updatePassword(userId, password1, password2,
969 passwordReset);
970 }
971
972 public com.liferay.portal.model.User updatePassword(long userId,
973 java.lang.String password1, java.lang.String password2,
974 boolean passwordReset, boolean silentUpdate)
975 throws com.liferay.portal.kernel.exception.PortalException,
976 com.liferay.portal.kernel.exception.SystemException {
977 return _userLocalService.updatePassword(userId, password1, password2,
978 passwordReset, silentUpdate);
979 }
980
981 public com.liferay.portal.model.User updatePasswordManually(long userId,
982 java.lang.String password, boolean passwordEncrypted,
983 boolean passwordReset, java.util.Date passwordModifiedDate)
984 throws com.liferay.portal.kernel.exception.PortalException,
985 com.liferay.portal.kernel.exception.SystemException {
986 return _userLocalService.updatePasswordManually(userId, password,
987 passwordEncrypted, passwordReset, passwordModifiedDate);
988 }
989
990 public void updatePasswordReset(long userId, boolean passwordReset)
991 throws com.liferay.portal.kernel.exception.PortalException,
992 com.liferay.portal.kernel.exception.SystemException {
993 _userLocalService.updatePasswordReset(userId, passwordReset);
994 }
995
996 public void updatePortrait(long userId, byte[] bytes)
997 throws com.liferay.portal.kernel.exception.PortalException,
998 com.liferay.portal.kernel.exception.SystemException {
999 _userLocalService.updatePortrait(userId, bytes);
1000 }
1001
1002 public void updateReminderQuery(long userId, java.lang.String question,
1003 java.lang.String answer)
1004 throws com.liferay.portal.kernel.exception.PortalException,
1005 com.liferay.portal.kernel.exception.SystemException {
1006 _userLocalService.updateReminderQuery(userId, question, answer);
1007 }
1008
1009 public void updateScreenName(long userId, java.lang.String screenName)
1010 throws com.liferay.portal.kernel.exception.PortalException,
1011 com.liferay.portal.kernel.exception.SystemException {
1012 _userLocalService.updateScreenName(userId, screenName);
1013 }
1014
1015 public com.liferay.portal.model.User updateUser(long userId,
1016 java.lang.String oldPassword, java.lang.String newPassword1,
1017 java.lang.String newPassword2, boolean passwordReset,
1018 java.lang.String reminderQueryQuestion,
1019 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1020 java.lang.String emailAddress, long facebookId,
1021 java.lang.String openId, java.lang.String languageId,
1022 java.lang.String timeZoneId, java.lang.String greeting,
1023 java.lang.String comments, java.lang.String firstName,
1024 java.lang.String middleName, java.lang.String lastName, int prefixId,
1025 int suffixId, boolean male, int birthdayMonth, int birthdayDay,
1026 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1027 java.lang.String facebookSn, java.lang.String icqSn,
1028 java.lang.String jabberSn, java.lang.String msnSn,
1029 java.lang.String mySpaceSn, java.lang.String skypeSn,
1030 java.lang.String twitterSn, java.lang.String ymSn,
1031 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1032 long[] roleIds,
1033 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1034 long[] userGroupIds,
1035 com.liferay.portal.service.ServiceContext serviceContext)
1036 throws com.liferay.portal.kernel.exception.PortalException,
1037 com.liferay.portal.kernel.exception.SystemException {
1038 return _userLocalService.updateUser(userId, oldPassword, newPassword1,
1039 newPassword2, passwordReset, reminderQueryQuestion,
1040 reminderQueryAnswer, screenName, emailAddress, facebookId, openId,
1041 languageId, timeZoneId, greeting, comments, firstName, middleName,
1042 lastName, prefixId, suffixId, male, birthdayMonth, birthdayDay,
1043 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn, msnSn,
1044 mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle, groupIds,
1045 organizationIds, roleIds, userGroupRoles, userGroupIds,
1046 serviceContext);
1047 }
1048
1049 public UserLocalService getWrappedUserLocalService() {
1050 return _userLocalService;
1051 }
1052
1053 private UserLocalService _userLocalService;
1054 }