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