001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
027     * Provides the HTTP utility for the
028     * {@link com.liferay.portal.service.GroupServiceUtil} service utility. The
029     * static methods of this class calls the same methods of the service utility.
030     * However, the signatures are different because it requires an additional
031     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
032     *
033     * <p>
034     * The benefits of using the HTTP utility is that it is fast and allows for
035     * tunneling without the cost of serializing to text. The drawback is that it
036     * only works with Java.
037     * </p>
038     *
039     * <p>
040     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
041     * configure security.
042     * </p>
043     *
044     * <p>
045     * The HTTP utility is only generated for remote services.
046     * </p>
047     *
048     * @author Brian Wing Shun Chan
049     * @see GroupServiceSoap
050     * @see com.liferay.portal.security.auth.HttpPrincipal
051     * @see com.liferay.portal.service.GroupServiceUtil
052     * @generated
053     */
054    @ProviderType
055    public class GroupServiceHttp {
056            public static com.liferay.portal.model.Group addGroup(
057                    HttpPrincipal httpPrincipal, long parentGroupId, long liveGroupId,
058                    java.lang.String name, java.lang.String description, int type,
059                    boolean manualMembership, int membershipRestriction,
060                    java.lang.String friendlyURL, boolean site, boolean active,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    try {
064                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
065                                            "addGroup", _addGroupParameterTypes0);
066    
067                            MethodHandler methodHandler = new MethodHandler(methodKey,
068                                            parentGroupId, liveGroupId, name, description, type,
069                                            manualMembership, membershipRestriction, friendlyURL, site,
070                                            active, serviceContext);
071    
072                            Object returnObj = null;
073    
074                            try {
075                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
076                            }
077                            catch (Exception e) {
078                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
079                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
080                                    }
081    
082                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
083                            }
084    
085                            return (com.liferay.portal.model.Group)returnObj;
086                    }
087                    catch (com.liferay.portal.kernel.exception.SystemException se) {
088                            _log.error(se, se);
089    
090                            throw se;
091                    }
092            }
093    
094            public static com.liferay.portal.model.Group addGroup(
095                    HttpPrincipal httpPrincipal, long parentGroupId, java.lang.String name,
096                    java.lang.String description, int type, java.lang.String friendlyURL,
097                    boolean site, boolean active,
098                    com.liferay.portal.service.ServiceContext serviceContext)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    try {
101                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
102                                            "addGroup", _addGroupParameterTypes1);
103    
104                            MethodHandler methodHandler = new MethodHandler(methodKey,
105                                            parentGroupId, name, description, type, friendlyURL, site,
106                                            active, serviceContext);
107    
108                            Object returnObj = null;
109    
110                            try {
111                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
112                            }
113                            catch (Exception e) {
114                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
115                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
116                                    }
117    
118                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
119                            }
120    
121                            return (com.liferay.portal.model.Group)returnObj;
122                    }
123                    catch (com.liferay.portal.kernel.exception.SystemException se) {
124                            _log.error(se, se);
125    
126                            throw se;
127                    }
128            }
129    
130            public static com.liferay.portal.model.Group addGroup(
131                    HttpPrincipal httpPrincipal, java.lang.String name,
132                    java.lang.String description, int type, java.lang.String friendlyURL,
133                    boolean site, boolean active,
134                    com.liferay.portal.service.ServiceContext serviceContext)
135                    throws com.liferay.portal.kernel.exception.PortalException {
136                    try {
137                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
138                                            "addGroup", _addGroupParameterTypes2);
139    
140                            MethodHandler methodHandler = new MethodHandler(methodKey, name,
141                                            description, type, friendlyURL, site, active, serviceContext);
142    
143                            Object returnObj = null;
144    
145                            try {
146                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
147                            }
148                            catch (Exception e) {
149                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
150                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
151                                    }
152    
153                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
154                            }
155    
156                            return (com.liferay.portal.model.Group)returnObj;
157                    }
158                    catch (com.liferay.portal.kernel.exception.SystemException se) {
159                            _log.error(se, se);
160    
161                            throw se;
162                    }
163            }
164    
165            public static void addRoleGroups(HttpPrincipal httpPrincipal, long roleId,
166                    long[] groupIds)
167                    throws com.liferay.portal.kernel.exception.PortalException {
168                    try {
169                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
170                                            "addRoleGroups", _addRoleGroupsParameterTypes3);
171    
172                            MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
173                                            groupIds);
174    
175                            try {
176                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
177                            }
178                            catch (Exception e) {
179                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
180                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
181                                    }
182    
183                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
184                            }
185                    }
186                    catch (com.liferay.portal.kernel.exception.SystemException se) {
187                            _log.error(se, se);
188    
189                            throw se;
190                    }
191            }
192    
193            public static void checkRemoteStagingGroup(HttpPrincipal httpPrincipal,
194                    long groupId)
195                    throws com.liferay.portal.kernel.exception.PortalException {
196                    try {
197                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
198                                            "checkRemoteStagingGroup",
199                                            _checkRemoteStagingGroupParameterTypes4);
200    
201                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
202    
203                            try {
204                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
205                            }
206                            catch (Exception e) {
207                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
208                                            throw (com.liferay.portal.kernel.exception.PortalException)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 void deleteGroup(HttpPrincipal httpPrincipal, long groupId)
222                    throws com.liferay.portal.kernel.exception.PortalException {
223                    try {
224                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
225                                            "deleteGroup", _deleteGroupParameterTypes5);
226    
227                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
228    
229                            try {
230                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
231                            }
232                            catch (Exception e) {
233                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
234                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
235                                    }
236    
237                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
238                            }
239                    }
240                    catch (com.liferay.portal.kernel.exception.SystemException se) {
241                            _log.error(se, se);
242    
243                            throw se;
244                    }
245            }
246    
247            public static void disableStaging(HttpPrincipal httpPrincipal, long groupId)
248                    throws com.liferay.portal.kernel.exception.PortalException {
249                    try {
250                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
251                                            "disableStaging", _disableStagingParameterTypes6);
252    
253                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
254    
255                            try {
256                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
257                            }
258                            catch (Exception e) {
259                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
260                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
261                                    }
262    
263                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
264                            }
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 void enableStaging(HttpPrincipal httpPrincipal, long groupId)
274                    throws com.liferay.portal.kernel.exception.PortalException {
275                    try {
276                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
277                                            "enableStaging", _enableStagingParameterTypes7);
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 com.liferay.portal.model.Group getCompanyGroup(
300                    HttpPrincipal httpPrincipal, long companyId)
301                    throws com.liferay.portal.kernel.exception.PortalException {
302                    try {
303                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
304                                            "getCompanyGroup", _getCompanyGroupParameterTypes8);
305    
306                            MethodHandler methodHandler = new MethodHandler(methodKey, companyId);
307    
308                            Object returnObj = null;
309    
310                            try {
311                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
312                            }
313                            catch (Exception e) {
314                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
315                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
316                                    }
317    
318                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
319                            }
320    
321                            return (com.liferay.portal.model.Group)returnObj;
322                    }
323                    catch (com.liferay.portal.kernel.exception.SystemException se) {
324                            _log.error(se, se);
325    
326                            throw se;
327                    }
328            }
329    
330            public static com.liferay.portal.model.Group getGroup(
331                    HttpPrincipal httpPrincipal, long groupId)
332                    throws com.liferay.portal.kernel.exception.PortalException {
333                    try {
334                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
335                                            "getGroup", _getGroupParameterTypes9);
336    
337                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
338    
339                            Object returnObj = null;
340    
341                            try {
342                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
343                            }
344                            catch (Exception e) {
345                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
346                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
347                                    }
348    
349                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
350                            }
351    
352                            return (com.liferay.portal.model.Group)returnObj;
353                    }
354                    catch (com.liferay.portal.kernel.exception.SystemException se) {
355                            _log.error(se, se);
356    
357                            throw se;
358                    }
359            }
360    
361            public static com.liferay.portal.model.Group getGroup(
362                    HttpPrincipal httpPrincipal, long companyId, java.lang.String name)
363                    throws com.liferay.portal.kernel.exception.PortalException {
364                    try {
365                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
366                                            "getGroup", _getGroupParameterTypes10);
367    
368                            MethodHandler methodHandler = new MethodHandler(methodKey,
369                                            companyId, name);
370    
371                            Object returnObj = null;
372    
373                            try {
374                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
375                            }
376                            catch (Exception e) {
377                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
378                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
379                                    }
380    
381                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
382                            }
383    
384                            return (com.liferay.portal.model.Group)returnObj;
385                    }
386                    catch (com.liferay.portal.kernel.exception.SystemException se) {
387                            _log.error(se, se);
388    
389                            throw se;
390                    }
391            }
392    
393            public static java.util.List<com.liferay.portal.model.Group> getGroups(
394                    HttpPrincipal httpPrincipal, long companyId, long parentGroupId,
395                    boolean site)
396                    throws com.liferay.portal.kernel.exception.PortalException {
397                    try {
398                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
399                                            "getGroups", _getGroupsParameterTypes11);
400    
401                            MethodHandler methodHandler = new MethodHandler(methodKey,
402                                            companyId, parentGroupId, site);
403    
404                            Object returnObj = null;
405    
406                            try {
407                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
408                            }
409                            catch (Exception e) {
410                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
411                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
412                                    }
413    
414                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
415                            }
416    
417                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
418                    }
419                    catch (com.liferay.portal.kernel.exception.SystemException se) {
420                            _log.error(se, se);
421    
422                            throw se;
423                    }
424            }
425    
426            public static java.util.List<com.liferay.portal.model.Group> getManageableSiteGroups(
427                    HttpPrincipal httpPrincipal,
428                    java.util.Collection<com.liferay.portal.model.Portlet> portlets, int max)
429                    throws com.liferay.portal.kernel.exception.PortalException {
430                    try {
431                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
432                                            "getManageableSiteGroups",
433                                            _getManageableSiteGroupsParameterTypes12);
434    
435                            MethodHandler methodHandler = new MethodHandler(methodKey,
436                                            portlets, max);
437    
438                            Object returnObj = null;
439    
440                            try {
441                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
442                            }
443                            catch (Exception e) {
444                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
445                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
446                                    }
447    
448                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
449                            }
450    
451                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
452                    }
453                    catch (com.liferay.portal.kernel.exception.SystemException se) {
454                            _log.error(se, se);
455    
456                            throw se;
457                    }
458            }
459    
460            public static java.util.List<com.liferay.portal.model.Group> getManageableSites(
461                    HttpPrincipal httpPrincipal,
462                    java.util.Collection<com.liferay.portal.model.Portlet> portlets, int max)
463                    throws com.liferay.portal.kernel.exception.PortalException {
464                    try {
465                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
466                                            "getManageableSites", _getManageableSitesParameterTypes13);
467    
468                            MethodHandler methodHandler = new MethodHandler(methodKey,
469                                            portlets, max);
470    
471                            Object returnObj = null;
472    
473                            try {
474                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
475                            }
476                            catch (Exception e) {
477                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
478                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
479                                    }
480    
481                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
482                            }
483    
484                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
485                    }
486                    catch (com.liferay.portal.kernel.exception.SystemException se) {
487                            _log.error(se, se);
488    
489                            throw se;
490                    }
491            }
492    
493            public static java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
494                    HttpPrincipal httpPrincipal,
495                    java.util.List<com.liferay.portal.model.Organization> organizations)
496                    throws com.liferay.portal.kernel.exception.PortalException {
497                    try {
498                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
499                                            "getOrganizationsGroups",
500                                            _getOrganizationsGroupsParameterTypes14);
501    
502                            MethodHandler methodHandler = new MethodHandler(methodKey,
503                                            organizations);
504    
505                            Object returnObj = null;
506    
507                            try {
508                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
509                            }
510                            catch (Exception e) {
511                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
512                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
513                                    }
514    
515                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
516                            }
517    
518                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
519                    }
520                    catch (com.liferay.portal.kernel.exception.SystemException se) {
521                            _log.error(se, se);
522    
523                            throw se;
524                    }
525            }
526    
527            public static com.liferay.portal.model.Group getUserGroup(
528                    HttpPrincipal httpPrincipal, long companyId, long userId)
529                    throws com.liferay.portal.kernel.exception.PortalException {
530                    try {
531                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
532                                            "getUserGroup", _getUserGroupParameterTypes15);
533    
534                            MethodHandler methodHandler = new MethodHandler(methodKey,
535                                            companyId, userId);
536    
537                            Object returnObj = null;
538    
539                            try {
540                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
541                            }
542                            catch (Exception e) {
543                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
544                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
545                                    }
546    
547                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
548                            }
549    
550                            return (com.liferay.portal.model.Group)returnObj;
551                    }
552                    catch (com.liferay.portal.kernel.exception.SystemException se) {
553                            _log.error(se, se);
554    
555                            throw se;
556                    }
557            }
558    
559            public static java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
560                    HttpPrincipal httpPrincipal,
561                    java.util.List<com.liferay.portal.model.UserGroup> userGroups)
562                    throws com.liferay.portal.kernel.exception.PortalException {
563                    try {
564                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
565                                            "getUserGroupsGroups", _getUserGroupsGroupsParameterTypes16);
566    
567                            MethodHandler methodHandler = new MethodHandler(methodKey,
568                                            userGroups);
569    
570                            Object returnObj = null;
571    
572                            try {
573                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
574                            }
575                            catch (Exception e) {
576                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
577                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
578                                    }
579    
580                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
581                            }
582    
583                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
584                    }
585                    catch (com.liferay.portal.kernel.exception.SystemException se) {
586                            _log.error(se, se);
587    
588                            throw se;
589                    }
590            }
591    
592            public static java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
593                    HttpPrincipal httpPrincipal, long userId, int start, int end)
594                    throws com.liferay.portal.kernel.exception.PortalException {
595                    try {
596                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
597                                            "getUserOrganizationsGroups",
598                                            _getUserOrganizationsGroupsParameterTypes17);
599    
600                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
601                                            start, end);
602    
603                            Object returnObj = null;
604    
605                            try {
606                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
607                            }
608                            catch (Exception e) {
609                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
610                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
611                                    }
612    
613                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
614                            }
615    
616                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
617                    }
618                    catch (com.liferay.portal.kernel.exception.SystemException se) {
619                            _log.error(se, se);
620    
621                            throw se;
622                    }
623            }
624    
625            public static java.util.List<com.liferay.portal.model.Group> getUserPlaces(
626                    HttpPrincipal httpPrincipal, long userId,
627                    java.lang.String[] classNames, boolean includeControlPanel, int max)
628                    throws com.liferay.portal.kernel.exception.PortalException {
629                    try {
630                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
631                                            "getUserPlaces", _getUserPlacesParameterTypes18);
632    
633                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
634                                            classNames, includeControlPanel, max);
635    
636                            Object returnObj = null;
637    
638                            try {
639                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
640                            }
641                            catch (Exception e) {
642                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
643                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
644                                    }
645    
646                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
647                            }
648    
649                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
650                    }
651                    catch (com.liferay.portal.kernel.exception.SystemException se) {
652                            _log.error(se, se);
653    
654                            throw se;
655                    }
656            }
657    
658            public static java.util.List<com.liferay.portal.model.Group> getUserPlaces(
659                    HttpPrincipal httpPrincipal, long userId,
660                    java.lang.String[] classNames, int max)
661                    throws com.liferay.portal.kernel.exception.PortalException {
662                    try {
663                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
664                                            "getUserPlaces", _getUserPlacesParameterTypes19);
665    
666                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
667                                            classNames, max);
668    
669                            Object returnObj = null;
670    
671                            try {
672                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
673                            }
674                            catch (Exception e) {
675                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
676                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
677                                    }
678    
679                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
680                            }
681    
682                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
683                    }
684                    catch (com.liferay.portal.kernel.exception.SystemException se) {
685                            _log.error(se, se);
686    
687                            throw se;
688                    }
689            }
690    
691            public static java.util.List<com.liferay.portal.model.Group> getUserPlaces(
692                    HttpPrincipal httpPrincipal, java.lang.String[] classNames, int max)
693                    throws com.liferay.portal.kernel.exception.PortalException {
694                    try {
695                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
696                                            "getUserPlaces", _getUserPlacesParameterTypes20);
697    
698                            MethodHandler methodHandler = new MethodHandler(methodKey,
699                                            classNames, max);
700    
701                            Object returnObj = null;
702    
703                            try {
704                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
705                            }
706                            catch (Exception e) {
707                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
708                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
709                                    }
710    
711                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
712                            }
713    
714                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
715                    }
716                    catch (com.liferay.portal.kernel.exception.SystemException se) {
717                            _log.error(se, se);
718    
719                            throw se;
720                    }
721            }
722    
723            public static int getUserPlacesCount(HttpPrincipal httpPrincipal)
724                    throws com.liferay.portal.kernel.exception.PortalException {
725                    try {
726                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
727                                            "getUserPlacesCount", _getUserPlacesCountParameterTypes21);
728    
729                            MethodHandler methodHandler = new MethodHandler(methodKey);
730    
731                            Object returnObj = null;
732    
733                            try {
734                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
735                            }
736                            catch (Exception e) {
737                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
738                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
739                                    }
740    
741                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
742                            }
743    
744                            return ((Integer)returnObj).intValue();
745                    }
746                    catch (com.liferay.portal.kernel.exception.SystemException se) {
747                            _log.error(se, se);
748    
749                            throw se;
750                    }
751            }
752    
753            public static java.util.List<com.liferay.portal.model.Group> getUserSites(
754                    HttpPrincipal httpPrincipal)
755                    throws com.liferay.portal.kernel.exception.PortalException {
756                    try {
757                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
758                                            "getUserSites", _getUserSitesParameterTypes22);
759    
760                            MethodHandler methodHandler = new MethodHandler(methodKey);
761    
762                            Object returnObj = null;
763    
764                            try {
765                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
766                            }
767                            catch (Exception e) {
768                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
769                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
770                                    }
771    
772                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
773                            }
774    
775                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
776                    }
777                    catch (com.liferay.portal.kernel.exception.SystemException se) {
778                            _log.error(se, se);
779    
780                            throw se;
781                    }
782            }
783    
784            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
785                    HttpPrincipal httpPrincipal)
786                    throws com.liferay.portal.kernel.exception.PortalException {
787                    try {
788                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
789                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes23);
790    
791                            MethodHandler methodHandler = new MethodHandler(methodKey);
792    
793                            Object returnObj = null;
794    
795                            try {
796                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
797                            }
798                            catch (Exception e) {
799                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
800                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
801                                    }
802    
803                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
804                            }
805    
806                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
807                    }
808                    catch (com.liferay.portal.kernel.exception.SystemException se) {
809                            _log.error(se, se);
810    
811                            throw se;
812                    }
813            }
814    
815            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
816                    HttpPrincipal httpPrincipal, long userId,
817                    java.lang.String[] classNames, boolean includeControlPanel, int max)
818                    throws com.liferay.portal.kernel.exception.PortalException {
819                    try {
820                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
821                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes24);
822    
823                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
824                                            classNames, includeControlPanel, max);
825    
826                            Object returnObj = null;
827    
828                            try {
829                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
830                            }
831                            catch (Exception e) {
832                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
833                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
834                                    }
835    
836                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
837                            }
838    
839                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
840                    }
841                    catch (com.liferay.portal.kernel.exception.SystemException se) {
842                            _log.error(se, se);
843    
844                            throw se;
845                    }
846            }
847    
848            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
849                    HttpPrincipal httpPrincipal, long userId,
850                    java.lang.String[] classNames, int max)
851                    throws com.liferay.portal.kernel.exception.PortalException {
852                    try {
853                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
854                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes25);
855    
856                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
857                                            classNames, max);
858    
859                            Object returnObj = null;
860    
861                            try {
862                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
863                            }
864                            catch (Exception e) {
865                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
866                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
867                                    }
868    
869                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
870                            }
871    
872                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
873                    }
874                    catch (com.liferay.portal.kernel.exception.SystemException se) {
875                            _log.error(se, se);
876    
877                            throw se;
878                    }
879            }
880    
881            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
882                    HttpPrincipal httpPrincipal, java.lang.String[] classNames, int max)
883                    throws com.liferay.portal.kernel.exception.PortalException {
884                    try {
885                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
886                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes26);
887    
888                            MethodHandler methodHandler = new MethodHandler(methodKey,
889                                            classNames, max);
890    
891                            Object returnObj = null;
892    
893                            try {
894                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
895                            }
896                            catch (Exception e) {
897                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
898                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
899                                    }
900    
901                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
902                            }
903    
904                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
905                    }
906                    catch (com.liferay.portal.kernel.exception.SystemException se) {
907                            _log.error(se, se);
908    
909                            throw se;
910                    }
911            }
912    
913            public static int getUserSitesGroupsCount(HttpPrincipal httpPrincipal)
914                    throws com.liferay.portal.kernel.exception.PortalException {
915                    try {
916                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
917                                            "getUserSitesGroupsCount",
918                                            _getUserSitesGroupsCountParameterTypes27);
919    
920                            MethodHandler methodHandler = new MethodHandler(methodKey);
921    
922                            Object returnObj = null;
923    
924                            try {
925                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
926                            }
927                            catch (Exception e) {
928                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
929                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
930                                    }
931    
932                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
933                            }
934    
935                            return ((Integer)returnObj).intValue();
936                    }
937                    catch (com.liferay.portal.kernel.exception.SystemException se) {
938                            _log.error(se, se);
939    
940                            throw se;
941                    }
942            }
943    
944            public static boolean hasUserGroup(HttpPrincipal httpPrincipal,
945                    long userId, long groupId)
946                    throws com.liferay.portal.kernel.exception.PortalException {
947                    try {
948                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
949                                            "hasUserGroup", _hasUserGroupParameterTypes28);
950    
951                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
952                                            groupId);
953    
954                            Object returnObj = null;
955    
956                            try {
957                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
958                            }
959                            catch (Exception e) {
960                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
961                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
962                                    }
963    
964                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
965                            }
966    
967                            return ((Boolean)returnObj).booleanValue();
968                    }
969                    catch (com.liferay.portal.kernel.exception.SystemException se) {
970                            _log.error(se, se);
971    
972                            throw se;
973                    }
974            }
975    
976            public static java.util.List<com.liferay.portal.model.Group> search(
977                    HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
978                    java.lang.String keywords,
979                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
980                    int start, int end,
981                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc)
982                    throws com.liferay.portal.kernel.exception.PortalException {
983                    try {
984                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
985                                            "search", _searchParameterTypes29);
986    
987                            MethodHandler methodHandler = new MethodHandler(methodKey,
988                                            companyId, classNameIds, keywords, params, start, end, obc);
989    
990                            Object returnObj = null;
991    
992                            try {
993                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
994                            }
995                            catch (Exception e) {
996                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
997                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
998                                    }
999    
1000                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1001                            }
1002    
1003                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
1004                    }
1005                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1006                            _log.error(se, se);
1007    
1008                            throw se;
1009                    }
1010            }
1011    
1012            public static java.util.List<com.liferay.portal.model.Group> search(
1013                    HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
1014                    java.lang.String name, java.lang.String description,
1015                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
1016                    boolean andOperator, int start, int end,
1017                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc)
1018                    throws com.liferay.portal.kernel.exception.PortalException {
1019                    try {
1020                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1021                                            "search", _searchParameterTypes30);
1022    
1023                            MethodHandler methodHandler = new MethodHandler(methodKey,
1024                                            companyId, classNameIds, name, description, params,
1025                                            andOperator, start, end, obc);
1026    
1027                            Object returnObj = null;
1028    
1029                            try {
1030                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1031                            }
1032                            catch (Exception e) {
1033                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1034                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1035                                    }
1036    
1037                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1038                            }
1039    
1040                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
1041                    }
1042                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1043                            _log.error(se, se);
1044    
1045                            throw se;
1046                    }
1047            }
1048    
1049            public static java.util.List<com.liferay.portal.model.Group> search(
1050                    HttpPrincipal httpPrincipal, long companyId, java.lang.String name,
1051                    java.lang.String description, java.lang.String[] params, int start,
1052                    int end) throws com.liferay.portal.kernel.exception.PortalException {
1053                    try {
1054                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1055                                            "search", _searchParameterTypes31);
1056    
1057                            MethodHandler methodHandler = new MethodHandler(methodKey,
1058                                            companyId, name, description, params, start, end);
1059    
1060                            Object returnObj = null;
1061    
1062                            try {
1063                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1064                            }
1065                            catch (Exception e) {
1066                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1067                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1068                                    }
1069    
1070                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1071                            }
1072    
1073                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
1074                    }
1075                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1076                            _log.error(se, se);
1077    
1078                            throw se;
1079                    }
1080            }
1081    
1082            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1083                    java.lang.String name, java.lang.String description,
1084                    java.lang.String[] params) {
1085                    try {
1086                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1087                                            "searchCount", _searchCountParameterTypes32);
1088    
1089                            MethodHandler methodHandler = new MethodHandler(methodKey,
1090                                            companyId, name, description, params);
1091    
1092                            Object returnObj = null;
1093    
1094                            try {
1095                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1096                            }
1097                            catch (Exception e) {
1098                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1099                            }
1100    
1101                            return ((Integer)returnObj).intValue();
1102                    }
1103                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1104                            _log.error(se, se);
1105    
1106                            throw se;
1107                    }
1108            }
1109    
1110            public static void setRoleGroups(HttpPrincipal httpPrincipal, long roleId,
1111                    long[] groupIds)
1112                    throws com.liferay.portal.kernel.exception.PortalException {
1113                    try {
1114                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1115                                            "setRoleGroups", _setRoleGroupsParameterTypes33);
1116    
1117                            MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1118                                            groupIds);
1119    
1120                            try {
1121                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1122                            }
1123                            catch (Exception e) {
1124                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1125                                            throw (com.liferay.portal.kernel.exception.PortalException)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 unsetRoleGroups(HttpPrincipal httpPrincipal,
1139                    long roleId, long[] groupIds)
1140                    throws com.liferay.portal.kernel.exception.PortalException {
1141                    try {
1142                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1143                                            "unsetRoleGroups", _unsetRoleGroupsParameterTypes34);
1144    
1145                            MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
1146                                            groupIds);
1147    
1148                            try {
1149                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1150                            }
1151                            catch (Exception e) {
1152                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1153                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1154                                    }
1155    
1156                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1157                            }
1158                    }
1159                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1160                            _log.error(se, se);
1161    
1162                            throw se;
1163                    }
1164            }
1165    
1166            public static com.liferay.portal.model.Group updateFriendlyURL(
1167                    HttpPrincipal httpPrincipal, long groupId, java.lang.String friendlyURL)
1168                    throws com.liferay.portal.kernel.exception.PortalException {
1169                    try {
1170                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1171                                            "updateFriendlyURL", _updateFriendlyURLParameterTypes35);
1172    
1173                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1174                                            friendlyURL);
1175    
1176                            Object returnObj = null;
1177    
1178                            try {
1179                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1180                            }
1181                            catch (Exception e) {
1182                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1183                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1184                                    }
1185    
1186                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1187                            }
1188    
1189                            return (com.liferay.portal.model.Group)returnObj;
1190                    }
1191                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1192                            _log.error(se, se);
1193    
1194                            throw se;
1195                    }
1196            }
1197    
1198            public static com.liferay.portal.model.Group updateGroup(
1199                    HttpPrincipal httpPrincipal, long groupId, long parentGroupId,
1200                    java.lang.String name, java.lang.String description, int type,
1201                    boolean manualMembership, int membershipRestriction,
1202                    java.lang.String friendlyURL, boolean active,
1203                    com.liferay.portal.service.ServiceContext serviceContext)
1204                    throws com.liferay.portal.kernel.exception.PortalException {
1205                    try {
1206                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1207                                            "updateGroup", _updateGroupParameterTypes36);
1208    
1209                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1210                                            parentGroupId, name, description, type, manualMembership,
1211                                            membershipRestriction, friendlyURL, active, serviceContext);
1212    
1213                            Object returnObj = null;
1214    
1215                            try {
1216                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1217                            }
1218                            catch (Exception e) {
1219                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1220                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1221                                    }
1222    
1223                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1224                            }
1225    
1226                            return (com.liferay.portal.model.Group)returnObj;
1227                    }
1228                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1229                            _log.error(se, se);
1230    
1231                            throw se;
1232                    }
1233            }
1234    
1235            public static com.liferay.portal.model.Group updateGroup(
1236                    HttpPrincipal httpPrincipal, long groupId, java.lang.String typeSettings)
1237                    throws com.liferay.portal.kernel.exception.PortalException {
1238                    try {
1239                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1240                                            "updateGroup", _updateGroupParameterTypes37);
1241    
1242                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1243                                            typeSettings);
1244    
1245                            Object returnObj = null;
1246    
1247                            try {
1248                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1249                            }
1250                            catch (Exception e) {
1251                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1252                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1253                                    }
1254    
1255                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1256                            }
1257    
1258                            return (com.liferay.portal.model.Group)returnObj;
1259                    }
1260                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1261                            _log.error(se, se);
1262    
1263                            throw se;
1264                    }
1265            }
1266    
1267            public static void updateStagedPortlets(HttpPrincipal httpPrincipal,
1268                    long groupId,
1269                    java.util.Map<java.lang.String, java.lang.String> stagedPortletIds)
1270                    throws com.liferay.portal.kernel.exception.PortalException {
1271                    try {
1272                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1273                                            "updateStagedPortlets",
1274                                            _updateStagedPortletsParameterTypes38);
1275    
1276                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1277                                            stagedPortletIds);
1278    
1279                            try {
1280                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1281                            }
1282                            catch (Exception e) {
1283                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1284                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1285                                    }
1286    
1287                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1288                            }
1289                    }
1290                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1291                            _log.error(se, se);
1292    
1293                            throw se;
1294                    }
1295            }
1296    
1297            private static Log _log = LogFactoryUtil.getLog(GroupServiceHttp.class);
1298            private static final Class<?>[] _addGroupParameterTypes0 = new Class[] {
1299                            long.class, long.class, java.lang.String.class,
1300                            java.lang.String.class, int.class, boolean.class, int.class,
1301                            java.lang.String.class, boolean.class, boolean.class,
1302                            com.liferay.portal.service.ServiceContext.class
1303                    };
1304            private static final Class<?>[] _addGroupParameterTypes1 = new Class[] {
1305                            long.class, java.lang.String.class, java.lang.String.class,
1306                            int.class, java.lang.String.class, boolean.class, boolean.class,
1307                            com.liferay.portal.service.ServiceContext.class
1308                    };
1309            private static final Class<?>[] _addGroupParameterTypes2 = new Class[] {
1310                            java.lang.String.class, java.lang.String.class, int.class,
1311                            java.lang.String.class, boolean.class, boolean.class,
1312                            com.liferay.portal.service.ServiceContext.class
1313                    };
1314            private static final Class<?>[] _addRoleGroupsParameterTypes3 = new Class[] {
1315                            long.class, long[].class
1316                    };
1317            private static final Class<?>[] _checkRemoteStagingGroupParameterTypes4 = new Class[] {
1318                            long.class
1319                    };
1320            private static final Class<?>[] _deleteGroupParameterTypes5 = new Class[] {
1321                            long.class
1322                    };
1323            private static final Class<?>[] _disableStagingParameterTypes6 = new Class[] {
1324                            long.class
1325                    };
1326            private static final Class<?>[] _enableStagingParameterTypes7 = new Class[] {
1327                            long.class
1328                    };
1329            private static final Class<?>[] _getCompanyGroupParameterTypes8 = new Class[] {
1330                            long.class
1331                    };
1332            private static final Class<?>[] _getGroupParameterTypes9 = new Class[] {
1333                            long.class
1334                    };
1335            private static final Class<?>[] _getGroupParameterTypes10 = new Class[] {
1336                            long.class, java.lang.String.class
1337                    };
1338            private static final Class<?>[] _getGroupsParameterTypes11 = new Class[] {
1339                            long.class, long.class, boolean.class
1340                    };
1341            private static final Class<?>[] _getManageableSiteGroupsParameterTypes12 = new Class[] {
1342                            java.util.Collection.class, int.class
1343                    };
1344            private static final Class<?>[] _getManageableSitesParameterTypes13 = new Class[] {
1345                            java.util.Collection.class, int.class
1346                    };
1347            private static final Class<?>[] _getOrganizationsGroupsParameterTypes14 = new Class[] {
1348                            java.util.List.class
1349                    };
1350            private static final Class<?>[] _getUserGroupParameterTypes15 = new Class[] {
1351                            long.class, long.class
1352                    };
1353            private static final Class<?>[] _getUserGroupsGroupsParameterTypes16 = new Class[] {
1354                            java.util.List.class
1355                    };
1356            private static final Class<?>[] _getUserOrganizationsGroupsParameterTypes17 = new Class[] {
1357                            long.class, int.class, int.class
1358                    };
1359            private static final Class<?>[] _getUserPlacesParameterTypes18 = new Class[] {
1360                            long.class, java.lang.String[].class, boolean.class, int.class
1361                    };
1362            private static final Class<?>[] _getUserPlacesParameterTypes19 = new Class[] {
1363                            long.class, java.lang.String[].class, int.class
1364                    };
1365            private static final Class<?>[] _getUserPlacesParameterTypes20 = new Class[] {
1366                            java.lang.String[].class, int.class
1367                    };
1368            private static final Class<?>[] _getUserPlacesCountParameterTypes21 = new Class[] {
1369                            
1370                    };
1371            private static final Class<?>[] _getUserSitesParameterTypes22 = new Class[] {  };
1372            private static final Class<?>[] _getUserSitesGroupsParameterTypes23 = new Class[] {
1373                            
1374                    };
1375            private static final Class<?>[] _getUserSitesGroupsParameterTypes24 = new Class[] {
1376                            long.class, java.lang.String[].class, boolean.class, int.class
1377                    };
1378            private static final Class<?>[] _getUserSitesGroupsParameterTypes25 = new Class[] {
1379                            long.class, java.lang.String[].class, int.class
1380                    };
1381            private static final Class<?>[] _getUserSitesGroupsParameterTypes26 = new Class[] {
1382                            java.lang.String[].class, int.class
1383                    };
1384            private static final Class<?>[] _getUserSitesGroupsCountParameterTypes27 = new Class[] {
1385                            
1386                    };
1387            private static final Class<?>[] _hasUserGroupParameterTypes28 = new Class[] {
1388                            long.class, long.class
1389                    };
1390            private static final Class<?>[] _searchParameterTypes29 = new Class[] {
1391                            long.class, long[].class, java.lang.String.class,
1392                            java.util.LinkedHashMap.class, int.class, int.class,
1393                            com.liferay.portal.kernel.util.OrderByComparator.class
1394                    };
1395            private static final Class<?>[] _searchParameterTypes30 = new Class[] {
1396                            long.class, long[].class, java.lang.String.class,
1397                            java.lang.String.class, java.util.LinkedHashMap.class, boolean.class,
1398                            int.class, int.class,
1399                            com.liferay.portal.kernel.util.OrderByComparator.class
1400                    };
1401            private static final Class<?>[] _searchParameterTypes31 = new Class[] {
1402                            long.class, java.lang.String.class, java.lang.String.class,
1403                            java.lang.String[].class, int.class, int.class
1404                    };
1405            private static final Class<?>[] _searchCountParameterTypes32 = new Class[] {
1406                            long.class, java.lang.String.class, java.lang.String.class,
1407                            java.lang.String[].class
1408                    };
1409            private static final Class<?>[] _setRoleGroupsParameterTypes33 = new Class[] {
1410                            long.class, long[].class
1411                    };
1412            private static final Class<?>[] _unsetRoleGroupsParameterTypes34 = new Class[] {
1413                            long.class, long[].class
1414                    };
1415            private static final Class<?>[] _updateFriendlyURLParameterTypes35 = new Class[] {
1416                            long.class, java.lang.String.class
1417                    };
1418            private static final Class<?>[] _updateGroupParameterTypes36 = new Class[] {
1419                            long.class, long.class, java.lang.String.class,
1420                            java.lang.String.class, int.class, boolean.class, int.class,
1421                            java.lang.String.class, boolean.class,
1422                            com.liferay.portal.service.ServiceContext.class
1423                    };
1424            private static final Class<?>[] _updateGroupParameterTypes37 = new Class[] {
1425                            long.class, java.lang.String.class
1426                    };
1427            private static final Class<?>[] _updateStagedPortletsParameterTypes38 = new Class[] {
1428                            long.class, java.util.Map.class
1429                    };
1430    }