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, int prefixId, int 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, int prefixId, int 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, int prefixId, int 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, int prefixId, int 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 long[] getGroupUserIds(HttpPrincipal httpPrincipal,
571 long groupId)
572 throws com.liferay.portal.kernel.exception.PortalException {
573 try {
574 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
575 "getGroupUserIds", _getGroupUserIdsParameterTypes15);
576
577 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
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 (long[])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 java.util.List<com.liferay.portal.model.User> getGroupUsers(
602 HttpPrincipal httpPrincipal, long groupId)
603 throws com.liferay.portal.kernel.exception.PortalException {
604 try {
605 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
606 "getGroupUsers", _getGroupUsersParameterTypes16);
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 (java.util.List<com.liferay.portal.model.User>)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 long[] getOrganizationUserIds(HttpPrincipal httpPrincipal,
633 long organizationId)
634 throws com.liferay.portal.kernel.exception.PortalException {
635 try {
636 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
637 "getOrganizationUserIds",
638 _getOrganizationUserIdsParameterTypes17);
639
640 MethodHandler methodHandler = new MethodHandler(methodKey,
641 organizationId);
642
643 Object returnObj = null;
644
645 try {
646 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
647 }
648 catch (Exception e) {
649 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
650 throw (com.liferay.portal.kernel.exception.PortalException)e;
651 }
652
653 throw new com.liferay.portal.kernel.exception.SystemException(e);
654 }
655
656 return (long[])returnObj;
657 }
658 catch (com.liferay.portal.kernel.exception.SystemException se) {
659 _log.error(se, se);
660
661 throw se;
662 }
663 }
664
665 public static java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
666 HttpPrincipal httpPrincipal, long organizationId)
667 throws com.liferay.portal.kernel.exception.PortalException {
668 try {
669 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
670 "getOrganizationUsers",
671 _getOrganizationUsersParameterTypes18);
672
673 MethodHandler methodHandler = new MethodHandler(methodKey,
674 organizationId);
675
676 Object returnObj = null;
677
678 try {
679 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
680 }
681 catch (Exception e) {
682 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
683 throw (com.liferay.portal.kernel.exception.PortalException)e;
684 }
685
686 throw new com.liferay.portal.kernel.exception.SystemException(e);
687 }
688
689 return (java.util.List<com.liferay.portal.model.User>)returnObj;
690 }
691 catch (com.liferay.portal.kernel.exception.SystemException se) {
692 _log.error(se, se);
693
694 throw se;
695 }
696 }
697
698 public static long[] getRoleUserIds(HttpPrincipal httpPrincipal, long roleId)
699 throws com.liferay.portal.kernel.exception.PortalException {
700 try {
701 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
702 "getRoleUserIds", _getRoleUserIdsParameterTypes19);
703
704 MethodHandler methodHandler = new MethodHandler(methodKey, roleId);
705
706 Object returnObj = null;
707
708 try {
709 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
710 }
711 catch (Exception e) {
712 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
713 throw (com.liferay.portal.kernel.exception.PortalException)e;
714 }
715
716 throw new com.liferay.portal.kernel.exception.SystemException(e);
717 }
718
719 return (long[])returnObj;
720 }
721 catch (com.liferay.portal.kernel.exception.SystemException se) {
722 _log.error(se, se);
723
724 throw se;
725 }
726 }
727
728 public static com.liferay.portal.model.User getUserByEmailAddress(
729 HttpPrincipal httpPrincipal, long companyId,
730 java.lang.String emailAddress)
731 throws com.liferay.portal.kernel.exception.PortalException {
732 try {
733 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
734 "getUserByEmailAddress",
735 _getUserByEmailAddressParameterTypes20);
736
737 MethodHandler methodHandler = new MethodHandler(methodKey,
738 companyId, emailAddress);
739
740 Object returnObj = null;
741
742 try {
743 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
744 }
745 catch (Exception e) {
746 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
747 throw (com.liferay.portal.kernel.exception.PortalException)e;
748 }
749
750 throw new com.liferay.portal.kernel.exception.SystemException(e);
751 }
752
753 return (com.liferay.portal.model.User)returnObj;
754 }
755 catch (com.liferay.portal.kernel.exception.SystemException se) {
756 _log.error(se, se);
757
758 throw se;
759 }
760 }
761
762 public static com.liferay.portal.model.User getUserById(
763 HttpPrincipal httpPrincipal, long userId)
764 throws com.liferay.portal.kernel.exception.PortalException {
765 try {
766 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
767 "getUserById", _getUserByIdParameterTypes21);
768
769 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
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 getUserByScreenName(
794 HttpPrincipal httpPrincipal, long companyId, java.lang.String screenName)
795 throws com.liferay.portal.kernel.exception.PortalException {
796 try {
797 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
798 "getUserByScreenName", _getUserByScreenNameParameterTypes22);
799
800 MethodHandler methodHandler = new MethodHandler(methodKey,
801 companyId, screenName);
802
803 Object returnObj = null;
804
805 try {
806 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
807 }
808 catch (Exception e) {
809 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
810 throw (com.liferay.portal.kernel.exception.PortalException)e;
811 }
812
813 throw new com.liferay.portal.kernel.exception.SystemException(e);
814 }
815
816 return (com.liferay.portal.model.User)returnObj;
817 }
818 catch (com.liferay.portal.kernel.exception.SystemException se) {
819 _log.error(se, se);
820
821 throw se;
822 }
823 }
824
825 public static java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
826 HttpPrincipal httpPrincipal, long userGroupId)
827 throws com.liferay.portal.kernel.exception.PortalException {
828 try {
829 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
830 "getUserGroupUsers", _getUserGroupUsersParameterTypes23);
831
832 MethodHandler methodHandler = new MethodHandler(methodKey,
833 userGroupId);
834
835 Object returnObj = null;
836
837 try {
838 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
839 }
840 catch (Exception e) {
841 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
842 throw (com.liferay.portal.kernel.exception.PortalException)e;
843 }
844
845 throw new com.liferay.portal.kernel.exception.SystemException(e);
846 }
847
848 return (java.util.List<com.liferay.portal.model.User>)returnObj;
849 }
850 catch (com.liferay.portal.kernel.exception.SystemException se) {
851 _log.error(se, se);
852
853 throw se;
854 }
855 }
856
857 public static long getUserIdByEmailAddress(HttpPrincipal httpPrincipal,
858 long companyId, java.lang.String emailAddress)
859 throws com.liferay.portal.kernel.exception.PortalException {
860 try {
861 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
862 "getUserIdByEmailAddress",
863 _getUserIdByEmailAddressParameterTypes24);
864
865 MethodHandler methodHandler = new MethodHandler(methodKey,
866 companyId, emailAddress);
867
868 Object returnObj = null;
869
870 try {
871 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
872 }
873 catch (Exception e) {
874 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
875 throw (com.liferay.portal.kernel.exception.PortalException)e;
876 }
877
878 throw new com.liferay.portal.kernel.exception.SystemException(e);
879 }
880
881 return ((Long)returnObj).longValue();
882 }
883 catch (com.liferay.portal.kernel.exception.SystemException se) {
884 _log.error(se, se);
885
886 throw se;
887 }
888 }
889
890 public static long getUserIdByScreenName(HttpPrincipal httpPrincipal,
891 long companyId, java.lang.String screenName)
892 throws com.liferay.portal.kernel.exception.PortalException {
893 try {
894 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
895 "getUserIdByScreenName",
896 _getUserIdByScreenNameParameterTypes25);
897
898 MethodHandler methodHandler = new MethodHandler(methodKey,
899 companyId, screenName);
900
901 Object returnObj = null;
902
903 try {
904 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
905 }
906 catch (Exception e) {
907 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
908 throw (com.liferay.portal.kernel.exception.PortalException)e;
909 }
910
911 throw new com.liferay.portal.kernel.exception.SystemException(e);
912 }
913
914 return ((Long)returnObj).longValue();
915 }
916 catch (com.liferay.portal.kernel.exception.SystemException se) {
917 _log.error(se, se);
918
919 throw se;
920 }
921 }
922
923 public static boolean hasGroupUser(HttpPrincipal httpPrincipal,
924 long groupId, long userId)
925 throws com.liferay.portal.kernel.exception.PortalException {
926 try {
927 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
928 "hasGroupUser", _hasGroupUserParameterTypes26);
929
930 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
931 userId);
932
933 Object returnObj = null;
934
935 try {
936 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
937 }
938 catch (Exception e) {
939 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
940 throw (com.liferay.portal.kernel.exception.PortalException)e;
941 }
942
943 throw new com.liferay.portal.kernel.exception.SystemException(e);
944 }
945
946 return ((Boolean)returnObj).booleanValue();
947 }
948 catch (com.liferay.portal.kernel.exception.SystemException se) {
949 _log.error(se, se);
950
951 throw se;
952 }
953 }
954
955 public static boolean hasRoleUser(HttpPrincipal httpPrincipal, long roleId,
956 long userId) throws com.liferay.portal.kernel.exception.PortalException {
957 try {
958 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
959 "hasRoleUser", _hasRoleUserParameterTypes27);
960
961 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
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,
987 long companyId, java.lang.String name, long userId, boolean inherited)
988 throws com.liferay.portal.kernel.exception.PortalException {
989 try {
990 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
991 "hasRoleUser", _hasRoleUserParameterTypes28);
992
993 MethodHandler methodHandler = new MethodHandler(methodKey,
994 companyId, name, userId, inherited);
995
996 Object returnObj = null;
997
998 try {
999 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1000 }
1001 catch (Exception e) {
1002 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1003 throw (com.liferay.portal.kernel.exception.PortalException)e;
1004 }
1005
1006 throw new com.liferay.portal.kernel.exception.SystemException(e);
1007 }
1008
1009 return ((Boolean)returnObj).booleanValue();
1010 }
1011 catch (com.liferay.portal.kernel.exception.SystemException se) {
1012 _log.error(se, se);
1013
1014 throw se;
1015 }
1016 }
1017
1018 public static boolean sendPasswordByEmailAddress(
1019 HttpPrincipal httpPrincipal, long companyId,
1020 java.lang.String emailAddress)
1021 throws com.liferay.portal.kernel.exception.PortalException {
1022 try {
1023 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1024 "sendPasswordByEmailAddress",
1025 _sendPasswordByEmailAddressParameterTypes29);
1026
1027 MethodHandler methodHandler = new MethodHandler(methodKey,
1028 companyId, emailAddress);
1029
1030 Object returnObj = null;
1031
1032 try {
1033 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1034 }
1035 catch (Exception e) {
1036 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1037 throw (com.liferay.portal.kernel.exception.PortalException)e;
1038 }
1039
1040 throw new com.liferay.portal.kernel.exception.SystemException(e);
1041 }
1042
1043 return ((Boolean)returnObj).booleanValue();
1044 }
1045 catch (com.liferay.portal.kernel.exception.SystemException se) {
1046 _log.error(se, se);
1047
1048 throw se;
1049 }
1050 }
1051
1052 public static boolean sendPasswordByScreenName(
1053 HttpPrincipal httpPrincipal, long companyId, java.lang.String screenName)
1054 throws com.liferay.portal.kernel.exception.PortalException {
1055 try {
1056 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1057 "sendPasswordByScreenName",
1058 _sendPasswordByScreenNameParameterTypes30);
1059
1060 MethodHandler methodHandler = new MethodHandler(methodKey,
1061 companyId, screenName);
1062
1063 Object returnObj = null;
1064
1065 try {
1066 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1067 }
1068 catch (Exception e) {
1069 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1070 throw (com.liferay.portal.kernel.exception.PortalException)e;
1071 }
1072
1073 throw new com.liferay.portal.kernel.exception.SystemException(e);
1074 }
1075
1076 return ((Boolean)returnObj).booleanValue();
1077 }
1078 catch (com.liferay.portal.kernel.exception.SystemException se) {
1079 _log.error(se, se);
1080
1081 throw se;
1082 }
1083 }
1084
1085 public static boolean sendPasswordByUserId(HttpPrincipal httpPrincipal,
1086 long userId) throws com.liferay.portal.kernel.exception.PortalException {
1087 try {
1088 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1089 "sendPasswordByUserId",
1090 _sendPasswordByUserIdParameterTypes31);
1091
1092 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
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 void setRoleUsers(HttpPrincipal httpPrincipal, long roleId,
1117 long[] userIds)
1118 throws com.liferay.portal.kernel.exception.PortalException {
1119 try {
1120 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1121 "setRoleUsers", _setRoleUsersParameterTypes32);
1122
1123 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1124 userIds);
1125
1126 try {
1127 TunnelUtil.invoke(httpPrincipal, methodHandler);
1128 }
1129 catch (Exception e) {
1130 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1131 throw (com.liferay.portal.kernel.exception.PortalException)e;
1132 }
1133
1134 throw new com.liferay.portal.kernel.exception.SystemException(e);
1135 }
1136 }
1137 catch (com.liferay.portal.kernel.exception.SystemException se) {
1138 _log.error(se, se);
1139
1140 throw se;
1141 }
1142 }
1143
1144 public static void setUserGroupUsers(HttpPrincipal httpPrincipal,
1145 long userGroupId, long[] userIds)
1146 throws com.liferay.portal.kernel.exception.PortalException {
1147 try {
1148 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1149 "setUserGroupUsers", _setUserGroupUsersParameterTypes33);
1150
1151 MethodHandler methodHandler = new MethodHandler(methodKey,
1152 userGroupId, userIds);
1153
1154 try {
1155 TunnelUtil.invoke(httpPrincipal, methodHandler);
1156 }
1157 catch (Exception e) {
1158 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1159 throw (com.liferay.portal.kernel.exception.PortalException)e;
1160 }
1161
1162 throw new com.liferay.portal.kernel.exception.SystemException(e);
1163 }
1164 }
1165 catch (com.liferay.portal.kernel.exception.SystemException se) {
1166 _log.error(se, se);
1167
1168 throw se;
1169 }
1170 }
1171
1172 public static void unsetGroupTeamsUsers(HttpPrincipal httpPrincipal,
1173 long groupId, long[] userIds)
1174 throws com.liferay.portal.kernel.exception.PortalException {
1175 try {
1176 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1177 "unsetGroupTeamsUsers",
1178 _unsetGroupTeamsUsersParameterTypes34);
1179
1180 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1181 userIds);
1182
1183 try {
1184 TunnelUtil.invoke(httpPrincipal, methodHandler);
1185 }
1186 catch (Exception e) {
1187 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1188 throw (com.liferay.portal.kernel.exception.PortalException)e;
1189 }
1190
1191 throw new com.liferay.portal.kernel.exception.SystemException(e);
1192 }
1193 }
1194 catch (com.liferay.portal.kernel.exception.SystemException se) {
1195 _log.error(se, se);
1196
1197 throw se;
1198 }
1199 }
1200
1201 public static void unsetGroupUsers(HttpPrincipal httpPrincipal,
1202 long groupId, long[] userIds,
1203 com.liferay.portal.service.ServiceContext serviceContext)
1204 throws com.liferay.portal.kernel.exception.PortalException {
1205 try {
1206 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1207 "unsetGroupUsers", _unsetGroupUsersParameterTypes35);
1208
1209 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1210 userIds, serviceContext);
1211
1212 try {
1213 TunnelUtil.invoke(httpPrincipal, methodHandler);
1214 }
1215 catch (Exception e) {
1216 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1217 throw (com.liferay.portal.kernel.exception.PortalException)e;
1218 }
1219
1220 throw new com.liferay.portal.kernel.exception.SystemException(e);
1221 }
1222 }
1223 catch (com.liferay.portal.kernel.exception.SystemException se) {
1224 _log.error(se, se);
1225
1226 throw se;
1227 }
1228 }
1229
1230 public static void unsetOrganizationUsers(HttpPrincipal httpPrincipal,
1231 long organizationId, long[] userIds)
1232 throws com.liferay.portal.kernel.exception.PortalException {
1233 try {
1234 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1235 "unsetOrganizationUsers",
1236 _unsetOrganizationUsersParameterTypes36);
1237
1238 MethodHandler methodHandler = new MethodHandler(methodKey,
1239 organizationId, userIds);
1240
1241 try {
1242 TunnelUtil.invoke(httpPrincipal, methodHandler);
1243 }
1244 catch (Exception e) {
1245 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1246 throw (com.liferay.portal.kernel.exception.PortalException)e;
1247 }
1248
1249 throw new com.liferay.portal.kernel.exception.SystemException(e);
1250 }
1251 }
1252 catch (com.liferay.portal.kernel.exception.SystemException se) {
1253 _log.error(se, se);
1254
1255 throw se;
1256 }
1257 }
1258
1259 public static void unsetPasswordPolicyUsers(HttpPrincipal httpPrincipal,
1260 long passwordPolicyId, long[] userIds)
1261 throws com.liferay.portal.kernel.exception.PortalException {
1262 try {
1263 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1264 "unsetPasswordPolicyUsers",
1265 _unsetPasswordPolicyUsersParameterTypes37);
1266
1267 MethodHandler methodHandler = new MethodHandler(methodKey,
1268 passwordPolicyId, userIds);
1269
1270 try {
1271 TunnelUtil.invoke(httpPrincipal, methodHandler);
1272 }
1273 catch (Exception e) {
1274 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1275 throw (com.liferay.portal.kernel.exception.PortalException)e;
1276 }
1277
1278 throw new com.liferay.portal.kernel.exception.SystemException(e);
1279 }
1280 }
1281 catch (com.liferay.portal.kernel.exception.SystemException se) {
1282 _log.error(se, se);
1283
1284 throw se;
1285 }
1286 }
1287
1288 public static void unsetRoleUsers(HttpPrincipal httpPrincipal, long roleId,
1289 long[] userIds)
1290 throws com.liferay.portal.kernel.exception.PortalException {
1291 try {
1292 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1293 "unsetRoleUsers", _unsetRoleUsersParameterTypes38);
1294
1295 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1296 userIds);
1297
1298 try {
1299 TunnelUtil.invoke(httpPrincipal, methodHandler);
1300 }
1301 catch (Exception e) {
1302 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1303 throw (com.liferay.portal.kernel.exception.PortalException)e;
1304 }
1305
1306 throw new com.liferay.portal.kernel.exception.SystemException(e);
1307 }
1308 }
1309 catch (com.liferay.portal.kernel.exception.SystemException se) {
1310 _log.error(se, se);
1311
1312 throw se;
1313 }
1314 }
1315
1316 public static void unsetTeamUsers(HttpPrincipal httpPrincipal, long teamId,
1317 long[] userIds)
1318 throws com.liferay.portal.kernel.exception.PortalException {
1319 try {
1320 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1321 "unsetTeamUsers", _unsetTeamUsersParameterTypes39);
1322
1323 MethodHandler methodHandler = new MethodHandler(methodKey, teamId,
1324 userIds);
1325
1326 try {
1327 TunnelUtil.invoke(httpPrincipal, methodHandler);
1328 }
1329 catch (Exception e) {
1330 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1331 throw (com.liferay.portal.kernel.exception.PortalException)e;
1332 }
1333
1334 throw new com.liferay.portal.kernel.exception.SystemException(e);
1335 }
1336 }
1337 catch (com.liferay.portal.kernel.exception.SystemException se) {
1338 _log.error(se, se);
1339
1340 throw se;
1341 }
1342 }
1343
1344 public static void unsetUserGroupUsers(HttpPrincipal httpPrincipal,
1345 long userGroupId, long[] userIds)
1346 throws com.liferay.portal.kernel.exception.PortalException {
1347 try {
1348 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1349 "unsetUserGroupUsers", _unsetUserGroupUsersParameterTypes40);
1350
1351 MethodHandler methodHandler = new MethodHandler(methodKey,
1352 userGroupId, userIds);
1353
1354 try {
1355 TunnelUtil.invoke(httpPrincipal, methodHandler);
1356 }
1357 catch (Exception e) {
1358 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1359 throw (com.liferay.portal.kernel.exception.PortalException)e;
1360 }
1361
1362 throw new com.liferay.portal.kernel.exception.SystemException(e);
1363 }
1364 }
1365 catch (com.liferay.portal.kernel.exception.SystemException se) {
1366 _log.error(se, se);
1367
1368 throw se;
1369 }
1370 }
1371
1372 public static com.liferay.portal.model.User updateAgreedToTermsOfUse(
1373 HttpPrincipal httpPrincipal, long userId, boolean agreedToTermsOfUse)
1374 throws com.liferay.portal.kernel.exception.PortalException {
1375 try {
1376 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1377 "updateAgreedToTermsOfUse",
1378 _updateAgreedToTermsOfUseParameterTypes41);
1379
1380 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1381 agreedToTermsOfUse);
1382
1383 Object returnObj = null;
1384
1385 try {
1386 returnObj = 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 return (com.liferay.portal.model.User)returnObj;
1397 }
1398 catch (com.liferay.portal.kernel.exception.SystemException se) {
1399 _log.error(se, se);
1400
1401 throw se;
1402 }
1403 }
1404
1405 public static com.liferay.portal.model.User updateEmailAddress(
1406 HttpPrincipal httpPrincipal, long userId, java.lang.String password,
1407 java.lang.String emailAddress1, java.lang.String emailAddress2,
1408 com.liferay.portal.service.ServiceContext serviceContext)
1409 throws com.liferay.portal.kernel.exception.PortalException {
1410 try {
1411 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1412 "updateEmailAddress", _updateEmailAddressParameterTypes42);
1413
1414 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1415 password, emailAddress1, emailAddress2, serviceContext);
1416
1417 Object returnObj = null;
1418
1419 try {
1420 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1421 }
1422 catch (Exception e) {
1423 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1424 throw (com.liferay.portal.kernel.exception.PortalException)e;
1425 }
1426
1427 throw new com.liferay.portal.kernel.exception.SystemException(e);
1428 }
1429
1430 return (com.liferay.portal.model.User)returnObj;
1431 }
1432 catch (com.liferay.portal.kernel.exception.SystemException se) {
1433 _log.error(se, se);
1434
1435 throw se;
1436 }
1437 }
1438
1439 public static com.liferay.portal.model.User updateIncompleteUser(
1440 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
1441 java.lang.String password1, java.lang.String password2,
1442 boolean autoScreenName, java.lang.String screenName,
1443 java.lang.String emailAddress, long facebookId,
1444 java.lang.String openId, java.util.Locale locale,
1445 java.lang.String firstName, java.lang.String middleName,
1446 java.lang.String lastName, int prefixId, int suffixId, boolean male,
1447 int birthdayMonth, int birthdayDay, int birthdayYear,
1448 java.lang.String jobTitle, boolean updateUserInformation,
1449 boolean sendEmail,
1450 com.liferay.portal.service.ServiceContext serviceContext)
1451 throws com.liferay.portal.kernel.exception.PortalException {
1452 try {
1453 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1454 "updateIncompleteUser",
1455 _updateIncompleteUserParameterTypes43);
1456
1457 MethodHandler methodHandler = new MethodHandler(methodKey,
1458 companyId, autoPassword, password1, password2,
1459 autoScreenName, screenName, emailAddress, facebookId,
1460 openId, locale, firstName, middleName, lastName, prefixId,
1461 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
1462 jobTitle, updateUserInformation, sendEmail, serviceContext);
1463
1464 Object returnObj = null;
1465
1466 try {
1467 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1468 }
1469 catch (Exception e) {
1470 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1471 throw (com.liferay.portal.kernel.exception.PortalException)e;
1472 }
1473
1474 throw new com.liferay.portal.kernel.exception.SystemException(e);
1475 }
1476
1477 return (com.liferay.portal.model.User)returnObj;
1478 }
1479 catch (com.liferay.portal.kernel.exception.SystemException se) {
1480 _log.error(se, se);
1481
1482 throw se;
1483 }
1484 }
1485
1486 public static com.liferay.portal.model.User updateLockoutById(
1487 HttpPrincipal httpPrincipal, long userId, boolean lockout)
1488 throws com.liferay.portal.kernel.exception.PortalException {
1489 try {
1490 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1491 "updateLockoutById", _updateLockoutByIdParameterTypes44);
1492
1493 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1494 lockout);
1495
1496 Object returnObj = null;
1497
1498 try {
1499 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1500 }
1501 catch (Exception e) {
1502 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1503 throw (com.liferay.portal.kernel.exception.PortalException)e;
1504 }
1505
1506 throw new com.liferay.portal.kernel.exception.SystemException(e);
1507 }
1508
1509 return (com.liferay.portal.model.User)returnObj;
1510 }
1511 catch (com.liferay.portal.kernel.exception.SystemException se) {
1512 _log.error(se, se);
1513
1514 throw se;
1515 }
1516 }
1517
1518 public static com.liferay.portal.model.User updateOpenId(
1519 HttpPrincipal httpPrincipal, long userId, java.lang.String openId)
1520 throws com.liferay.portal.kernel.exception.PortalException {
1521 try {
1522 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1523 "updateOpenId", _updateOpenIdParameterTypes45);
1524
1525 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1526 openId);
1527
1528 Object returnObj = null;
1529
1530 try {
1531 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1532 }
1533 catch (Exception e) {
1534 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1535 throw (com.liferay.portal.kernel.exception.PortalException)e;
1536 }
1537
1538 throw new com.liferay.portal.kernel.exception.SystemException(e);
1539 }
1540
1541 return (com.liferay.portal.model.User)returnObj;
1542 }
1543 catch (com.liferay.portal.kernel.exception.SystemException se) {
1544 _log.error(se, se);
1545
1546 throw se;
1547 }
1548 }
1549
1550 public static void updateOrganizations(HttpPrincipal httpPrincipal,
1551 long userId, long[] organizationIds,
1552 com.liferay.portal.service.ServiceContext serviceContext)
1553 throws com.liferay.portal.kernel.exception.PortalException {
1554 try {
1555 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1556 "updateOrganizations", _updateOrganizationsParameterTypes46);
1557
1558 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1559 organizationIds, serviceContext);
1560
1561 try {
1562 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 catch (com.liferay.portal.kernel.exception.SystemException se) {
1573 _log.error(se, se);
1574
1575 throw se;
1576 }
1577 }
1578
1579 public static com.liferay.portal.model.User updatePassword(
1580 HttpPrincipal httpPrincipal, long userId, java.lang.String password1,
1581 java.lang.String password2, boolean passwordReset)
1582 throws com.liferay.portal.kernel.exception.PortalException {
1583 try {
1584 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1585 "updatePassword", _updatePasswordParameterTypes47);
1586
1587 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1588 password1, password2, passwordReset);
1589
1590 Object returnObj = null;
1591
1592 try {
1593 returnObj = 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 return (com.liferay.portal.model.User)returnObj;
1604 }
1605 catch (com.liferay.portal.kernel.exception.SystemException se) {
1606 _log.error(se, se);
1607
1608 throw se;
1609 }
1610 }
1611
1612 public static com.liferay.portal.model.User updatePortrait(
1613 HttpPrincipal httpPrincipal, long userId, byte[] bytes)
1614 throws com.liferay.portal.kernel.exception.PortalException {
1615 try {
1616 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1617 "updatePortrait", _updatePortraitParameterTypes48);
1618
1619 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1620 bytes);
1621
1622 Object returnObj = null;
1623
1624 try {
1625 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1626 }
1627 catch (Exception e) {
1628 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1629 throw (com.liferay.portal.kernel.exception.PortalException)e;
1630 }
1631
1632 throw new com.liferay.portal.kernel.exception.SystemException(e);
1633 }
1634
1635 return (com.liferay.portal.model.User)returnObj;
1636 }
1637 catch (com.liferay.portal.kernel.exception.SystemException se) {
1638 _log.error(se, se);
1639
1640 throw se;
1641 }
1642 }
1643
1644 public static com.liferay.portal.model.User updateReminderQuery(
1645 HttpPrincipal httpPrincipal, long userId, java.lang.String question,
1646 java.lang.String answer)
1647 throws com.liferay.portal.kernel.exception.PortalException {
1648 try {
1649 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1650 "updateReminderQuery", _updateReminderQueryParameterTypes49);
1651
1652 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1653 question, answer);
1654
1655 Object returnObj = null;
1656
1657 try {
1658 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1659 }
1660 catch (Exception e) {
1661 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1662 throw (com.liferay.portal.kernel.exception.PortalException)e;
1663 }
1664
1665 throw new com.liferay.portal.kernel.exception.SystemException(e);
1666 }
1667
1668 return (com.liferay.portal.model.User)returnObj;
1669 }
1670 catch (com.liferay.portal.kernel.exception.SystemException se) {
1671 _log.error(se, se);
1672
1673 throw se;
1674 }
1675 }
1676
1677 public static com.liferay.portal.model.User updateScreenName(
1678 HttpPrincipal httpPrincipal, long userId, java.lang.String screenName)
1679 throws com.liferay.portal.kernel.exception.PortalException {
1680 try {
1681 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1682 "updateScreenName", _updateScreenNameParameterTypes50);
1683
1684 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1685 screenName);
1686
1687 Object returnObj = null;
1688
1689 try {
1690 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1691 }
1692 catch (Exception e) {
1693 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1694 throw (com.liferay.portal.kernel.exception.PortalException)e;
1695 }
1696
1697 throw new com.liferay.portal.kernel.exception.SystemException(e);
1698 }
1699
1700 return (com.liferay.portal.model.User)returnObj;
1701 }
1702 catch (com.liferay.portal.kernel.exception.SystemException se) {
1703 _log.error(se, se);
1704
1705 throw se;
1706 }
1707 }
1708
1709 public static com.liferay.portal.model.User updateStatus(
1710 HttpPrincipal httpPrincipal, long userId, int status)
1711 throws com.liferay.portal.kernel.exception.PortalException {
1712 try {
1713 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1714 "updateStatus", _updateStatusParameterTypes51);
1715
1716 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1717 status);
1718
1719 Object returnObj = null;
1720
1721 try {
1722 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1723 }
1724 catch (Exception e) {
1725 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1726 throw (com.liferay.portal.kernel.exception.PortalException)e;
1727 }
1728
1729 throw new com.liferay.portal.kernel.exception.SystemException(e);
1730 }
1731
1732 return (com.liferay.portal.model.User)returnObj;
1733 }
1734 catch (com.liferay.portal.kernel.exception.SystemException se) {
1735 _log.error(se, se);
1736
1737 throw se;
1738 }
1739 }
1740
1741 public static com.liferay.portal.model.User updateStatus(
1742 HttpPrincipal httpPrincipal, long userId, int status,
1743 com.liferay.portal.service.ServiceContext serviceContext)
1744 throws com.liferay.portal.kernel.exception.PortalException {
1745 try {
1746 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1747 "updateStatus", _updateStatusParameterTypes52);
1748
1749 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1750 status, serviceContext);
1751
1752 Object returnObj = null;
1753
1754 try {
1755 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1756 }
1757 catch (Exception e) {
1758 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1759 throw (com.liferay.portal.kernel.exception.PortalException)e;
1760 }
1761
1762 throw new com.liferay.portal.kernel.exception.SystemException(e);
1763 }
1764
1765 return (com.liferay.portal.model.User)returnObj;
1766 }
1767 catch (com.liferay.portal.kernel.exception.SystemException se) {
1768 _log.error(se, se);
1769
1770 throw se;
1771 }
1772 }
1773
1774 public static com.liferay.portal.model.User updateUser(
1775 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1776 java.lang.String newPassword1, java.lang.String newPassword2,
1777 boolean passwordReset, java.lang.String reminderQueryQuestion,
1778 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1779 java.lang.String emailAddress, long facebookId,
1780 java.lang.String openId, boolean portrait, byte[] portraitBytes,
1781 java.lang.String languageId, java.lang.String timeZoneId,
1782 java.lang.String greeting, java.lang.String comments,
1783 java.lang.String firstName, java.lang.String middleName,
1784 java.lang.String lastName, int prefixId, int suffixId, boolean male,
1785 int birthdayMonth, int birthdayDay, int birthdayYear,
1786 java.lang.String smsSn, java.lang.String aimSn,
1787 java.lang.String facebookSn, java.lang.String icqSn,
1788 java.lang.String jabberSn, java.lang.String msnSn,
1789 java.lang.String mySpaceSn, java.lang.String skypeSn,
1790 java.lang.String twitterSn, java.lang.String ymSn,
1791 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1792 long[] roleIds,
1793 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1794 long[] userGroupIds,
1795 java.util.List<com.liferay.portal.model.Address> addresses,
1796 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1797 java.util.List<com.liferay.portal.model.Phone> phones,
1798 java.util.List<com.liferay.portal.model.Website> websites,
1799 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1800 com.liferay.portal.service.ServiceContext serviceContext)
1801 throws com.liferay.portal.kernel.exception.PortalException {
1802 try {
1803 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1804 "updateUser", _updateUserParameterTypes53);
1805
1806 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1807 oldPassword, newPassword1, newPassword2, passwordReset,
1808 reminderQueryQuestion, reminderQueryAnswer, screenName,
1809 emailAddress, facebookId, openId, portrait, portraitBytes,
1810 languageId, timeZoneId, greeting, comments, firstName,
1811 middleName, lastName, prefixId, suffixId, male,
1812 birthdayMonth, birthdayDay, birthdayYear, smsSn, aimSn,
1813 facebookSn, icqSn, jabberSn, msnSn, mySpaceSn, skypeSn,
1814 twitterSn, ymSn, jobTitle, groupIds, organizationIds,
1815 roleIds, userGroupRoles, userGroupIds, addresses,
1816 emailAddresses, phones, websites, announcementsDelivers,
1817 serviceContext);
1818
1819 Object returnObj = null;
1820
1821 try {
1822 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1823 }
1824 catch (Exception e) {
1825 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1826 throw (com.liferay.portal.kernel.exception.PortalException)e;
1827 }
1828
1829 throw new com.liferay.portal.kernel.exception.SystemException(e);
1830 }
1831
1832 return (com.liferay.portal.model.User)returnObj;
1833 }
1834 catch (com.liferay.portal.kernel.exception.SystemException se) {
1835 _log.error(se, se);
1836
1837 throw se;
1838 }
1839 }
1840
1841 public static com.liferay.portal.model.User updateUser(
1842 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1843 java.lang.String newPassword1, java.lang.String newPassword2,
1844 boolean passwordReset, java.lang.String reminderQueryQuestion,
1845 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1846 java.lang.String emailAddress, long facebookId,
1847 java.lang.String openId, java.lang.String languageId,
1848 java.lang.String timeZoneId, java.lang.String greeting,
1849 java.lang.String comments, java.lang.String firstName,
1850 java.lang.String middleName, java.lang.String lastName, int prefixId,
1851 int suffixId, boolean male, int birthdayMonth, int birthdayDay,
1852 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1853 java.lang.String facebookSn, java.lang.String icqSn,
1854 java.lang.String jabberSn, java.lang.String msnSn,
1855 java.lang.String mySpaceSn, java.lang.String skypeSn,
1856 java.lang.String twitterSn, java.lang.String ymSn,
1857 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1858 long[] roleIds,
1859 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1860 long[] userGroupIds,
1861 java.util.List<com.liferay.portal.model.Address> addresses,
1862 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1863 java.util.List<com.liferay.portal.model.Phone> phones,
1864 java.util.List<com.liferay.portal.model.Website> websites,
1865 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1866 com.liferay.portal.service.ServiceContext serviceContext)
1867 throws com.liferay.portal.kernel.exception.PortalException {
1868 try {
1869 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1870 "updateUser", _updateUserParameterTypes54);
1871
1872 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1873 oldPassword, newPassword1, newPassword2, passwordReset,
1874 reminderQueryQuestion, reminderQueryAnswer, screenName,
1875 emailAddress, facebookId, openId, languageId, timeZoneId,
1876 greeting, comments, firstName, middleName, lastName,
1877 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1878 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn,
1879 msnSn, mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle,
1880 groupIds, organizationIds, roleIds, userGroupRoles,
1881 userGroupIds, addresses, emailAddresses, phones, websites,
1882 announcementsDelivers, serviceContext);
1883
1884 Object returnObj = null;
1885
1886 try {
1887 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1888 }
1889 catch (Exception e) {
1890 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1891 throw (com.liferay.portal.kernel.exception.PortalException)e;
1892 }
1893
1894 throw new com.liferay.portal.kernel.exception.SystemException(e);
1895 }
1896
1897 return (com.liferay.portal.model.User)returnObj;
1898 }
1899 catch (com.liferay.portal.kernel.exception.SystemException se) {
1900 _log.error(se, se);
1901
1902 throw se;
1903 }
1904 }
1905
1906 public static com.liferay.portal.model.User updateUser(
1907 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1908 java.lang.String newPassword1, java.lang.String newPassword2,
1909 boolean passwordReset, java.lang.String reminderQueryQuestion,
1910 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1911 java.lang.String emailAddress, long facebookId,
1912 java.lang.String openId, java.lang.String languageId,
1913 java.lang.String timeZoneId, java.lang.String greeting,
1914 java.lang.String comments, java.lang.String firstName,
1915 java.lang.String middleName, java.lang.String lastName, int prefixId,
1916 int suffixId, boolean male, int birthdayMonth, int birthdayDay,
1917 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1918 java.lang.String facebookSn, java.lang.String icqSn,
1919 java.lang.String jabberSn, java.lang.String msnSn,
1920 java.lang.String mySpaceSn, java.lang.String skypeSn,
1921 java.lang.String twitterSn, java.lang.String ymSn,
1922 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1923 long[] roleIds,
1924 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1925 long[] userGroupIds,
1926 com.liferay.portal.service.ServiceContext serviceContext)
1927 throws com.liferay.portal.kernel.exception.PortalException {
1928 try {
1929 MethodKey methodKey = new MethodKey(UserServiceUtil.class,
1930 "updateUser", _updateUserParameterTypes55);
1931
1932 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1933 oldPassword, newPassword1, newPassword2, passwordReset,
1934 reminderQueryQuestion, reminderQueryAnswer, screenName,
1935 emailAddress, facebookId, openId, languageId, timeZoneId,
1936 greeting, comments, firstName, middleName, lastName,
1937 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1938 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn,
1939 msnSn, mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle,
1940 groupIds, organizationIds, roleIds, userGroupRoles,
1941 userGroupIds, serviceContext);
1942
1943 Object returnObj = null;
1944
1945 try {
1946 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1947 }
1948 catch (Exception e) {
1949 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1950 throw (com.liferay.portal.kernel.exception.PortalException)e;
1951 }
1952
1953 throw new com.liferay.portal.kernel.exception.SystemException(e);
1954 }
1955
1956 return (com.liferay.portal.model.User)returnObj;
1957 }
1958 catch (com.liferay.portal.kernel.exception.SystemException se) {
1959 _log.error(se, se);
1960
1961 throw se;
1962 }
1963 }
1964
1965 private static Log _log = LogFactoryUtil.getLog(UserServiceHttp.class);
1966 private static final Class<?>[] _addGroupUsersParameterTypes0 = new Class[] {
1967 long.class, long[].class,
1968 com.liferay.portal.service.ServiceContext.class
1969 };
1970 private static final Class<?>[] _addOrganizationUsersParameterTypes1 = new Class[] {
1971 long.class, long[].class
1972 };
1973 private static final Class<?>[] _addPasswordPolicyUsersParameterTypes2 = new Class[] {
1974 long.class, long[].class
1975 };
1976 private static final Class<?>[] _addRoleUsersParameterTypes3 = new Class[] {
1977 long.class, long[].class
1978 };
1979 private static final Class<?>[] _addTeamUsersParameterTypes4 = new Class[] {
1980 long.class, long[].class
1981 };
1982 private static final Class<?>[] _addUserParameterTypes5 = new Class[] {
1983 long.class, boolean.class, java.lang.String.class,
1984 java.lang.String.class, boolean.class, java.lang.String.class,
1985 java.lang.String.class, long.class, java.lang.String.class,
1986 java.util.Locale.class, java.lang.String.class,
1987 java.lang.String.class, java.lang.String.class, int.class, int.class,
1988 boolean.class, int.class, int.class, int.class,
1989 java.lang.String.class, long[].class, long[].class, long[].class,
1990 long[].class, boolean.class,
1991 com.liferay.portal.service.ServiceContext.class
1992 };
1993 private static final Class<?>[] _addUserParameterTypes6 = new Class[] {
1994 long.class, boolean.class, java.lang.String.class,
1995 java.lang.String.class, boolean.class, java.lang.String.class,
1996 java.lang.String.class, long.class, java.lang.String.class,
1997 java.util.Locale.class, java.lang.String.class,
1998 java.lang.String.class, java.lang.String.class, int.class, int.class,
1999 boolean.class, int.class, int.class, int.class,
2000 java.lang.String.class, long[].class, long[].class, long[].class,
2001 long[].class, java.util.List.class, java.util.List.class,
2002 java.util.List.class, java.util.List.class, java.util.List.class,
2003 boolean.class, com.liferay.portal.service.ServiceContext.class
2004 };
2005 private static final Class<?>[] _addUserGroupUsersParameterTypes7 = new Class[] {
2006 long.class, long[].class
2007 };
2008 private static final Class<?>[] _addUserWithWorkflowParameterTypes8 = new Class[] {
2009 long.class, boolean.class, java.lang.String.class,
2010 java.lang.String.class, boolean.class, java.lang.String.class,
2011 java.lang.String.class, long.class, java.lang.String.class,
2012 java.util.Locale.class, java.lang.String.class,
2013 java.lang.String.class, java.lang.String.class, int.class, int.class,
2014 boolean.class, int.class, int.class, int.class,
2015 java.lang.String.class, long[].class, long[].class, long[].class,
2016 long[].class, boolean.class,
2017 com.liferay.portal.service.ServiceContext.class
2018 };
2019 private static final Class<?>[] _addUserWithWorkflowParameterTypes9 = new Class[] {
2020 long.class, boolean.class, java.lang.String.class,
2021 java.lang.String.class, boolean.class, java.lang.String.class,
2022 java.lang.String.class, long.class, java.lang.String.class,
2023 java.util.Locale.class, java.lang.String.class,
2024 java.lang.String.class, java.lang.String.class, int.class, int.class,
2025 boolean.class, int.class, int.class, int.class,
2026 java.lang.String.class, long[].class, long[].class, long[].class,
2027 long[].class, java.util.List.class, java.util.List.class,
2028 java.util.List.class, java.util.List.class, java.util.List.class,
2029 boolean.class, com.liferay.portal.service.ServiceContext.class
2030 };
2031 private static final Class<?>[] _deletePortraitParameterTypes10 = new Class[] {
2032 long.class
2033 };
2034 private static final Class<?>[] _deleteRoleUserParameterTypes11 = new Class[] {
2035 long.class, long.class
2036 };
2037 private static final Class<?>[] _deleteUserParameterTypes12 = new Class[] {
2038 long.class
2039 };
2040 private static final Class<?>[] _getCompanyUsersParameterTypes13 = new Class[] {
2041 long.class, int.class, int.class
2042 };
2043 private static final Class<?>[] _getCompanyUsersCountParameterTypes14 = new Class[] {
2044 long.class
2045 };
2046 private static final Class<?>[] _getGroupUserIdsParameterTypes15 = new Class[] {
2047 long.class
2048 };
2049 private static final Class<?>[] _getGroupUsersParameterTypes16 = new Class[] {
2050 long.class
2051 };
2052 private static final Class<?>[] _getOrganizationUserIdsParameterTypes17 = new Class[] {
2053 long.class
2054 };
2055 private static final Class<?>[] _getOrganizationUsersParameterTypes18 = new Class[] {
2056 long.class
2057 };
2058 private static final Class<?>[] _getRoleUserIdsParameterTypes19 = new Class[] {
2059 long.class
2060 };
2061 private static final Class<?>[] _getUserByEmailAddressParameterTypes20 = new Class[] {
2062 long.class, java.lang.String.class
2063 };
2064 private static final Class<?>[] _getUserByIdParameterTypes21 = new Class[] {
2065 long.class
2066 };
2067 private static final Class<?>[] _getUserByScreenNameParameterTypes22 = new Class[] {
2068 long.class, java.lang.String.class
2069 };
2070 private static final Class<?>[] _getUserGroupUsersParameterTypes23 = new Class[] {
2071 long.class
2072 };
2073 private static final Class<?>[] _getUserIdByEmailAddressParameterTypes24 = new Class[] {
2074 long.class, java.lang.String.class
2075 };
2076 private static final Class<?>[] _getUserIdByScreenNameParameterTypes25 = new Class[] {
2077 long.class, java.lang.String.class
2078 };
2079 private static final Class<?>[] _hasGroupUserParameterTypes26 = new Class[] {
2080 long.class, long.class
2081 };
2082 private static final Class<?>[] _hasRoleUserParameterTypes27 = new Class[] {
2083 long.class, long.class
2084 };
2085 private static final Class<?>[] _hasRoleUserParameterTypes28 = new Class[] {
2086 long.class, java.lang.String.class, long.class, boolean.class
2087 };
2088 private static final Class<?>[] _sendPasswordByEmailAddressParameterTypes29 = new Class[] {
2089 long.class, java.lang.String.class
2090 };
2091 private static final Class<?>[] _sendPasswordByScreenNameParameterTypes30 = new Class[] {
2092 long.class, java.lang.String.class
2093 };
2094 private static final Class<?>[] _sendPasswordByUserIdParameterTypes31 = new Class[] {
2095 long.class
2096 };
2097 private static final Class<?>[] _setRoleUsersParameterTypes32 = new Class[] {
2098 long.class, long[].class
2099 };
2100 private static final Class<?>[] _setUserGroupUsersParameterTypes33 = new Class[] {
2101 long.class, long[].class
2102 };
2103 private static final Class<?>[] _unsetGroupTeamsUsersParameterTypes34 = new Class[] {
2104 long.class, long[].class
2105 };
2106 private static final Class<?>[] _unsetGroupUsersParameterTypes35 = new Class[] {
2107 long.class, long[].class,
2108 com.liferay.portal.service.ServiceContext.class
2109 };
2110 private static final Class<?>[] _unsetOrganizationUsersParameterTypes36 = new Class[] {
2111 long.class, long[].class
2112 };
2113 private static final Class<?>[] _unsetPasswordPolicyUsersParameterTypes37 = new Class[] {
2114 long.class, long[].class
2115 };
2116 private static final Class<?>[] _unsetRoleUsersParameterTypes38 = new Class[] {
2117 long.class, long[].class
2118 };
2119 private static final Class<?>[] _unsetTeamUsersParameterTypes39 = new Class[] {
2120 long.class, long[].class
2121 };
2122 private static final Class<?>[] _unsetUserGroupUsersParameterTypes40 = new Class[] {
2123 long.class, long[].class
2124 };
2125 private static final Class<?>[] _updateAgreedToTermsOfUseParameterTypes41 = new Class[] {
2126 long.class, boolean.class
2127 };
2128 private static final Class<?>[] _updateEmailAddressParameterTypes42 = new Class[] {
2129 long.class, java.lang.String.class, java.lang.String.class,
2130 java.lang.String.class,
2131 com.liferay.portal.service.ServiceContext.class
2132 };
2133 private static final Class<?>[] _updateIncompleteUserParameterTypes43 = new Class[] {
2134 long.class, boolean.class, java.lang.String.class,
2135 java.lang.String.class, boolean.class, java.lang.String.class,
2136 java.lang.String.class, long.class, java.lang.String.class,
2137 java.util.Locale.class, java.lang.String.class,
2138 java.lang.String.class, java.lang.String.class, int.class, int.class,
2139 boolean.class, int.class, int.class, int.class,
2140 java.lang.String.class, boolean.class, boolean.class,
2141 com.liferay.portal.service.ServiceContext.class
2142 };
2143 private static final Class<?>[] _updateLockoutByIdParameterTypes44 = new Class[] {
2144 long.class, boolean.class
2145 };
2146 private static final Class<?>[] _updateOpenIdParameterTypes45 = new Class[] {
2147 long.class, java.lang.String.class
2148 };
2149 private static final Class<?>[] _updateOrganizationsParameterTypes46 = new Class[] {
2150 long.class, long[].class,
2151 com.liferay.portal.service.ServiceContext.class
2152 };
2153 private static final Class<?>[] _updatePasswordParameterTypes47 = new Class[] {
2154 long.class, java.lang.String.class, java.lang.String.class,
2155 boolean.class
2156 };
2157 private static final Class<?>[] _updatePortraitParameterTypes48 = new Class[] {
2158 long.class, byte[].class
2159 };
2160 private static final Class<?>[] _updateReminderQueryParameterTypes49 = new Class[] {
2161 long.class, java.lang.String.class, java.lang.String.class
2162 };
2163 private static final Class<?>[] _updateScreenNameParameterTypes50 = new Class[] {
2164 long.class, java.lang.String.class
2165 };
2166 private static final Class<?>[] _updateStatusParameterTypes51 = new Class[] {
2167 long.class, int.class
2168 };
2169 private static final Class<?>[] _updateStatusParameterTypes52 = new Class[] {
2170 long.class, int.class,
2171 com.liferay.portal.service.ServiceContext.class
2172 };
2173 private static final Class<?>[] _updateUserParameterTypes53 = new Class[] {
2174 long.class, java.lang.String.class, java.lang.String.class,
2175 java.lang.String.class, boolean.class, java.lang.String.class,
2176 java.lang.String.class, java.lang.String.class,
2177 java.lang.String.class, long.class, java.lang.String.class,
2178 boolean.class, byte[].class, java.lang.String.class,
2179 java.lang.String.class, java.lang.String.class,
2180 java.lang.String.class, java.lang.String.class,
2181 java.lang.String.class, java.lang.String.class, int.class, int.class,
2182 boolean.class, int.class, int.class, int.class,
2183 java.lang.String.class, java.lang.String.class,
2184 java.lang.String.class, java.lang.String.class,
2185 java.lang.String.class, java.lang.String.class,
2186 java.lang.String.class, java.lang.String.class,
2187 java.lang.String.class, java.lang.String.class,
2188 java.lang.String.class, long[].class, long[].class, long[].class,
2189 java.util.List.class, long[].class, java.util.List.class,
2190 java.util.List.class, java.util.List.class, java.util.List.class,
2191 java.util.List.class,
2192 com.liferay.portal.service.ServiceContext.class
2193 };
2194 private static final Class<?>[] _updateUserParameterTypes54 = new Class[] {
2195 long.class, java.lang.String.class, java.lang.String.class,
2196 java.lang.String.class, boolean.class, java.lang.String.class,
2197 java.lang.String.class, java.lang.String.class,
2198 java.lang.String.class, long.class, java.lang.String.class,
2199 java.lang.String.class, java.lang.String.class,
2200 java.lang.String.class, java.lang.String.class,
2201 java.lang.String.class, java.lang.String.class,
2202 java.lang.String.class, int.class, int.class, boolean.class,
2203 int.class, int.class, int.class, java.lang.String.class,
2204 java.lang.String.class, java.lang.String.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,
2208 java.lang.String.class, java.lang.String.class, long[].class,
2209 long[].class, long[].class, java.util.List.class, long[].class,
2210 java.util.List.class, java.util.List.class, java.util.List.class,
2211 java.util.List.class, java.util.List.class,
2212 com.liferay.portal.service.ServiceContext.class
2213 };
2214 private static final Class<?>[] _updateUserParameterTypes55 = new Class[] {
2215 long.class, java.lang.String.class, java.lang.String.class,
2216 java.lang.String.class, boolean.class, java.lang.String.class,
2217 java.lang.String.class, java.lang.String.class,
2218 java.lang.String.class, long.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, java.lang.String.class,
2222 java.lang.String.class, int.class, int.class, boolean.class,
2223 int.class, int.class, int.class, java.lang.String.class,
2224 java.lang.String.class, java.lang.String.class,
2225 java.lang.String.class, java.lang.String.class,
2226 java.lang.String.class, java.lang.String.class,
2227 java.lang.String.class, java.lang.String.class,
2228 java.lang.String.class, java.lang.String.class, long[].class,
2229 long[].class, long[].class, java.util.List.class, long[].class,
2230 com.liferay.portal.service.ServiceContext.class
2231 };
2232 }