001
014
015 package com.liferay.portal.service.http;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.log.Log;
020 import com.liferay.portal.kernel.log.LogFactoryUtil;
021 import com.liferay.portal.kernel.util.MethodHandler;
022 import com.liferay.portal.kernel.util.MethodKey;
023 import com.liferay.portal.security.auth.HttpPrincipal;
024 import com.liferay.portal.service.GroupServiceUtil;
025
026
054 @ProviderType
055 public class GroupServiceHttp {
056 public static com.liferay.portal.model.Group addGroup(
057 HttpPrincipal httpPrincipal, long parentGroupId, long liveGroupId,
058 java.util.Map<java.util.Locale, java.lang.String> nameMap,
059 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
060 int type, boolean manualMembership, int membershipRestriction,
061 java.lang.String friendlyURL, boolean site, boolean inheritContent,
062 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
063 throws com.liferay.portal.kernel.exception.PortalException {
064 try {
065 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
066 "addGroup", _addGroupParameterTypes0);
067
068 MethodHandler methodHandler = new MethodHandler(methodKey,
069 parentGroupId, liveGroupId, nameMap, descriptionMap, type,
070 manualMembership, membershipRestriction, friendlyURL, site,
071 inheritContent, active, serviceContext);
072
073 Object returnObj = null;
074
075 try {
076 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
077 }
078 catch (Exception e) {
079 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
080 throw (com.liferay.portal.kernel.exception.PortalException)e;
081 }
082
083 throw new com.liferay.portal.kernel.exception.SystemException(e);
084 }
085
086 return (com.liferay.portal.model.Group)returnObj;
087 }
088 catch (com.liferay.portal.kernel.exception.SystemException se) {
089 _log.error(se, se);
090
091 throw se;
092 }
093 }
094
095 public static com.liferay.portal.model.Group addGroup(
096 HttpPrincipal httpPrincipal, long parentGroupId, long liveGroupId,
097 java.util.Map<java.util.Locale, java.lang.String> nameMap,
098 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
099 int type, boolean manualMembership, int membershipRestriction,
100 java.lang.String friendlyURL, boolean site, boolean active,
101 com.liferay.portal.service.ServiceContext serviceContext)
102 throws com.liferay.portal.kernel.exception.PortalException {
103 try {
104 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
105 "addGroup", _addGroupParameterTypes1);
106
107 MethodHandler methodHandler = new MethodHandler(methodKey,
108 parentGroupId, liveGroupId, nameMap, descriptionMap, type,
109 manualMembership, membershipRestriction, friendlyURL, site,
110 active, serviceContext);
111
112 Object returnObj = null;
113
114 try {
115 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
116 }
117 catch (Exception e) {
118 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
119 throw (com.liferay.portal.kernel.exception.PortalException)e;
120 }
121
122 throw new com.liferay.portal.kernel.exception.SystemException(e);
123 }
124
125 return (com.liferay.portal.model.Group)returnObj;
126 }
127 catch (com.liferay.portal.kernel.exception.SystemException se) {
128 _log.error(se, se);
129
130 throw se;
131 }
132 }
133
134 public static com.liferay.portal.model.Group addGroup(
135 HttpPrincipal httpPrincipal, long parentGroupId, long liveGroupId,
136 java.lang.String name, java.lang.String description, int type,
137 boolean manualMembership, int membershipRestriction,
138 java.lang.String friendlyURL, boolean site, boolean active,
139 com.liferay.portal.service.ServiceContext serviceContext)
140 throws com.liferay.portal.kernel.exception.PortalException {
141 try {
142 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
143 "addGroup", _addGroupParameterTypes2);
144
145 MethodHandler methodHandler = new MethodHandler(methodKey,
146 parentGroupId, liveGroupId, name, description, type,
147 manualMembership, membershipRestriction, friendlyURL, site,
148 active, serviceContext);
149
150 Object returnObj = null;
151
152 try {
153 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
154 }
155 catch (Exception e) {
156 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
157 throw (com.liferay.portal.kernel.exception.PortalException)e;
158 }
159
160 throw new com.liferay.portal.kernel.exception.SystemException(e);
161 }
162
163 return (com.liferay.portal.model.Group)returnObj;
164 }
165 catch (com.liferay.portal.kernel.exception.SystemException se) {
166 _log.error(se, se);
167
168 throw se;
169 }
170 }
171
172 public static com.liferay.portal.model.Group addGroup(
173 HttpPrincipal httpPrincipal, long parentGroupId, java.lang.String name,
174 java.lang.String description, int type, java.lang.String friendlyURL,
175 boolean site, boolean active,
176 com.liferay.portal.service.ServiceContext serviceContext)
177 throws com.liferay.portal.kernel.exception.PortalException {
178 try {
179 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
180 "addGroup", _addGroupParameterTypes3);
181
182 MethodHandler methodHandler = new MethodHandler(methodKey,
183 parentGroupId, name, description, type, friendlyURL, site,
184 active, serviceContext);
185
186 Object returnObj = null;
187
188 try {
189 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
190 }
191 catch (Exception e) {
192 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
193 throw (com.liferay.portal.kernel.exception.PortalException)e;
194 }
195
196 throw new com.liferay.portal.kernel.exception.SystemException(e);
197 }
198
199 return (com.liferay.portal.model.Group)returnObj;
200 }
201 catch (com.liferay.portal.kernel.exception.SystemException se) {
202 _log.error(se, se);
203
204 throw se;
205 }
206 }
207
208 public static com.liferay.portal.model.Group addGroup(
209 HttpPrincipal httpPrincipal, java.lang.String name,
210 java.lang.String description, int type, java.lang.String friendlyURL,
211 boolean site, boolean active,
212 com.liferay.portal.service.ServiceContext serviceContext)
213 throws com.liferay.portal.kernel.exception.PortalException {
214 try {
215 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
216 "addGroup", _addGroupParameterTypes4);
217
218 MethodHandler methodHandler = new MethodHandler(methodKey, name,
219 description, type, friendlyURL, site, active, serviceContext);
220
221 Object returnObj = null;
222
223 try {
224 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
225 }
226 catch (Exception e) {
227 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
228 throw (com.liferay.portal.kernel.exception.PortalException)e;
229 }
230
231 throw new com.liferay.portal.kernel.exception.SystemException(e);
232 }
233
234 return (com.liferay.portal.model.Group)returnObj;
235 }
236 catch (com.liferay.portal.kernel.exception.SystemException se) {
237 _log.error(se, se);
238
239 throw se;
240 }
241 }
242
243 public static void addRoleGroups(HttpPrincipal httpPrincipal, long roleId,
244 long[] groupIds)
245 throws com.liferay.portal.kernel.exception.PortalException {
246 try {
247 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
248 "addRoleGroups", _addRoleGroupsParameterTypes5);
249
250 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
251 groupIds);
252
253 try {
254 TunnelUtil.invoke(httpPrincipal, methodHandler);
255 }
256 catch (Exception e) {
257 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
258 throw (com.liferay.portal.kernel.exception.PortalException)e;
259 }
260
261 throw new com.liferay.portal.kernel.exception.SystemException(e);
262 }
263 }
264 catch (com.liferay.portal.kernel.exception.SystemException se) {
265 _log.error(se, se);
266
267 throw se;
268 }
269 }
270
271 public static void checkRemoteStagingGroup(HttpPrincipal httpPrincipal,
272 long groupId)
273 throws com.liferay.portal.kernel.exception.PortalException {
274 try {
275 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
276 "checkRemoteStagingGroup",
277 _checkRemoteStagingGroupParameterTypes6);
278
279 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
280
281 try {
282 TunnelUtil.invoke(httpPrincipal, methodHandler);
283 }
284 catch (Exception e) {
285 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
286 throw (com.liferay.portal.kernel.exception.PortalException)e;
287 }
288
289 throw new com.liferay.portal.kernel.exception.SystemException(e);
290 }
291 }
292 catch (com.liferay.portal.kernel.exception.SystemException se) {
293 _log.error(se, se);
294
295 throw se;
296 }
297 }
298
299 public static void deleteGroup(HttpPrincipal httpPrincipal, long groupId)
300 throws com.liferay.portal.kernel.exception.PortalException {
301 try {
302 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
303 "deleteGroup", _deleteGroupParameterTypes7);
304
305 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
306
307 try {
308 TunnelUtil.invoke(httpPrincipal, methodHandler);
309 }
310 catch (Exception e) {
311 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
312 throw (com.liferay.portal.kernel.exception.PortalException)e;
313 }
314
315 throw new com.liferay.portal.kernel.exception.SystemException(e);
316 }
317 }
318 catch (com.liferay.portal.kernel.exception.SystemException se) {
319 _log.error(se, se);
320
321 throw se;
322 }
323 }
324
325 public static void disableStaging(HttpPrincipal httpPrincipal, long groupId)
326 throws com.liferay.portal.kernel.exception.PortalException {
327 try {
328 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
329 "disableStaging", _disableStagingParameterTypes8);
330
331 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
332
333 try {
334 TunnelUtil.invoke(httpPrincipal, methodHandler);
335 }
336 catch (Exception e) {
337 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
338 throw (com.liferay.portal.kernel.exception.PortalException)e;
339 }
340
341 throw new com.liferay.portal.kernel.exception.SystemException(e);
342 }
343 }
344 catch (com.liferay.portal.kernel.exception.SystemException se) {
345 _log.error(se, se);
346
347 throw se;
348 }
349 }
350
351 public static void enableStaging(HttpPrincipal httpPrincipal, long groupId)
352 throws com.liferay.portal.kernel.exception.PortalException {
353 try {
354 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
355 "enableStaging", _enableStagingParameterTypes9);
356
357 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
358
359 try {
360 TunnelUtil.invoke(httpPrincipal, methodHandler);
361 }
362 catch (Exception e) {
363 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
364 throw (com.liferay.portal.kernel.exception.PortalException)e;
365 }
366
367 throw new com.liferay.portal.kernel.exception.SystemException(e);
368 }
369 }
370 catch (com.liferay.portal.kernel.exception.SystemException se) {
371 _log.error(se, se);
372
373 throw se;
374 }
375 }
376
377 public static com.liferay.portal.model.Group getCompanyGroup(
378 HttpPrincipal httpPrincipal, long companyId)
379 throws com.liferay.portal.kernel.exception.PortalException {
380 try {
381 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
382 "getCompanyGroup", _getCompanyGroupParameterTypes10);
383
384 MethodHandler methodHandler = new MethodHandler(methodKey, companyId);
385
386 Object returnObj = null;
387
388 try {
389 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
390 }
391 catch (Exception e) {
392 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
393 throw (com.liferay.portal.kernel.exception.PortalException)e;
394 }
395
396 throw new com.liferay.portal.kernel.exception.SystemException(e);
397 }
398
399 return (com.liferay.portal.model.Group)returnObj;
400 }
401 catch (com.liferay.portal.kernel.exception.SystemException se) {
402 _log.error(se, se);
403
404 throw se;
405 }
406 }
407
408 public static com.liferay.portal.model.Group getGroup(
409 HttpPrincipal httpPrincipal, long groupId)
410 throws com.liferay.portal.kernel.exception.PortalException {
411 try {
412 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
413 "getGroup", _getGroupParameterTypes11);
414
415 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
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 throw new com.liferay.portal.kernel.exception.SystemException(e);
428 }
429
430 return (com.liferay.portal.model.Group)returnObj;
431 }
432 catch (com.liferay.portal.kernel.exception.SystemException se) {
433 _log.error(se, se);
434
435 throw se;
436 }
437 }
438
439 public static com.liferay.portal.model.Group getGroup(
440 HttpPrincipal httpPrincipal, long companyId, java.lang.String groupKey)
441 throws com.liferay.portal.kernel.exception.PortalException {
442 try {
443 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
444 "getGroup", _getGroupParameterTypes12);
445
446 MethodHandler methodHandler = new MethodHandler(methodKey,
447 companyId, groupKey);
448
449 Object returnObj = null;
450
451 try {
452 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
453 }
454 catch (Exception e) {
455 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
456 throw (com.liferay.portal.kernel.exception.PortalException)e;
457 }
458
459 throw new com.liferay.portal.kernel.exception.SystemException(e);
460 }
461
462 return (com.liferay.portal.model.Group)returnObj;
463 }
464 catch (com.liferay.portal.kernel.exception.SystemException se) {
465 _log.error(se, se);
466
467 throw se;
468 }
469 }
470
471 public static java.util.List<com.liferay.portal.model.Group> getGroups(
472 HttpPrincipal httpPrincipal, long companyId, long parentGroupId,
473 boolean site)
474 throws com.liferay.portal.kernel.exception.PortalException {
475 try {
476 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
477 "getGroups", _getGroupsParameterTypes13);
478
479 MethodHandler methodHandler = new MethodHandler(methodKey,
480 companyId, parentGroupId, site);
481
482 Object returnObj = null;
483
484 try {
485 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
486 }
487 catch (Exception e) {
488 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
489 throw (com.liferay.portal.kernel.exception.PortalException)e;
490 }
491
492 throw new com.liferay.portal.kernel.exception.SystemException(e);
493 }
494
495 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
496 }
497 catch (com.liferay.portal.kernel.exception.SystemException se) {
498 _log.error(se, se);
499
500 throw se;
501 }
502 }
503
504 public static java.util.List<com.liferay.portal.model.Group> getManageableSiteGroups(
505 HttpPrincipal httpPrincipal,
506 java.util.Collection<com.liferay.portal.model.Portlet> portlets, int max)
507 throws com.liferay.portal.kernel.exception.PortalException {
508 try {
509 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
510 "getManageableSiteGroups",
511 _getManageableSiteGroupsParameterTypes14);
512
513 MethodHandler methodHandler = new MethodHandler(methodKey,
514 portlets, max);
515
516 Object returnObj = null;
517
518 try {
519 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
520 }
521 catch (Exception e) {
522 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
523 throw (com.liferay.portal.kernel.exception.PortalException)e;
524 }
525
526 throw new com.liferay.portal.kernel.exception.SystemException(e);
527 }
528
529 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
530 }
531 catch (com.liferay.portal.kernel.exception.SystemException se) {
532 _log.error(se, se);
533
534 throw se;
535 }
536 }
537
538 public static java.util.List<com.liferay.portal.model.Group> getManageableSites(
539 HttpPrincipal httpPrincipal,
540 java.util.Collection<com.liferay.portal.model.Portlet> portlets, int max)
541 throws com.liferay.portal.kernel.exception.PortalException {
542 try {
543 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
544 "getManageableSites", _getManageableSitesParameterTypes15);
545
546 MethodHandler methodHandler = new MethodHandler(methodKey,
547 portlets, max);
548
549 Object returnObj = null;
550
551 try {
552 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
553 }
554 catch (Exception e) {
555 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
556 throw (com.liferay.portal.kernel.exception.PortalException)e;
557 }
558
559 throw new com.liferay.portal.kernel.exception.SystemException(e);
560 }
561
562 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
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 java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
572 HttpPrincipal httpPrincipal,
573 java.util.List<com.liferay.portal.model.Organization> organizations)
574 throws com.liferay.portal.kernel.exception.PortalException {
575 try {
576 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
577 "getOrganizationsGroups",
578 _getOrganizationsGroupsParameterTypes16);
579
580 MethodHandler methodHandler = new MethodHandler(methodKey,
581 organizations);
582
583 Object returnObj = null;
584
585 try {
586 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
587 }
588 catch (Exception e) {
589 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
590 throw (com.liferay.portal.kernel.exception.PortalException)e;
591 }
592
593 throw new com.liferay.portal.kernel.exception.SystemException(e);
594 }
595
596 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
597 }
598 catch (com.liferay.portal.kernel.exception.SystemException se) {
599 _log.error(se, se);
600
601 throw se;
602 }
603 }
604
605 public static com.liferay.portal.model.Group getUserGroup(
606 HttpPrincipal httpPrincipal, long companyId, long userId)
607 throws com.liferay.portal.kernel.exception.PortalException {
608 try {
609 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
610 "getUserGroup", _getUserGroupParameterTypes17);
611
612 MethodHandler methodHandler = new MethodHandler(methodKey,
613 companyId, userId);
614
615 Object returnObj = null;
616
617 try {
618 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
619 }
620 catch (Exception e) {
621 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
622 throw (com.liferay.portal.kernel.exception.PortalException)e;
623 }
624
625 throw new com.liferay.portal.kernel.exception.SystemException(e);
626 }
627
628 return (com.liferay.portal.model.Group)returnObj;
629 }
630 catch (com.liferay.portal.kernel.exception.SystemException se) {
631 _log.error(se, se);
632
633 throw se;
634 }
635 }
636
637 public static java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
638 HttpPrincipal httpPrincipal,
639 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
640 throws com.liferay.portal.kernel.exception.PortalException {
641 try {
642 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
643 "getUserGroupsGroups", _getUserGroupsGroupsParameterTypes18);
644
645 MethodHandler methodHandler = new MethodHandler(methodKey,
646 userGroups);
647
648 Object returnObj = null;
649
650 try {
651 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
652 }
653 catch (Exception e) {
654 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
655 throw (com.liferay.portal.kernel.exception.PortalException)e;
656 }
657
658 throw new com.liferay.portal.kernel.exception.SystemException(e);
659 }
660
661 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
662 }
663 catch (com.liferay.portal.kernel.exception.SystemException se) {
664 _log.error(se, se);
665
666 throw se;
667 }
668 }
669
670 public static java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
671 HttpPrincipal httpPrincipal, long userId, int start, int end)
672 throws com.liferay.portal.kernel.exception.PortalException {
673 try {
674 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
675 "getUserOrganizationsGroups",
676 _getUserOrganizationsGroupsParameterTypes19);
677
678 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
679 start, end);
680
681 Object returnObj = null;
682
683 try {
684 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
685 }
686 catch (Exception e) {
687 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
688 throw (com.liferay.portal.kernel.exception.PortalException)e;
689 }
690
691 throw new com.liferay.portal.kernel.exception.SystemException(e);
692 }
693
694 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
695 }
696 catch (com.liferay.portal.kernel.exception.SystemException se) {
697 _log.error(se, se);
698
699 throw se;
700 }
701 }
702
703 public static java.util.List<com.liferay.portal.model.Group> getUserPlaces(
704 HttpPrincipal httpPrincipal, long userId,
705 java.lang.String[] classNames, boolean includeControlPanel, int max)
706 throws com.liferay.portal.kernel.exception.PortalException {
707 try {
708 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
709 "getUserPlaces", _getUserPlacesParameterTypes20);
710
711 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
712 classNames, includeControlPanel, max);
713
714 Object returnObj = null;
715
716 try {
717 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
718 }
719 catch (Exception e) {
720 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
721 throw (com.liferay.portal.kernel.exception.PortalException)e;
722 }
723
724 throw new com.liferay.portal.kernel.exception.SystemException(e);
725 }
726
727 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
728 }
729 catch (com.liferay.portal.kernel.exception.SystemException se) {
730 _log.error(se, se);
731
732 throw se;
733 }
734 }
735
736 public static java.util.List<com.liferay.portal.model.Group> getUserPlaces(
737 HttpPrincipal httpPrincipal, long userId,
738 java.lang.String[] classNames, int max)
739 throws com.liferay.portal.kernel.exception.PortalException {
740 try {
741 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
742 "getUserPlaces", _getUserPlacesParameterTypes21);
743
744 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
745 classNames, max);
746
747 Object returnObj = null;
748
749 try {
750 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
751 }
752 catch (Exception e) {
753 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
754 throw (com.liferay.portal.kernel.exception.PortalException)e;
755 }
756
757 throw new com.liferay.portal.kernel.exception.SystemException(e);
758 }
759
760 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
761 }
762 catch (com.liferay.portal.kernel.exception.SystemException se) {
763 _log.error(se, se);
764
765 throw se;
766 }
767 }
768
769 public static java.util.List<com.liferay.portal.model.Group> getUserPlaces(
770 HttpPrincipal httpPrincipal, java.lang.String[] classNames, int max)
771 throws com.liferay.portal.kernel.exception.PortalException {
772 try {
773 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
774 "getUserPlaces", _getUserPlacesParameterTypes22);
775
776 MethodHandler methodHandler = new MethodHandler(methodKey,
777 classNames, max);
778
779 Object returnObj = null;
780
781 try {
782 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
783 }
784 catch (Exception e) {
785 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
786 throw (com.liferay.portal.kernel.exception.PortalException)e;
787 }
788
789 throw new com.liferay.portal.kernel.exception.SystemException(e);
790 }
791
792 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
793 }
794 catch (com.liferay.portal.kernel.exception.SystemException se) {
795 _log.error(se, se);
796
797 throw se;
798 }
799 }
800
801 public static int getUserPlacesCount(HttpPrincipal httpPrincipal)
802 throws com.liferay.portal.kernel.exception.PortalException {
803 try {
804 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
805 "getUserPlacesCount", _getUserPlacesCountParameterTypes23);
806
807 MethodHandler methodHandler = new MethodHandler(methodKey);
808
809 Object returnObj = null;
810
811 try {
812 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
813 }
814 catch (Exception e) {
815 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
816 throw (com.liferay.portal.kernel.exception.PortalException)e;
817 }
818
819 throw new com.liferay.portal.kernel.exception.SystemException(e);
820 }
821
822 return ((Integer)returnObj).intValue();
823 }
824 catch (com.liferay.portal.kernel.exception.SystemException se) {
825 _log.error(se, se);
826
827 throw se;
828 }
829 }
830
831 public static java.util.List<com.liferay.portal.model.Group> getUserSites(
832 HttpPrincipal httpPrincipal)
833 throws com.liferay.portal.kernel.exception.PortalException {
834 try {
835 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
836 "getUserSites", _getUserSitesParameterTypes24);
837
838 MethodHandler methodHandler = new MethodHandler(methodKey);
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 throw new com.liferay.portal.kernel.exception.SystemException(e);
851 }
852
853 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
854 }
855 catch (com.liferay.portal.kernel.exception.SystemException se) {
856 _log.error(se, se);
857
858 throw se;
859 }
860 }
861
862 public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
863 HttpPrincipal httpPrincipal)
864 throws com.liferay.portal.kernel.exception.PortalException {
865 try {
866 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
867 "getUserSitesGroups", _getUserSitesGroupsParameterTypes25);
868
869 MethodHandler methodHandler = new MethodHandler(methodKey);
870
871 Object returnObj = null;
872
873 try {
874 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
875 }
876 catch (Exception e) {
877 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
878 throw (com.liferay.portal.kernel.exception.PortalException)e;
879 }
880
881 throw new com.liferay.portal.kernel.exception.SystemException(e);
882 }
883
884 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
885 }
886 catch (com.liferay.portal.kernel.exception.SystemException se) {
887 _log.error(se, se);
888
889 throw se;
890 }
891 }
892
893 public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
894 HttpPrincipal httpPrincipal, long userId,
895 java.lang.String[] classNames, boolean includeControlPanel, int max)
896 throws com.liferay.portal.kernel.exception.PortalException {
897 try {
898 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
899 "getUserSitesGroups", _getUserSitesGroupsParameterTypes26);
900
901 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
902 classNames, includeControlPanel, max);
903
904 Object returnObj = null;
905
906 try {
907 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
908 }
909 catch (Exception e) {
910 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
911 throw (com.liferay.portal.kernel.exception.PortalException)e;
912 }
913
914 throw new com.liferay.portal.kernel.exception.SystemException(e);
915 }
916
917 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
918 }
919 catch (com.liferay.portal.kernel.exception.SystemException se) {
920 _log.error(se, se);
921
922 throw se;
923 }
924 }
925
926 public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
927 HttpPrincipal httpPrincipal, long userId,
928 java.lang.String[] classNames, int max)
929 throws com.liferay.portal.kernel.exception.PortalException {
930 try {
931 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
932 "getUserSitesGroups", _getUserSitesGroupsParameterTypes27);
933
934 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
935 classNames, max);
936
937 Object returnObj = null;
938
939 try {
940 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
941 }
942 catch (Exception e) {
943 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
944 throw (com.liferay.portal.kernel.exception.PortalException)e;
945 }
946
947 throw new com.liferay.portal.kernel.exception.SystemException(e);
948 }
949
950 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
951 }
952 catch (com.liferay.portal.kernel.exception.SystemException se) {
953 _log.error(se, se);
954
955 throw se;
956 }
957 }
958
959 public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
960 HttpPrincipal httpPrincipal, java.lang.String[] classNames, int max)
961 throws com.liferay.portal.kernel.exception.PortalException {
962 try {
963 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
964 "getUserSitesGroups", _getUserSitesGroupsParameterTypes28);
965
966 MethodHandler methodHandler = new MethodHandler(methodKey,
967 classNames, max);
968
969 Object returnObj = null;
970
971 try {
972 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
973 }
974 catch (Exception e) {
975 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
976 throw (com.liferay.portal.kernel.exception.PortalException)e;
977 }
978
979 throw new com.liferay.portal.kernel.exception.SystemException(e);
980 }
981
982 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
983 }
984 catch (com.liferay.portal.kernel.exception.SystemException se) {
985 _log.error(se, se);
986
987 throw se;
988 }
989 }
990
991 public static int getUserSitesGroupsCount(HttpPrincipal httpPrincipal)
992 throws com.liferay.portal.kernel.exception.PortalException {
993 try {
994 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
995 "getUserSitesGroupsCount",
996 _getUserSitesGroupsCountParameterTypes29);
997
998 MethodHandler methodHandler = new MethodHandler(methodKey);
999
1000 Object returnObj = null;
1001
1002 try {
1003 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1004 }
1005 catch (Exception e) {
1006 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1007 throw (com.liferay.portal.kernel.exception.PortalException)e;
1008 }
1009
1010 throw new com.liferay.portal.kernel.exception.SystemException(e);
1011 }
1012
1013 return ((Integer)returnObj).intValue();
1014 }
1015 catch (com.liferay.portal.kernel.exception.SystemException se) {
1016 _log.error(se, se);
1017
1018 throw se;
1019 }
1020 }
1021
1022 public static boolean hasUserGroup(HttpPrincipal httpPrincipal,
1023 long userId, long groupId)
1024 throws com.liferay.portal.kernel.exception.PortalException {
1025 try {
1026 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1027 "hasUserGroup", _hasUserGroupParameterTypes30);
1028
1029 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1030 groupId);
1031
1032 Object returnObj = null;
1033
1034 try {
1035 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1036 }
1037 catch (Exception e) {
1038 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1039 throw (com.liferay.portal.kernel.exception.PortalException)e;
1040 }
1041
1042 throw new com.liferay.portal.kernel.exception.SystemException(e);
1043 }
1044
1045 return ((Boolean)returnObj).booleanValue();
1046 }
1047 catch (com.liferay.portal.kernel.exception.SystemException se) {
1048 _log.error(se, se);
1049
1050 throw se;
1051 }
1052 }
1053
1054 public static java.util.List<com.liferay.portal.model.Group> search(
1055 HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
1056 java.lang.String keywords,
1057 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
1058 int start, int end,
1059 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc)
1060 throws com.liferay.portal.kernel.exception.PortalException {
1061 try {
1062 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1063 "search", _searchParameterTypes31);
1064
1065 MethodHandler methodHandler = new MethodHandler(methodKey,
1066 companyId, classNameIds, keywords, params, start, end, obc);
1067
1068 Object returnObj = null;
1069
1070 try {
1071 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1072 }
1073 catch (Exception e) {
1074 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1075 throw (com.liferay.portal.kernel.exception.PortalException)e;
1076 }
1077
1078 throw new com.liferay.portal.kernel.exception.SystemException(e);
1079 }
1080
1081 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
1082 }
1083 catch (com.liferay.portal.kernel.exception.SystemException se) {
1084 _log.error(se, se);
1085
1086 throw se;
1087 }
1088 }
1089
1090 public static java.util.List<com.liferay.portal.model.Group> search(
1091 HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
1092 java.lang.String name, java.lang.String description,
1093 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
1094 boolean andOperator, int start, int end,
1095 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc)
1096 throws com.liferay.portal.kernel.exception.PortalException {
1097 try {
1098 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1099 "search", _searchParameterTypes32);
1100
1101 MethodHandler methodHandler = new MethodHandler(methodKey,
1102 companyId, classNameIds, name, description, params,
1103 andOperator, start, end, obc);
1104
1105 Object returnObj = null;
1106
1107 try {
1108 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1109 }
1110 catch (Exception e) {
1111 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1112 throw (com.liferay.portal.kernel.exception.PortalException)e;
1113 }
1114
1115 throw new com.liferay.portal.kernel.exception.SystemException(e);
1116 }
1117
1118 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
1119 }
1120 catch (com.liferay.portal.kernel.exception.SystemException se) {
1121 _log.error(se, se);
1122
1123 throw se;
1124 }
1125 }
1126
1127 public static java.util.List<com.liferay.portal.model.Group> search(
1128 HttpPrincipal httpPrincipal, long companyId, java.lang.String name,
1129 java.lang.String description, java.lang.String[] params, int start,
1130 int end) throws com.liferay.portal.kernel.exception.PortalException {
1131 try {
1132 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1133 "search", _searchParameterTypes33);
1134
1135 MethodHandler methodHandler = new MethodHandler(methodKey,
1136 companyId, name, description, params, start, end);
1137
1138 Object returnObj = null;
1139
1140 try {
1141 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1142 }
1143 catch (Exception e) {
1144 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1145 throw (com.liferay.portal.kernel.exception.PortalException)e;
1146 }
1147
1148 throw new com.liferay.portal.kernel.exception.SystemException(e);
1149 }
1150
1151 return (java.util.List<com.liferay.portal.model.Group>)returnObj;
1152 }
1153 catch (com.liferay.portal.kernel.exception.SystemException se) {
1154 _log.error(se, se);
1155
1156 throw se;
1157 }
1158 }
1159
1160 public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1161 java.lang.String name, java.lang.String description,
1162 java.lang.String[] params) {
1163 try {
1164 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1165 "searchCount", _searchCountParameterTypes34);
1166
1167 MethodHandler methodHandler = new MethodHandler(methodKey,
1168 companyId, name, description, params);
1169
1170 Object returnObj = null;
1171
1172 try {
1173 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1174 }
1175 catch (Exception e) {
1176 throw new com.liferay.portal.kernel.exception.SystemException(e);
1177 }
1178
1179 return ((Integer)returnObj).intValue();
1180 }
1181 catch (com.liferay.portal.kernel.exception.SystemException se) {
1182 _log.error(se, se);
1183
1184 throw se;
1185 }
1186 }
1187
1188 public static void setRoleGroups(HttpPrincipal httpPrincipal, long roleId,
1189 long[] groupIds)
1190 throws com.liferay.portal.kernel.exception.PortalException {
1191 try {
1192 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1193 "setRoleGroups", _setRoleGroupsParameterTypes35);
1194
1195 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1196 groupIds);
1197
1198 try {
1199 TunnelUtil.invoke(httpPrincipal, methodHandler);
1200 }
1201 catch (Exception e) {
1202 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1203 throw (com.liferay.portal.kernel.exception.PortalException)e;
1204 }
1205
1206 throw new com.liferay.portal.kernel.exception.SystemException(e);
1207 }
1208 }
1209 catch (com.liferay.portal.kernel.exception.SystemException se) {
1210 _log.error(se, se);
1211
1212 throw se;
1213 }
1214 }
1215
1216 public static void unsetRoleGroups(HttpPrincipal httpPrincipal,
1217 long roleId, long[] groupIds)
1218 throws com.liferay.portal.kernel.exception.PortalException {
1219 try {
1220 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1221 "unsetRoleGroups", _unsetRoleGroupsParameterTypes36);
1222
1223 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1224 groupIds);
1225
1226 try {
1227 TunnelUtil.invoke(httpPrincipal, methodHandler);
1228 }
1229 catch (Exception e) {
1230 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1231 throw (com.liferay.portal.kernel.exception.PortalException)e;
1232 }
1233
1234 throw new com.liferay.portal.kernel.exception.SystemException(e);
1235 }
1236 }
1237 catch (com.liferay.portal.kernel.exception.SystemException se) {
1238 _log.error(se, se);
1239
1240 throw se;
1241 }
1242 }
1243
1244 public static com.liferay.portal.model.Group updateFriendlyURL(
1245 HttpPrincipal httpPrincipal, long groupId, java.lang.String friendlyURL)
1246 throws com.liferay.portal.kernel.exception.PortalException {
1247 try {
1248 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1249 "updateFriendlyURL", _updateFriendlyURLParameterTypes37);
1250
1251 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1252 friendlyURL);
1253
1254 Object returnObj = null;
1255
1256 try {
1257 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1258 }
1259 catch (Exception e) {
1260 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1261 throw (com.liferay.portal.kernel.exception.PortalException)e;
1262 }
1263
1264 throw new com.liferay.portal.kernel.exception.SystemException(e);
1265 }
1266
1267 return (com.liferay.portal.model.Group)returnObj;
1268 }
1269 catch (com.liferay.portal.kernel.exception.SystemException se) {
1270 _log.error(se, se);
1271
1272 throw se;
1273 }
1274 }
1275
1276 public static com.liferay.portal.model.Group updateGroup(
1277 HttpPrincipal httpPrincipal, long groupId, long parentGroupId,
1278 java.util.Map<java.util.Locale, java.lang.String> nameMap,
1279 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1280 int type, boolean manualMembership, int membershipRestriction,
1281 java.lang.String friendlyURL, boolean inheritContent, boolean active,
1282 com.liferay.portal.service.ServiceContext serviceContext)
1283 throws com.liferay.portal.kernel.exception.PortalException {
1284 try {
1285 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1286 "updateGroup", _updateGroupParameterTypes38);
1287
1288 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1289 parentGroupId, nameMap, descriptionMap, type,
1290 manualMembership, membershipRestriction, friendlyURL,
1291 inheritContent, active, serviceContext);
1292
1293 Object returnObj = null;
1294
1295 try {
1296 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1297 }
1298 catch (Exception e) {
1299 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1300 throw (com.liferay.portal.kernel.exception.PortalException)e;
1301 }
1302
1303 throw new com.liferay.portal.kernel.exception.SystemException(e);
1304 }
1305
1306 return (com.liferay.portal.model.Group)returnObj;
1307 }
1308 catch (com.liferay.portal.kernel.exception.SystemException se) {
1309 _log.error(se, se);
1310
1311 throw se;
1312 }
1313 }
1314
1315 public static com.liferay.portal.model.Group updateGroup(
1316 HttpPrincipal httpPrincipal, long groupId, long parentGroupId,
1317 java.lang.String name, java.lang.String description, int type,
1318 boolean manualMembership, int membershipRestriction,
1319 java.lang.String friendlyURL, boolean inheritContent, boolean active,
1320 com.liferay.portal.service.ServiceContext serviceContext)
1321 throws com.liferay.portal.kernel.exception.PortalException {
1322 try {
1323 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1324 "updateGroup", _updateGroupParameterTypes39);
1325
1326 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1327 parentGroupId, name, description, type, manualMembership,
1328 membershipRestriction, friendlyURL, inheritContent, active,
1329 serviceContext);
1330
1331 Object returnObj = null;
1332
1333 try {
1334 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1335 }
1336 catch (Exception e) {
1337 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1338 throw (com.liferay.portal.kernel.exception.PortalException)e;
1339 }
1340
1341 throw new com.liferay.portal.kernel.exception.SystemException(e);
1342 }
1343
1344 return (com.liferay.portal.model.Group)returnObj;
1345 }
1346 catch (com.liferay.portal.kernel.exception.SystemException se) {
1347 _log.error(se, se);
1348
1349 throw se;
1350 }
1351 }
1352
1353 public static com.liferay.portal.model.Group updateGroup(
1354 HttpPrincipal httpPrincipal, long groupId, java.lang.String typeSettings)
1355 throws com.liferay.portal.kernel.exception.PortalException {
1356 try {
1357 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1358 "updateGroup", _updateGroupParameterTypes40);
1359
1360 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1361 typeSettings);
1362
1363 Object returnObj = null;
1364
1365 try {
1366 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1367 }
1368 catch (Exception e) {
1369 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1370 throw (com.liferay.portal.kernel.exception.PortalException)e;
1371 }
1372
1373 throw new com.liferay.portal.kernel.exception.SystemException(e);
1374 }
1375
1376 return (com.liferay.portal.model.Group)returnObj;
1377 }
1378 catch (com.liferay.portal.kernel.exception.SystemException se) {
1379 _log.error(se, se);
1380
1381 throw se;
1382 }
1383 }
1384
1385 public static void updateStagedPortlets(HttpPrincipal httpPrincipal,
1386 long groupId,
1387 java.util.Map<java.lang.String, java.lang.String> stagedPortletIds)
1388 throws com.liferay.portal.kernel.exception.PortalException {
1389 try {
1390 MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1391 "updateStagedPortlets",
1392 _updateStagedPortletsParameterTypes41);
1393
1394 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1395 stagedPortletIds);
1396
1397 try {
1398 TunnelUtil.invoke(httpPrincipal, methodHandler);
1399 }
1400 catch (Exception e) {
1401 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1402 throw (com.liferay.portal.kernel.exception.PortalException)e;
1403 }
1404
1405 throw new com.liferay.portal.kernel.exception.SystemException(e);
1406 }
1407 }
1408 catch (com.liferay.portal.kernel.exception.SystemException se) {
1409 _log.error(se, se);
1410
1411 throw se;
1412 }
1413 }
1414
1415 private static Log _log = LogFactoryUtil.getLog(GroupServiceHttp.class);
1416 private static final Class<?>[] _addGroupParameterTypes0 = new Class[] {
1417 long.class, long.class, java.util.Map.class, java.util.Map.class,
1418 int.class, boolean.class, int.class, java.lang.String.class,
1419 boolean.class, boolean.class, boolean.class,
1420 com.liferay.portal.service.ServiceContext.class
1421 };
1422 private static final Class<?>[] _addGroupParameterTypes1 = new Class[] {
1423 long.class, long.class, java.util.Map.class, java.util.Map.class,
1424 int.class, boolean.class, int.class, java.lang.String.class,
1425 boolean.class, boolean.class,
1426 com.liferay.portal.service.ServiceContext.class
1427 };
1428 private static final Class<?>[] _addGroupParameterTypes2 = new Class[] {
1429 long.class, long.class, java.lang.String.class,
1430 java.lang.String.class, int.class, boolean.class, int.class,
1431 java.lang.String.class, boolean.class, boolean.class,
1432 com.liferay.portal.service.ServiceContext.class
1433 };
1434 private static final Class<?>[] _addGroupParameterTypes3 = new Class[] {
1435 long.class, java.lang.String.class, java.lang.String.class,
1436 int.class, java.lang.String.class, boolean.class, boolean.class,
1437 com.liferay.portal.service.ServiceContext.class
1438 };
1439 private static final Class<?>[] _addGroupParameterTypes4 = new Class[] {
1440 java.lang.String.class, java.lang.String.class, int.class,
1441 java.lang.String.class, boolean.class, boolean.class,
1442 com.liferay.portal.service.ServiceContext.class
1443 };
1444 private static final Class<?>[] _addRoleGroupsParameterTypes5 = new Class[] {
1445 long.class, long[].class
1446 };
1447 private static final Class<?>[] _checkRemoteStagingGroupParameterTypes6 = new Class[] {
1448 long.class
1449 };
1450 private static final Class<?>[] _deleteGroupParameterTypes7 = new Class[] {
1451 long.class
1452 };
1453 private static final Class<?>[] _disableStagingParameterTypes8 = new Class[] {
1454 long.class
1455 };
1456 private static final Class<?>[] _enableStagingParameterTypes9 = new Class[] {
1457 long.class
1458 };
1459 private static final Class<?>[] _getCompanyGroupParameterTypes10 = new Class[] {
1460 long.class
1461 };
1462 private static final Class<?>[] _getGroupParameterTypes11 = new Class[] {
1463 long.class
1464 };
1465 private static final Class<?>[] _getGroupParameterTypes12 = new Class[] {
1466 long.class, java.lang.String.class
1467 };
1468 private static final Class<?>[] _getGroupsParameterTypes13 = new Class[] {
1469 long.class, long.class, boolean.class
1470 };
1471 private static final Class<?>[] _getManageableSiteGroupsParameterTypes14 = new Class[] {
1472 java.util.Collection.class, int.class
1473 };
1474 private static final Class<?>[] _getManageableSitesParameterTypes15 = new Class[] {
1475 java.util.Collection.class, int.class
1476 };
1477 private static final Class<?>[] _getOrganizationsGroupsParameterTypes16 = new Class[] {
1478 java.util.List.class
1479 };
1480 private static final Class<?>[] _getUserGroupParameterTypes17 = new Class[] {
1481 long.class, long.class
1482 };
1483 private static final Class<?>[] _getUserGroupsGroupsParameterTypes18 = new Class[] {
1484 java.util.List.class
1485 };
1486 private static final Class<?>[] _getUserOrganizationsGroupsParameterTypes19 = new Class[] {
1487 long.class, int.class, int.class
1488 };
1489 private static final Class<?>[] _getUserPlacesParameterTypes20 = new Class[] {
1490 long.class, java.lang.String[].class, boolean.class, int.class
1491 };
1492 private static final Class<?>[] _getUserPlacesParameterTypes21 = new Class[] {
1493 long.class, java.lang.String[].class, int.class
1494 };
1495 private static final Class<?>[] _getUserPlacesParameterTypes22 = new Class[] {
1496 java.lang.String[].class, int.class
1497 };
1498 private static final Class<?>[] _getUserPlacesCountParameterTypes23 = new Class[] {
1499
1500 };
1501 private static final Class<?>[] _getUserSitesParameterTypes24 = new Class[] { };
1502 private static final Class<?>[] _getUserSitesGroupsParameterTypes25 = new Class[] {
1503
1504 };
1505 private static final Class<?>[] _getUserSitesGroupsParameterTypes26 = new Class[] {
1506 long.class, java.lang.String[].class, boolean.class, int.class
1507 };
1508 private static final Class<?>[] _getUserSitesGroupsParameterTypes27 = new Class[] {
1509 long.class, java.lang.String[].class, int.class
1510 };
1511 private static final Class<?>[] _getUserSitesGroupsParameterTypes28 = new Class[] {
1512 java.lang.String[].class, int.class
1513 };
1514 private static final Class<?>[] _getUserSitesGroupsCountParameterTypes29 = new Class[] {
1515
1516 };
1517 private static final Class<?>[] _hasUserGroupParameterTypes30 = new Class[] {
1518 long.class, long.class
1519 };
1520 private static final Class<?>[] _searchParameterTypes31 = new Class[] {
1521 long.class, long[].class, java.lang.String.class,
1522 java.util.LinkedHashMap.class, int.class, int.class,
1523 com.liferay.portal.kernel.util.OrderByComparator.class
1524 };
1525 private static final Class<?>[] _searchParameterTypes32 = new Class[] {
1526 long.class, long[].class, java.lang.String.class,
1527 java.lang.String.class, java.util.LinkedHashMap.class, boolean.class,
1528 int.class, int.class,
1529 com.liferay.portal.kernel.util.OrderByComparator.class
1530 };
1531 private static final Class<?>[] _searchParameterTypes33 = new Class[] {
1532 long.class, java.lang.String.class, java.lang.String.class,
1533 java.lang.String[].class, int.class, int.class
1534 };
1535 private static final Class<?>[] _searchCountParameterTypes34 = new Class[] {
1536 long.class, java.lang.String.class, java.lang.String.class,
1537 java.lang.String[].class
1538 };
1539 private static final Class<?>[] _setRoleGroupsParameterTypes35 = new Class[] {
1540 long.class, long[].class
1541 };
1542 private static final Class<?>[] _unsetRoleGroupsParameterTypes36 = new Class[] {
1543 long.class, long[].class
1544 };
1545 private static final Class<?>[] _updateFriendlyURLParameterTypes37 = new Class[] {
1546 long.class, java.lang.String.class
1547 };
1548 private static final Class<?>[] _updateGroupParameterTypes38 = new Class[] {
1549 long.class, long.class, java.util.Map.class, java.util.Map.class,
1550 int.class, boolean.class, int.class, java.lang.String.class,
1551 boolean.class, boolean.class,
1552 com.liferay.portal.service.ServiceContext.class
1553 };
1554 private static final Class<?>[] _updateGroupParameterTypes39 = new Class[] {
1555 long.class, long.class, java.lang.String.class,
1556 java.lang.String.class, int.class, boolean.class, int.class,
1557 java.lang.String.class, boolean.class, boolean.class,
1558 com.liferay.portal.service.ServiceContext.class
1559 };
1560 private static final Class<?>[] _updateGroupParameterTypes40 = new Class[] {
1561 long.class, java.lang.String.class
1562 };
1563 private static final Class<?>[] _updateStagedPortletsParameterTypes41 = new Class[] {
1564 long.class, java.util.Map.class
1565 };
1566 }