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