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