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