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 facebookSn,
1818 java.lang.String jabberSn, java.lang.String skypeSn,
1819 java.lang.String twitterSn, java.lang.String jobTitle, long[] groupIds,
1820 long[] organizationIds, long[] roleIds,
1821 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1822 long[] userGroupIds,
1823 java.util.List<com.liferay.portal.model.Address> addresses,
1824 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1825 java.util.List<com.liferay.portal.model.Phone> phones,
1826 java.util.List<com.liferay.portal.model.Website> websites,
1827 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1828 com.liferay.portal.service.ServiceContext serviceContext)
1829 throws com.liferay.portal.kernel.exception.PortalException {
1830 try {
1831 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1832 "updateUser", _updateUserParameterTypes54);
1833
1834 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1835 oldPassword, newPassword1, newPassword2, passwordReset,
1836 reminderQueryQuestion, reminderQueryAnswer, screenName,
1837 emailAddress, facebookId, openId, portrait, portraitBytes,
1838 languageId, timeZoneId, greeting, comments, firstName,
1839 middleName, lastName, prefixId, suffixId, male,
1840 birthdayMonth, birthdayDay, birthdayYear, smsSn,
1841 facebookSn, jabberSn, skypeSn, twitterSn, jobTitle,
1842 groupIds, organizationIds, roleIds, userGroupRoles,
1843 userGroupIds, addresses, emailAddresses, phones, websites,
1844 announcementsDelivers, serviceContext);
1845
1846 Object returnObj = null;
1847
1848 try {
1849 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1850 }
1851 catch (Exception e) {
1852 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1853 throw (com.liferay.portal.kernel.exception.PortalException)e;
1854 }
1855
1856 throw new com.liferay.portal.kernel.exception.SystemException(e);
1857 }
1858
1859 return (com.liferay.portal.model.User)returnObj;
1860 }
1861 catch (com.liferay.portal.kernel.exception.SystemException se) {
1862 _log.error(se, se);
1863
1864 throw se;
1865 }
1866 }
1867
1868 public static com.liferay.portal.model.User updateUser(
1869 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1870 java.lang.String newPassword1, java.lang.String newPassword2,
1871 boolean passwordReset, java.lang.String reminderQueryQuestion,
1872 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1873 java.lang.String emailAddress, long facebookId,
1874 java.lang.String openId, java.lang.String languageId,
1875 java.lang.String timeZoneId, java.lang.String greeting,
1876 java.lang.String comments, java.lang.String firstName,
1877 java.lang.String middleName, java.lang.String lastName, long prefixId,
1878 long suffixId, boolean male, int birthdayMonth, int birthdayDay,
1879 int birthdayYear, java.lang.String smsSn, java.lang.String facebookSn,
1880 java.lang.String jabberSn, java.lang.String skypeSn,
1881 java.lang.String twitterSn, java.lang.String jobTitle, long[] groupIds,
1882 long[] organizationIds, long[] roleIds,
1883 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1884 long[] userGroupIds,
1885 java.util.List<com.liferay.portal.model.Address> addresses,
1886 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1887 java.util.List<com.liferay.portal.model.Phone> phones,
1888 java.util.List<com.liferay.portal.model.Website> websites,
1889 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1890 com.liferay.portal.service.ServiceContext serviceContext)
1891 throws com.liferay.portal.kernel.exception.PortalException {
1892 try {
1893 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1894 "updateUser", _updateUserParameterTypes55);
1895
1896 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1897 oldPassword, newPassword1, newPassword2, passwordReset,
1898 reminderQueryQuestion, reminderQueryAnswer, screenName,
1899 emailAddress, facebookId, openId, languageId, timeZoneId,
1900 greeting, comments, firstName, middleName, lastName,
1901 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1902 birthdayYear, smsSn, facebookSn, jabberSn, skypeSn,
1903 twitterSn, jobTitle, groupIds, organizationIds, roleIds,
1904 userGroupRoles, userGroupIds, addresses, emailAddresses,
1905 phones, websites, announcementsDelivers, serviceContext);
1906
1907 Object returnObj = null;
1908
1909 try {
1910 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1911 }
1912 catch (Exception e) {
1913 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1914 throw (com.liferay.portal.kernel.exception.PortalException)e;
1915 }
1916
1917 throw new com.liferay.portal.kernel.exception.SystemException(e);
1918 }
1919
1920 return (com.liferay.portal.model.User)returnObj;
1921 }
1922 catch (com.liferay.portal.kernel.exception.SystemException se) {
1923 _log.error(se, se);
1924
1925 throw se;
1926 }
1927 }
1928
1929 public static com.liferay.portal.model.User updateUser(
1930 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1931 java.lang.String newPassword1, java.lang.String newPassword2,
1932 boolean passwordReset, java.lang.String reminderQueryQuestion,
1933 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1934 java.lang.String emailAddress, long facebookId,
1935 java.lang.String openId, java.lang.String languageId,
1936 java.lang.String timeZoneId, java.lang.String greeting,
1937 java.lang.String comments, java.lang.String firstName,
1938 java.lang.String middleName, java.lang.String lastName, long prefixId,
1939 long suffixId, boolean male, int birthdayMonth, int birthdayDay,
1940 int birthdayYear, java.lang.String smsSn, java.lang.String facebookSn,
1941 java.lang.String jabberSn, java.lang.String skypeSn,
1942 java.lang.String twitterSn, java.lang.String jobTitle, long[] groupIds,
1943 long[] organizationIds, long[] roleIds,
1944 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1945 long[] userGroupIds,
1946 com.liferay.portal.service.ServiceContext serviceContext)
1947 throws com.liferay.portal.kernel.exception.PortalException {
1948 try {
1949 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1950 "updateUser", _updateUserParameterTypes56);
1951
1952 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1953 oldPassword, newPassword1, newPassword2, passwordReset,
1954 reminderQueryQuestion, reminderQueryAnswer, screenName,
1955 emailAddress, facebookId, openId, languageId, timeZoneId,
1956 greeting, comments, firstName, middleName, lastName,
1957 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1958 birthdayYear, smsSn, facebookSn, jabberSn, skypeSn,
1959 twitterSn, jobTitle, groupIds, organizationIds, roleIds,
1960 userGroupRoles, userGroupIds, serviceContext);
1961
1962 Object returnObj = null;
1963
1964 try {
1965 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1966 }
1967 catch (Exception e) {
1968 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1969 throw (com.liferay.portal.kernel.exception.PortalException)e;
1970 }
1971
1972 throw new com.liferay.portal.kernel.exception.SystemException(e);
1973 }
1974
1975 return (com.liferay.portal.model.User)returnObj;
1976 }
1977 catch (com.liferay.portal.kernel.exception.SystemException se) {
1978 _log.error(se, se);
1979
1980 throw se;
1981 }
1982 }
1983
1984 private static Log _log = LogFactoryUtil.getLog(UserServiceHttp.class);
1985 private static final Class<?>[] _addGroupUsersParameterTypes0 = new Class[] {
1986 long.class, long[].class,
1987 com.liferay.portal.service.ServiceContext.class
1988 };
1989 private static final Class<?>[] _addOrganizationUsersParameterTypes1 = new Class[] {
1990 long.class, long[].class
1991 };
1992 private static final Class<?>[] _addPasswordPolicyUsersParameterTypes2 = new Class[] {
1993 long.class, long[].class
1994 };
1995 private static final Class<?>[] _addRoleUsersParameterTypes3 = new Class[] {
1996 long.class, long[].class
1997 };
1998 private static final Class<?>[] _addTeamUsersParameterTypes4 = new Class[] {
1999 long.class, long[].class
2000 };
2001 private static final Class<?>[] _addUserParameterTypes5 = new Class[] {
2002 long.class, boolean.class, java.lang.String.class,
2003 java.lang.String.class, boolean.class, java.lang.String.class,
2004 java.lang.String.class, long.class, java.lang.String.class,
2005 java.util.Locale.class, java.lang.String.class,
2006 java.lang.String.class, java.lang.String.class, long.class,
2007 long.class, boolean.class, int.class, int.class, int.class,
2008 java.lang.String.class, long[].class, long[].class, long[].class,
2009 long[].class, boolean.class,
2010 com.liferay.portal.service.ServiceContext.class
2011 };
2012 private static final Class<?>[] _addUserParameterTypes6 = new Class[] {
2013 long.class, boolean.class, java.lang.String.class,
2014 java.lang.String.class, boolean.class, java.lang.String.class,
2015 java.lang.String.class, long.class, java.lang.String.class,
2016 java.util.Locale.class, java.lang.String.class,
2017 java.lang.String.class, java.lang.String.class, long.class,
2018 long.class, boolean.class, int.class, int.class, int.class,
2019 java.lang.String.class, long[].class, long[].class, long[].class,
2020 long[].class, java.util.List.class, java.util.List.class,
2021 java.util.List.class, java.util.List.class, java.util.List.class,
2022 boolean.class, com.liferay.portal.service.ServiceContext.class
2023 };
2024 private static final Class<?>[] _addUserGroupUsersParameterTypes7 = new Class[] {
2025 long.class, long[].class
2026 };
2027 private static final Class<?>[] _addUserWithWorkflowParameterTypes8 = new Class[] {
2028 long.class, boolean.class, java.lang.String.class,
2029 java.lang.String.class, boolean.class, java.lang.String.class,
2030 java.lang.String.class, long.class, java.lang.String.class,
2031 java.util.Locale.class, java.lang.String.class,
2032 java.lang.String.class, java.lang.String.class, long.class,
2033 long.class, boolean.class, int.class, int.class, int.class,
2034 java.lang.String.class, long[].class, long[].class, long[].class,
2035 long[].class, boolean.class,
2036 com.liferay.portal.service.ServiceContext.class
2037 };
2038 private static final Class<?>[] _addUserWithWorkflowParameterTypes9 = new Class[] {
2039 long.class, boolean.class, java.lang.String.class,
2040 java.lang.String.class, boolean.class, java.lang.String.class,
2041 java.lang.String.class, long.class, java.lang.String.class,
2042 java.util.Locale.class, java.lang.String.class,
2043 java.lang.String.class, java.lang.String.class, long.class,
2044 long.class, boolean.class, int.class, int.class, int.class,
2045 java.lang.String.class, long[].class, long[].class, long[].class,
2046 long[].class, java.util.List.class, java.util.List.class,
2047 java.util.List.class, java.util.List.class, java.util.List.class,
2048 boolean.class, com.liferay.portal.service.ServiceContext.class
2049 };
2050 private static final Class<?>[] _deletePortraitParameterTypes10 = new Class[] {
2051 long.class
2052 };
2053 private static final Class<?>[] _deleteRoleUserParameterTypes11 = new Class[] {
2054 long.class, long.class
2055 };
2056 private static final Class<?>[] _deleteUserParameterTypes12 = new Class[] {
2057 long.class
2058 };
2059 private static final Class<?>[] _getCompanyUsersParameterTypes13 = new Class[] {
2060 long.class, int.class, int.class
2061 };
2062 private static final Class<?>[] _getCompanyUsersCountParameterTypes14 = new Class[] {
2063 long.class
2064 };
2065 private static final Class<?>[] _getCurrentUserParameterTypes15 = new Class[] {
2066
2067 };
2068 private static final Class<?>[] _getGroupUserIdsParameterTypes16 = new Class[] {
2069 long.class
2070 };
2071 private static final Class<?>[] _getGroupUsersParameterTypes17 = new Class[] {
2072 long.class
2073 };
2074 private static final Class<?>[] _getOrganizationUserIdsParameterTypes18 = new Class[] {
2075 long.class
2076 };
2077 private static final Class<?>[] _getOrganizationUsersParameterTypes19 = new Class[] {
2078 long.class
2079 };
2080 private static final Class<?>[] _getRoleUserIdsParameterTypes20 = new Class[] {
2081 long.class
2082 };
2083 private static final Class<?>[] _getUserByEmailAddressParameterTypes21 = new Class[] {
2084 long.class, java.lang.String.class
2085 };
2086 private static final Class<?>[] _getUserByIdParameterTypes22 = new Class[] {
2087 long.class
2088 };
2089 private static final Class<?>[] _getUserByScreenNameParameterTypes23 = new Class[] {
2090 long.class, java.lang.String.class
2091 };
2092 private static final Class<?>[] _getUserGroupUsersParameterTypes24 = new Class[] {
2093 long.class
2094 };
2095 private static final Class<?>[] _getUserIdByEmailAddressParameterTypes25 = new Class[] {
2096 long.class, java.lang.String.class
2097 };
2098 private static final Class<?>[] _getUserIdByScreenNameParameterTypes26 = new Class[] {
2099 long.class, java.lang.String.class
2100 };
2101 private static final Class<?>[] _hasGroupUserParameterTypes27 = new Class[] {
2102 long.class, long.class
2103 };
2104 private static final Class<?>[] _hasRoleUserParameterTypes28 = new Class[] {
2105 long.class, long.class
2106 };
2107 private static final Class<?>[] _hasRoleUserParameterTypes29 = new Class[] {
2108 long.class, java.lang.String.class, long.class, boolean.class
2109 };
2110 private static final Class<?>[] _sendPasswordByEmailAddressParameterTypes30 = new Class[] {
2111 long.class, java.lang.String.class
2112 };
2113 private static final Class<?>[] _sendPasswordByScreenNameParameterTypes31 = new Class[] {
2114 long.class, java.lang.String.class
2115 };
2116 private static final Class<?>[] _sendPasswordByUserIdParameterTypes32 = new Class[] {
2117 long.class
2118 };
2119 private static final Class<?>[] _setRoleUsersParameterTypes33 = new Class[] {
2120 long.class, long[].class
2121 };
2122 private static final Class<?>[] _setUserGroupUsersParameterTypes34 = new Class[] {
2123 long.class, long[].class
2124 };
2125 private static final Class<?>[] _unsetGroupTeamsUsersParameterTypes35 = new Class[] {
2126 long.class, long[].class
2127 };
2128 private static final Class<?>[] _unsetGroupUsersParameterTypes36 = new Class[] {
2129 long.class, long[].class,
2130 com.liferay.portal.service.ServiceContext.class
2131 };
2132 private static final Class<?>[] _unsetOrganizationUsersParameterTypes37 = new Class[] {
2133 long.class, long[].class
2134 };
2135 private static final Class<?>[] _unsetPasswordPolicyUsersParameterTypes38 = new Class[] {
2136 long.class, long[].class
2137 };
2138 private static final Class<?>[] _unsetRoleUsersParameterTypes39 = new Class[] {
2139 long.class, long[].class
2140 };
2141 private static final Class<?>[] _unsetTeamUsersParameterTypes40 = new Class[] {
2142 long.class, long[].class
2143 };
2144 private static final Class<?>[] _unsetUserGroupUsersParameterTypes41 = new Class[] {
2145 long.class, long[].class
2146 };
2147 private static final Class<?>[] _updateAgreedToTermsOfUseParameterTypes42 = new Class[] {
2148 long.class, boolean.class
2149 };
2150 private static final Class<?>[] _updateEmailAddressParameterTypes43 = new Class[] {
2151 long.class, java.lang.String.class, java.lang.String.class,
2152 java.lang.String.class,
2153 com.liferay.portal.service.ServiceContext.class
2154 };
2155 private static final Class<?>[] _updateIncompleteUserParameterTypes44 = new Class[] {
2156 long.class, boolean.class, java.lang.String.class,
2157 java.lang.String.class, boolean.class, java.lang.String.class,
2158 java.lang.String.class, long.class, java.lang.String.class,
2159 java.util.Locale.class, java.lang.String.class,
2160 java.lang.String.class, java.lang.String.class, long.class,
2161 long.class, boolean.class, int.class, int.class, int.class,
2162 java.lang.String.class, boolean.class, boolean.class,
2163 com.liferay.portal.service.ServiceContext.class
2164 };
2165 private static final Class<?>[] _updateLockoutByIdParameterTypes45 = new Class[] {
2166 long.class, boolean.class
2167 };
2168 private static final Class<?>[] _updateOpenIdParameterTypes46 = new Class[] {
2169 long.class, java.lang.String.class
2170 };
2171 private static final Class<?>[] _updateOrganizationsParameterTypes47 = new Class[] {
2172 long.class, long[].class,
2173 com.liferay.portal.service.ServiceContext.class
2174 };
2175 private static final Class<?>[] _updatePasswordParameterTypes48 = new Class[] {
2176 long.class, java.lang.String.class, java.lang.String.class,
2177 boolean.class
2178 };
2179 private static final Class<?>[] _updatePortraitParameterTypes49 = new Class[] {
2180 long.class, byte[].class
2181 };
2182 private static final Class<?>[] _updateReminderQueryParameterTypes50 = new Class[] {
2183 long.class, java.lang.String.class, java.lang.String.class
2184 };
2185 private static final Class<?>[] _updateScreenNameParameterTypes51 = new Class[] {
2186 long.class, java.lang.String.class
2187 };
2188 private static final Class<?>[] _updateStatusParameterTypes52 = new Class[] {
2189 long.class, int.class
2190 };
2191 private static final Class<?>[] _updateStatusParameterTypes53 = new Class[] {
2192 long.class, int.class,
2193 com.liferay.portal.service.ServiceContext.class
2194 };
2195 private static final Class<?>[] _updateUserParameterTypes54 = new Class[] {
2196 long.class, java.lang.String.class, java.lang.String.class,
2197 java.lang.String.class, boolean.class, java.lang.String.class,
2198 java.lang.String.class, java.lang.String.class,
2199 java.lang.String.class, long.class, java.lang.String.class,
2200 boolean.class, byte[].class, java.lang.String.class,
2201 java.lang.String.class, java.lang.String.class,
2202 java.lang.String.class, java.lang.String.class,
2203 java.lang.String.class, java.lang.String.class, long.class,
2204 long.class, boolean.class, int.class, int.class, int.class,
2205 java.lang.String.class, java.lang.String.class,
2206 java.lang.String.class, java.lang.String.class,
2207 java.lang.String.class, java.lang.String.class, long[].class,
2208 long[].class, long[].class, java.util.List.class, long[].class,
2209 java.util.List.class, java.util.List.class, java.util.List.class,
2210 java.util.List.class, java.util.List.class,
2211 com.liferay.portal.service.ServiceContext.class
2212 };
2213 private static final Class<?>[] _updateUserParameterTypes55 = new Class[] {
2214 long.class, java.lang.String.class, java.lang.String.class,
2215 java.lang.String.class, boolean.class, java.lang.String.class,
2216 java.lang.String.class, java.lang.String.class,
2217 java.lang.String.class, long.class, java.lang.String.class,
2218 java.lang.String.class, java.lang.String.class,
2219 java.lang.String.class, java.lang.String.class,
2220 java.lang.String.class, java.lang.String.class,
2221 java.lang.String.class, long.class, long.class, boolean.class,
2222 int.class, int.class, int.class, java.lang.String.class,
2223 java.lang.String.class, java.lang.String.class,
2224 java.lang.String.class, java.lang.String.class,
2225 java.lang.String.class, long[].class, long[].class, long[].class,
2226 java.util.List.class, long[].class, java.util.List.class,
2227 java.util.List.class, java.util.List.class, java.util.List.class,
2228 java.util.List.class,
2229 com.liferay.portal.service.ServiceContext.class
2230 };
2231 private static final Class<?>[] _updateUserParameterTypes56 = new Class[] {
2232 long.class, java.lang.String.class, java.lang.String.class,
2233 java.lang.String.class, boolean.class, java.lang.String.class,
2234 java.lang.String.class, java.lang.String.class,
2235 java.lang.String.class, long.class, java.lang.String.class,
2236 java.lang.String.class, java.lang.String.class,
2237 java.lang.String.class, java.lang.String.class,
2238 java.lang.String.class, java.lang.String.class,
2239 java.lang.String.class, long.class, long.class, boolean.class,
2240 int.class, int.class, int.class, java.lang.String.class,
2241 java.lang.String.class, java.lang.String.class,
2242 java.lang.String.class, java.lang.String.class,
2243 java.lang.String.class, long[].class, long[].class, long[].class,
2244 java.util.List.class, long[].class,
2245 com.liferay.portal.service.ServiceContext.class
2246 };
2247 }