1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service.http;
16  
17  import com.liferay.portal.kernel.log.Log;
18  import com.liferay.portal.kernel.log.LogFactoryUtil;
19  import com.liferay.portal.kernel.util.MethodHandler;
20  import com.liferay.portal.kernel.util.MethodKey;
21  import com.liferay.portal.security.auth.HttpPrincipal;
22  import com.liferay.portal.service.OrganizationServiceUtil;
23  
24  /**
25   * <a href="OrganizationServiceHttp.java.html"><b><i>View Source</i></b></a>
26   *
27   * <p>
28   * ServiceBuilder generated this class. Modifications in this class will be
29   * overwritten the next time is generated.
30   * </p>
31   *
32   * <p>
33   * This class provides a HTTP utility for the
34   * {@link com.liferay.portal.service.OrganizationServiceUtil} service utility. The
35   * static methods of this class calls the same methods of the service utility.
36   * However, the signatures are different because it requires an additional
37   * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
38   * </p>
39   *
40   * <p>
41   * The benefits of using the HTTP utility is that it is fast and allows for
42   * tunneling without the cost of serializing to text. The drawback is that it
43   * only works with Java.
44   * </p>
45   *
46   * <p>
47   * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
48   * configure security.
49   * </p>
50   *
51   * <p>
52   * The HTTP utility is only generated for remote services.
53   * </p>
54   *
55   * @author    Brian Wing Shun Chan
56   * @see       OrganizationServiceSoap
57   * @see       com.liferay.portal.security.auth.HttpPrincipal
58   * @see       com.liferay.portal.service.OrganizationServiceUtil
59   * @generated
60   */
61  public class OrganizationServiceHttp {
62      public static void addGroupOrganizations(HttpPrincipal httpPrincipal,
63          long groupId, long[] organizationIds)
64          throws com.liferay.portal.PortalException,
65              com.liferay.portal.SystemException {
66          try {
67              MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
68                      "addGroupOrganizations",
69                      _addGroupOrganizationsParameterTypes0);
70  
71              MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
72                      organizationIds);
73  
74              try {
75                  TunnelUtil.invoke(httpPrincipal, methodHandler);
76              }
77              catch (Exception e) {
78                  if (e instanceof com.liferay.portal.PortalException) {
79                      throw (com.liferay.portal.PortalException)e;
80                  }
81  
82                  if (e instanceof com.liferay.portal.SystemException) {
83                      throw (com.liferay.portal.SystemException)e;
84                  }
85  
86                  throw new com.liferay.portal.SystemException(e);
87              }
88          }
89          catch (com.liferay.portal.SystemException se) {
90              _log.error(se, se);
91  
92              throw se;
93          }
94      }
95  
96      public static void addPasswordPolicyOrganizations(
97          HttpPrincipal httpPrincipal, long passwordPolicyId,
98          long[] organizationIds)
99          throws com.liferay.portal.PortalException,
100             com.liferay.portal.SystemException {
101         try {
102             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
103                     "addPasswordPolicyOrganizations",
104                     _addPasswordPolicyOrganizationsParameterTypes1);
105 
106             MethodHandler methodHandler = new MethodHandler(methodKey,
107                     passwordPolicyId, organizationIds);
108 
109             try {
110                 TunnelUtil.invoke(httpPrincipal, methodHandler);
111             }
112             catch (Exception e) {
113                 if (e instanceof com.liferay.portal.PortalException) {
114                     throw (com.liferay.portal.PortalException)e;
115                 }
116 
117                 if (e instanceof com.liferay.portal.SystemException) {
118                     throw (com.liferay.portal.SystemException)e;
119                 }
120 
121                 throw new com.liferay.portal.SystemException(e);
122             }
123         }
124         catch (com.liferay.portal.SystemException se) {
125             _log.error(se, se);
126 
127             throw se;
128         }
129     }
130 
131     public static com.liferay.portal.model.Organization addOrganization(
132         HttpPrincipal httpPrincipal, long parentOrganizationId,
133         java.lang.String name, java.lang.String type, boolean recursable,
134         long regionId, long countryId, int statusId, java.lang.String comments,
135         com.liferay.portal.service.ServiceContext serviceContext)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         try {
139             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
140                     "addOrganization", _addOrganizationParameterTypes2);
141 
142             MethodHandler methodHandler = new MethodHandler(methodKey,
143                     parentOrganizationId, name, type, recursable, regionId,
144                     countryId, statusId, comments, serviceContext);
145 
146             Object returnObj = null;
147 
148             try {
149                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
150             }
151             catch (Exception e) {
152                 if (e instanceof com.liferay.portal.PortalException) {
153                     throw (com.liferay.portal.PortalException)e;
154                 }
155 
156                 if (e instanceof com.liferay.portal.SystemException) {
157                     throw (com.liferay.portal.SystemException)e;
158                 }
159 
160                 throw new com.liferay.portal.SystemException(e);
161             }
162 
163             return (com.liferay.portal.model.Organization)returnObj;
164         }
165         catch (com.liferay.portal.SystemException se) {
166             _log.error(se, se);
167 
168             throw se;
169         }
170     }
171 
172     public static com.liferay.portal.model.Organization addOrganization(
173         HttpPrincipal httpPrincipal, long parentOrganizationId,
174         java.lang.String name, java.lang.String type, boolean recursable,
175         long regionId, long countryId, int statusId, java.lang.String comments,
176         java.util.List<com.liferay.portal.model.Address> addresses,
177         java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
178         java.util.List<com.liferay.portal.model.OrgLabor> orgLabors,
179         java.util.List<com.liferay.portal.model.Phone> phones,
180         java.util.List<com.liferay.portal.model.Website> websites,
181         com.liferay.portal.service.ServiceContext serviceContext)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         try {
185             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
186                     "addOrganization", _addOrganizationParameterTypes3);
187 
188             MethodHandler methodHandler = new MethodHandler(methodKey,
189                     parentOrganizationId, name, type, recursable, regionId,
190                     countryId, statusId, comments, addresses, emailAddresses,
191                     orgLabors, phones, websites, serviceContext);
192 
193             Object returnObj = null;
194 
195             try {
196                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
197             }
198             catch (Exception e) {
199                 if (e instanceof com.liferay.portal.PortalException) {
200                     throw (com.liferay.portal.PortalException)e;
201                 }
202 
203                 if (e instanceof com.liferay.portal.SystemException) {
204                     throw (com.liferay.portal.SystemException)e;
205                 }
206 
207                 throw new com.liferay.portal.SystemException(e);
208             }
209 
210             return (com.liferay.portal.model.Organization)returnObj;
211         }
212         catch (com.liferay.portal.SystemException se) {
213             _log.error(se, se);
214 
215             throw se;
216         }
217     }
218 
219     public static void deleteLogo(HttpPrincipal httpPrincipal,
220         long organizationId)
221         throws com.liferay.portal.PortalException,
222             com.liferay.portal.SystemException {
223         try {
224             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
225                     "deleteLogo", _deleteLogoParameterTypes4);
226 
227             MethodHandler methodHandler = new MethodHandler(methodKey,
228                     organizationId);
229 
230             try {
231                 TunnelUtil.invoke(httpPrincipal, methodHandler);
232             }
233             catch (Exception e) {
234                 if (e instanceof com.liferay.portal.PortalException) {
235                     throw (com.liferay.portal.PortalException)e;
236                 }
237 
238                 if (e instanceof com.liferay.portal.SystemException) {
239                     throw (com.liferay.portal.SystemException)e;
240                 }
241 
242                 throw new com.liferay.portal.SystemException(e);
243             }
244         }
245         catch (com.liferay.portal.SystemException se) {
246             _log.error(se, se);
247 
248             throw se;
249         }
250     }
251 
252     public static void deleteOrganization(HttpPrincipal httpPrincipal,
253         long organizationId)
254         throws com.liferay.portal.PortalException,
255             com.liferay.portal.SystemException {
256         try {
257             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
258                     "deleteOrganization", _deleteOrganizationParameterTypes5);
259 
260             MethodHandler methodHandler = new MethodHandler(methodKey,
261                     organizationId);
262 
263             try {
264                 TunnelUtil.invoke(httpPrincipal, methodHandler);
265             }
266             catch (Exception e) {
267                 if (e instanceof com.liferay.portal.PortalException) {
268                     throw (com.liferay.portal.PortalException)e;
269                 }
270 
271                 if (e instanceof com.liferay.portal.SystemException) {
272                     throw (com.liferay.portal.SystemException)e;
273                 }
274 
275                 throw new com.liferay.portal.SystemException(e);
276             }
277         }
278         catch (com.liferay.portal.SystemException se) {
279             _log.error(se, se);
280 
281             throw se;
282         }
283     }
284 
285     public static java.util.List<com.liferay.portal.model.Organization> getManageableOrganizations(
286         HttpPrincipal httpPrincipal, java.lang.String actionId, int max)
287         throws com.liferay.portal.PortalException,
288             com.liferay.portal.SystemException {
289         try {
290             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
291                     "getManageableOrganizations",
292                     _getManageableOrganizationsParameterTypes6);
293 
294             MethodHandler methodHandler = new MethodHandler(methodKey,
295                     actionId, max);
296 
297             Object returnObj = null;
298 
299             try {
300                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
301             }
302             catch (Exception e) {
303                 if (e instanceof com.liferay.portal.PortalException) {
304                     throw (com.liferay.portal.PortalException)e;
305                 }
306 
307                 if (e instanceof com.liferay.portal.SystemException) {
308                     throw (com.liferay.portal.SystemException)e;
309                 }
310 
311                 throw new com.liferay.portal.SystemException(e);
312             }
313 
314             return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
315         }
316         catch (com.liferay.portal.SystemException se) {
317             _log.error(se, se);
318 
319             throw se;
320         }
321     }
322 
323     public static com.liferay.portal.model.Organization getOrganization(
324         HttpPrincipal httpPrincipal, long organizationId)
325         throws com.liferay.portal.PortalException,
326             com.liferay.portal.SystemException {
327         try {
328             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
329                     "getOrganization", _getOrganizationParameterTypes7);
330 
331             MethodHandler methodHandler = new MethodHandler(methodKey,
332                     organizationId);
333 
334             Object returnObj = null;
335 
336             try {
337                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
338             }
339             catch (Exception e) {
340                 if (e instanceof com.liferay.portal.PortalException) {
341                     throw (com.liferay.portal.PortalException)e;
342                 }
343 
344                 if (e instanceof com.liferay.portal.SystemException) {
345                     throw (com.liferay.portal.SystemException)e;
346                 }
347 
348                 throw new com.liferay.portal.SystemException(e);
349             }
350 
351             return (com.liferay.portal.model.Organization)returnObj;
352         }
353         catch (com.liferay.portal.SystemException se) {
354             _log.error(se, se);
355 
356             throw se;
357         }
358     }
359 
360     public static long getOrganizationId(HttpPrincipal httpPrincipal,
361         long companyId, java.lang.String name)
362         throws com.liferay.portal.SystemException {
363         try {
364             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
365                     "getOrganizationId", _getOrganizationIdParameterTypes8);
366 
367             MethodHandler methodHandler = new MethodHandler(methodKey,
368                     companyId, name);
369 
370             Object returnObj = null;
371 
372             try {
373                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
374             }
375             catch (Exception e) {
376                 if (e instanceof com.liferay.portal.SystemException) {
377                     throw (com.liferay.portal.SystemException)e;
378                 }
379 
380                 throw new com.liferay.portal.SystemException(e);
381             }
382 
383             return ((Long)returnObj).longValue();
384         }
385         catch (com.liferay.portal.SystemException se) {
386             _log.error(se, se);
387 
388             throw se;
389         }
390     }
391 
392     public static java.util.List<com.liferay.portal.model.Organization> getUserOrganizations(
393         HttpPrincipal httpPrincipal, long userId)
394         throws com.liferay.portal.PortalException,
395             com.liferay.portal.SystemException {
396         try {
397             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
398                     "getUserOrganizations", _getUserOrganizationsParameterTypes9);
399 
400             MethodHandler methodHandler = new MethodHandler(methodKey, userId);
401 
402             Object returnObj = null;
403 
404             try {
405                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
406             }
407             catch (Exception e) {
408                 if (e instanceof com.liferay.portal.PortalException) {
409                     throw (com.liferay.portal.PortalException)e;
410                 }
411 
412                 if (e instanceof com.liferay.portal.SystemException) {
413                     throw (com.liferay.portal.SystemException)e;
414                 }
415 
416                 throw new com.liferay.portal.SystemException(e);
417             }
418 
419             return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
420         }
421         catch (com.liferay.portal.SystemException se) {
422             _log.error(se, se);
423 
424             throw se;
425         }
426     }
427 
428     public static java.util.List<com.liferay.portal.model.Organization> getUserOrganizations(
429         HttpPrincipal httpPrincipal, long userId, boolean inheritUserGroups)
430         throws com.liferay.portal.PortalException,
431             com.liferay.portal.SystemException {
432         try {
433             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
434                     "getUserOrganizations",
435                     _getUserOrganizationsParameterTypes10);
436 
437             MethodHandler methodHandler = new MethodHandler(methodKey, userId,
438                     inheritUserGroups);
439 
440             Object returnObj = null;
441 
442             try {
443                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
444             }
445             catch (Exception e) {
446                 if (e instanceof com.liferay.portal.PortalException) {
447                     throw (com.liferay.portal.PortalException)e;
448                 }
449 
450                 if (e instanceof com.liferay.portal.SystemException) {
451                     throw (com.liferay.portal.SystemException)e;
452                 }
453 
454                 throw new com.liferay.portal.SystemException(e);
455             }
456 
457             return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
458         }
459         catch (com.liferay.portal.SystemException se) {
460             _log.error(se, se);
461 
462             throw se;
463         }
464     }
465 
466     public static void setGroupOrganizations(HttpPrincipal httpPrincipal,
467         long groupId, long[] organizationIds)
468         throws com.liferay.portal.PortalException,
469             com.liferay.portal.SystemException {
470         try {
471             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
472                     "setGroupOrganizations",
473                     _setGroupOrganizationsParameterTypes11);
474 
475             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
476                     organizationIds);
477 
478             try {
479                 TunnelUtil.invoke(httpPrincipal, methodHandler);
480             }
481             catch (Exception e) {
482                 if (e instanceof com.liferay.portal.PortalException) {
483                     throw (com.liferay.portal.PortalException)e;
484                 }
485 
486                 if (e instanceof com.liferay.portal.SystemException) {
487                     throw (com.liferay.portal.SystemException)e;
488                 }
489 
490                 throw new com.liferay.portal.SystemException(e);
491             }
492         }
493         catch (com.liferay.portal.SystemException se) {
494             _log.error(se, se);
495 
496             throw se;
497         }
498     }
499 
500     public static void unsetGroupOrganizations(HttpPrincipal httpPrincipal,
501         long groupId, long[] organizationIds)
502         throws com.liferay.portal.PortalException,
503             com.liferay.portal.SystemException {
504         try {
505             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
506                     "unsetGroupOrganizations",
507                     _unsetGroupOrganizationsParameterTypes12);
508 
509             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
510                     organizationIds);
511 
512             try {
513                 TunnelUtil.invoke(httpPrincipal, methodHandler);
514             }
515             catch (Exception e) {
516                 if (e instanceof com.liferay.portal.PortalException) {
517                     throw (com.liferay.portal.PortalException)e;
518                 }
519 
520                 if (e instanceof com.liferay.portal.SystemException) {
521                     throw (com.liferay.portal.SystemException)e;
522                 }
523 
524                 throw new com.liferay.portal.SystemException(e);
525             }
526         }
527         catch (com.liferay.portal.SystemException se) {
528             _log.error(se, se);
529 
530             throw se;
531         }
532     }
533 
534     public static void unsetPasswordPolicyOrganizations(
535         HttpPrincipal httpPrincipal, long passwordPolicyId,
536         long[] organizationIds)
537         throws com.liferay.portal.PortalException,
538             com.liferay.portal.SystemException {
539         try {
540             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
541                     "unsetPasswordPolicyOrganizations",
542                     _unsetPasswordPolicyOrganizationsParameterTypes13);
543 
544             MethodHandler methodHandler = new MethodHandler(methodKey,
545                     passwordPolicyId, organizationIds);
546 
547             try {
548                 TunnelUtil.invoke(httpPrincipal, methodHandler);
549             }
550             catch (Exception e) {
551                 if (e instanceof com.liferay.portal.PortalException) {
552                     throw (com.liferay.portal.PortalException)e;
553                 }
554 
555                 if (e instanceof com.liferay.portal.SystemException) {
556                     throw (com.liferay.portal.SystemException)e;
557                 }
558 
559                 throw new com.liferay.portal.SystemException(e);
560             }
561         }
562         catch (com.liferay.portal.SystemException se) {
563             _log.error(se, se);
564 
565             throw se;
566         }
567     }
568 
569     public static com.liferay.portal.model.Organization updateOrganization(
570         HttpPrincipal httpPrincipal, long organizationId,
571         long parentOrganizationId, java.lang.String name,
572         java.lang.String type, boolean recursable, long regionId,
573         long countryId, int statusId, java.lang.String comments,
574         com.liferay.portal.service.ServiceContext serviceContext)
575         throws com.liferay.portal.PortalException,
576             com.liferay.portal.SystemException {
577         try {
578             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
579                     "updateOrganization", _updateOrganizationParameterTypes14);
580 
581             MethodHandler methodHandler = new MethodHandler(methodKey,
582                     organizationId, parentOrganizationId, name, type,
583                     recursable, regionId, countryId, statusId, comments,
584                     serviceContext);
585 
586             Object returnObj = null;
587 
588             try {
589                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
590             }
591             catch (Exception e) {
592                 if (e instanceof com.liferay.portal.PortalException) {
593                     throw (com.liferay.portal.PortalException)e;
594                 }
595 
596                 if (e instanceof com.liferay.portal.SystemException) {
597                     throw (com.liferay.portal.SystemException)e;
598                 }
599 
600                 throw new com.liferay.portal.SystemException(e);
601             }
602 
603             return (com.liferay.portal.model.Organization)returnObj;
604         }
605         catch (com.liferay.portal.SystemException se) {
606             _log.error(se, se);
607 
608             throw se;
609         }
610     }
611 
612     public static com.liferay.portal.model.Organization updateOrganization(
613         HttpPrincipal httpPrincipal, long organizationId,
614         long parentOrganizationId, java.lang.String name,
615         java.lang.String type, boolean recursable, long regionId,
616         long countryId, int statusId, java.lang.String comments,
617         java.util.List<com.liferay.portal.model.Address> addresses,
618         java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
619         java.util.List<com.liferay.portal.model.OrgLabor> orgLabors,
620         java.util.List<com.liferay.portal.model.Phone> phones,
621         java.util.List<com.liferay.portal.model.Website> websites,
622         com.liferay.portal.service.ServiceContext serviceContext)
623         throws com.liferay.portal.PortalException,
624             com.liferay.portal.SystemException {
625         try {
626             MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class.getName(),
627                     "updateOrganization", _updateOrganizationParameterTypes15);
628 
629             MethodHandler methodHandler = new MethodHandler(methodKey,
630                     organizationId, parentOrganizationId, name, type,
631                     recursable, regionId, countryId, statusId, comments,
632                     addresses, emailAddresses, orgLabors, phones, websites,
633                     serviceContext);
634 
635             Object returnObj = null;
636 
637             try {
638                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
639             }
640             catch (Exception e) {
641                 if (e instanceof com.liferay.portal.PortalException) {
642                     throw (com.liferay.portal.PortalException)e;
643                 }
644 
645                 if (e instanceof com.liferay.portal.SystemException) {
646                     throw (com.liferay.portal.SystemException)e;
647                 }
648 
649                 throw new com.liferay.portal.SystemException(e);
650             }
651 
652             return (com.liferay.portal.model.Organization)returnObj;
653         }
654         catch (com.liferay.portal.SystemException se) {
655             _log.error(se, se);
656 
657             throw se;
658         }
659     }
660 
661     private static Log _log = LogFactoryUtil.getLog(OrganizationServiceHttp.class);
662     private static final Class<?>[] _addGroupOrganizationsParameterTypes0 = new Class[] {
663             long.class, long[].class
664         };
665     private static final Class<?>[] _addPasswordPolicyOrganizationsParameterTypes1 =
666         new Class[] { long.class, long[].class };
667     private static final Class<?>[] _addOrganizationParameterTypes2 = new Class[] {
668             long.class, java.lang.String.class, java.lang.String.class,
669             boolean.class, long.class, long.class, int.class,
670             java.lang.String.class,
671             com.liferay.portal.service.ServiceContext.class
672         };
673     private static final Class<?>[] _addOrganizationParameterTypes3 = new Class[] {
674             long.class, java.lang.String.class, java.lang.String.class,
675             boolean.class, long.class, long.class, int.class,
676             java.lang.String.class, java.util.List.class, java.util.List.class,
677             java.util.List.class, java.util.List.class, java.util.List.class,
678             com.liferay.portal.service.ServiceContext.class
679         };
680     private static final Class<?>[] _deleteLogoParameterTypes4 = new Class[] {
681             long.class
682         };
683     private static final Class<?>[] _deleteOrganizationParameterTypes5 = new Class[] {
684             long.class
685         };
686     private static final Class<?>[] _getManageableOrganizationsParameterTypes6 = new Class[] {
687             java.lang.String.class, int.class
688         };
689     private static final Class<?>[] _getOrganizationParameterTypes7 = new Class[] {
690             long.class
691         };
692     private static final Class<?>[] _getOrganizationIdParameterTypes8 = new Class[] {
693             long.class, java.lang.String.class
694         };
695     private static final Class<?>[] _getUserOrganizationsParameterTypes9 = new Class[] {
696             long.class
697         };
698     private static final Class<?>[] _getUserOrganizationsParameterTypes10 = new Class[] {
699             long.class, boolean.class
700         };
701     private static final Class<?>[] _setGroupOrganizationsParameterTypes11 = new Class[] {
702             long.class, long[].class
703         };
704     private static final Class<?>[] _unsetGroupOrganizationsParameterTypes12 = new Class[] {
705             long.class, long[].class
706         };
707     private static final Class<?>[] _unsetPasswordPolicyOrganizationsParameterTypes13 =
708         new Class[] { long.class, long[].class };
709     private static final Class<?>[] _updateOrganizationParameterTypes14 = new Class[] {
710             long.class, long.class, java.lang.String.class,
711             java.lang.String.class, boolean.class, long.class, long.class,
712             int.class, java.lang.String.class,
713             com.liferay.portal.service.ServiceContext.class
714         };
715     private static final Class<?>[] _updateOrganizationParameterTypes15 = new Class[] {
716             long.class, long.class, java.lang.String.class,
717             java.lang.String.class, boolean.class, long.class, long.class,
718             int.class, java.lang.String.class, java.util.List.class,
719             java.util.List.class, java.util.List.class, java.util.List.class,
720             java.util.List.class,
721             com.liferay.portal.service.ServiceContext.class
722         };
723 }