001
014
015 package com.liferay.portal.service.http;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.log.Log;
020 import com.liferay.portal.kernel.log.LogFactoryUtil;
021 import com.liferay.portal.kernel.util.MethodHandler;
022 import com.liferay.portal.kernel.util.MethodKey;
023 import com.liferay.portal.security.auth.HttpPrincipal;
024 import com.liferay.portal.service.UserServiceUtil;
025
026
054 @ProviderType
055 public class UserServiceHttp {
056 public static void addGroupUsers(HttpPrincipal httpPrincipal, long groupId,
057 long[] userIds, com.liferay.portal.service.ServiceContext serviceContext)
058 throws com.liferay.portal.kernel.exception.PortalException {
059 try {
060 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
061 "addGroupUsers", _addGroupUsersParameterTypes0);
062
063 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
064 userIds, serviceContext);
065
066 try {
067 TunnelUtil.invoke(httpPrincipal, methodHandler);
068 }
069 catch (Exception e) {
070 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
071 throw (com.liferay.portal.kernel.exception.PortalException)e;
072 }
073
074 throw new com.liferay.portal.kernel.exception.SystemException(e);
075 }
076 }
077 catch (com.liferay.portal.kernel.exception.SystemException se) {
078 _log.error(se, se);
079
080 throw se;
081 }
082 }
083
084 public static void addOrganizationUsers(HttpPrincipal httpPrincipal,
085 long organizationId, long[] userIds)
086 throws com.liferay.portal.kernel.exception.PortalException {
087 try {
088 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
089 "addOrganizationUsers", _addOrganizationUsersParameterTypes1);
090
091 MethodHandler methodHandler = new MethodHandler(methodKey,
092 organizationId, userIds);
093
094 try {
095 TunnelUtil.invoke(httpPrincipal, methodHandler);
096 }
097 catch (Exception e) {
098 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
099 throw (com.liferay.portal.kernel.exception.PortalException)e;
100 }
101
102 throw new com.liferay.portal.kernel.exception.SystemException(e);
103 }
104 }
105 catch (com.liferay.portal.kernel.exception.SystemException se) {
106 _log.error(se, se);
107
108 throw se;
109 }
110 }
111
112 public static void addPasswordPolicyUsers(HttpPrincipal httpPrincipal,
113 long passwordPolicyId, long[] userIds)
114 throws com.liferay.portal.kernel.exception.PortalException {
115 try {
116 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
117 "addPasswordPolicyUsers",
118 _addPasswordPolicyUsersParameterTypes2);
119
120 MethodHandler methodHandler = new MethodHandler(methodKey,
121 passwordPolicyId, userIds);
122
123 try {
124 TunnelUtil.invoke(httpPrincipal, methodHandler);
125 }
126 catch (Exception e) {
127 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
128 throw (com.liferay.portal.kernel.exception.PortalException)e;
129 }
130
131 throw new com.liferay.portal.kernel.exception.SystemException(e);
132 }
133 }
134 catch (com.liferay.portal.kernel.exception.SystemException se) {
135 _log.error(se, se);
136
137 throw se;
138 }
139 }
140
141 public static void addRoleUsers(HttpPrincipal httpPrincipal, long roleId,
142 long[] userIds)
143 throws com.liferay.portal.kernel.exception.PortalException {
144 try {
145 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
146 "addRoleUsers", _addRoleUsersParameterTypes3);
147
148 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
149 userIds);
150
151 try {
152 TunnelUtil.invoke(httpPrincipal, methodHandler);
153 }
154 catch (Exception e) {
155 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
156 throw (com.liferay.portal.kernel.exception.PortalException)e;
157 }
158
159 throw new com.liferay.portal.kernel.exception.SystemException(e);
160 }
161 }
162 catch (com.liferay.portal.kernel.exception.SystemException se) {
163 _log.error(se, se);
164
165 throw se;
166 }
167 }
168
169 public static void addTeamUsers(HttpPrincipal httpPrincipal, long teamId,
170 long[] userIds)
171 throws com.liferay.portal.kernel.exception.PortalException {
172 try {
173 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
174 "addTeamUsers", _addTeamUsersParameterTypes4);
175
176 MethodHandler methodHandler = new MethodHandler(methodKey, teamId,
177 userIds);
178
179 try {
180 TunnelUtil.invoke(httpPrincipal, methodHandler);
181 }
182 catch (Exception e) {
183 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
184 throw (com.liferay.portal.kernel.exception.PortalException)e;
185 }
186
187 throw new com.liferay.portal.kernel.exception.SystemException(e);
188 }
189 }
190 catch (com.liferay.portal.kernel.exception.SystemException se) {
191 _log.error(se, se);
192
193 throw se;
194 }
195 }
196
197 public static com.liferay.portal.model.User addUser(
198 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
199 java.lang.String password1, java.lang.String password2,
200 boolean autoScreenName, java.lang.String screenName,
201 java.lang.String emailAddress, long facebookId,
202 java.lang.String openId, java.util.Locale locale,
203 java.lang.String firstName, java.lang.String middleName,
204 java.lang.String lastName, long prefixId, long suffixId, boolean male,
205 int birthdayMonth, int birthdayDay, int birthdayYear,
206 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
207 long[] roleIds, long[] userGroupIds, boolean sendEmail,
208 com.liferay.portal.service.ServiceContext serviceContext)
209 throws com.liferay.portal.kernel.exception.PortalException {
210 try {
211 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
212 "addUser", _addUserParameterTypes5);
213
214 MethodHandler methodHandler = new MethodHandler(methodKey,
215 companyId, autoPassword, password1, password2,
216 autoScreenName, screenName, emailAddress, facebookId,
217 openId, locale, firstName, middleName, lastName, prefixId,
218 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
219 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
220 sendEmail, serviceContext);
221
222 Object returnObj = null;
223
224 try {
225 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
226 }
227 catch (Exception e) {
228 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
229 throw (com.liferay.portal.kernel.exception.PortalException)e;
230 }
231
232 throw new com.liferay.portal.kernel.exception.SystemException(e);
233 }
234
235 return (com.liferay.portal.model.User)returnObj;
236 }
237 catch (com.liferay.portal.kernel.exception.SystemException se) {
238 _log.error(se, se);
239
240 throw se;
241 }
242 }
243
244 public static com.liferay.portal.model.User addUser(
245 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
246 java.lang.String password1, java.lang.String password2,
247 boolean autoScreenName, java.lang.String screenName,
248 java.lang.String emailAddress, long facebookId,
249 java.lang.String openId, java.util.Locale locale,
250 java.lang.String firstName, java.lang.String middleName,
251 java.lang.String lastName, long prefixId, long suffixId, boolean male,
252 int birthdayMonth, int birthdayDay, int birthdayYear,
253 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
254 long[] roleIds, long[] userGroupIds,
255 java.util.List<com.liferay.portal.model.Address> addresses,
256 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
257 java.util.List<com.liferay.portal.model.Phone> phones,
258 java.util.List<com.liferay.portal.model.Website> websites,
259 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
260 boolean sendEmail,
261 com.liferay.portal.service.ServiceContext serviceContext)
262 throws com.liferay.portal.kernel.exception.PortalException {
263 try {
264 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
265 "addUser", _addUserParameterTypes6);
266
267 MethodHandler methodHandler = new MethodHandler(methodKey,
268 companyId, autoPassword, password1, password2,
269 autoScreenName, screenName, emailAddress, facebookId,
270 openId, locale, firstName, middleName, lastName, prefixId,
271 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
272 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
273 addresses, emailAddresses, phones, websites,
274 announcementsDelivers, sendEmail, serviceContext);
275
276 Object returnObj = null;
277
278 try {
279 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
280 }
281 catch (Exception e) {
282 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
283 throw (com.liferay.portal.kernel.exception.PortalException)e;
284 }
285
286 throw new com.liferay.portal.kernel.exception.SystemException(e);
287 }
288
289 return (com.liferay.portal.model.User)returnObj;
290 }
291 catch (com.liferay.portal.kernel.exception.SystemException se) {
292 _log.error(se, se);
293
294 throw se;
295 }
296 }
297
298 public static void addUserGroupUsers(HttpPrincipal httpPrincipal,
299 long userGroupId, long[] userIds)
300 throws com.liferay.portal.kernel.exception.PortalException {
301 try {
302 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
303 "addUserGroupUsers", _addUserGroupUsersParameterTypes7);
304
305 MethodHandler methodHandler = new MethodHandler(methodKey,
306 userGroupId, userIds);
307
308 try {
309 TunnelUtil.invoke(httpPrincipal, methodHandler);
310 }
311 catch (Exception e) {
312 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
313 throw (com.liferay.portal.kernel.exception.PortalException)e;
314 }
315
316 throw new com.liferay.portal.kernel.exception.SystemException(e);
317 }
318 }
319 catch (com.liferay.portal.kernel.exception.SystemException se) {
320 _log.error(se, se);
321
322 throw se;
323 }
324 }
325
326 public static com.liferay.portal.model.User addUserWithWorkflow(
327 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
328 java.lang.String password1, java.lang.String password2,
329 boolean autoScreenName, java.lang.String screenName,
330 java.lang.String emailAddress, long facebookId,
331 java.lang.String openId, java.util.Locale locale,
332 java.lang.String firstName, java.lang.String middleName,
333 java.lang.String lastName, long prefixId, long suffixId, boolean male,
334 int birthdayMonth, int birthdayDay, int birthdayYear,
335 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
336 long[] roleIds, long[] userGroupIds, boolean sendEmail,
337 com.liferay.portal.service.ServiceContext serviceContext)
338 throws com.liferay.portal.kernel.exception.PortalException {
339 try {
340 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
341 "addUserWithWorkflow", _addUserWithWorkflowParameterTypes8);
342
343 MethodHandler methodHandler = new MethodHandler(methodKey,
344 companyId, autoPassword, password1, password2,
345 autoScreenName, screenName, emailAddress, facebookId,
346 openId, locale, firstName, middleName, lastName, prefixId,
347 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
348 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
349 sendEmail, serviceContext);
350
351 Object returnObj = null;
352
353 try {
354 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
355 }
356 catch (Exception e) {
357 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
358 throw (com.liferay.portal.kernel.exception.PortalException)e;
359 }
360
361 throw new com.liferay.portal.kernel.exception.SystemException(e);
362 }
363
364 return (com.liferay.portal.model.User)returnObj;
365 }
366 catch (com.liferay.portal.kernel.exception.SystemException se) {
367 _log.error(se, se);
368
369 throw se;
370 }
371 }
372
373 public static com.liferay.portal.model.User addUserWithWorkflow(
374 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
375 java.lang.String password1, java.lang.String password2,
376 boolean autoScreenName, java.lang.String screenName,
377 java.lang.String emailAddress, long facebookId,
378 java.lang.String openId, java.util.Locale locale,
379 java.lang.String firstName, java.lang.String middleName,
380 java.lang.String lastName, long prefixId, long suffixId, boolean male,
381 int birthdayMonth, int birthdayDay, int birthdayYear,
382 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
383 long[] roleIds, long[] userGroupIds,
384 java.util.List<com.liferay.portal.model.Address> addresses,
385 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
386 java.util.List<com.liferay.portal.model.Phone> phones,
387 java.util.List<com.liferay.portal.model.Website> websites,
388 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
389 boolean sendEmail,
390 com.liferay.portal.service.ServiceContext serviceContext)
391 throws com.liferay.portal.kernel.exception.PortalException {
392 try {
393 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
394 "addUserWithWorkflow", _addUserWithWorkflowParameterTypes9);
395
396 MethodHandler methodHandler = new MethodHandler(methodKey,
397 companyId, autoPassword, password1, password2,
398 autoScreenName, screenName, emailAddress, facebookId,
399 openId, locale, firstName, middleName, lastName, prefixId,
400 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
401 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
402 addresses, emailAddresses, phones, websites,
403 announcementsDelivers, sendEmail, serviceContext);
404
405 Object returnObj = null;
406
407 try {
408 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
409 }
410 catch (Exception e) {
411 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
412 throw (com.liferay.portal.kernel.exception.PortalException)e;
413 }
414
415 throw new com.liferay.portal.kernel.exception.SystemException(e);
416 }
417
418 return (com.liferay.portal.model.User)returnObj;
419 }
420 catch (com.liferay.portal.kernel.exception.SystemException se) {
421 _log.error(se, se);
422
423 throw se;
424 }
425 }
426
427 public static void deletePortrait(HttpPrincipal httpPrincipal, long userId)
428 throws com.liferay.portal.kernel.exception.PortalException {
429 try {
430 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
431 "deletePortrait", _deletePortraitParameterTypes10);
432
433 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
434
435 try {
436 TunnelUtil.invoke(httpPrincipal, methodHandler);
437 }
438 catch (Exception e) {
439 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
440 throw (com.liferay.portal.kernel.exception.PortalException)e;
441 }
442
443 throw new com.liferay.portal.kernel.exception.SystemException(e);
444 }
445 }
446 catch (com.liferay.portal.kernel.exception.SystemException se) {
447 _log.error(se, se);
448
449 throw se;
450 }
451 }
452
453 public static void deleteRoleUser(HttpPrincipal httpPrincipal, long roleId,
454 long userId) throws com.liferay.portal.kernel.exception.PortalException {
455 try {
456 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
457 "deleteRoleUser", _deleteRoleUserParameterTypes11);
458
459 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
460 userId);
461
462 try {
463 TunnelUtil.invoke(httpPrincipal, methodHandler);
464 }
465 catch (Exception e) {
466 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
467 throw (com.liferay.portal.kernel.exception.PortalException)e;
468 }
469
470 throw new com.liferay.portal.kernel.exception.SystemException(e);
471 }
472 }
473 catch (com.liferay.portal.kernel.exception.SystemException se) {
474 _log.error(se, se);
475
476 throw se;
477 }
478 }
479
480 public static void deleteUser(HttpPrincipal httpPrincipal, long userId)
481 throws com.liferay.portal.kernel.exception.PortalException {
482 try {
483 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
484 "deleteUser", _deleteUserParameterTypes12);
485
486 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
487
488 try {
489 TunnelUtil.invoke(httpPrincipal, methodHandler);
490 }
491 catch (Exception e) {
492 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
493 throw (com.liferay.portal.kernel.exception.PortalException)e;
494 }
495
496 throw new com.liferay.portal.kernel.exception.SystemException(e);
497 }
498 }
499 catch (com.liferay.portal.kernel.exception.SystemException se) {
500 _log.error(se, se);
501
502 throw se;
503 }
504 }
505
506 public static java.util.List<com.liferay.portal.model.User> getCompanyUsers(
507 HttpPrincipal httpPrincipal, long companyId, int start, int end)
508 throws com.liferay.portal.kernel.exception.PortalException {
509 try {
510 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
511 "getCompanyUsers", _getCompanyUsersParameterTypes13);
512
513 MethodHandler methodHandler = new MethodHandler(methodKey,
514 companyId, start, end);
515
516 Object returnObj = null;
517
518 try {
519 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
520 }
521 catch (Exception e) {
522 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
523 throw (com.liferay.portal.kernel.exception.PortalException)e;
524 }
525
526 throw new com.liferay.portal.kernel.exception.SystemException(e);
527 }
528
529 return (java.util.List<com.liferay.portal.model.User>)returnObj;
530 }
531 catch (com.liferay.portal.kernel.exception.SystemException se) {
532 _log.error(se, se);
533
534 throw se;
535 }
536 }
537
538 public static int getCompanyUsersCount(HttpPrincipal httpPrincipal,
539 long companyId)
540 throws com.liferay.portal.kernel.exception.PortalException {
541 try {
542 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
543 "getCompanyUsersCount",
544 _getCompanyUsersCountParameterTypes14);
545
546 MethodHandler methodHandler = new MethodHandler(methodKey, companyId);
547
548 Object returnObj = null;
549
550 try {
551 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
552 }
553 catch (Exception e) {
554 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
555 throw (com.liferay.portal.kernel.exception.PortalException)e;
556 }
557
558 throw new com.liferay.portal.kernel.exception.SystemException(e);
559 }
560
561 return ((Integer)returnObj).intValue();
562 }
563 catch (com.liferay.portal.kernel.exception.SystemException se) {
564 _log.error(se, se);
565
566 throw se;
567 }
568 }
569
570 public static com.liferay.portal.model.User getCurrentUser(
571 HttpPrincipal httpPrincipal)
572 throws com.liferay.portal.kernel.exception.PortalException {
573 try {
574 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
575 "getCurrentUser", _getCurrentUserParameterTypes15);
576
577 MethodHandler methodHandler = new MethodHandler(methodKey);
578
579 Object returnObj = null;
580
581 try {
582 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
583 }
584 catch (Exception e) {
585 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
586 throw (com.liferay.portal.kernel.exception.PortalException)e;
587 }
588
589 throw new com.liferay.portal.kernel.exception.SystemException(e);
590 }
591
592 return (com.liferay.portal.model.User)returnObj;
593 }
594 catch (com.liferay.portal.kernel.exception.SystemException se) {
595 _log.error(se, se);
596
597 throw se;
598 }
599 }
600
601 public static long[] getGroupUserIds(HttpPrincipal httpPrincipal,
602 long groupId)
603 throws com.liferay.portal.kernel.exception.PortalException {
604 try {
605 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
606 "getGroupUserIds", _getGroupUserIdsParameterTypes16);
607
608 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
609
610 Object returnObj = null;
611
612 try {
613 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
614 }
615 catch (Exception e) {
616 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
617 throw (com.liferay.portal.kernel.exception.PortalException)e;
618 }
619
620 throw new com.liferay.portal.kernel.exception.SystemException(e);
621 }
622
623 return (long[])returnObj;
624 }
625 catch (com.liferay.portal.kernel.exception.SystemException se) {
626 _log.error(se, se);
627
628 throw se;
629 }
630 }
631
632 public static java.util.List<com.liferay.portal.model.User> getGroupUsers(
633 HttpPrincipal httpPrincipal, long groupId)
634 throws com.liferay.portal.kernel.exception.PortalException {
635 try {
636 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
637 "getGroupUsers", _getGroupUsersParameterTypes17);
638
639 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
640
641 Object returnObj = null;
642
643 try {
644 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
645 }
646 catch (Exception e) {
647 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
648 throw (com.liferay.portal.kernel.exception.PortalException)e;
649 }
650
651 throw new com.liferay.portal.kernel.exception.SystemException(e);
652 }
653
654 return (java.util.List<com.liferay.portal.model.User>)returnObj;
655 }
656 catch (com.liferay.portal.kernel.exception.SystemException se) {
657 _log.error(se, se);
658
659 throw se;
660 }
661 }
662
663 public static long[] getOrganizationUserIds(HttpPrincipal httpPrincipal,
664 long organizationId)
665 throws com.liferay.portal.kernel.exception.PortalException {
666 try {
667 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
668 "getOrganizationUserIds",
669 _getOrganizationUserIdsParameterTypes18);
670
671 MethodHandler methodHandler = new MethodHandler(methodKey,
672 organizationId);
673
674 Object returnObj = null;
675
676 try {
677 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
678 }
679 catch (Exception e) {
680 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
681 throw (com.liferay.portal.kernel.exception.PortalException)e;
682 }
683
684 throw new com.liferay.portal.kernel.exception.SystemException(e);
685 }
686
687 return (long[])returnObj;
688 }
689 catch (com.liferay.portal.kernel.exception.SystemException se) {
690 _log.error(se, se);
691
692 throw se;
693 }
694 }
695
696 public static java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
697 HttpPrincipal httpPrincipal, long organizationId)
698 throws com.liferay.portal.kernel.exception.PortalException {
699 try {
700 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
701 "getOrganizationUsers",
702 _getOrganizationUsersParameterTypes19);
703
704 MethodHandler methodHandler = new MethodHandler(methodKey,
705 organizationId);
706
707 Object returnObj = null;
708
709 try {
710 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
711 }
712 catch (Exception e) {
713 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
714 throw (com.liferay.portal.kernel.exception.PortalException)e;
715 }
716
717 throw new com.liferay.portal.kernel.exception.SystemException(e);
718 }
719
720 return (java.util.List<com.liferay.portal.model.User>)returnObj;
721 }
722 catch (com.liferay.portal.kernel.exception.SystemException se) {
723 _log.error(se, se);
724
725 throw se;
726 }
727 }
728
729 public static long[] getRoleUserIds(HttpPrincipal httpPrincipal, long roleId)
730 throws com.liferay.portal.kernel.exception.PortalException {
731 try {
732 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
733 "getRoleUserIds", _getRoleUserIdsParameterTypes20);
734
735 MethodHandler methodHandler = new MethodHandler(methodKey, roleId);
736
737 Object returnObj = null;
738
739 try {
740 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
741 }
742 catch (Exception e) {
743 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
744 throw (com.liferay.portal.kernel.exception.PortalException)e;
745 }
746
747 throw new com.liferay.portal.kernel.exception.SystemException(e);
748 }
749
750 return (long[])returnObj;
751 }
752 catch (com.liferay.portal.kernel.exception.SystemException se) {
753 _log.error(se, se);
754
755 throw se;
756 }
757 }
758
759 public static com.liferay.portal.model.User getUserByEmailAddress(
760 HttpPrincipal httpPrincipal, long companyId,
761 java.lang.String emailAddress)
762 throws com.liferay.portal.kernel.exception.PortalException {
763 try {
764 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
765 "getUserByEmailAddress",
766 _getUserByEmailAddressParameterTypes21);
767
768 MethodHandler methodHandler = new MethodHandler(methodKey,
769 companyId, emailAddress);
770
771 Object returnObj = null;
772
773 try {
774 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
775 }
776 catch (Exception e) {
777 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
778 throw (com.liferay.portal.kernel.exception.PortalException)e;
779 }
780
781 throw new com.liferay.portal.kernel.exception.SystemException(e);
782 }
783
784 return (com.liferay.portal.model.User)returnObj;
785 }
786 catch (com.liferay.portal.kernel.exception.SystemException se) {
787 _log.error(se, se);
788
789 throw se;
790 }
791 }
792
793 public static com.liferay.portal.model.User getUserById(
794 HttpPrincipal httpPrincipal, long userId)
795 throws com.liferay.portal.kernel.exception.PortalException {
796 try {
797 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
798 "getUserById", _getUserByIdParameterTypes22);
799
800 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
801
802 Object returnObj = null;
803
804 try {
805 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
806 }
807 catch (Exception e) {
808 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
809 throw (com.liferay.portal.kernel.exception.PortalException)e;
810 }
811
812 throw new com.liferay.portal.kernel.exception.SystemException(e);
813 }
814
815 return (com.liferay.portal.model.User)returnObj;
816 }
817 catch (com.liferay.portal.kernel.exception.SystemException se) {
818 _log.error(se, se);
819
820 throw se;
821 }
822 }
823
824 public static com.liferay.portal.model.User getUserByScreenName(
825 HttpPrincipal httpPrincipal, long companyId, java.lang.String screenName)
826 throws com.liferay.portal.kernel.exception.PortalException {
827 try {
828 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
829 "getUserByScreenName", _getUserByScreenNameParameterTypes23);
830
831 MethodHandler methodHandler = new MethodHandler(methodKey,
832 companyId, screenName);
833
834 Object returnObj = null;
835
836 try {
837 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
838 }
839 catch (Exception e) {
840 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
841 throw (com.liferay.portal.kernel.exception.PortalException)e;
842 }
843
844 throw new com.liferay.portal.kernel.exception.SystemException(e);
845 }
846
847 return (com.liferay.portal.model.User)returnObj;
848 }
849 catch (com.liferay.portal.kernel.exception.SystemException se) {
850 _log.error(se, se);
851
852 throw se;
853 }
854 }
855
856 public static java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
857 HttpPrincipal httpPrincipal, long userGroupId)
858 throws com.liferay.portal.kernel.exception.PortalException {
859 try {
860 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
861 "getUserGroupUsers", _getUserGroupUsersParameterTypes24);
862
863 MethodHandler methodHandler = new MethodHandler(methodKey,
864 userGroupId);
865
866 Object returnObj = null;
867
868 try {
869 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
870 }
871 catch (Exception e) {
872 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
873 throw (com.liferay.portal.kernel.exception.PortalException)e;
874 }
875
876 throw new com.liferay.portal.kernel.exception.SystemException(e);
877 }
878
879 return (java.util.List<com.liferay.portal.model.User>)returnObj;
880 }
881 catch (com.liferay.portal.kernel.exception.SystemException se) {
882 _log.error(se, se);
883
884 throw se;
885 }
886 }
887
888 public static long getUserIdByEmailAddress(HttpPrincipal httpPrincipal,
889 long companyId, java.lang.String emailAddress)
890 throws com.liferay.portal.kernel.exception.PortalException {
891 try {
892 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
893 "getUserIdByEmailAddress",
894 _getUserIdByEmailAddressParameterTypes25);
895
896 MethodHandler methodHandler = new MethodHandler(methodKey,
897 companyId, emailAddress);
898
899 Object returnObj = null;
900
901 try {
902 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
903 }
904 catch (Exception e) {
905 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
906 throw (com.liferay.portal.kernel.exception.PortalException)e;
907 }
908
909 throw new com.liferay.portal.kernel.exception.SystemException(e);
910 }
911
912 return ((Long)returnObj).longValue();
913 }
914 catch (com.liferay.portal.kernel.exception.SystemException se) {
915 _log.error(se, se);
916
917 throw se;
918 }
919 }
920
921 public static long getUserIdByScreenName(HttpPrincipal httpPrincipal,
922 long companyId, java.lang.String screenName)
923 throws com.liferay.portal.kernel.exception.PortalException {
924 try {
925 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
926 "getUserIdByScreenName",
927 _getUserIdByScreenNameParameterTypes26);
928
929 MethodHandler methodHandler = new MethodHandler(methodKey,
930 companyId, screenName);
931
932 Object returnObj = null;
933
934 try {
935 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
936 }
937 catch (Exception e) {
938 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
939 throw (com.liferay.portal.kernel.exception.PortalException)e;
940 }
941
942 throw new com.liferay.portal.kernel.exception.SystemException(e);
943 }
944
945 return ((Long)returnObj).longValue();
946 }
947 catch (com.liferay.portal.kernel.exception.SystemException se) {
948 _log.error(se, se);
949
950 throw se;
951 }
952 }
953
954 public static boolean hasGroupUser(HttpPrincipal httpPrincipal,
955 long groupId, long userId)
956 throws com.liferay.portal.kernel.exception.PortalException {
957 try {
958 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
959 "hasGroupUser", _hasGroupUserParameterTypes27);
960
961 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
962 userId);
963
964 Object returnObj = null;
965
966 try {
967 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
968 }
969 catch (Exception e) {
970 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
971 throw (com.liferay.portal.kernel.exception.PortalException)e;
972 }
973
974 throw new com.liferay.portal.kernel.exception.SystemException(e);
975 }
976
977 return ((Boolean)returnObj).booleanValue();
978 }
979 catch (com.liferay.portal.kernel.exception.SystemException se) {
980 _log.error(se, se);
981
982 throw se;
983 }
984 }
985
986 public static boolean hasRoleUser(HttpPrincipal httpPrincipal, long roleId,
987 long userId) throws com.liferay.portal.kernel.exception.PortalException {
988 try {
989 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
990 "hasRoleUser", _hasRoleUserParameterTypes28);
991
992 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
993 userId);
994
995 Object returnObj = null;
996
997 try {
998 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
999 }
1000 catch (Exception e) {
1001 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1002 throw (com.liferay.portal.kernel.exception.PortalException)e;
1003 }
1004
1005 throw new com.liferay.portal.kernel.exception.SystemException(e);
1006 }
1007
1008 return ((Boolean)returnObj).booleanValue();
1009 }
1010 catch (com.liferay.portal.kernel.exception.SystemException se) {
1011 _log.error(se, se);
1012
1013 throw se;
1014 }
1015 }
1016
1017 public static boolean hasRoleUser(HttpPrincipal httpPrincipal,
1018 long companyId, java.lang.String name, long userId, boolean inherited)
1019 throws com.liferay.portal.kernel.exception.PortalException {
1020 try {
1021 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1022 "hasRoleUser", _hasRoleUserParameterTypes29);
1023
1024 MethodHandler methodHandler = new MethodHandler(methodKey,
1025 companyId, name, userId, inherited);
1026
1027 Object returnObj = null;
1028
1029 try {
1030 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1031 }
1032 catch (Exception e) {
1033 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1034 throw (com.liferay.portal.kernel.exception.PortalException)e;
1035 }
1036
1037 throw new com.liferay.portal.kernel.exception.SystemException(e);
1038 }
1039
1040 return ((Boolean)returnObj).booleanValue();
1041 }
1042 catch (com.liferay.portal.kernel.exception.SystemException se) {
1043 _log.error(se, se);
1044
1045 throw se;
1046 }
1047 }
1048
1049 public static boolean sendPasswordByEmailAddress(
1050 HttpPrincipal httpPrincipal, long companyId,
1051 java.lang.String emailAddress)
1052 throws com.liferay.portal.kernel.exception.PortalException {
1053 try {
1054 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1055 "sendPasswordByEmailAddress",
1056 _sendPasswordByEmailAddressParameterTypes30);
1057
1058 MethodHandler methodHandler = new MethodHandler(methodKey,
1059 companyId, emailAddress);
1060
1061 Object returnObj = null;
1062
1063 try {
1064 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1065 }
1066 catch (Exception e) {
1067 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1068 throw (com.liferay.portal.kernel.exception.PortalException)e;
1069 }
1070
1071 throw new com.liferay.portal.kernel.exception.SystemException(e);
1072 }
1073
1074 return ((Boolean)returnObj).booleanValue();
1075 }
1076 catch (com.liferay.portal.kernel.exception.SystemException se) {
1077 _log.error(se, se);
1078
1079 throw se;
1080 }
1081 }
1082
1083 public static boolean sendPasswordByScreenName(
1084 HttpPrincipal httpPrincipal, long companyId, java.lang.String screenName)
1085 throws com.liferay.portal.kernel.exception.PortalException {
1086 try {
1087 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1088 "sendPasswordByScreenName",
1089 _sendPasswordByScreenNameParameterTypes31);
1090
1091 MethodHandler methodHandler = new MethodHandler(methodKey,
1092 companyId, screenName);
1093
1094 Object returnObj = null;
1095
1096 try {
1097 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1098 }
1099 catch (Exception e) {
1100 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1101 throw (com.liferay.portal.kernel.exception.PortalException)e;
1102 }
1103
1104 throw new com.liferay.portal.kernel.exception.SystemException(e);
1105 }
1106
1107 return ((Boolean)returnObj).booleanValue();
1108 }
1109 catch (com.liferay.portal.kernel.exception.SystemException se) {
1110 _log.error(se, se);
1111
1112 throw se;
1113 }
1114 }
1115
1116 public static boolean sendPasswordByUserId(HttpPrincipal httpPrincipal,
1117 long userId) throws com.liferay.portal.kernel.exception.PortalException {
1118 try {
1119 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1120 "sendPasswordByUserId",
1121 _sendPasswordByUserIdParameterTypes32);
1122
1123 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
1124
1125 Object returnObj = null;
1126
1127 try {
1128 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1129 }
1130 catch (Exception e) {
1131 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1132 throw (com.liferay.portal.kernel.exception.PortalException)e;
1133 }
1134
1135 throw new com.liferay.portal.kernel.exception.SystemException(e);
1136 }
1137
1138 return ((Boolean)returnObj).booleanValue();
1139 }
1140 catch (com.liferay.portal.kernel.exception.SystemException se) {
1141 _log.error(se, se);
1142
1143 throw se;
1144 }
1145 }
1146
1147 public static void setRoleUsers(HttpPrincipal httpPrincipal, long roleId,
1148 long[] userIds)
1149 throws com.liferay.portal.kernel.exception.PortalException {
1150 try {
1151 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1152 "setRoleUsers", _setRoleUsersParameterTypes33);
1153
1154 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1155 userIds);
1156
1157 try {
1158 TunnelUtil.invoke(httpPrincipal, methodHandler);
1159 }
1160 catch (Exception e) {
1161 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1162 throw (com.liferay.portal.kernel.exception.PortalException)e;
1163 }
1164
1165 throw new com.liferay.portal.kernel.exception.SystemException(e);
1166 }
1167 }
1168 catch (com.liferay.portal.kernel.exception.SystemException se) {
1169 _log.error(se, se);
1170
1171 throw se;
1172 }
1173 }
1174
1175 public static void setUserGroupUsers(HttpPrincipal httpPrincipal,
1176 long userGroupId, long[] userIds)
1177 throws com.liferay.portal.kernel.exception.PortalException {
1178 try {
1179 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1180 "setUserGroupUsers", _setUserGroupUsersParameterTypes34);
1181
1182 MethodHandler methodHandler = new MethodHandler(methodKey,
1183 userGroupId, userIds);
1184
1185 try {
1186 TunnelUtil.invoke(httpPrincipal, methodHandler);
1187 }
1188 catch (Exception e) {
1189 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1190 throw (com.liferay.portal.kernel.exception.PortalException)e;
1191 }
1192
1193 throw new com.liferay.portal.kernel.exception.SystemException(e);
1194 }
1195 }
1196 catch (com.liferay.portal.kernel.exception.SystemException se) {
1197 _log.error(se, se);
1198
1199 throw se;
1200 }
1201 }
1202
1203 public static void unsetGroupTeamsUsers(HttpPrincipal httpPrincipal,
1204 long groupId, long[] userIds)
1205 throws com.liferay.portal.kernel.exception.PortalException {
1206 try {
1207 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1208 "unsetGroupTeamsUsers",
1209 _unsetGroupTeamsUsersParameterTypes35);
1210
1211 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1212 userIds);
1213
1214 try {
1215 TunnelUtil.invoke(httpPrincipal, methodHandler);
1216 }
1217 catch (Exception e) {
1218 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1219 throw (com.liferay.portal.kernel.exception.PortalException)e;
1220 }
1221
1222 throw new com.liferay.portal.kernel.exception.SystemException(e);
1223 }
1224 }
1225 catch (com.liferay.portal.kernel.exception.SystemException se) {
1226 _log.error(se, se);
1227
1228 throw se;
1229 }
1230 }
1231
1232 public static void unsetGroupUsers(HttpPrincipal httpPrincipal,
1233 long groupId, long[] userIds,
1234 com.liferay.portal.service.ServiceContext serviceContext)
1235 throws com.liferay.portal.kernel.exception.PortalException {
1236 try {
1237 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1238 "unsetGroupUsers", _unsetGroupUsersParameterTypes36);
1239
1240 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1241 userIds, serviceContext);
1242
1243 try {
1244 TunnelUtil.invoke(httpPrincipal, methodHandler);
1245 }
1246 catch (Exception e) {
1247 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1248 throw (com.liferay.portal.kernel.exception.PortalException)e;
1249 }
1250
1251 throw new com.liferay.portal.kernel.exception.SystemException(e);
1252 }
1253 }
1254 catch (com.liferay.portal.kernel.exception.SystemException se) {
1255 _log.error(se, se);
1256
1257 throw se;
1258 }
1259 }
1260
1261 public static void unsetOrganizationUsers(HttpPrincipal httpPrincipal,
1262 long organizationId, long[] userIds)
1263 throws com.liferay.portal.kernel.exception.PortalException {
1264 try {
1265 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1266 "unsetOrganizationUsers",
1267 _unsetOrganizationUsersParameterTypes37);
1268
1269 MethodHandler methodHandler = new MethodHandler(methodKey,
1270 organizationId, userIds);
1271
1272 try {
1273 TunnelUtil.invoke(httpPrincipal, methodHandler);
1274 }
1275 catch (Exception e) {
1276 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1277 throw (com.liferay.portal.kernel.exception.PortalException)e;
1278 }
1279
1280 throw new com.liferay.portal.kernel.exception.SystemException(e);
1281 }
1282 }
1283 catch (com.liferay.portal.kernel.exception.SystemException se) {
1284 _log.error(se, se);
1285
1286 throw se;
1287 }
1288 }
1289
1290 public static void unsetPasswordPolicyUsers(HttpPrincipal httpPrincipal,
1291 long passwordPolicyId, long[] userIds)
1292 throws com.liferay.portal.kernel.exception.PortalException {
1293 try {
1294 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1295 "unsetPasswordPolicyUsers",
1296 _unsetPasswordPolicyUsersParameterTypes38);
1297
1298 MethodHandler methodHandler = new MethodHandler(methodKey,
1299 passwordPolicyId, userIds);
1300
1301 try {
1302 TunnelUtil.invoke(httpPrincipal, methodHandler);
1303 }
1304 catch (Exception e) {
1305 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1306 throw (com.liferay.portal.kernel.exception.PortalException)e;
1307 }
1308
1309 throw new com.liferay.portal.kernel.exception.SystemException(e);
1310 }
1311 }
1312 catch (com.liferay.portal.kernel.exception.SystemException se) {
1313 _log.error(se, se);
1314
1315 throw se;
1316 }
1317 }
1318
1319 public static void unsetRoleUsers(HttpPrincipal httpPrincipal, long roleId,
1320 long[] userIds)
1321 throws com.liferay.portal.kernel.exception.PortalException {
1322 try {
1323 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1324 "unsetRoleUsers", _unsetRoleUsersParameterTypes39);
1325
1326 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1327 userIds);
1328
1329 try {
1330 TunnelUtil.invoke(httpPrincipal, methodHandler);
1331 }
1332 catch (Exception e) {
1333 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1334 throw (com.liferay.portal.kernel.exception.PortalException)e;
1335 }
1336
1337 throw new com.liferay.portal.kernel.exception.SystemException(e);
1338 }
1339 }
1340 catch (com.liferay.portal.kernel.exception.SystemException se) {
1341 _log.error(se, se);
1342
1343 throw se;
1344 }
1345 }
1346
1347 public static void unsetTeamUsers(HttpPrincipal httpPrincipal, long teamId,
1348 long[] userIds)
1349 throws com.liferay.portal.kernel.exception.PortalException {
1350 try {
1351 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1352 "unsetTeamUsers", _unsetTeamUsersParameterTypes40);
1353
1354 MethodHandler methodHandler = new MethodHandler(methodKey, teamId,
1355 userIds);
1356
1357 try {
1358 TunnelUtil.invoke(httpPrincipal, methodHandler);
1359 }
1360 catch (Exception e) {
1361 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1362 throw (com.liferay.portal.kernel.exception.PortalException)e;
1363 }
1364
1365 throw new com.liferay.portal.kernel.exception.SystemException(e);
1366 }
1367 }
1368 catch (com.liferay.portal.kernel.exception.SystemException se) {
1369 _log.error(se, se);
1370
1371 throw se;
1372 }
1373 }
1374
1375 public static void unsetUserGroupUsers(HttpPrincipal httpPrincipal,
1376 long userGroupId, long[] userIds)
1377 throws com.liferay.portal.kernel.exception.PortalException {
1378 try {
1379 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1380 "unsetUserGroupUsers", _unsetUserGroupUsersParameterTypes41);
1381
1382 MethodHandler methodHandler = new MethodHandler(methodKey,
1383 userGroupId, userIds);
1384
1385 try {
1386 TunnelUtil.invoke(httpPrincipal, methodHandler);
1387 }
1388 catch (Exception e) {
1389 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1390 throw (com.liferay.portal.kernel.exception.PortalException)e;
1391 }
1392
1393 throw new com.liferay.portal.kernel.exception.SystemException(e);
1394 }
1395 }
1396 catch (com.liferay.portal.kernel.exception.SystemException se) {
1397 _log.error(se, se);
1398
1399 throw se;
1400 }
1401 }
1402
1403 public static com.liferay.portal.model.User updateAgreedToTermsOfUse(
1404 HttpPrincipal httpPrincipal, long userId, boolean agreedToTermsOfUse)
1405 throws com.liferay.portal.kernel.exception.PortalException {
1406 try {
1407 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1408 "updateAgreedToTermsOfUse",
1409 _updateAgreedToTermsOfUseParameterTypes42);
1410
1411 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1412 agreedToTermsOfUse);
1413
1414 Object returnObj = null;
1415
1416 try {
1417 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1418 }
1419 catch (Exception e) {
1420 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1421 throw (com.liferay.portal.kernel.exception.PortalException)e;
1422 }
1423
1424 throw new com.liferay.portal.kernel.exception.SystemException(e);
1425 }
1426
1427 return (com.liferay.portal.model.User)returnObj;
1428 }
1429 catch (com.liferay.portal.kernel.exception.SystemException se) {
1430 _log.error(se, se);
1431
1432 throw se;
1433 }
1434 }
1435
1436 public static com.liferay.portal.model.User updateEmailAddress(
1437 HttpPrincipal httpPrincipal, long userId, java.lang.String password,
1438 java.lang.String emailAddress1, java.lang.String emailAddress2,
1439 com.liferay.portal.service.ServiceContext serviceContext)
1440 throws com.liferay.portal.kernel.exception.PortalException {
1441 try {
1442 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1443 "updateEmailAddress", _updateEmailAddressParameterTypes43);
1444
1445 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1446 password, emailAddress1, emailAddress2, serviceContext);
1447
1448 Object returnObj = null;
1449
1450 try {
1451 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1452 }
1453 catch (Exception e) {
1454 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1455 throw (com.liferay.portal.kernel.exception.PortalException)e;
1456 }
1457
1458 throw new com.liferay.portal.kernel.exception.SystemException(e);
1459 }
1460
1461 return (com.liferay.portal.model.User)returnObj;
1462 }
1463 catch (com.liferay.portal.kernel.exception.SystemException se) {
1464 _log.error(se, se);
1465
1466 throw se;
1467 }
1468 }
1469
1470 public static com.liferay.portal.model.User updateIncompleteUser(
1471 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
1472 java.lang.String password1, java.lang.String password2,
1473 boolean autoScreenName, java.lang.String screenName,
1474 java.lang.String emailAddress, long facebookId,
1475 java.lang.String openId, java.util.Locale locale,
1476 java.lang.String firstName, java.lang.String middleName,
1477 java.lang.String lastName, long prefixId, long suffixId, boolean male,
1478 int birthdayMonth, int birthdayDay, int birthdayYear,
1479 java.lang.String jobTitle, boolean updateUserInformation,
1480 boolean sendEmail,
1481 com.liferay.portal.service.ServiceContext serviceContext)
1482 throws com.liferay.portal.kernel.exception.PortalException {
1483 try {
1484 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1485 "updateIncompleteUser",
1486 _updateIncompleteUserParameterTypes44);
1487
1488 MethodHandler methodHandler = new MethodHandler(methodKey,
1489 companyId, autoPassword, password1, password2,
1490 autoScreenName, screenName, emailAddress, facebookId,
1491 openId, locale, firstName, middleName, lastName, prefixId,
1492 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
1493 jobTitle, updateUserInformation, sendEmail, serviceContext);
1494
1495 Object returnObj = null;
1496
1497 try {
1498 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1499 }
1500 catch (Exception e) {
1501 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1502 throw (com.liferay.portal.kernel.exception.PortalException)e;
1503 }
1504
1505 throw new com.liferay.portal.kernel.exception.SystemException(e);
1506 }
1507
1508 return (com.liferay.portal.model.User)returnObj;
1509 }
1510 catch (com.liferay.portal.kernel.exception.SystemException se) {
1511 _log.error(se, se);
1512
1513 throw se;
1514 }
1515 }
1516
1517 public static com.liferay.portal.model.User updateLockoutById(
1518 HttpPrincipal httpPrincipal, long userId, boolean lockout)
1519 throws com.liferay.portal.kernel.exception.PortalException {
1520 try {
1521 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1522 "updateLockoutById", _updateLockoutByIdParameterTypes45);
1523
1524 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1525 lockout);
1526
1527 Object returnObj = null;
1528
1529 try {
1530 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1531 }
1532 catch (Exception e) {
1533 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1534 throw (com.liferay.portal.kernel.exception.PortalException)e;
1535 }
1536
1537 throw new com.liferay.portal.kernel.exception.SystemException(e);
1538 }
1539
1540 return (com.liferay.portal.model.User)returnObj;
1541 }
1542 catch (com.liferay.portal.kernel.exception.SystemException se) {
1543 _log.error(se, se);
1544
1545 throw se;
1546 }
1547 }
1548
1549 public static com.liferay.portal.model.User updateOpenId(
1550 HttpPrincipal httpPrincipal, long userId, java.lang.String openId)
1551 throws com.liferay.portal.kernel.exception.PortalException {
1552 try {
1553 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1554 "updateOpenId", _updateOpenIdParameterTypes46);
1555
1556 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1557 openId);
1558
1559 Object returnObj = null;
1560
1561 try {
1562 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1563 }
1564 catch (Exception e) {
1565 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1566 throw (com.liferay.portal.kernel.exception.PortalException)e;
1567 }
1568
1569 throw new com.liferay.portal.kernel.exception.SystemException(e);
1570 }
1571
1572 return (com.liferay.portal.model.User)returnObj;
1573 }
1574 catch (com.liferay.portal.kernel.exception.SystemException se) {
1575 _log.error(se, se);
1576
1577 throw se;
1578 }
1579 }
1580
1581 public static void updateOrganizations(HttpPrincipal httpPrincipal,
1582 long userId, long[] organizationIds,
1583 com.liferay.portal.service.ServiceContext serviceContext)
1584 throws com.liferay.portal.kernel.exception.PortalException {
1585 try {
1586 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1587 "updateOrganizations", _updateOrganizationsParameterTypes47);
1588
1589 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1590 organizationIds, serviceContext);
1591
1592 try {
1593 TunnelUtil.invoke(httpPrincipal, methodHandler);
1594 }
1595 catch (Exception e) {
1596 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1597 throw (com.liferay.portal.kernel.exception.PortalException)e;
1598 }
1599
1600 throw new com.liferay.portal.kernel.exception.SystemException(e);
1601 }
1602 }
1603 catch (com.liferay.portal.kernel.exception.SystemException se) {
1604 _log.error(se, se);
1605
1606 throw se;
1607 }
1608 }
1609
1610 public static com.liferay.portal.model.User updatePassword(
1611 HttpPrincipal httpPrincipal, long userId, java.lang.String password1,
1612 java.lang.String password2, boolean passwordReset)
1613 throws com.liferay.portal.kernel.exception.PortalException {
1614 try {
1615 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1616 "updatePassword", _updatePasswordParameterTypes48);
1617
1618 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1619 password1, password2, passwordReset);
1620
1621 Object returnObj = null;
1622
1623 try {
1624 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1625 }
1626 catch (Exception e) {
1627 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1628 throw (com.liferay.portal.kernel.exception.PortalException)e;
1629 }
1630
1631 throw new com.liferay.portal.kernel.exception.SystemException(e);
1632 }
1633
1634 return (com.liferay.portal.model.User)returnObj;
1635 }
1636 catch (com.liferay.portal.kernel.exception.SystemException se) {
1637 _log.error(se, se);
1638
1639 throw se;
1640 }
1641 }
1642
1643 public static com.liferay.portal.model.User updatePortrait(
1644 HttpPrincipal httpPrincipal, long userId, byte[] bytes)
1645 throws com.liferay.portal.kernel.exception.PortalException {
1646 try {
1647 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1648 "updatePortrait", _updatePortraitParameterTypes49);
1649
1650 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1651 bytes);
1652
1653 Object returnObj = null;
1654
1655 try {
1656 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1657 }
1658 catch (Exception e) {
1659 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1660 throw (com.liferay.portal.kernel.exception.PortalException)e;
1661 }
1662
1663 throw new com.liferay.portal.kernel.exception.SystemException(e);
1664 }
1665
1666 return (com.liferay.portal.model.User)returnObj;
1667 }
1668 catch (com.liferay.portal.kernel.exception.SystemException se) {
1669 _log.error(se, se);
1670
1671 throw se;
1672 }
1673 }
1674
1675 public static com.liferay.portal.model.User updateReminderQuery(
1676 HttpPrincipal httpPrincipal, long userId, java.lang.String question,
1677 java.lang.String answer)
1678 throws com.liferay.portal.kernel.exception.PortalException {
1679 try {
1680 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1681 "updateReminderQuery", _updateReminderQueryParameterTypes50);
1682
1683 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1684 question, answer);
1685
1686 Object returnObj = null;
1687
1688 try {
1689 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1690 }
1691 catch (Exception e) {
1692 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1693 throw (com.liferay.portal.kernel.exception.PortalException)e;
1694 }
1695
1696 throw new com.liferay.portal.kernel.exception.SystemException(e);
1697 }
1698
1699 return (com.liferay.portal.model.User)returnObj;
1700 }
1701 catch (com.liferay.portal.kernel.exception.SystemException se) {
1702 _log.error(se, se);
1703
1704 throw se;
1705 }
1706 }
1707
1708 public static com.liferay.portal.model.User updateScreenName(
1709 HttpPrincipal httpPrincipal, long userId, java.lang.String screenName)
1710 throws com.liferay.portal.kernel.exception.PortalException {
1711 try {
1712 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1713 "updateScreenName", _updateScreenNameParameterTypes51);
1714
1715 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1716 screenName);
1717
1718 Object returnObj = null;
1719
1720 try {
1721 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1722 }
1723 catch (Exception e) {
1724 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1725 throw (com.liferay.portal.kernel.exception.PortalException)e;
1726 }
1727
1728 throw new com.liferay.portal.kernel.exception.SystemException(e);
1729 }
1730
1731 return (com.liferay.portal.model.User)returnObj;
1732 }
1733 catch (com.liferay.portal.kernel.exception.SystemException se) {
1734 _log.error(se, se);
1735
1736 throw se;
1737 }
1738 }
1739
1740 public static com.liferay.portal.model.User updateStatus(
1741 HttpPrincipal httpPrincipal, long userId, int status)
1742 throws com.liferay.portal.kernel.exception.PortalException {
1743 try {
1744 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1745 "updateStatus", _updateStatusParameterTypes52);
1746
1747 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1748 status);
1749
1750 Object returnObj = null;
1751
1752 try {
1753 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1754 }
1755 catch (Exception e) {
1756 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1757 throw (com.liferay.portal.kernel.exception.PortalException)e;
1758 }
1759
1760 throw new com.liferay.portal.kernel.exception.SystemException(e);
1761 }
1762
1763 return (com.liferay.portal.model.User)returnObj;
1764 }
1765 catch (com.liferay.portal.kernel.exception.SystemException se) {
1766 _log.error(se, se);
1767
1768 throw se;
1769 }
1770 }
1771
1772 public static com.liferay.portal.model.User updateStatus(
1773 HttpPrincipal httpPrincipal, long userId, int status,
1774 com.liferay.portal.service.ServiceContext serviceContext)
1775 throws com.liferay.portal.kernel.exception.PortalException {
1776 try {
1777 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1778 "updateStatus", _updateStatusParameterTypes53);
1779
1780 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1781 status, serviceContext);
1782
1783 Object returnObj = null;
1784
1785 try {
1786 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1787 }
1788 catch (Exception e) {
1789 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1790 throw (com.liferay.portal.kernel.exception.PortalException)e;
1791 }
1792
1793 throw new com.liferay.portal.kernel.exception.SystemException(e);
1794 }
1795
1796 return (com.liferay.portal.model.User)returnObj;
1797 }
1798 catch (com.liferay.portal.kernel.exception.SystemException se) {
1799 _log.error(se, se);
1800
1801 throw se;
1802 }
1803 }
1804
1805 public static com.liferay.portal.model.User updateUser(
1806 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1807 java.lang.String newPassword1, java.lang.String newPassword2,
1808 boolean passwordReset, java.lang.String reminderQueryQuestion,
1809 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1810 java.lang.String emailAddress, long facebookId,
1811 java.lang.String openId, boolean portrait, byte[] portraitBytes,
1812 java.lang.String languageId, java.lang.String timeZoneId,
1813 java.lang.String greeting, java.lang.String comments,
1814 java.lang.String firstName, java.lang.String middleName,
1815 java.lang.String lastName, long prefixId, long suffixId, boolean male,
1816 int birthdayMonth, int birthdayDay, int birthdayYear,
1817 java.lang.String smsSn, java.lang.String aimSn,
1818 java.lang.String facebookSn, java.lang.String icqSn,
1819 java.lang.String jabberSn, java.lang.String mySpaceSn,
1820 java.lang.String skypeSn, java.lang.String twitterSn,
1821 java.lang.String ymSn, java.lang.String jobTitle, long[] groupIds,
1822 long[] organizationIds, long[] roleIds,
1823 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1824 long[] userGroupIds,
1825 java.util.List<com.liferay.portal.model.Address> addresses,
1826 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1827 java.util.List<com.liferay.portal.model.Phone> phones,
1828 java.util.List<com.liferay.portal.model.Website> websites,
1829 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1830 com.liferay.portal.service.ServiceContext serviceContext)
1831 throws com.liferay.portal.kernel.exception.PortalException {
1832 try {
1833 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1834 "updateUser", _updateUserParameterTypes54);
1835
1836 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1837 oldPassword, newPassword1, newPassword2, passwordReset,
1838 reminderQueryQuestion, reminderQueryAnswer, screenName,
1839 emailAddress, facebookId, openId, portrait, portraitBytes,
1840 languageId, timeZoneId, greeting, comments, firstName,
1841 middleName, lastName, prefixId, suffixId, male,
1842 birthdayMonth, birthdayDay, birthdayYear, smsSn, aimSn,
1843 facebookSn, icqSn, jabberSn, mySpaceSn, skypeSn, twitterSn,
1844 ymSn, jobTitle, groupIds, organizationIds, roleIds,
1845 userGroupRoles, userGroupIds, addresses, emailAddresses,
1846 phones, websites, announcementsDelivers, serviceContext);
1847
1848 Object returnObj = null;
1849
1850 try {
1851 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1852 }
1853 catch (Exception e) {
1854 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1855 throw (com.liferay.portal.kernel.exception.PortalException)e;
1856 }
1857
1858 throw new com.liferay.portal.kernel.exception.SystemException(e);
1859 }
1860
1861 return (com.liferay.portal.model.User)returnObj;
1862 }
1863 catch (com.liferay.portal.kernel.exception.SystemException se) {
1864 _log.error(se, se);
1865
1866 throw se;
1867 }
1868 }
1869
1870 public static com.liferay.portal.model.User updateUser(
1871 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1872 java.lang.String newPassword1, java.lang.String newPassword2,
1873 boolean passwordReset, java.lang.String reminderQueryQuestion,
1874 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1875 java.lang.String emailAddress, long facebookId,
1876 java.lang.String openId, java.lang.String languageId,
1877 java.lang.String timeZoneId, java.lang.String greeting,
1878 java.lang.String comments, java.lang.String firstName,
1879 java.lang.String middleName, java.lang.String lastName, long prefixId,
1880 long suffixId, boolean male, int birthdayMonth, int birthdayDay,
1881 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1882 java.lang.String facebookSn, java.lang.String icqSn,
1883 java.lang.String jabberSn, java.lang.String mySpaceSn,
1884 java.lang.String skypeSn, java.lang.String twitterSn,
1885 java.lang.String ymSn, java.lang.String jobTitle, long[] groupIds,
1886 long[] organizationIds, long[] roleIds,
1887 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1888 long[] userGroupIds,
1889 java.util.List<com.liferay.portal.model.Address> addresses,
1890 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1891 java.util.List<com.liferay.portal.model.Phone> phones,
1892 java.util.List<com.liferay.portal.model.Website> websites,
1893 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1894 com.liferay.portal.service.ServiceContext serviceContext)
1895 throws com.liferay.portal.kernel.exception.PortalException {
1896 try {
1897 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1898 "updateUser", _updateUserParameterTypes55);
1899
1900 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1901 oldPassword, newPassword1, newPassword2, passwordReset,
1902 reminderQueryQuestion, reminderQueryAnswer, screenName,
1903 emailAddress, facebookId, openId, languageId, timeZoneId,
1904 greeting, comments, firstName, middleName, lastName,
1905 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1906 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn,
1907 mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle, groupIds,
1908 organizationIds, roleIds, userGroupRoles, userGroupIds,
1909 addresses, emailAddresses, phones, websites,
1910 announcementsDelivers, serviceContext);
1911
1912 Object returnObj = null;
1913
1914 try {
1915 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1916 }
1917 catch (Exception e) {
1918 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1919 throw (com.liferay.portal.kernel.exception.PortalException)e;
1920 }
1921
1922 throw new com.liferay.portal.kernel.exception.SystemException(e);
1923 }
1924
1925 return (com.liferay.portal.model.User)returnObj;
1926 }
1927 catch (com.liferay.portal.kernel.exception.SystemException se) {
1928 _log.error(se, se);
1929
1930 throw se;
1931 }
1932 }
1933
1934 public static com.liferay.portal.model.User updateUser(
1935 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1936 java.lang.String newPassword1, java.lang.String newPassword2,
1937 boolean passwordReset, java.lang.String reminderQueryQuestion,
1938 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1939 java.lang.String emailAddress, long facebookId,
1940 java.lang.String openId, java.lang.String languageId,
1941 java.lang.String timeZoneId, java.lang.String greeting,
1942 java.lang.String comments, java.lang.String firstName,
1943 java.lang.String middleName, java.lang.String lastName, long prefixId,
1944 long suffixId, boolean male, int birthdayMonth, int birthdayDay,
1945 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1946 java.lang.String facebookSn, java.lang.String icqSn,
1947 java.lang.String jabberSn, java.lang.String mySpaceSn,
1948 java.lang.String skypeSn, java.lang.String twitterSn,
1949 java.lang.String ymSn, java.lang.String jobTitle, long[] groupIds,
1950 long[] organizationIds, long[] roleIds,
1951 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1952 long[] userGroupIds,
1953 com.liferay.portal.service.ServiceContext serviceContext)
1954 throws com.liferay.portal.kernel.exception.PortalException {
1955 try {
1956 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1957 "updateUser", _updateUserParameterTypes56);
1958
1959 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1960 oldPassword, newPassword1, newPassword2, passwordReset,
1961 reminderQueryQuestion, reminderQueryAnswer, screenName,
1962 emailAddress, facebookId, openId, languageId, timeZoneId,
1963 greeting, comments, firstName, middleName, lastName,
1964 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1965 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn,
1966 mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle, groupIds,
1967 organizationIds, roleIds, userGroupRoles, userGroupIds,
1968 serviceContext);
1969
1970 Object returnObj = null;
1971
1972 try {
1973 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1974 }
1975 catch (Exception e) {
1976 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1977 throw (com.liferay.portal.kernel.exception.PortalException)e;
1978 }
1979
1980 throw new com.liferay.portal.kernel.exception.SystemException(e);
1981 }
1982
1983 return (com.liferay.portal.model.User)returnObj;
1984 }
1985 catch (com.liferay.portal.kernel.exception.SystemException se) {
1986 _log.error(se, se);
1987
1988 throw se;
1989 }
1990 }
1991
1992 private static Log _log = LogFactoryUtil.getLog(UserServiceHttp.class);
1993 private static final Class<?>[] _addGroupUsersParameterTypes0 = new Class[] {
1994 long.class, long[].class,
1995 com.liferay.portal.service.ServiceContext.class
1996 };
1997 private static final Class<?>[] _addOrganizationUsersParameterTypes1 = new Class[] {
1998 long.class, long[].class
1999 };
2000 private static final Class<?>[] _addPasswordPolicyUsersParameterTypes2 = new Class[] {
2001 long.class, long[].class
2002 };
2003 private static final Class<?>[] _addRoleUsersParameterTypes3 = new Class[] {
2004 long.class, long[].class
2005 };
2006 private static final Class<?>[] _addTeamUsersParameterTypes4 = new Class[] {
2007 long.class, long[].class
2008 };
2009 private static final Class<?>[] _addUserParameterTypes5 = new Class[] {
2010 long.class, boolean.class, java.lang.String.class,
2011 java.lang.String.class, boolean.class, java.lang.String.class,
2012 java.lang.String.class, long.class, java.lang.String.class,
2013 java.util.Locale.class, java.lang.String.class,
2014 java.lang.String.class, java.lang.String.class, long.class,
2015 long.class, boolean.class, int.class, int.class, int.class,
2016 java.lang.String.class, long[].class, long[].class, long[].class,
2017 long[].class, boolean.class,
2018 com.liferay.portal.service.ServiceContext.class
2019 };
2020 private static final Class<?>[] _addUserParameterTypes6 = new Class[] {
2021 long.class, boolean.class, java.lang.String.class,
2022 java.lang.String.class, boolean.class, java.lang.String.class,
2023 java.lang.String.class, long.class, java.lang.String.class,
2024 java.util.Locale.class, java.lang.String.class,
2025 java.lang.String.class, java.lang.String.class, long.class,
2026 long.class, boolean.class, int.class, int.class, int.class,
2027 java.lang.String.class, long[].class, long[].class, long[].class,
2028 long[].class, java.util.List.class, java.util.List.class,
2029 java.util.List.class, java.util.List.class, java.util.List.class,
2030 boolean.class, com.liferay.portal.service.ServiceContext.class
2031 };
2032 private static final Class<?>[] _addUserGroupUsersParameterTypes7 = new Class[] {
2033 long.class, long[].class
2034 };
2035 private static final Class<?>[] _addUserWithWorkflowParameterTypes8 = new Class[] {
2036 long.class, boolean.class, java.lang.String.class,
2037 java.lang.String.class, boolean.class, java.lang.String.class,
2038 java.lang.String.class, long.class, java.lang.String.class,
2039 java.util.Locale.class, java.lang.String.class,
2040 java.lang.String.class, java.lang.String.class, long.class,
2041 long.class, boolean.class, int.class, int.class, int.class,
2042 java.lang.String.class, long[].class, long[].class, long[].class,
2043 long[].class, boolean.class,
2044 com.liferay.portal.service.ServiceContext.class
2045 };
2046 private static final Class<?>[] _addUserWithWorkflowParameterTypes9 = new Class[] {
2047 long.class, boolean.class, java.lang.String.class,
2048 java.lang.String.class, boolean.class, java.lang.String.class,
2049 java.lang.String.class, long.class, java.lang.String.class,
2050 java.util.Locale.class, java.lang.String.class,
2051 java.lang.String.class, java.lang.String.class, long.class,
2052 long.class, boolean.class, int.class, int.class, int.class,
2053 java.lang.String.class, long[].class, long[].class, long[].class,
2054 long[].class, java.util.List.class, java.util.List.class,
2055 java.util.List.class, java.util.List.class, java.util.List.class,
2056 boolean.class, com.liferay.portal.service.ServiceContext.class
2057 };
2058 private static final Class<?>[] _deletePortraitParameterTypes10 = new Class[] {
2059 long.class
2060 };
2061 private static final Class<?>[] _deleteRoleUserParameterTypes11 = new Class[] {
2062 long.class, long.class
2063 };
2064 private static final Class<?>[] _deleteUserParameterTypes12 = new Class[] {
2065 long.class
2066 };
2067 private static final Class<?>[] _getCompanyUsersParameterTypes13 = new Class[] {
2068 long.class, int.class, int.class
2069 };
2070 private static final Class<?>[] _getCompanyUsersCountParameterTypes14 = new Class[] {
2071 long.class
2072 };
2073 private static final Class<?>[] _getCurrentUserParameterTypes15 = new Class[] {
2074
2075 };
2076 private static final Class<?>[] _getGroupUserIdsParameterTypes16 = new Class[] {
2077 long.class
2078 };
2079 private static final Class<?>[] _getGroupUsersParameterTypes17 = new Class[] {
2080 long.class
2081 };
2082 private static final Class<?>[] _getOrganizationUserIdsParameterTypes18 = new Class[] {
2083 long.class
2084 };
2085 private static final Class<?>[] _getOrganizationUsersParameterTypes19 = new Class[] {
2086 long.class
2087 };
2088 private static final Class<?>[] _getRoleUserIdsParameterTypes20 = new Class[] {
2089 long.class
2090 };
2091 private static final Class<?>[] _getUserByEmailAddressParameterTypes21 = new Class[] {
2092 long.class, java.lang.String.class
2093 };
2094 private static final Class<?>[] _getUserByIdParameterTypes22 = new Class[] {
2095 long.class
2096 };
2097 private static final Class<?>[] _getUserByScreenNameParameterTypes23 = new Class[] {
2098 long.class, java.lang.String.class
2099 };
2100 private static final Class<?>[] _getUserGroupUsersParameterTypes24 = new Class[] {
2101 long.class
2102 };
2103 private static final Class<?>[] _getUserIdByEmailAddressParameterTypes25 = new Class[] {
2104 long.class, java.lang.String.class
2105 };
2106 private static final Class<?>[] _getUserIdByScreenNameParameterTypes26 = new Class[] {
2107 long.class, java.lang.String.class
2108 };
2109 private static final Class<?>[] _hasGroupUserParameterTypes27 = new Class[] {
2110 long.class, long.class
2111 };
2112 private static final Class<?>[] _hasRoleUserParameterTypes28 = new Class[] {
2113 long.class, long.class
2114 };
2115 private static final Class<?>[] _hasRoleUserParameterTypes29 = new Class[] {
2116 long.class, java.lang.String.class, long.class, boolean.class
2117 };
2118 private static final Class<?>[] _sendPasswordByEmailAddressParameterTypes30 = new Class[] {
2119 long.class, java.lang.String.class
2120 };
2121 private static final Class<?>[] _sendPasswordByScreenNameParameterTypes31 = new Class[] {
2122 long.class, java.lang.String.class
2123 };
2124 private static final Class<?>[] _sendPasswordByUserIdParameterTypes32 = new Class[] {
2125 long.class
2126 };
2127 private static final Class<?>[] _setRoleUsersParameterTypes33 = new Class[] {
2128 long.class, long[].class
2129 };
2130 private static final Class<?>[] _setUserGroupUsersParameterTypes34 = new Class[] {
2131 long.class, long[].class
2132 };
2133 private static final Class<?>[] _unsetGroupTeamsUsersParameterTypes35 = new Class[] {
2134 long.class, long[].class
2135 };
2136 private static final Class<?>[] _unsetGroupUsersParameterTypes36 = new Class[] {
2137 long.class, long[].class,
2138 com.liferay.portal.service.ServiceContext.class
2139 };
2140 private static final Class<?>[] _unsetOrganizationUsersParameterTypes37 = new Class[] {
2141 long.class, long[].class
2142 };
2143 private static final Class<?>[] _unsetPasswordPolicyUsersParameterTypes38 = new Class[] {
2144 long.class, long[].class
2145 };
2146 private static final Class<?>[] _unsetRoleUsersParameterTypes39 = new Class[] {
2147 long.class, long[].class
2148 };
2149 private static final Class<?>[] _unsetTeamUsersParameterTypes40 = new Class[] {
2150 long.class, long[].class
2151 };
2152 private static final Class<?>[] _unsetUserGroupUsersParameterTypes41 = new Class[] {
2153 long.class, long[].class
2154 };
2155 private static final Class<?>[] _updateAgreedToTermsOfUseParameterTypes42 = new Class[] {
2156 long.class, boolean.class
2157 };
2158 private static final Class<?>[] _updateEmailAddressParameterTypes43 = new Class[] {
2159 long.class, java.lang.String.class, java.lang.String.class,
2160 java.lang.String.class,
2161 com.liferay.portal.service.ServiceContext.class
2162 };
2163 private static final Class<?>[] _updateIncompleteUserParameterTypes44 = new Class[] {
2164 long.class, boolean.class, java.lang.String.class,
2165 java.lang.String.class, boolean.class, java.lang.String.class,
2166 java.lang.String.class, long.class, java.lang.String.class,
2167 java.util.Locale.class, java.lang.String.class,
2168 java.lang.String.class, java.lang.String.class, long.class,
2169 long.class, boolean.class, int.class, int.class, int.class,
2170 java.lang.String.class, boolean.class, boolean.class,
2171 com.liferay.portal.service.ServiceContext.class
2172 };
2173 private static final Class<?>[] _updateLockoutByIdParameterTypes45 = new Class[] {
2174 long.class, boolean.class
2175 };
2176 private static final Class<?>[] _updateOpenIdParameterTypes46 = new Class[] {
2177 long.class, java.lang.String.class
2178 };
2179 private static final Class<?>[] _updateOrganizationsParameterTypes47 = new Class[] {
2180 long.class, long[].class,
2181 com.liferay.portal.service.ServiceContext.class
2182 };
2183 private static final Class<?>[] _updatePasswordParameterTypes48 = new Class[] {
2184 long.class, java.lang.String.class, java.lang.String.class,
2185 boolean.class
2186 };
2187 private static final Class<?>[] _updatePortraitParameterTypes49 = new Class[] {
2188 long.class, byte[].class
2189 };
2190 private static final Class<?>[] _updateReminderQueryParameterTypes50 = new Class[] {
2191 long.class, java.lang.String.class, java.lang.String.class
2192 };
2193 private static final Class<?>[] _updateScreenNameParameterTypes51 = new Class[] {
2194 long.class, java.lang.String.class
2195 };
2196 private static final Class<?>[] _updateStatusParameterTypes52 = new Class[] {
2197 long.class, int.class
2198 };
2199 private static final Class<?>[] _updateStatusParameterTypes53 = new Class[] {
2200 long.class, int.class,
2201 com.liferay.portal.service.ServiceContext.class
2202 };
2203 private static final Class<?>[] _updateUserParameterTypes54 = new Class[] {
2204 long.class, java.lang.String.class, java.lang.String.class,
2205 java.lang.String.class, boolean.class, java.lang.String.class,
2206 java.lang.String.class, java.lang.String.class,
2207 java.lang.String.class, long.class, java.lang.String.class,
2208 boolean.class, byte[].class, java.lang.String.class,
2209 java.lang.String.class, java.lang.String.class,
2210 java.lang.String.class, java.lang.String.class,
2211 java.lang.String.class, java.lang.String.class, long.class,
2212 long.class, boolean.class, int.class, int.class, int.class,
2213 java.lang.String.class, java.lang.String.class,
2214 java.lang.String.class, java.lang.String.class,
2215 java.lang.String.class, java.lang.String.class,
2216 java.lang.String.class, java.lang.String.class,
2217 java.lang.String.class, java.lang.String.class, long[].class,
2218 long[].class, long[].class, java.util.List.class, long[].class,
2219 java.util.List.class, java.util.List.class, java.util.List.class,
2220 java.util.List.class, java.util.List.class,
2221 com.liferay.portal.service.ServiceContext.class
2222 };
2223 private static final Class<?>[] _updateUserParameterTypes55 = new Class[] {
2224 long.class, java.lang.String.class, java.lang.String.class,
2225 java.lang.String.class, boolean.class, java.lang.String.class,
2226 java.lang.String.class, java.lang.String.class,
2227 java.lang.String.class, long.class, java.lang.String.class,
2228 java.lang.String.class, java.lang.String.class,
2229 java.lang.String.class, java.lang.String.class,
2230 java.lang.String.class, java.lang.String.class,
2231 java.lang.String.class, long.class, long.class, boolean.class,
2232 int.class, int.class, int.class, java.lang.String.class,
2233 java.lang.String.class, java.lang.String.class,
2234 java.lang.String.class, java.lang.String.class,
2235 java.lang.String.class, java.lang.String.class,
2236 java.lang.String.class, java.lang.String.class,
2237 java.lang.String.class, long[].class, long[].class, long[].class,
2238 java.util.List.class, long[].class, java.util.List.class,
2239 java.util.List.class, java.util.List.class, java.util.List.class,
2240 java.util.List.class,
2241 com.liferay.portal.service.ServiceContext.class
2242 };
2243 private static final Class<?>[] _updateUserParameterTypes56 = new Class[] {
2244 long.class, java.lang.String.class, java.lang.String.class,
2245 java.lang.String.class, boolean.class, java.lang.String.class,
2246 java.lang.String.class, java.lang.String.class,
2247 java.lang.String.class, long.class, java.lang.String.class,
2248 java.lang.String.class, java.lang.String.class,
2249 java.lang.String.class, java.lang.String.class,
2250 java.lang.String.class, java.lang.String.class,
2251 java.lang.String.class, long.class, long.class, boolean.class,
2252 int.class, int.class, int.class, java.lang.String.class,
2253 java.lang.String.class, java.lang.String.class,
2254 java.lang.String.class, java.lang.String.class,
2255 java.lang.String.class, java.lang.String.class,
2256 java.lang.String.class, java.lang.String.class,
2257 java.lang.String.class, long[].class, long[].class, long[].class,
2258 java.util.List.class, long[].class,
2259 com.liferay.portal.service.ServiceContext.class
2260 };
2261 }