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