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