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