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, com.liferay.portal.service.ServiceContext serviceContext)
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, 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 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, boolean sendEmail,
232 com.liferay.portal.service.ServiceContext serviceContext)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 try {
236 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
237 "addUser", _addUserParameterTypes5);
238
239 MethodHandler methodHandler = new MethodHandler(methodKey,
240 companyId, autoPassword, password1, password2,
241 autoScreenName, screenName, emailAddress, facebookId,
242 openId, locale, firstName, middleName, lastName, prefixId,
243 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
244 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
245 sendEmail, serviceContext);
246
247 Object returnObj = null;
248
249 try {
250 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
251 }
252 catch (Exception e) {
253 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
254 throw (com.liferay.portal.kernel.exception.PortalException)e;
255 }
256
257 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
258 throw (com.liferay.portal.kernel.exception.SystemException)e;
259 }
260
261 throw new com.liferay.portal.kernel.exception.SystemException(e);
262 }
263
264 return (com.liferay.portal.model.User)returnObj;
265 }
266 catch (com.liferay.portal.kernel.exception.SystemException se) {
267 _log.error(se, se);
268
269 throw se;
270 }
271 }
272
273 public static com.liferay.portal.model.User addUser(
274 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
275 java.lang.String password1, java.lang.String password2,
276 boolean autoScreenName, java.lang.String screenName,
277 java.lang.String emailAddress, long facebookId,
278 java.lang.String openId, java.util.Locale locale,
279 java.lang.String firstName, java.lang.String middleName,
280 java.lang.String lastName, int prefixId, int suffixId, boolean male,
281 int birthdayMonth, int birthdayDay, int birthdayYear,
282 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
283 long[] roleIds, long[] userGroupIds,
284 java.util.List<com.liferay.portal.model.Address> addresses,
285 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
286 java.util.List<com.liferay.portal.model.Phone> phones,
287 java.util.List<com.liferay.portal.model.Website> websites,
288 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
289 boolean sendEmail,
290 com.liferay.portal.service.ServiceContext serviceContext)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException {
293 try {
294 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
295 "addUser", _addUserParameterTypes6);
296
297 MethodHandler methodHandler = new MethodHandler(methodKey,
298 companyId, autoPassword, password1, password2,
299 autoScreenName, screenName, emailAddress, facebookId,
300 openId, locale, firstName, middleName, lastName, prefixId,
301 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
302 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
303 addresses, emailAddresses, phones, websites,
304 announcementsDelivers, 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 void addUserGroupUsers(HttpPrincipal httpPrincipal,
333 long userGroupId, long[] userIds)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 try {
337 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
338 "addUserGroupUsers", _addUserGroupUsersParameterTypes7);
339
340 MethodHandler methodHandler = new MethodHandler(methodKey,
341 userGroupId, userIds);
342
343 try {
344 TunnelUtil.invoke(httpPrincipal, methodHandler);
345 }
346 catch (Exception e) {
347 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
348 throw (com.liferay.portal.kernel.exception.PortalException)e;
349 }
350
351 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
352 throw (com.liferay.portal.kernel.exception.SystemException)e;
353 }
354
355 throw new com.liferay.portal.kernel.exception.SystemException(e);
356 }
357 }
358 catch (com.liferay.portal.kernel.exception.SystemException se) {
359 _log.error(se, se);
360
361 throw se;
362 }
363 }
364
365 public static com.liferay.portal.model.User addUserWithWorkflow(
366 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
367 java.lang.String password1, java.lang.String password2,
368 boolean autoScreenName, java.lang.String screenName,
369 java.lang.String emailAddress, long facebookId,
370 java.lang.String openId, java.util.Locale locale,
371 java.lang.String firstName, java.lang.String middleName,
372 java.lang.String lastName, int prefixId, int suffixId, boolean male,
373 int birthdayMonth, int birthdayDay, int birthdayYear,
374 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
375 long[] roleIds, long[] userGroupIds, boolean sendEmail,
376 com.liferay.portal.service.ServiceContext serviceContext)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException {
379 try {
380 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
381 "addUserWithWorkflow", _addUserWithWorkflowParameterTypes8);
382
383 MethodHandler methodHandler = new MethodHandler(methodKey,
384 companyId, autoPassword, password1, password2,
385 autoScreenName, screenName, emailAddress, facebookId,
386 openId, locale, firstName, middleName, lastName, prefixId,
387 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
388 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
389 sendEmail, serviceContext);
390
391 Object returnObj = null;
392
393 try {
394 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
395 }
396 catch (Exception e) {
397 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
398 throw (com.liferay.portal.kernel.exception.PortalException)e;
399 }
400
401 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
402 throw (com.liferay.portal.kernel.exception.SystemException)e;
403 }
404
405 throw new com.liferay.portal.kernel.exception.SystemException(e);
406 }
407
408 return (com.liferay.portal.model.User)returnObj;
409 }
410 catch (com.liferay.portal.kernel.exception.SystemException se) {
411 _log.error(se, se);
412
413 throw se;
414 }
415 }
416
417 public static com.liferay.portal.model.User addUserWithWorkflow(
418 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
419 java.lang.String password1, java.lang.String password2,
420 boolean autoScreenName, java.lang.String screenName,
421 java.lang.String emailAddress, long facebookId,
422 java.lang.String openId, java.util.Locale locale,
423 java.lang.String firstName, java.lang.String middleName,
424 java.lang.String lastName, int prefixId, int suffixId, boolean male,
425 int birthdayMonth, int birthdayDay, int birthdayYear,
426 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
427 long[] roleIds, long[] userGroupIds,
428 java.util.List<com.liferay.portal.model.Address> addresses,
429 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
430 java.util.List<com.liferay.portal.model.Phone> phones,
431 java.util.List<com.liferay.portal.model.Website> websites,
432 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
433 boolean sendEmail,
434 com.liferay.portal.service.ServiceContext serviceContext)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException {
437 try {
438 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
439 "addUserWithWorkflow", _addUserWithWorkflowParameterTypes9);
440
441 MethodHandler methodHandler = new MethodHandler(methodKey,
442 companyId, autoPassword, password1, password2,
443 autoScreenName, screenName, emailAddress, facebookId,
444 openId, locale, firstName, middleName, lastName, prefixId,
445 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
446 jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
447 addresses, emailAddresses, phones, websites,
448 announcementsDelivers, sendEmail, serviceContext);
449
450 Object returnObj = null;
451
452 try {
453 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
454 }
455 catch (Exception e) {
456 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
457 throw (com.liferay.portal.kernel.exception.PortalException)e;
458 }
459
460 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
461 throw (com.liferay.portal.kernel.exception.SystemException)e;
462 }
463
464 throw new com.liferay.portal.kernel.exception.SystemException(e);
465 }
466
467 return (com.liferay.portal.model.User)returnObj;
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 void setRoleUsers(HttpPrincipal httpPrincipal, long roleId,
1005 long[] userIds)
1006 throws com.liferay.portal.kernel.exception.PortalException,
1007 com.liferay.portal.kernel.exception.SystemException {
1008 try {
1009 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1010 "setRoleUsers", _setRoleUsersParameterTypes25);
1011
1012 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1013 userIds);
1014
1015 try {
1016 TunnelUtil.invoke(httpPrincipal, methodHandler);
1017 }
1018 catch (Exception e) {
1019 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1020 throw (com.liferay.portal.kernel.exception.PortalException)e;
1021 }
1022
1023 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1024 throw (com.liferay.portal.kernel.exception.SystemException)e;
1025 }
1026
1027 throw new com.liferay.portal.kernel.exception.SystemException(e);
1028 }
1029 }
1030 catch (com.liferay.portal.kernel.exception.SystemException se) {
1031 _log.error(se, se);
1032
1033 throw se;
1034 }
1035 }
1036
1037 public static void setUserGroupUsers(HttpPrincipal httpPrincipal,
1038 long userGroupId, long[] userIds)
1039 throws com.liferay.portal.kernel.exception.PortalException,
1040 com.liferay.portal.kernel.exception.SystemException {
1041 try {
1042 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1043 "setUserGroupUsers", _setUserGroupUsersParameterTypes26);
1044
1045 MethodHandler methodHandler = new MethodHandler(methodKey,
1046 userGroupId, userIds);
1047
1048 try {
1049 TunnelUtil.invoke(httpPrincipal, methodHandler);
1050 }
1051 catch (Exception e) {
1052 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1053 throw (com.liferay.portal.kernel.exception.PortalException)e;
1054 }
1055
1056 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1057 throw (com.liferay.portal.kernel.exception.SystemException)e;
1058 }
1059
1060 throw new com.liferay.portal.kernel.exception.SystemException(e);
1061 }
1062 }
1063 catch (com.liferay.portal.kernel.exception.SystemException se) {
1064 _log.error(se, se);
1065
1066 throw se;
1067 }
1068 }
1069
1070 public static void unsetGroupUsers(HttpPrincipal httpPrincipal,
1071 long groupId, long[] userIds,
1072 com.liferay.portal.service.ServiceContext serviceContext)
1073 throws com.liferay.portal.kernel.exception.PortalException,
1074 com.liferay.portal.kernel.exception.SystemException {
1075 try {
1076 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1077 "unsetGroupUsers", _unsetGroupUsersParameterTypes27);
1078
1079 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1080 userIds, serviceContext);
1081
1082 try {
1083 TunnelUtil.invoke(httpPrincipal, methodHandler);
1084 }
1085 catch (Exception e) {
1086 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1087 throw (com.liferay.portal.kernel.exception.PortalException)e;
1088 }
1089
1090 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1091 throw (com.liferay.portal.kernel.exception.SystemException)e;
1092 }
1093
1094 throw new com.liferay.portal.kernel.exception.SystemException(e);
1095 }
1096 }
1097 catch (com.liferay.portal.kernel.exception.SystemException se) {
1098 _log.error(se, se);
1099
1100 throw se;
1101 }
1102 }
1103
1104 public static void unsetOrganizationUsers(HttpPrincipal httpPrincipal,
1105 long organizationId, long[] userIds)
1106 throws com.liferay.portal.kernel.exception.PortalException,
1107 com.liferay.portal.kernel.exception.SystemException {
1108 try {
1109 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1110 "unsetOrganizationUsers",
1111 _unsetOrganizationUsersParameterTypes28);
1112
1113 MethodHandler methodHandler = new MethodHandler(methodKey,
1114 organizationId, userIds);
1115
1116 try {
1117 TunnelUtil.invoke(httpPrincipal, methodHandler);
1118 }
1119 catch (Exception e) {
1120 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1121 throw (com.liferay.portal.kernel.exception.PortalException)e;
1122 }
1123
1124 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1125 throw (com.liferay.portal.kernel.exception.SystemException)e;
1126 }
1127
1128 throw new com.liferay.portal.kernel.exception.SystemException(e);
1129 }
1130 }
1131 catch (com.liferay.portal.kernel.exception.SystemException se) {
1132 _log.error(se, se);
1133
1134 throw se;
1135 }
1136 }
1137
1138 public static void unsetPasswordPolicyUsers(HttpPrincipal httpPrincipal,
1139 long passwordPolicyId, long[] userIds)
1140 throws com.liferay.portal.kernel.exception.PortalException,
1141 com.liferay.portal.kernel.exception.SystemException {
1142 try {
1143 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1144 "unsetPasswordPolicyUsers",
1145 _unsetPasswordPolicyUsersParameterTypes29);
1146
1147 MethodHandler methodHandler = new MethodHandler(methodKey,
1148 passwordPolicyId, userIds);
1149
1150 try {
1151 TunnelUtil.invoke(httpPrincipal, methodHandler);
1152 }
1153 catch (Exception e) {
1154 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1155 throw (com.liferay.portal.kernel.exception.PortalException)e;
1156 }
1157
1158 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1159 throw (com.liferay.portal.kernel.exception.SystemException)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 unsetRoleUsers(HttpPrincipal httpPrincipal, long roleId,
1173 long[] userIds)
1174 throws com.liferay.portal.kernel.exception.PortalException,
1175 com.liferay.portal.kernel.exception.SystemException {
1176 try {
1177 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1178 "unsetRoleUsers", _unsetRoleUsersParameterTypes30);
1179
1180 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
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 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1192 throw (com.liferay.portal.kernel.exception.SystemException)e;
1193 }
1194
1195 throw new com.liferay.portal.kernel.exception.SystemException(e);
1196 }
1197 }
1198 catch (com.liferay.portal.kernel.exception.SystemException se) {
1199 _log.error(se, se);
1200
1201 throw se;
1202 }
1203 }
1204
1205 public static void unsetTeamUsers(HttpPrincipal httpPrincipal, long teamId,
1206 long[] userIds)
1207 throws com.liferay.portal.kernel.exception.PortalException,
1208 com.liferay.portal.kernel.exception.SystemException {
1209 try {
1210 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1211 "unsetTeamUsers", _unsetTeamUsersParameterTypes31);
1212
1213 MethodHandler methodHandler = new MethodHandler(methodKey, teamId,
1214 userIds);
1215
1216 try {
1217 TunnelUtil.invoke(httpPrincipal, methodHandler);
1218 }
1219 catch (Exception e) {
1220 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1221 throw (com.liferay.portal.kernel.exception.PortalException)e;
1222 }
1223
1224 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1225 throw (com.liferay.portal.kernel.exception.SystemException)e;
1226 }
1227
1228 throw new com.liferay.portal.kernel.exception.SystemException(e);
1229 }
1230 }
1231 catch (com.liferay.portal.kernel.exception.SystemException se) {
1232 _log.error(se, se);
1233
1234 throw se;
1235 }
1236 }
1237
1238 public static void unsetUserGroupUsers(HttpPrincipal httpPrincipal,
1239 long userGroupId, long[] userIds)
1240 throws com.liferay.portal.kernel.exception.PortalException,
1241 com.liferay.portal.kernel.exception.SystemException {
1242 try {
1243 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1244 "unsetUserGroupUsers", _unsetUserGroupUsersParameterTypes32);
1245
1246 MethodHandler methodHandler = new MethodHandler(methodKey,
1247 userGroupId, userIds);
1248
1249 try {
1250 TunnelUtil.invoke(httpPrincipal, methodHandler);
1251 }
1252 catch (Exception e) {
1253 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1254 throw (com.liferay.portal.kernel.exception.PortalException)e;
1255 }
1256
1257 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1258 throw (com.liferay.portal.kernel.exception.SystemException)e;
1259 }
1260
1261 throw new com.liferay.portal.kernel.exception.SystemException(e);
1262 }
1263 }
1264 catch (com.liferay.portal.kernel.exception.SystemException se) {
1265 _log.error(se, se);
1266
1267 throw se;
1268 }
1269 }
1270
1271 public static com.liferay.portal.model.User updateAgreedToTermsOfUse(
1272 HttpPrincipal httpPrincipal, long userId, boolean agreedToTermsOfUse)
1273 throws com.liferay.portal.kernel.exception.PortalException,
1274 com.liferay.portal.kernel.exception.SystemException {
1275 try {
1276 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1277 "updateAgreedToTermsOfUse",
1278 _updateAgreedToTermsOfUseParameterTypes33);
1279
1280 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1281 agreedToTermsOfUse);
1282
1283 Object returnObj = null;
1284
1285 try {
1286 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1287 }
1288 catch (Exception e) {
1289 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1290 throw (com.liferay.portal.kernel.exception.PortalException)e;
1291 }
1292
1293 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1294 throw (com.liferay.portal.kernel.exception.SystemException)e;
1295 }
1296
1297 throw new com.liferay.portal.kernel.exception.SystemException(e);
1298 }
1299
1300 return (com.liferay.portal.model.User)returnObj;
1301 }
1302 catch (com.liferay.portal.kernel.exception.SystemException se) {
1303 _log.error(se, se);
1304
1305 throw se;
1306 }
1307 }
1308
1309 public static com.liferay.portal.model.User updateEmailAddress(
1310 HttpPrincipal httpPrincipal, long userId, java.lang.String password,
1311 java.lang.String emailAddress1, java.lang.String emailAddress2,
1312 com.liferay.portal.service.ServiceContext serviceContext)
1313 throws com.liferay.portal.kernel.exception.PortalException,
1314 com.liferay.portal.kernel.exception.SystemException {
1315 try {
1316 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1317 "updateEmailAddress", _updateEmailAddressParameterTypes34);
1318
1319 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1320 password, emailAddress1, emailAddress2, serviceContext);
1321
1322 Object returnObj = null;
1323
1324 try {
1325 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1326 }
1327 catch (Exception e) {
1328 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1329 throw (com.liferay.portal.kernel.exception.PortalException)e;
1330 }
1331
1332 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1333 throw (com.liferay.portal.kernel.exception.SystemException)e;
1334 }
1335
1336 throw new com.liferay.portal.kernel.exception.SystemException(e);
1337 }
1338
1339 return (com.liferay.portal.model.User)returnObj;
1340 }
1341 catch (com.liferay.portal.kernel.exception.SystemException se) {
1342 _log.error(se, se);
1343
1344 throw se;
1345 }
1346 }
1347
1348 public static com.liferay.portal.model.User updateIncompleteUser(
1349 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
1350 java.lang.String password1, java.lang.String password2,
1351 boolean autoScreenName, java.lang.String screenName,
1352 java.lang.String emailAddress, long facebookId,
1353 java.lang.String openId, java.util.Locale locale,
1354 java.lang.String firstName, java.lang.String middleName,
1355 java.lang.String lastName, int prefixId, int suffixId, boolean male,
1356 int birthdayMonth, int birthdayDay, int birthdayYear,
1357 java.lang.String jobTitle, boolean updateUserInformation,
1358 boolean sendEmail,
1359 com.liferay.portal.service.ServiceContext serviceContext)
1360 throws com.liferay.portal.kernel.exception.PortalException,
1361 com.liferay.portal.kernel.exception.SystemException {
1362 try {
1363 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1364 "updateIncompleteUser",
1365 _updateIncompleteUserParameterTypes35);
1366
1367 MethodHandler methodHandler = new MethodHandler(methodKey,
1368 companyId, autoPassword, password1, password2,
1369 autoScreenName, screenName, emailAddress, facebookId,
1370 openId, locale, firstName, middleName, lastName, prefixId,
1371 suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
1372 jobTitle, updateUserInformation, sendEmail, serviceContext);
1373
1374 Object returnObj = null;
1375
1376 try {
1377 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1378 }
1379 catch (Exception e) {
1380 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1381 throw (com.liferay.portal.kernel.exception.PortalException)e;
1382 }
1383
1384 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1385 throw (com.liferay.portal.kernel.exception.SystemException)e;
1386 }
1387
1388 throw new com.liferay.portal.kernel.exception.SystemException(e);
1389 }
1390
1391 return (com.liferay.portal.model.User)returnObj;
1392 }
1393 catch (com.liferay.portal.kernel.exception.SystemException se) {
1394 _log.error(se, se);
1395
1396 throw se;
1397 }
1398 }
1399
1400 public static com.liferay.portal.model.User updateLockoutById(
1401 HttpPrincipal httpPrincipal, long userId, boolean lockout)
1402 throws com.liferay.portal.kernel.exception.PortalException,
1403 com.liferay.portal.kernel.exception.SystemException {
1404 try {
1405 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1406 "updateLockoutById", _updateLockoutByIdParameterTypes36);
1407
1408 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1409 lockout);
1410
1411 Object returnObj = null;
1412
1413 try {
1414 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1415 }
1416 catch (Exception e) {
1417 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1418 throw (com.liferay.portal.kernel.exception.PortalException)e;
1419 }
1420
1421 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1422 throw (com.liferay.portal.kernel.exception.SystemException)e;
1423 }
1424
1425 throw new com.liferay.portal.kernel.exception.SystemException(e);
1426 }
1427
1428 return (com.liferay.portal.model.User)returnObj;
1429 }
1430 catch (com.liferay.portal.kernel.exception.SystemException se) {
1431 _log.error(se, se);
1432
1433 throw se;
1434 }
1435 }
1436
1437 public static com.liferay.portal.model.User updateOpenId(
1438 HttpPrincipal httpPrincipal, long userId, java.lang.String openId)
1439 throws com.liferay.portal.kernel.exception.PortalException,
1440 com.liferay.portal.kernel.exception.SystemException {
1441 try {
1442 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1443 "updateOpenId", _updateOpenIdParameterTypes37);
1444
1445 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1446 openId);
1447
1448 Object returnObj = null;
1449
1450 try {
1451 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1452 }
1453 catch (Exception e) {
1454 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1455 throw (com.liferay.portal.kernel.exception.PortalException)e;
1456 }
1457
1458 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1459 throw (com.liferay.portal.kernel.exception.SystemException)e;
1460 }
1461
1462 throw new com.liferay.portal.kernel.exception.SystemException(e);
1463 }
1464
1465 return (com.liferay.portal.model.User)returnObj;
1466 }
1467 catch (com.liferay.portal.kernel.exception.SystemException se) {
1468 _log.error(se, se);
1469
1470 throw se;
1471 }
1472 }
1473
1474 public static void updateOrganizations(HttpPrincipal httpPrincipal,
1475 long userId, long[] organizationIds,
1476 com.liferay.portal.service.ServiceContext serviceContext)
1477 throws com.liferay.portal.kernel.exception.PortalException,
1478 com.liferay.portal.kernel.exception.SystemException {
1479 try {
1480 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1481 "updateOrganizations", _updateOrganizationsParameterTypes38);
1482
1483 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1484 organizationIds, serviceContext);
1485
1486 try {
1487 TunnelUtil.invoke(httpPrincipal, methodHandler);
1488 }
1489 catch (Exception e) {
1490 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1491 throw (com.liferay.portal.kernel.exception.PortalException)e;
1492 }
1493
1494 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1495 throw (com.liferay.portal.kernel.exception.SystemException)e;
1496 }
1497
1498 throw new com.liferay.portal.kernel.exception.SystemException(e);
1499 }
1500 }
1501 catch (com.liferay.portal.kernel.exception.SystemException se) {
1502 _log.error(se, se);
1503
1504 throw se;
1505 }
1506 }
1507
1508 public static com.liferay.portal.model.User updatePassword(
1509 HttpPrincipal httpPrincipal, long userId, java.lang.String password1,
1510 java.lang.String password2, boolean passwordReset)
1511 throws com.liferay.portal.kernel.exception.PortalException,
1512 com.liferay.portal.kernel.exception.SystemException {
1513 try {
1514 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1515 "updatePassword", _updatePasswordParameterTypes39);
1516
1517 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1518 password1, password2, passwordReset);
1519
1520 Object returnObj = null;
1521
1522 try {
1523 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1524 }
1525 catch (Exception e) {
1526 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1527 throw (com.liferay.portal.kernel.exception.PortalException)e;
1528 }
1529
1530 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1531 throw (com.liferay.portal.kernel.exception.SystemException)e;
1532 }
1533
1534 throw new com.liferay.portal.kernel.exception.SystemException(e);
1535 }
1536
1537 return (com.liferay.portal.model.User)returnObj;
1538 }
1539 catch (com.liferay.portal.kernel.exception.SystemException se) {
1540 _log.error(se, se);
1541
1542 throw se;
1543 }
1544 }
1545
1546 public static com.liferay.portal.model.User updatePortrait(
1547 HttpPrincipal httpPrincipal, long userId, byte[] bytes)
1548 throws com.liferay.portal.kernel.exception.PortalException,
1549 com.liferay.portal.kernel.exception.SystemException {
1550 try {
1551 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1552 "updatePortrait", _updatePortraitParameterTypes40);
1553
1554 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1555 bytes);
1556
1557 Object returnObj = null;
1558
1559 try {
1560 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1561 }
1562 catch (Exception e) {
1563 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1564 throw (com.liferay.portal.kernel.exception.PortalException)e;
1565 }
1566
1567 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1568 throw (com.liferay.portal.kernel.exception.SystemException)e;
1569 }
1570
1571 throw new com.liferay.portal.kernel.exception.SystemException(e);
1572 }
1573
1574 return (com.liferay.portal.model.User)returnObj;
1575 }
1576 catch (com.liferay.portal.kernel.exception.SystemException se) {
1577 _log.error(se, se);
1578
1579 throw se;
1580 }
1581 }
1582
1583 public static com.liferay.portal.model.User updateReminderQuery(
1584 HttpPrincipal httpPrincipal, long userId, java.lang.String question,
1585 java.lang.String answer)
1586 throws com.liferay.portal.kernel.exception.PortalException,
1587 com.liferay.portal.kernel.exception.SystemException {
1588 try {
1589 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1590 "updateReminderQuery", _updateReminderQueryParameterTypes41);
1591
1592 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1593 question, answer);
1594
1595 Object returnObj = null;
1596
1597 try {
1598 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1599 }
1600 catch (Exception e) {
1601 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1602 throw (com.liferay.portal.kernel.exception.PortalException)e;
1603 }
1604
1605 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1606 throw (com.liferay.portal.kernel.exception.SystemException)e;
1607 }
1608
1609 throw new com.liferay.portal.kernel.exception.SystemException(e);
1610 }
1611
1612 return (com.liferay.portal.model.User)returnObj;
1613 }
1614 catch (com.liferay.portal.kernel.exception.SystemException se) {
1615 _log.error(se, se);
1616
1617 throw se;
1618 }
1619 }
1620
1621 public static com.liferay.portal.model.User updateScreenName(
1622 HttpPrincipal httpPrincipal, long userId, java.lang.String screenName)
1623 throws com.liferay.portal.kernel.exception.PortalException,
1624 com.liferay.portal.kernel.exception.SystemException {
1625 try {
1626 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1627 "updateScreenName", _updateScreenNameParameterTypes42);
1628
1629 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1630 screenName);
1631
1632 Object returnObj = null;
1633
1634 try {
1635 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1636 }
1637 catch (Exception e) {
1638 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1639 throw (com.liferay.portal.kernel.exception.PortalException)e;
1640 }
1641
1642 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1643 throw (com.liferay.portal.kernel.exception.SystemException)e;
1644 }
1645
1646 throw new com.liferay.portal.kernel.exception.SystemException(e);
1647 }
1648
1649 return (com.liferay.portal.model.User)returnObj;
1650 }
1651 catch (com.liferay.portal.kernel.exception.SystemException se) {
1652 _log.error(se, se);
1653
1654 throw se;
1655 }
1656 }
1657
1658 public static com.liferay.portal.model.User updateStatus(
1659 HttpPrincipal httpPrincipal, long userId, int status)
1660 throws com.liferay.portal.kernel.exception.PortalException,
1661 com.liferay.portal.kernel.exception.SystemException {
1662 try {
1663 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1664 "updateStatus", _updateStatusParameterTypes43);
1665
1666 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1667 status);
1668
1669 Object returnObj = null;
1670
1671 try {
1672 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1673 }
1674 catch (Exception e) {
1675 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1676 throw (com.liferay.portal.kernel.exception.PortalException)e;
1677 }
1678
1679 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1680 throw (com.liferay.portal.kernel.exception.SystemException)e;
1681 }
1682
1683 throw new com.liferay.portal.kernel.exception.SystemException(e);
1684 }
1685
1686 return (com.liferay.portal.model.User)returnObj;
1687 }
1688 catch (com.liferay.portal.kernel.exception.SystemException se) {
1689 _log.error(se, se);
1690
1691 throw se;
1692 }
1693 }
1694
1695 public static com.liferay.portal.model.User updateUser(
1696 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1697 java.lang.String newPassword1, java.lang.String newPassword2,
1698 boolean passwordReset, java.lang.String reminderQueryQuestion,
1699 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1700 java.lang.String emailAddress, long facebookId,
1701 java.lang.String openId, java.lang.String languageId,
1702 java.lang.String timeZoneId, java.lang.String greeting,
1703 java.lang.String comments, java.lang.String firstName,
1704 java.lang.String middleName, java.lang.String lastName, int prefixId,
1705 int suffixId, boolean male, int birthdayMonth, int birthdayDay,
1706 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1707 java.lang.String facebookSn, java.lang.String icqSn,
1708 java.lang.String jabberSn, java.lang.String msnSn,
1709 java.lang.String mySpaceSn, java.lang.String skypeSn,
1710 java.lang.String twitterSn, java.lang.String ymSn,
1711 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1712 long[] roleIds,
1713 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1714 long[] userGroupIds,
1715 java.util.List<com.liferay.portal.model.Address> addresses,
1716 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
1717 java.util.List<com.liferay.portal.model.Phone> phones,
1718 java.util.List<com.liferay.portal.model.Website> websites,
1719 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDelivers,
1720 com.liferay.portal.service.ServiceContext serviceContext)
1721 throws com.liferay.portal.kernel.exception.PortalException,
1722 com.liferay.portal.kernel.exception.SystemException {
1723 try {
1724 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1725 "updateUser", _updateUserParameterTypes44);
1726
1727 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1728 oldPassword, newPassword1, newPassword2, passwordReset,
1729 reminderQueryQuestion, reminderQueryAnswer, screenName,
1730 emailAddress, facebookId, openId, languageId, timeZoneId,
1731 greeting, comments, firstName, middleName, lastName,
1732 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1733 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn,
1734 msnSn, mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle,
1735 groupIds, organizationIds, roleIds, userGroupRoles,
1736 userGroupIds, addresses, emailAddresses, phones, websites,
1737 announcementsDelivers, serviceContext);
1738
1739 Object returnObj = null;
1740
1741 try {
1742 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1743 }
1744 catch (Exception e) {
1745 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1746 throw (com.liferay.portal.kernel.exception.PortalException)e;
1747 }
1748
1749 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1750 throw (com.liferay.portal.kernel.exception.SystemException)e;
1751 }
1752
1753 throw new com.liferay.portal.kernel.exception.SystemException(e);
1754 }
1755
1756 return (com.liferay.portal.model.User)returnObj;
1757 }
1758 catch (com.liferay.portal.kernel.exception.SystemException se) {
1759 _log.error(se, se);
1760
1761 throw se;
1762 }
1763 }
1764
1765 public static com.liferay.portal.model.User updateUser(
1766 HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
1767 java.lang.String newPassword1, java.lang.String newPassword2,
1768 boolean passwordReset, java.lang.String reminderQueryQuestion,
1769 java.lang.String reminderQueryAnswer, java.lang.String screenName,
1770 java.lang.String emailAddress, long facebookId,
1771 java.lang.String openId, java.lang.String languageId,
1772 java.lang.String timeZoneId, java.lang.String greeting,
1773 java.lang.String comments, java.lang.String firstName,
1774 java.lang.String middleName, java.lang.String lastName, int prefixId,
1775 int suffixId, boolean male, int birthdayMonth, int birthdayDay,
1776 int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
1777 java.lang.String facebookSn, java.lang.String icqSn,
1778 java.lang.String jabberSn, java.lang.String msnSn,
1779 java.lang.String mySpaceSn, java.lang.String skypeSn,
1780 java.lang.String twitterSn, java.lang.String ymSn,
1781 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
1782 long[] roleIds,
1783 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
1784 long[] userGroupIds,
1785 com.liferay.portal.service.ServiceContext serviceContext)
1786 throws com.liferay.portal.kernel.exception.PortalException,
1787 com.liferay.portal.kernel.exception.SystemException {
1788 try {
1789 MethodKey methodKey = new MethodKey(UserServiceUtil.class.getName(),
1790 "updateUser", _updateUserParameterTypes45);
1791
1792 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1793 oldPassword, newPassword1, newPassword2, passwordReset,
1794 reminderQueryQuestion, reminderQueryAnswer, screenName,
1795 emailAddress, facebookId, openId, languageId, timeZoneId,
1796 greeting, comments, firstName, middleName, lastName,
1797 prefixId, suffixId, male, birthdayMonth, birthdayDay,
1798 birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn,
1799 msnSn, mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle,
1800 groupIds, organizationIds, roleIds, userGroupRoles,
1801 userGroupIds, serviceContext);
1802
1803 Object returnObj = null;
1804
1805 try {
1806 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1807 }
1808 catch (Exception e) {
1809 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1810 throw (com.liferay.portal.kernel.exception.PortalException)e;
1811 }
1812
1813 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1814 throw (com.liferay.portal.kernel.exception.SystemException)e;
1815 }
1816
1817 throw new com.liferay.portal.kernel.exception.SystemException(e);
1818 }
1819
1820 return (com.liferay.portal.model.User)returnObj;
1821 }
1822 catch (com.liferay.portal.kernel.exception.SystemException se) {
1823 _log.error(se, se);
1824
1825 throw se;
1826 }
1827 }
1828
1829 private static Log _log = LogFactoryUtil.getLog(UserServiceHttp.class);
1830 private static final Class<?>[] _addGroupUsersParameterTypes0 = new Class[] {
1831 long.class, long[].class,
1832 com.liferay.portal.service.ServiceContext.class
1833 };
1834 private static final Class<?>[] _addOrganizationUsersParameterTypes1 = new Class[] {
1835 long.class, long[].class
1836 };
1837 private static final Class<?>[] _addPasswordPolicyUsersParameterTypes2 = new Class[] {
1838 long.class, long[].class
1839 };
1840 private static final Class<?>[] _addRoleUsersParameterTypes3 = new Class[] {
1841 long.class, long[].class
1842 };
1843 private static final Class<?>[] _addTeamUsersParameterTypes4 = new Class[] {
1844 long.class, long[].class
1845 };
1846 private static final Class<?>[] _addUserParameterTypes5 = new Class[] {
1847 long.class, boolean.class, java.lang.String.class,
1848 java.lang.String.class, boolean.class, java.lang.String.class,
1849 java.lang.String.class, long.class, java.lang.String.class,
1850 java.util.Locale.class, java.lang.String.class,
1851 java.lang.String.class, java.lang.String.class, int.class, int.class,
1852 boolean.class, int.class, int.class, int.class,
1853 java.lang.String.class, long[].class, long[].class, long[].class,
1854 long[].class, boolean.class,
1855 com.liferay.portal.service.ServiceContext.class
1856 };
1857 private static final Class<?>[] _addUserParameterTypes6 = new Class[] {
1858 long.class, boolean.class, java.lang.String.class,
1859 java.lang.String.class, boolean.class, java.lang.String.class,
1860 java.lang.String.class, long.class, java.lang.String.class,
1861 java.util.Locale.class, java.lang.String.class,
1862 java.lang.String.class, java.lang.String.class, int.class, int.class,
1863 boolean.class, int.class, int.class, int.class,
1864 java.lang.String.class, long[].class, long[].class, long[].class,
1865 long[].class, java.util.List.class, java.util.List.class,
1866 java.util.List.class, java.util.List.class, java.util.List.class,
1867 boolean.class, com.liferay.portal.service.ServiceContext.class
1868 };
1869 private static final Class<?>[] _addUserGroupUsersParameterTypes7 = new Class[] {
1870 long.class, long[].class
1871 };
1872 private static final Class<?>[] _addUserWithWorkflowParameterTypes8 = new Class[] {
1873 long.class, boolean.class, java.lang.String.class,
1874 java.lang.String.class, boolean.class, java.lang.String.class,
1875 java.lang.String.class, long.class, java.lang.String.class,
1876 java.util.Locale.class, java.lang.String.class,
1877 java.lang.String.class, java.lang.String.class, int.class, int.class,
1878 boolean.class, int.class, int.class, int.class,
1879 java.lang.String.class, long[].class, long[].class, long[].class,
1880 long[].class, boolean.class,
1881 com.liferay.portal.service.ServiceContext.class
1882 };
1883 private static final Class<?>[] _addUserWithWorkflowParameterTypes9 = new Class[] {
1884 long.class, boolean.class, java.lang.String.class,
1885 java.lang.String.class, boolean.class, java.lang.String.class,
1886 java.lang.String.class, long.class, java.lang.String.class,
1887 java.util.Locale.class, java.lang.String.class,
1888 java.lang.String.class, java.lang.String.class, int.class, int.class,
1889 boolean.class, int.class, int.class, int.class,
1890 java.lang.String.class, long[].class, long[].class, long[].class,
1891 long[].class, java.util.List.class, java.util.List.class,
1892 java.util.List.class, java.util.List.class, java.util.List.class,
1893 boolean.class, com.liferay.portal.service.ServiceContext.class
1894 };
1895 private static final Class<?>[] _deletePortraitParameterTypes10 = new Class[] {
1896 long.class
1897 };
1898 private static final Class<?>[] _deleteRoleUserParameterTypes11 = new Class[] {
1899 long.class, long.class
1900 };
1901 private static final Class<?>[] _deleteUserParameterTypes12 = new Class[] {
1902 long.class
1903 };
1904 private static final Class<?>[] _getDefaultUserIdParameterTypes13 = new Class[] {
1905 long.class
1906 };
1907 private static final Class<?>[] _getGroupUserIdsParameterTypes14 = new Class[] {
1908 long.class
1909 };
1910 private static final Class<?>[] _getOrganizationUserIdsParameterTypes15 = new Class[] {
1911 long.class
1912 };
1913 private static final Class<?>[] _getRoleUserIdsParameterTypes16 = new Class[] {
1914 long.class
1915 };
1916 private static final Class<?>[] _getUserByEmailAddressParameterTypes17 = new Class[] {
1917 long.class, java.lang.String.class
1918 };
1919 private static final Class<?>[] _getUserByIdParameterTypes18 = new Class[] {
1920 long.class
1921 };
1922 private static final Class<?>[] _getUserByScreenNameParameterTypes19 = new Class[] {
1923 long.class, java.lang.String.class
1924 };
1925 private static final Class<?>[] _getUserIdByEmailAddressParameterTypes20 = new Class[] {
1926 long.class, java.lang.String.class
1927 };
1928 private static final Class<?>[] _getUserIdByScreenNameParameterTypes21 = new Class[] {
1929 long.class, java.lang.String.class
1930 };
1931 private static final Class<?>[] _hasGroupUserParameterTypes22 = new Class[] {
1932 long.class, long.class
1933 };
1934 private static final Class<?>[] _hasRoleUserParameterTypes23 = new Class[] {
1935 long.class, long.class
1936 };
1937 private static final Class<?>[] _hasRoleUserParameterTypes24 = new Class[] {
1938 long.class, java.lang.String.class, long.class, boolean.class
1939 };
1940 private static final Class<?>[] _setRoleUsersParameterTypes25 = new Class[] {
1941 long.class, long[].class
1942 };
1943 private static final Class<?>[] _setUserGroupUsersParameterTypes26 = new Class[] {
1944 long.class, long[].class
1945 };
1946 private static final Class<?>[] _unsetGroupUsersParameterTypes27 = new Class[] {
1947 long.class, long[].class,
1948 com.liferay.portal.service.ServiceContext.class
1949 };
1950 private static final Class<?>[] _unsetOrganizationUsersParameterTypes28 = new Class[] {
1951 long.class, long[].class
1952 };
1953 private static final Class<?>[] _unsetPasswordPolicyUsersParameterTypes29 = new Class[] {
1954 long.class, long[].class
1955 };
1956 private static final Class<?>[] _unsetRoleUsersParameterTypes30 = new Class[] {
1957 long.class, long[].class
1958 };
1959 private static final Class<?>[] _unsetTeamUsersParameterTypes31 = new Class[] {
1960 long.class, long[].class
1961 };
1962 private static final Class<?>[] _unsetUserGroupUsersParameterTypes32 = new Class[] {
1963 long.class, long[].class
1964 };
1965 private static final Class<?>[] _updateAgreedToTermsOfUseParameterTypes33 = new Class[] {
1966 long.class, boolean.class
1967 };
1968 private static final Class<?>[] _updateEmailAddressParameterTypes34 = new Class[] {
1969 long.class, java.lang.String.class, java.lang.String.class,
1970 java.lang.String.class,
1971 com.liferay.portal.service.ServiceContext.class
1972 };
1973 private static final Class<?>[] _updateIncompleteUserParameterTypes35 = new Class[] {
1974 long.class, boolean.class, java.lang.String.class,
1975 java.lang.String.class, boolean.class, java.lang.String.class,
1976 java.lang.String.class, long.class, java.lang.String.class,
1977 java.util.Locale.class, java.lang.String.class,
1978 java.lang.String.class, java.lang.String.class, int.class, int.class,
1979 boolean.class, int.class, int.class, int.class,
1980 java.lang.String.class, boolean.class, boolean.class,
1981 com.liferay.portal.service.ServiceContext.class
1982 };
1983 private static final Class<?>[] _updateLockoutByIdParameterTypes36 = new Class[] {
1984 long.class, boolean.class
1985 };
1986 private static final Class<?>[] _updateOpenIdParameterTypes37 = new Class[] {
1987 long.class, java.lang.String.class
1988 };
1989 private static final Class<?>[] _updateOrganizationsParameterTypes38 = new Class[] {
1990 long.class, long[].class,
1991 com.liferay.portal.service.ServiceContext.class
1992 };
1993 private static final Class<?>[] _updatePasswordParameterTypes39 = new Class[] {
1994 long.class, java.lang.String.class, java.lang.String.class,
1995 boolean.class
1996 };
1997 private static final Class<?>[] _updatePortraitParameterTypes40 = new Class[] {
1998 long.class, byte[].class
1999 };
2000 private static final Class<?>[] _updateReminderQueryParameterTypes41 = new Class[] {
2001 long.class, java.lang.String.class, java.lang.String.class
2002 };
2003 private static final Class<?>[] _updateScreenNameParameterTypes42 = new Class[] {
2004 long.class, java.lang.String.class
2005 };
2006 private static final Class<?>[] _updateStatusParameterTypes43 = new Class[] {
2007 long.class, int.class
2008 };
2009 private static final Class<?>[] _updateUserParameterTypes44 = new Class[] {
2010 long.class, java.lang.String.class, java.lang.String.class,
2011 java.lang.String.class, boolean.class, java.lang.String.class,
2012 java.lang.String.class, java.lang.String.class,
2013 java.lang.String.class, long.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, int.class, int.class, boolean.class,
2018 int.class, int.class, int.class, java.lang.String.class,
2019 java.lang.String.class, java.lang.String.class,
2020 java.lang.String.class, java.lang.String.class,
2021 java.lang.String.class, java.lang.String.class,
2022 java.lang.String.class, java.lang.String.class,
2023 java.lang.String.class, java.lang.String.class, long[].class,
2024 long[].class, long[].class, java.util.List.class, long[].class,
2025 java.util.List.class, java.util.List.class, java.util.List.class,
2026 java.util.List.class, java.util.List.class,
2027 com.liferay.portal.service.ServiceContext.class
2028 };
2029 private static final Class<?>[] _updateUserParameterTypes45 = new Class[] {
2030 long.class, java.lang.String.class, java.lang.String.class,
2031 java.lang.String.class, boolean.class, java.lang.String.class,
2032 java.lang.String.class, java.lang.String.class,
2033 java.lang.String.class, long.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, int.class, int.class, boolean.class,
2038 int.class, int.class, int.class, java.lang.String.class,
2039 java.lang.String.class, java.lang.String.class,
2040 java.lang.String.class, java.lang.String.class,
2041 java.lang.String.class, java.lang.String.class,
2042 java.lang.String.class, java.lang.String.class,
2043 java.lang.String.class, java.lang.String.class, long[].class,
2044 long[].class, long[].class, java.util.List.class, long[].class,
2045 com.liferay.portal.service.ServiceContext.class
2046 };
2047 }