001
014
015 package com.liferay.portal.service.http;
016
017 import com.liferay.portal.kernel.log.Log;
018 import com.liferay.portal.kernel.log.LogFactoryUtil;
019 import com.liferay.portal.kernel.util.MethodHandler;
020 import com.liferay.portal.kernel.util.MethodKey;
021 import com.liferay.portal.security.auth.HttpPrincipal;
022 import com.liferay.portal.service.OrganizationServiceUtil;
023
024
054 public class OrganizationServiceHttp {
055 public static void addGroupOrganizations(HttpPrincipal httpPrincipal,
056 long groupId, long[] organizationIds)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 try {
060 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
061 "addGroupOrganizations",
062 _addGroupOrganizationsParameterTypes0);
063
064 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
065 organizationIds);
066
067 try {
068 TunnelUtil.invoke(httpPrincipal, methodHandler);
069 }
070 catch (Exception e) {
071 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
072 throw (com.liferay.portal.kernel.exception.PortalException)e;
073 }
074
075 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
076 throw (com.liferay.portal.kernel.exception.SystemException)e;
077 }
078
079 throw new com.liferay.portal.kernel.exception.SystemException(e);
080 }
081 }
082 catch (com.liferay.portal.kernel.exception.SystemException se) {
083 _log.error(se, se);
084
085 throw se;
086 }
087 }
088
089 public static com.liferay.portal.model.Organization addOrganization(
090 HttpPrincipal httpPrincipal, long parentOrganizationId,
091 java.lang.String name, java.lang.String type, boolean recursable,
092 long regionId, long countryId, int statusId, java.lang.String comments,
093 boolean site,
094 java.util.List<com.liferay.portal.model.Address> addresses,
095 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
096 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors,
097 java.util.List<com.liferay.portal.model.Phone> phones,
098 java.util.List<com.liferay.portal.model.Website> websites,
099 com.liferay.portal.service.ServiceContext serviceContext)
100 throws com.liferay.portal.kernel.exception.PortalException,
101 com.liferay.portal.kernel.exception.SystemException {
102 try {
103 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
104 "addOrganization", _addOrganizationParameterTypes1);
105
106 MethodHandler methodHandler = new MethodHandler(methodKey,
107 parentOrganizationId, name, type, recursable, regionId,
108 countryId, statusId, comments, site, addresses,
109 emailAddresses, orgLabors, phones, websites, serviceContext);
110
111 Object returnObj = null;
112
113 try {
114 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
115 }
116 catch (Exception e) {
117 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
118 throw (com.liferay.portal.kernel.exception.PortalException)e;
119 }
120
121 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
122 throw (com.liferay.portal.kernel.exception.SystemException)e;
123 }
124
125 throw new com.liferay.portal.kernel.exception.SystemException(e);
126 }
127
128 return (com.liferay.portal.model.Organization)returnObj;
129 }
130 catch (com.liferay.portal.kernel.exception.SystemException se) {
131 _log.error(se, se);
132
133 throw se;
134 }
135 }
136
137 public static com.liferay.portal.model.Organization addOrganization(
138 HttpPrincipal httpPrincipal, long parentOrganizationId,
139 java.lang.String name, java.lang.String type, boolean recursable,
140 long regionId, long countryId, int statusId, java.lang.String comments,
141 boolean site, com.liferay.portal.service.ServiceContext serviceContext)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException {
144 try {
145 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
146 "addOrganization", _addOrganizationParameterTypes2);
147
148 MethodHandler methodHandler = new MethodHandler(methodKey,
149 parentOrganizationId, name, type, recursable, regionId,
150 countryId, statusId, comments, site, 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 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
163 throw (com.liferay.portal.kernel.exception.SystemException)e;
164 }
165
166 throw new com.liferay.portal.kernel.exception.SystemException(e);
167 }
168
169 return (com.liferay.portal.model.Organization)returnObj;
170 }
171 catch (com.liferay.portal.kernel.exception.SystemException se) {
172 _log.error(se, se);
173
174 throw se;
175 }
176 }
177
178 public static void addPasswordPolicyOrganizations(
179 HttpPrincipal httpPrincipal, long passwordPolicyId,
180 long[] organizationIds)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 try {
184 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
185 "addPasswordPolicyOrganizations",
186 _addPasswordPolicyOrganizationsParameterTypes3);
187
188 MethodHandler methodHandler = new MethodHandler(methodKey,
189 passwordPolicyId, organizationIds);
190
191 try {
192 TunnelUtil.invoke(httpPrincipal, methodHandler);
193 }
194 catch (Exception e) {
195 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
196 throw (com.liferay.portal.kernel.exception.PortalException)e;
197 }
198
199 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
200 throw (com.liferay.portal.kernel.exception.SystemException)e;
201 }
202
203 throw new com.liferay.portal.kernel.exception.SystemException(e);
204 }
205 }
206 catch (com.liferay.portal.kernel.exception.SystemException se) {
207 _log.error(se, se);
208
209 throw se;
210 }
211 }
212
213 public static void deleteLogo(HttpPrincipal httpPrincipal,
214 long organizationId)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 try {
218 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
219 "deleteLogo", _deleteLogoParameterTypes4);
220
221 MethodHandler methodHandler = new MethodHandler(methodKey,
222 organizationId);
223
224 try {
225 TunnelUtil.invoke(httpPrincipal, methodHandler);
226 }
227 catch (Exception e) {
228 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
229 throw (com.liferay.portal.kernel.exception.PortalException)e;
230 }
231
232 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
233 throw (com.liferay.portal.kernel.exception.SystemException)e;
234 }
235
236 throw new com.liferay.portal.kernel.exception.SystemException(e);
237 }
238 }
239 catch (com.liferay.portal.kernel.exception.SystemException se) {
240 _log.error(se, se);
241
242 throw se;
243 }
244 }
245
246 public static void deleteOrganization(HttpPrincipal httpPrincipal,
247 long organizationId)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 try {
251 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
252 "deleteOrganization", _deleteOrganizationParameterTypes5);
253
254 MethodHandler methodHandler = new MethodHandler(methodKey,
255 organizationId);
256
257 try {
258 TunnelUtil.invoke(httpPrincipal, methodHandler);
259 }
260 catch (Exception e) {
261 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
262 throw (com.liferay.portal.kernel.exception.PortalException)e;
263 }
264
265 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
266 throw (com.liferay.portal.kernel.exception.SystemException)e;
267 }
268
269 throw new com.liferay.portal.kernel.exception.SystemException(e);
270 }
271 }
272 catch (com.liferay.portal.kernel.exception.SystemException se) {
273 _log.error(se, se);
274
275 throw se;
276 }
277 }
278
279 public static java.util.List<com.liferay.portal.model.Organization> getManageableOrganizations(
280 HttpPrincipal httpPrincipal, java.lang.String actionId, int max)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 try {
284 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
285 "getManageableOrganizations",
286 _getManageableOrganizationsParameterTypes6);
287
288 MethodHandler methodHandler = new MethodHandler(methodKey,
289 actionId, max);
290
291 Object returnObj = null;
292
293 try {
294 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
295 }
296 catch (Exception e) {
297 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
298 throw (com.liferay.portal.kernel.exception.PortalException)e;
299 }
300
301 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
302 throw (com.liferay.portal.kernel.exception.SystemException)e;
303 }
304
305 throw new com.liferay.portal.kernel.exception.SystemException(e);
306 }
307
308 return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
309 }
310 catch (com.liferay.portal.kernel.exception.SystemException se) {
311 _log.error(se, se);
312
313 throw se;
314 }
315 }
316
317 public static com.liferay.portal.model.Organization getOrganization(
318 HttpPrincipal httpPrincipal, long organizationId)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 try {
322 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
323 "getOrganization", _getOrganizationParameterTypes7);
324
325 MethodHandler methodHandler = new MethodHandler(methodKey,
326 organizationId);
327
328 Object returnObj = null;
329
330 try {
331 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
332 }
333 catch (Exception e) {
334 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
335 throw (com.liferay.portal.kernel.exception.PortalException)e;
336 }
337
338 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
339 throw (com.liferay.portal.kernel.exception.SystemException)e;
340 }
341
342 throw new com.liferay.portal.kernel.exception.SystemException(e);
343 }
344
345 return (com.liferay.portal.model.Organization)returnObj;
346 }
347 catch (com.liferay.portal.kernel.exception.SystemException se) {
348 _log.error(se, se);
349
350 throw se;
351 }
352 }
353
354 public static long getOrganizationId(HttpPrincipal httpPrincipal,
355 long companyId, java.lang.String name)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 try {
359 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
360 "getOrganizationId", _getOrganizationIdParameterTypes8);
361
362 MethodHandler methodHandler = new MethodHandler(methodKey,
363 companyId, name);
364
365 Object returnObj = null;
366
367 try {
368 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
369 }
370 catch (Exception e) {
371 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
372 throw (com.liferay.portal.kernel.exception.PortalException)e;
373 }
374
375 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
376 throw (com.liferay.portal.kernel.exception.SystemException)e;
377 }
378
379 throw new com.liferay.portal.kernel.exception.SystemException(e);
380 }
381
382 return ((Long)returnObj).longValue();
383 }
384 catch (com.liferay.portal.kernel.exception.SystemException se) {
385 _log.error(se, se);
386
387 throw se;
388 }
389 }
390
391 public static java.util.List<com.liferay.portal.model.Organization> getOrganizations(
392 HttpPrincipal httpPrincipal, long companyId, long parentOrganizationId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 try {
395 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
396 "getOrganizations", _getOrganizationsParameterTypes9);
397
398 MethodHandler methodHandler = new MethodHandler(methodKey,
399 companyId, parentOrganizationId);
400
401 Object returnObj = null;
402
403 try {
404 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
405 }
406 catch (Exception e) {
407 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
408 throw (com.liferay.portal.kernel.exception.SystemException)e;
409 }
410
411 throw new com.liferay.portal.kernel.exception.SystemException(e);
412 }
413
414 return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
415 }
416 catch (com.liferay.portal.kernel.exception.SystemException se) {
417 _log.error(se, se);
418
419 throw se;
420 }
421 }
422
423 public static java.util.List<com.liferay.portal.model.Organization> getOrganizations(
424 HttpPrincipal httpPrincipal, long companyId, long parentOrganizationId,
425 int start, int end)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 try {
428 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
429 "getOrganizations", _getOrganizationsParameterTypes10);
430
431 MethodHandler methodHandler = new MethodHandler(methodKey,
432 companyId, parentOrganizationId, start, end);
433
434 Object returnObj = null;
435
436 try {
437 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
438 }
439 catch (Exception e) {
440 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
441 throw (com.liferay.portal.kernel.exception.SystemException)e;
442 }
443
444 throw new com.liferay.portal.kernel.exception.SystemException(e);
445 }
446
447 return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
448 }
449 catch (com.liferay.portal.kernel.exception.SystemException se) {
450 _log.error(se, se);
451
452 throw se;
453 }
454 }
455
456 public static int getOrganizationsCount(HttpPrincipal httpPrincipal,
457 long companyId, long parentOrganizationId)
458 throws com.liferay.portal.kernel.exception.SystemException {
459 try {
460 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
461 "getOrganizationsCount",
462 _getOrganizationsCountParameterTypes11);
463
464 MethodHandler methodHandler = new MethodHandler(methodKey,
465 companyId, parentOrganizationId);
466
467 Object returnObj = null;
468
469 try {
470 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
471 }
472 catch (Exception e) {
473 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
474 throw (com.liferay.portal.kernel.exception.SystemException)e;
475 }
476
477 throw new com.liferay.portal.kernel.exception.SystemException(e);
478 }
479
480 return ((Integer)returnObj).intValue();
481 }
482 catch (com.liferay.portal.kernel.exception.SystemException se) {
483 _log.error(se, se);
484
485 throw se;
486 }
487 }
488
489 public static java.util.List<com.liferay.portal.model.Organization> getUserOrganizations(
490 HttpPrincipal httpPrincipal, long userId)
491 throws com.liferay.portal.kernel.exception.PortalException,
492 com.liferay.portal.kernel.exception.SystemException {
493 try {
494 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
495 "getUserOrganizations",
496 _getUserOrganizationsParameterTypes12);
497
498 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
499
500 Object returnObj = null;
501
502 try {
503 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
504 }
505 catch (Exception e) {
506 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
507 throw (com.liferay.portal.kernel.exception.PortalException)e;
508 }
509
510 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
511 throw (com.liferay.portal.kernel.exception.SystemException)e;
512 }
513
514 throw new com.liferay.portal.kernel.exception.SystemException(e);
515 }
516
517 return (java.util.List<com.liferay.portal.model.Organization>)returnObj;
518 }
519 catch (com.liferay.portal.kernel.exception.SystemException se) {
520 _log.error(se, se);
521
522 throw se;
523 }
524 }
525
526 public static void setGroupOrganizations(HttpPrincipal httpPrincipal,
527 long groupId, long[] organizationIds)
528 throws com.liferay.portal.kernel.exception.PortalException,
529 com.liferay.portal.kernel.exception.SystemException {
530 try {
531 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
532 "setGroupOrganizations",
533 _setGroupOrganizationsParameterTypes13);
534
535 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
536 organizationIds);
537
538 try {
539 TunnelUtil.invoke(httpPrincipal, methodHandler);
540 }
541 catch (Exception e) {
542 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
543 throw (com.liferay.portal.kernel.exception.PortalException)e;
544 }
545
546 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
547 throw (com.liferay.portal.kernel.exception.SystemException)e;
548 }
549
550 throw new com.liferay.portal.kernel.exception.SystemException(e);
551 }
552 }
553 catch (com.liferay.portal.kernel.exception.SystemException se) {
554 _log.error(se, se);
555
556 throw se;
557 }
558 }
559
560 public static void unsetGroupOrganizations(HttpPrincipal httpPrincipal,
561 long groupId, long[] organizationIds)
562 throws com.liferay.portal.kernel.exception.PortalException,
563 com.liferay.portal.kernel.exception.SystemException {
564 try {
565 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
566 "unsetGroupOrganizations",
567 _unsetGroupOrganizationsParameterTypes14);
568
569 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
570 organizationIds);
571
572 try {
573 TunnelUtil.invoke(httpPrincipal, methodHandler);
574 }
575 catch (Exception e) {
576 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
577 throw (com.liferay.portal.kernel.exception.PortalException)e;
578 }
579
580 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
581 throw (com.liferay.portal.kernel.exception.SystemException)e;
582 }
583
584 throw new com.liferay.portal.kernel.exception.SystemException(e);
585 }
586 }
587 catch (com.liferay.portal.kernel.exception.SystemException se) {
588 _log.error(se, se);
589
590 throw se;
591 }
592 }
593
594 public static void unsetPasswordPolicyOrganizations(
595 HttpPrincipal httpPrincipal, long passwordPolicyId,
596 long[] organizationIds)
597 throws com.liferay.portal.kernel.exception.PortalException,
598 com.liferay.portal.kernel.exception.SystemException {
599 try {
600 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
601 "unsetPasswordPolicyOrganizations",
602 _unsetPasswordPolicyOrganizationsParameterTypes15);
603
604 MethodHandler methodHandler = new MethodHandler(methodKey,
605 passwordPolicyId, organizationIds);
606
607 try {
608 TunnelUtil.invoke(httpPrincipal, methodHandler);
609 }
610 catch (Exception e) {
611 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
612 throw (com.liferay.portal.kernel.exception.PortalException)e;
613 }
614
615 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
616 throw (com.liferay.portal.kernel.exception.SystemException)e;
617 }
618
619 throw new com.liferay.portal.kernel.exception.SystemException(e);
620 }
621 }
622 catch (com.liferay.portal.kernel.exception.SystemException se) {
623 _log.error(se, se);
624
625 throw se;
626 }
627 }
628
629 public static com.liferay.portal.model.Organization updateOrganization(
630 HttpPrincipal httpPrincipal, long organizationId,
631 long parentOrganizationId, java.lang.String name,
632 java.lang.String type, boolean recursable, long regionId,
633 long countryId, int statusId, java.lang.String comments, boolean site,
634 java.util.List<com.liferay.portal.model.Address> addresses,
635 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
636 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors,
637 java.util.List<com.liferay.portal.model.Phone> phones,
638 java.util.List<com.liferay.portal.model.Website> websites,
639 com.liferay.portal.service.ServiceContext serviceContext)
640 throws com.liferay.portal.kernel.exception.PortalException,
641 com.liferay.portal.kernel.exception.SystemException {
642 try {
643 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
644 "updateOrganization", _updateOrganizationParameterTypes16);
645
646 MethodHandler methodHandler = new MethodHandler(methodKey,
647 organizationId, parentOrganizationId, name, type,
648 recursable, regionId, countryId, statusId, comments, site,
649 addresses, emailAddresses, orgLabors, phones, websites,
650 serviceContext);
651
652 Object returnObj = null;
653
654 try {
655 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
656 }
657 catch (Exception e) {
658 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
659 throw (com.liferay.portal.kernel.exception.PortalException)e;
660 }
661
662 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
663 throw (com.liferay.portal.kernel.exception.SystemException)e;
664 }
665
666 throw new com.liferay.portal.kernel.exception.SystemException(e);
667 }
668
669 return (com.liferay.portal.model.Organization)returnObj;
670 }
671 catch (com.liferay.portal.kernel.exception.SystemException se) {
672 _log.error(se, se);
673
674 throw se;
675 }
676 }
677
678 public static com.liferay.portal.model.Organization updateOrganization(
679 HttpPrincipal httpPrincipal, long organizationId,
680 long parentOrganizationId, java.lang.String name,
681 java.lang.String type, boolean recursable, long regionId,
682 long countryId, int statusId, java.lang.String comments, boolean site,
683 com.liferay.portal.service.ServiceContext serviceContext)
684 throws com.liferay.portal.kernel.exception.PortalException,
685 com.liferay.portal.kernel.exception.SystemException {
686 try {
687 MethodKey methodKey = new MethodKey(OrganizationServiceUtil.class,
688 "updateOrganization", _updateOrganizationParameterTypes17);
689
690 MethodHandler methodHandler = new MethodHandler(methodKey,
691 organizationId, parentOrganizationId, name, type,
692 recursable, regionId, countryId, statusId, comments, site,
693 serviceContext);
694
695 Object returnObj = null;
696
697 try {
698 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
699 }
700 catch (Exception e) {
701 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
702 throw (com.liferay.portal.kernel.exception.PortalException)e;
703 }
704
705 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
706 throw (com.liferay.portal.kernel.exception.SystemException)e;
707 }
708
709 throw new com.liferay.portal.kernel.exception.SystemException(e);
710 }
711
712 return (com.liferay.portal.model.Organization)returnObj;
713 }
714 catch (com.liferay.portal.kernel.exception.SystemException se) {
715 _log.error(se, se);
716
717 throw se;
718 }
719 }
720
721 private static Log _log = LogFactoryUtil.getLog(OrganizationServiceHttp.class);
722 private static final Class<?>[] _addGroupOrganizationsParameterTypes0 = new Class[] {
723 long.class, long[].class
724 };
725 private static final Class<?>[] _addOrganizationParameterTypes1 = new Class[] {
726 long.class, java.lang.String.class, java.lang.String.class,
727 boolean.class, long.class, long.class, int.class,
728 java.lang.String.class, boolean.class, java.util.List.class,
729 java.util.List.class, java.util.List.class, java.util.List.class,
730 java.util.List.class,
731 com.liferay.portal.service.ServiceContext.class
732 };
733 private static final Class<?>[] _addOrganizationParameterTypes2 = new Class[] {
734 long.class, java.lang.String.class, java.lang.String.class,
735 boolean.class, long.class, long.class, int.class,
736 java.lang.String.class, boolean.class,
737 com.liferay.portal.service.ServiceContext.class
738 };
739 private static final Class<?>[] _addPasswordPolicyOrganizationsParameterTypes3 =
740 new Class[] { long.class, long[].class };
741 private static final Class<?>[] _deleteLogoParameterTypes4 = new Class[] {
742 long.class
743 };
744 private static final Class<?>[] _deleteOrganizationParameterTypes5 = new Class[] {
745 long.class
746 };
747 private static final Class<?>[] _getManageableOrganizationsParameterTypes6 = new Class[] {
748 java.lang.String.class, int.class
749 };
750 private static final Class<?>[] _getOrganizationParameterTypes7 = new Class[] {
751 long.class
752 };
753 private static final Class<?>[] _getOrganizationIdParameterTypes8 = new Class[] {
754 long.class, java.lang.String.class
755 };
756 private static final Class<?>[] _getOrganizationsParameterTypes9 = new Class[] {
757 long.class, long.class
758 };
759 private static final Class<?>[] _getOrganizationsParameterTypes10 = new Class[] {
760 long.class, long.class, int.class, int.class
761 };
762 private static final Class<?>[] _getOrganizationsCountParameterTypes11 = new Class[] {
763 long.class, long.class
764 };
765 private static final Class<?>[] _getUserOrganizationsParameterTypes12 = new Class[] {
766 long.class
767 };
768 private static final Class<?>[] _setGroupOrganizationsParameterTypes13 = new Class[] {
769 long.class, long[].class
770 };
771 private static final Class<?>[] _unsetGroupOrganizationsParameterTypes14 = new Class[] {
772 long.class, long[].class
773 };
774 private static final Class<?>[] _unsetPasswordPolicyOrganizationsParameterTypes15 =
775 new Class[] { long.class, long[].class };
776 private static final Class<?>[] _updateOrganizationParameterTypes16 = new Class[] {
777 long.class, long.class, java.lang.String.class,
778 java.lang.String.class, boolean.class, long.class, long.class,
779 int.class, java.lang.String.class, boolean.class,
780 java.util.List.class, java.util.List.class, java.util.List.class,
781 java.util.List.class, java.util.List.class,
782 com.liferay.portal.service.ServiceContext.class
783 };
784 private static final Class<?>[] _updateOrganizationParameterTypes17 = new Class[] {
785 long.class, long.class, java.lang.String.class,
786 java.lang.String.class, boolean.class, long.class, long.class,
787 int.class, java.lang.String.class, boolean.class,
788 com.liferay.portal.service.ServiceContext.class
789 };
790 }