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 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 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 HttpPrincipal
051     * @see 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.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 void addRoleGroups(HttpPrincipal httpPrincipal, long roleId,
173                    long[] groupIds)
174                    throws com.liferay.portal.kernel.exception.PortalException {
175                    try {
176                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
177                                            "addRoleGroups", _addRoleGroupsParameterTypes3);
178    
179                            MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
180                                            groupIds);
181    
182                            try {
183                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
184                            }
185                            catch (Exception e) {
186                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
187                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
188                                    }
189    
190                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
191                            }
192                    }
193                    catch (com.liferay.portal.kernel.exception.SystemException se) {
194                            _log.error(se, se);
195    
196                            throw se;
197                    }
198            }
199    
200            public static void checkRemoteStagingGroup(HttpPrincipal httpPrincipal,
201                    long groupId)
202                    throws com.liferay.portal.kernel.exception.PortalException {
203                    try {
204                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
205                                            "checkRemoteStagingGroup",
206                                            _checkRemoteStagingGroupParameterTypes4);
207    
208                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
209    
210                            try {
211                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
212                            }
213                            catch (Exception e) {
214                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
215                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
216                                    }
217    
218                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
219                            }
220                    }
221                    catch (com.liferay.portal.kernel.exception.SystemException se) {
222                            _log.error(se, se);
223    
224                            throw se;
225                    }
226            }
227    
228            public static void deleteGroup(HttpPrincipal httpPrincipal, long groupId)
229                    throws com.liferay.portal.kernel.exception.PortalException {
230                    try {
231                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
232                                            "deleteGroup", _deleteGroupParameterTypes5);
233    
234                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
235    
236                            try {
237                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
238                            }
239                            catch (Exception e) {
240                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
241                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
242                                    }
243    
244                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
245                            }
246                    }
247                    catch (com.liferay.portal.kernel.exception.SystemException se) {
248                            _log.error(se, se);
249    
250                            throw se;
251                    }
252            }
253    
254            public static void disableStaging(HttpPrincipal httpPrincipal, long groupId)
255                    throws com.liferay.portal.kernel.exception.PortalException {
256                    try {
257                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
258                                            "disableStaging", _disableStagingParameterTypes6);
259    
260                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
261    
262                            try {
263                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
264                            }
265                            catch (Exception e) {
266                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
267                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
268                                    }
269    
270                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
271                            }
272                    }
273                    catch (com.liferay.portal.kernel.exception.SystemException se) {
274                            _log.error(se, se);
275    
276                            throw se;
277                    }
278            }
279    
280            public static void enableStaging(HttpPrincipal httpPrincipal, long groupId)
281                    throws com.liferay.portal.kernel.exception.PortalException {
282                    try {
283                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
284                                            "enableStaging", _enableStagingParameterTypes7);
285    
286                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
287    
288                            try {
289                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
290                            }
291                            catch (Exception e) {
292                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
293                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
294                                    }
295    
296                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
297                            }
298                    }
299                    catch (com.liferay.portal.kernel.exception.SystemException se) {
300                            _log.error(se, se);
301    
302                            throw se;
303                    }
304            }
305    
306            public static com.liferay.portal.model.Group getCompanyGroup(
307                    HttpPrincipal httpPrincipal, long companyId)
308                    throws com.liferay.portal.kernel.exception.PortalException {
309                    try {
310                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
311                                            "getCompanyGroup", _getCompanyGroupParameterTypes8);
312    
313                            MethodHandler methodHandler = new MethodHandler(methodKey, companyId);
314    
315                            Object returnObj = null;
316    
317                            try {
318                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
319                            }
320                            catch (Exception e) {
321                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
322                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
323                                    }
324    
325                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
326                            }
327    
328                            return (com.liferay.portal.model.Group)returnObj;
329                    }
330                    catch (com.liferay.portal.kernel.exception.SystemException se) {
331                            _log.error(se, se);
332    
333                            throw se;
334                    }
335            }
336    
337            public static com.liferay.portal.model.Group getGroup(
338                    HttpPrincipal httpPrincipal, long groupId)
339                    throws com.liferay.portal.kernel.exception.PortalException {
340                    try {
341                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
342                                            "getGroup", _getGroupParameterTypes9);
343    
344                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
345    
346                            Object returnObj = null;
347    
348                            try {
349                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
350                            }
351                            catch (Exception e) {
352                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
353                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
354                                    }
355    
356                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
357                            }
358    
359                            return (com.liferay.portal.model.Group)returnObj;
360                    }
361                    catch (com.liferay.portal.kernel.exception.SystemException se) {
362                            _log.error(se, se);
363    
364                            throw se;
365                    }
366            }
367    
368            public static com.liferay.portal.model.Group getGroup(
369                    HttpPrincipal httpPrincipal, long companyId, java.lang.String groupKey)
370                    throws com.liferay.portal.kernel.exception.PortalException {
371                    try {
372                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
373                                            "getGroup", _getGroupParameterTypes10);
374    
375                            MethodHandler methodHandler = new MethodHandler(methodKey,
376                                            companyId, groupKey);
377    
378                            Object returnObj = null;
379    
380                            try {
381                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
382                            }
383                            catch (Exception e) {
384                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
385                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
386                                    }
387    
388                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
389                            }
390    
391                            return (com.liferay.portal.model.Group)returnObj;
392                    }
393                    catch (com.liferay.portal.kernel.exception.SystemException se) {
394                            _log.error(se, se);
395    
396                            throw se;
397                    }
398            }
399    
400            public static java.lang.String getGroupDisplayURL(
401                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
402                    boolean secureConnection)
403                    throws com.liferay.portal.kernel.exception.PortalException {
404                    try {
405                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
406                                            "getGroupDisplayURL", _getGroupDisplayURLParameterTypes11);
407    
408                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
409                                            privateLayout, secureConnection);
410    
411                            Object returnObj = null;
412    
413                            try {
414                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
415                            }
416                            catch (Exception e) {
417                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
418                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
419                                    }
420    
421                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
422                            }
423    
424                            return (java.lang.String)returnObj;
425                    }
426                    catch (com.liferay.portal.kernel.exception.SystemException se) {
427                            _log.error(se, se);
428    
429                            throw se;
430                    }
431            }
432    
433            public static java.util.List<com.liferay.portal.model.Group> getGroups(
434                    HttpPrincipal httpPrincipal, long companyId, long parentGroupId,
435                    boolean site)
436                    throws com.liferay.portal.kernel.exception.PortalException {
437                    try {
438                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
439                                            "getGroups", _getGroupsParameterTypes12);
440    
441                            MethodHandler methodHandler = new MethodHandler(methodKey,
442                                            companyId, parentGroupId, site);
443    
444                            Object returnObj = null;
445    
446                            try {
447                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
448                            }
449                            catch (Exception e) {
450                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
451                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
452                                    }
453    
454                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
455                            }
456    
457                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
458                    }
459                    catch (com.liferay.portal.kernel.exception.SystemException se) {
460                            _log.error(se, se);
461    
462                            throw se;
463                    }
464            }
465    
466            public static java.util.List<com.liferay.portal.model.Group> getManageableSiteGroups(
467                    HttpPrincipal httpPrincipal,
468                    java.util.Collection<com.liferay.portal.model.Portlet> portlets, int max)
469                    throws com.liferay.portal.kernel.exception.PortalException {
470                    try {
471                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
472                                            "getManageableSiteGroups",
473                                            _getManageableSiteGroupsParameterTypes13);
474    
475                            MethodHandler methodHandler = new MethodHandler(methodKey,
476                                            portlets, max);
477    
478                            Object returnObj = null;
479    
480                            try {
481                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
482                            }
483                            catch (Exception e) {
484                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
485                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
486                                    }
487    
488                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
489                            }
490    
491                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
492                    }
493                    catch (com.liferay.portal.kernel.exception.SystemException se) {
494                            _log.error(se, se);
495    
496                            throw se;
497                    }
498            }
499    
500            public static java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
501                    HttpPrincipal httpPrincipal,
502                    java.util.List<com.liferay.portal.model.Organization> organizations)
503                    throws com.liferay.portal.kernel.exception.PortalException {
504                    try {
505                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
506                                            "getOrganizationsGroups",
507                                            _getOrganizationsGroupsParameterTypes14);
508    
509                            MethodHandler methodHandler = new MethodHandler(methodKey,
510                                            organizations);
511    
512                            Object returnObj = null;
513    
514                            try {
515                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
516                            }
517                            catch (Exception e) {
518                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
519                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
520                                    }
521    
522                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
523                            }
524    
525                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
526                    }
527                    catch (com.liferay.portal.kernel.exception.SystemException se) {
528                            _log.error(se, se);
529    
530                            throw se;
531                    }
532            }
533    
534            public static com.liferay.portal.model.Group getUserGroup(
535                    HttpPrincipal httpPrincipal, long companyId, long userId)
536                    throws com.liferay.portal.kernel.exception.PortalException {
537                    try {
538                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
539                                            "getUserGroup", _getUserGroupParameterTypes15);
540    
541                            MethodHandler methodHandler = new MethodHandler(methodKey,
542                                            companyId, userId);
543    
544                            Object returnObj = null;
545    
546                            try {
547                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
548                            }
549                            catch (Exception e) {
550                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
551                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
552                                    }
553    
554                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
555                            }
556    
557                            return (com.liferay.portal.model.Group)returnObj;
558                    }
559                    catch (com.liferay.portal.kernel.exception.SystemException se) {
560                            _log.error(se, se);
561    
562                            throw se;
563                    }
564            }
565    
566            public static java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
567                    HttpPrincipal httpPrincipal,
568                    java.util.List<com.liferay.portal.model.UserGroup> userGroups)
569                    throws com.liferay.portal.kernel.exception.PortalException {
570                    try {
571                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
572                                            "getUserGroupsGroups", _getUserGroupsGroupsParameterTypes16);
573    
574                            MethodHandler methodHandler = new MethodHandler(methodKey,
575                                            userGroups);
576    
577                            Object returnObj = null;
578    
579                            try {
580                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
581                            }
582                            catch (Exception e) {
583                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
584                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
585                                    }
586    
587                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
588                            }
589    
590                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
591                    }
592                    catch (com.liferay.portal.kernel.exception.SystemException se) {
593                            _log.error(se, se);
594    
595                            throw se;
596                    }
597            }
598    
599            public static java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
600                    HttpPrincipal httpPrincipal, long userId, int start, int end)
601                    throws com.liferay.portal.kernel.exception.PortalException {
602                    try {
603                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
604                                            "getUserOrganizationsGroups",
605                                            _getUserOrganizationsGroupsParameterTypes17);
606    
607                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
608                                            start, end);
609    
610                            Object returnObj = null;
611    
612                            try {
613                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
614                            }
615                            catch (Exception e) {
616                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
617                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
618                                    }
619    
620                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
621                            }
622    
623                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
624                    }
625                    catch (com.liferay.portal.kernel.exception.SystemException se) {
626                            _log.error(se, se);
627    
628                            throw se;
629                    }
630            }
631    
632            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
633                    HttpPrincipal httpPrincipal)
634                    throws com.liferay.portal.kernel.exception.PortalException {
635                    try {
636                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
637                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes18);
638    
639                            MethodHandler methodHandler = new MethodHandler(methodKey);
640    
641                            Object returnObj = null;
642    
643                            try {
644                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
645                            }
646                            catch (Exception e) {
647                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
648                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
649                                    }
650    
651                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
652                            }
653    
654                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
655                    }
656                    catch (com.liferay.portal.kernel.exception.SystemException se) {
657                            _log.error(se, se);
658    
659                            throw se;
660                    }
661            }
662    
663            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
664                    HttpPrincipal httpPrincipal, long userId,
665                    java.lang.String[] classNames, int max)
666                    throws com.liferay.portal.kernel.exception.PortalException {
667                    try {
668                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
669                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes19);
670    
671                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
672                                            classNames, max);
673    
674                            Object returnObj = null;
675    
676                            try {
677                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
678                            }
679                            catch (Exception e) {
680                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
681                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
682                                    }
683    
684                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
685                            }
686    
687                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
688                    }
689                    catch (com.liferay.portal.kernel.exception.SystemException se) {
690                            _log.error(se, se);
691    
692                            throw se;
693                    }
694            }
695    
696            public static java.util.List<com.liferay.portal.model.Group> getUserSitesGroups(
697                    HttpPrincipal httpPrincipal, java.lang.String[] classNames, int max)
698                    throws com.liferay.portal.kernel.exception.PortalException {
699                    try {
700                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
701                                            "getUserSitesGroups", _getUserSitesGroupsParameterTypes20);
702    
703                            MethodHandler methodHandler = new MethodHandler(methodKey,
704                                            classNames, max);
705    
706                            Object returnObj = null;
707    
708                            try {
709                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
710                            }
711                            catch (Exception e) {
712                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
713                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
714                                    }
715    
716                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
717                            }
718    
719                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
720                    }
721                    catch (com.liferay.portal.kernel.exception.SystemException se) {
722                            _log.error(se, se);
723    
724                            throw se;
725                    }
726            }
727    
728            public static int getUserSitesGroupsCount(HttpPrincipal httpPrincipal)
729                    throws com.liferay.portal.kernel.exception.PortalException {
730                    try {
731                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
732                                            "getUserSitesGroupsCount",
733                                            _getUserSitesGroupsCountParameterTypes21);
734    
735                            MethodHandler methodHandler = new MethodHandler(methodKey);
736    
737                            Object returnObj = null;
738    
739                            try {
740                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
741                            }
742                            catch (Exception e) {
743                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
744                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
745                                    }
746    
747                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
748                            }
749    
750                            return ((Integer)returnObj).intValue();
751                    }
752                    catch (com.liferay.portal.kernel.exception.SystemException se) {
753                            _log.error(se, se);
754    
755                            throw se;
756                    }
757            }
758    
759            public static boolean hasUserGroup(HttpPrincipal httpPrincipal,
760                    long userId, long groupId)
761                    throws com.liferay.portal.kernel.exception.PortalException {
762                    try {
763                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
764                                            "hasUserGroup", _hasUserGroupParameterTypes22);
765    
766                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
767                                            groupId);
768    
769                            Object returnObj = null;
770    
771                            try {
772                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
773                            }
774                            catch (Exception e) {
775                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
776                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
777                                    }
778    
779                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
780                            }
781    
782                            return ((Boolean)returnObj).booleanValue();
783                    }
784                    catch (com.liferay.portal.kernel.exception.SystemException se) {
785                            _log.error(se, se);
786    
787                            throw se;
788                    }
789            }
790    
791            public static java.util.List<com.liferay.portal.model.Group> search(
792                    HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
793                    java.lang.String keywords,
794                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
795                    int start, int end,
796                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc)
797                    throws com.liferay.portal.kernel.exception.PortalException {
798                    try {
799                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
800                                            "search", _searchParameterTypes23);
801    
802                            MethodHandler methodHandler = new MethodHandler(methodKey,
803                                            companyId, classNameIds, keywords, params, start, end, obc);
804    
805                            Object returnObj = null;
806    
807                            try {
808                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
809                            }
810                            catch (Exception e) {
811                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
812                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
813                                    }
814    
815                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
816                            }
817    
818                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
819                    }
820                    catch (com.liferay.portal.kernel.exception.SystemException se) {
821                            _log.error(se, se);
822    
823                            throw se;
824                    }
825            }
826    
827            public static java.util.List<com.liferay.portal.model.Group> search(
828                    HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
829                    java.lang.String name, java.lang.String description,
830                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
831                    boolean andOperator, int start, int end,
832                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc)
833                    throws com.liferay.portal.kernel.exception.PortalException {
834                    try {
835                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
836                                            "search", _searchParameterTypes24);
837    
838                            MethodHandler methodHandler = new MethodHandler(methodKey,
839                                            companyId, classNameIds, name, description, params,
840                                            andOperator, start, end, obc);
841    
842                            Object returnObj = null;
843    
844                            try {
845                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
846                            }
847                            catch (Exception e) {
848                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
849                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
850                                    }
851    
852                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
853                            }
854    
855                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
856                    }
857                    catch (com.liferay.portal.kernel.exception.SystemException se) {
858                            _log.error(se, se);
859    
860                            throw se;
861                    }
862            }
863    
864            public static java.util.List<com.liferay.portal.model.Group> search(
865                    HttpPrincipal httpPrincipal, long companyId, java.lang.String name,
866                    java.lang.String description, java.lang.String[] params, int start,
867                    int end) throws com.liferay.portal.kernel.exception.PortalException {
868                    try {
869                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
870                                            "search", _searchParameterTypes25);
871    
872                            MethodHandler methodHandler = new MethodHandler(methodKey,
873                                            companyId, name, description, params, start, end);
874    
875                            Object returnObj = null;
876    
877                            try {
878                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
879                            }
880                            catch (Exception e) {
881                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
882                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
883                                    }
884    
885                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
886                            }
887    
888                            return (java.util.List<com.liferay.portal.model.Group>)returnObj;
889                    }
890                    catch (com.liferay.portal.kernel.exception.SystemException se) {
891                            _log.error(se, se);
892    
893                            throw se;
894                    }
895            }
896    
897            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
898                    java.lang.String name, java.lang.String description,
899                    java.lang.String[] params) {
900                    try {
901                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
902                                            "searchCount", _searchCountParameterTypes26);
903    
904                            MethodHandler methodHandler = new MethodHandler(methodKey,
905                                            companyId, name, description, params);
906    
907                            Object returnObj = null;
908    
909                            try {
910                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
911                            }
912                            catch (Exception e) {
913                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
914                            }
915    
916                            return ((Integer)returnObj).intValue();
917                    }
918                    catch (com.liferay.portal.kernel.exception.SystemException se) {
919                            _log.error(se, se);
920    
921                            throw se;
922                    }
923            }
924    
925            public static void setRoleGroups(HttpPrincipal httpPrincipal, long roleId,
926                    long[] groupIds)
927                    throws com.liferay.portal.kernel.exception.PortalException {
928                    try {
929                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
930                                            "setRoleGroups", _setRoleGroupsParameterTypes27);
931    
932                            MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
933                                            groupIds);
934    
935                            try {
936                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
937                            }
938                            catch (Exception e) {
939                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
940                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
941                                    }
942    
943                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
944                            }
945                    }
946                    catch (com.liferay.portal.kernel.exception.SystemException se) {
947                            _log.error(se, se);
948    
949                            throw se;
950                    }
951            }
952    
953            public static void unsetRoleGroups(HttpPrincipal httpPrincipal,
954                    long roleId, long[] groupIds)
955                    throws com.liferay.portal.kernel.exception.PortalException {
956                    try {
957                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
958                                            "unsetRoleGroups", _unsetRoleGroupsParameterTypes28);
959    
960                            MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
961                                            groupIds);
962    
963                            try {
964                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
965                            }
966                            catch (Exception e) {
967                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
968                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
969                                    }
970    
971                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
972                            }
973                    }
974                    catch (com.liferay.portal.kernel.exception.SystemException se) {
975                            _log.error(se, se);
976    
977                            throw se;
978                    }
979            }
980    
981            public static com.liferay.portal.model.Group updateFriendlyURL(
982                    HttpPrincipal httpPrincipal, long groupId, java.lang.String friendlyURL)
983                    throws com.liferay.portal.kernel.exception.PortalException {
984                    try {
985                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
986                                            "updateFriendlyURL", _updateFriendlyURLParameterTypes29);
987    
988                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
989                                            friendlyURL);
990    
991                            Object returnObj = null;
992    
993                            try {
994                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
995                            }
996                            catch (Exception e) {
997                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
998                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
999                                    }
1000    
1001                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1002                            }
1003    
1004                            return (com.liferay.portal.model.Group)returnObj;
1005                    }
1006                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1007                            _log.error(se, se);
1008    
1009                            throw se;
1010                    }
1011            }
1012    
1013            public static com.liferay.portal.model.Group updateGroup(
1014                    HttpPrincipal httpPrincipal, long groupId, long parentGroupId,
1015                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
1016                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1017                    int type, boolean manualMembership, int membershipRestriction,
1018                    java.lang.String friendlyURL, boolean inheritContent, boolean active,
1019                    com.liferay.portal.service.ServiceContext serviceContext)
1020                    throws com.liferay.portal.kernel.exception.PortalException {
1021                    try {
1022                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1023                                            "updateGroup", _updateGroupParameterTypes30);
1024    
1025                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1026                                            parentGroupId, nameMap, descriptionMap, type,
1027                                            manualMembership, membershipRestriction, friendlyURL,
1028                                            inheritContent, active, serviceContext);
1029    
1030                            Object returnObj = null;
1031    
1032                            try {
1033                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1034                            }
1035                            catch (Exception e) {
1036                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1037                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1038                                    }
1039    
1040                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1041                            }
1042    
1043                            return (com.liferay.portal.model.Group)returnObj;
1044                    }
1045                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1046                            _log.error(se, se);
1047    
1048                            throw se;
1049                    }
1050            }
1051    
1052            public static com.liferay.portal.model.Group updateGroup(
1053                    HttpPrincipal httpPrincipal, long groupId, long parentGroupId,
1054                    java.lang.String name, java.lang.String description, int type,
1055                    boolean manualMembership, int membershipRestriction,
1056                    java.lang.String friendlyURL, boolean inheritContent, boolean active,
1057                    com.liferay.portal.service.ServiceContext serviceContext)
1058                    throws com.liferay.portal.kernel.exception.PortalException {
1059                    try {
1060                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1061                                            "updateGroup", _updateGroupParameterTypes31);
1062    
1063                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1064                                            parentGroupId, name, description, type, manualMembership,
1065                                            membershipRestriction, friendlyURL, inheritContent, active,
1066                                            serviceContext);
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 (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 com.liferay.portal.model.Group updateGroup(
1091                    HttpPrincipal httpPrincipal, long groupId, java.lang.String typeSettings)
1092                    throws com.liferay.portal.kernel.exception.PortalException {
1093                    try {
1094                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1095                                            "updateGroup", _updateGroupParameterTypes32);
1096    
1097                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1098                                            typeSettings);
1099    
1100                            Object returnObj = null;
1101    
1102                            try {
1103                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1104                            }
1105                            catch (Exception e) {
1106                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1107                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1108                                    }
1109    
1110                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1111                            }
1112    
1113                            return (com.liferay.portal.model.Group)returnObj;
1114                    }
1115                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1116                            _log.error(se, se);
1117    
1118                            throw se;
1119                    }
1120            }
1121    
1122            public static void updateStagedPortlets(HttpPrincipal httpPrincipal,
1123                    long groupId,
1124                    java.util.Map<java.lang.String, java.lang.String> stagedPortletIds)
1125                    throws com.liferay.portal.kernel.exception.PortalException {
1126                    try {
1127                            MethodKey methodKey = new MethodKey(GroupServiceUtil.class,
1128                                            "updateStagedPortlets",
1129                                            _updateStagedPortletsParameterTypes33);
1130    
1131                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1132                                            stagedPortletIds);
1133    
1134                            try {
1135                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1136                            }
1137                            catch (Exception e) {
1138                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1139                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1140                                    }
1141    
1142                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1143                            }
1144                    }
1145                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1146                            _log.error(se, se);
1147    
1148                            throw se;
1149                    }
1150            }
1151    
1152            private static Log _log = LogFactoryUtil.getLog(GroupServiceHttp.class);
1153            private static final Class<?>[] _addGroupParameterTypes0 = new Class[] {
1154                            long.class, long.class, java.util.Map.class, java.util.Map.class,
1155                            int.class, boolean.class, int.class, java.lang.String.class,
1156                            boolean.class, boolean.class, boolean.class,
1157                            com.liferay.portal.service.ServiceContext.class
1158                    };
1159            private static final Class<?>[] _addGroupParameterTypes1 = new Class[] {
1160                            long.class, long.class, java.util.Map.class, java.util.Map.class,
1161                            int.class, boolean.class, int.class, java.lang.String.class,
1162                            boolean.class, boolean.class,
1163                            com.liferay.portal.service.ServiceContext.class
1164                    };
1165            private static final Class<?>[] _addGroupParameterTypes2 = new Class[] {
1166                            long.class, long.class, java.lang.String.class,
1167                            java.lang.String.class, int.class, boolean.class, int.class,
1168                            java.lang.String.class, boolean.class, boolean.class,
1169                            com.liferay.portal.service.ServiceContext.class
1170                    };
1171            private static final Class<?>[] _addRoleGroupsParameterTypes3 = new Class[] {
1172                            long.class, long[].class
1173                    };
1174            private static final Class<?>[] _checkRemoteStagingGroupParameterTypes4 = new Class[] {
1175                            long.class
1176                    };
1177            private static final Class<?>[] _deleteGroupParameterTypes5 = new Class[] {
1178                            long.class
1179                    };
1180            private static final Class<?>[] _disableStagingParameterTypes6 = new Class[] {
1181                            long.class
1182                    };
1183            private static final Class<?>[] _enableStagingParameterTypes7 = new Class[] {
1184                            long.class
1185                    };
1186            private static final Class<?>[] _getCompanyGroupParameterTypes8 = new Class[] {
1187                            long.class
1188                    };
1189            private static final Class<?>[] _getGroupParameterTypes9 = new Class[] {
1190                            long.class
1191                    };
1192            private static final Class<?>[] _getGroupParameterTypes10 = new Class[] {
1193                            long.class, java.lang.String.class
1194                    };
1195            private static final Class<?>[] _getGroupDisplayURLParameterTypes11 = new Class[] {
1196                            long.class, boolean.class, boolean.class
1197                    };
1198            private static final Class<?>[] _getGroupsParameterTypes12 = new Class[] {
1199                            long.class, long.class, boolean.class
1200                    };
1201            private static final Class<?>[] _getManageableSiteGroupsParameterTypes13 = new Class[] {
1202                            java.util.Collection.class, int.class
1203                    };
1204            private static final Class<?>[] _getOrganizationsGroupsParameterTypes14 = new Class[] {
1205                            java.util.List.class
1206                    };
1207            private static final Class<?>[] _getUserGroupParameterTypes15 = new Class[] {
1208                            long.class, long.class
1209                    };
1210            private static final Class<?>[] _getUserGroupsGroupsParameterTypes16 = new Class[] {
1211                            java.util.List.class
1212                    };
1213            private static final Class<?>[] _getUserOrganizationsGroupsParameterTypes17 = new Class[] {
1214                            long.class, int.class, int.class
1215                    };
1216            private static final Class<?>[] _getUserSitesGroupsParameterTypes18 = new Class[] {
1217                            
1218                    };
1219            private static final Class<?>[] _getUserSitesGroupsParameterTypes19 = new Class[] {
1220                            long.class, java.lang.String[].class, int.class
1221                    };
1222            private static final Class<?>[] _getUserSitesGroupsParameterTypes20 = new Class[] {
1223                            java.lang.String[].class, int.class
1224                    };
1225            private static final Class<?>[] _getUserSitesGroupsCountParameterTypes21 = new Class[] {
1226                            
1227                    };
1228            private static final Class<?>[] _hasUserGroupParameterTypes22 = new Class[] {
1229                            long.class, long.class
1230                    };
1231            private static final Class<?>[] _searchParameterTypes23 = new Class[] {
1232                            long.class, long[].class, java.lang.String.class,
1233                            java.util.LinkedHashMap.class, int.class, int.class,
1234                            com.liferay.portal.kernel.util.OrderByComparator.class
1235                    };
1236            private static final Class<?>[] _searchParameterTypes24 = new Class[] {
1237                            long.class, long[].class, java.lang.String.class,
1238                            java.lang.String.class, java.util.LinkedHashMap.class, boolean.class,
1239                            int.class, int.class,
1240                            com.liferay.portal.kernel.util.OrderByComparator.class
1241                    };
1242            private static final Class<?>[] _searchParameterTypes25 = new Class[] {
1243                            long.class, java.lang.String.class, java.lang.String.class,
1244                            java.lang.String[].class, int.class, int.class
1245                    };
1246            private static final Class<?>[] _searchCountParameterTypes26 = new Class[] {
1247                            long.class, java.lang.String.class, java.lang.String.class,
1248                            java.lang.String[].class
1249                    };
1250            private static final Class<?>[] _setRoleGroupsParameterTypes27 = new Class[] {
1251                            long.class, long[].class
1252                    };
1253            private static final Class<?>[] _unsetRoleGroupsParameterTypes28 = new Class[] {
1254                            long.class, long[].class
1255                    };
1256            private static final Class<?>[] _updateFriendlyURLParameterTypes29 = new Class[] {
1257                            long.class, java.lang.String.class
1258                    };
1259            private static final Class<?>[] _updateGroupParameterTypes30 = new Class[] {
1260                            long.class, long.class, java.util.Map.class, java.util.Map.class,
1261                            int.class, boolean.class, int.class, java.lang.String.class,
1262                            boolean.class, boolean.class,
1263                            com.liferay.portal.service.ServiceContext.class
1264                    };
1265            private static final Class<?>[] _updateGroupParameterTypes31 = new Class[] {
1266                            long.class, long.class, java.lang.String.class,
1267                            java.lang.String.class, int.class, boolean.class, int.class,
1268                            java.lang.String.class, boolean.class, boolean.class,
1269                            com.liferay.portal.service.ServiceContext.class
1270                    };
1271            private static final Class<?>[] _updateGroupParameterTypes32 = new Class[] {
1272                            long.class, java.lang.String.class
1273                    };
1274            private static final Class<?>[] _updateStagedPortletsParameterTypes33 = new Class[] {
1275                            long.class, java.util.Map.class
1276                    };
1277    }