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