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