001
014
015 package com.liferay.portal.service.http;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.log.Log;
020 import com.liferay.portal.kernel.log.LogFactoryUtil;
021 import com.liferay.portal.kernel.util.MethodHandler;
022 import com.liferay.portal.kernel.util.MethodKey;
023 import com.liferay.portal.security.auth.HttpPrincipal;
024 import com.liferay.portal.service.RoleServiceUtil;
025
026
054 @ProviderType
055 public class RoleServiceHttp {
056 public static com.liferay.portal.model.Role addRole(
057 HttpPrincipal httpPrincipal, java.lang.String className, long classPK,
058 java.lang.String name,
059 java.util.Map<java.util.Locale, java.lang.String> titleMap,
060 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
061 int type, java.lang.String subtype,
062 com.liferay.portal.service.ServiceContext serviceContext)
063 throws com.liferay.portal.kernel.exception.PortalException {
064 try {
065 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
066 "addRole", _addRoleParameterTypes0);
067
068 MethodHandler methodHandler = new MethodHandler(methodKey,
069 className, classPK, name, titleMap, descriptionMap, type,
070 subtype, serviceContext);
071
072 Object returnObj = null;
073
074 try {
075 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
076 }
077 catch (Exception e) {
078 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
079 throw (com.liferay.portal.kernel.exception.PortalException)e;
080 }
081
082 throw new com.liferay.portal.kernel.exception.SystemException(e);
083 }
084
085 return (com.liferay.portal.model.Role)returnObj;
086 }
087 catch (com.liferay.portal.kernel.exception.SystemException se) {
088 _log.error(se, se);
089
090 throw se;
091 }
092 }
093
094 public static com.liferay.portal.model.Role addRole(
095 HttpPrincipal httpPrincipal, java.lang.String name,
096 java.util.Map<java.util.Locale, java.lang.String> titleMap,
097 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
098 int type) throws com.liferay.portal.kernel.exception.PortalException {
099 try {
100 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
101 "addRole", _addRoleParameterTypes1);
102
103 MethodHandler methodHandler = new MethodHandler(methodKey, name,
104 titleMap, descriptionMap, type);
105
106 Object returnObj = null;
107
108 try {
109 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
110 }
111 catch (Exception e) {
112 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
113 throw (com.liferay.portal.kernel.exception.PortalException)e;
114 }
115
116 throw new com.liferay.portal.kernel.exception.SystemException(e);
117 }
118
119 return (com.liferay.portal.model.Role)returnObj;
120 }
121 catch (com.liferay.portal.kernel.exception.SystemException se) {
122 _log.error(se, se);
123
124 throw se;
125 }
126 }
127
128 public static void addUserRoles(HttpPrincipal httpPrincipal, long userId,
129 long[] roleIds)
130 throws com.liferay.portal.kernel.exception.PortalException {
131 try {
132 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
133 "addUserRoles", _addUserRolesParameterTypes2);
134
135 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
136 roleIds);
137
138 try {
139 TunnelUtil.invoke(httpPrincipal, methodHandler);
140 }
141 catch (Exception e) {
142 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
143 throw (com.liferay.portal.kernel.exception.PortalException)e;
144 }
145
146 throw new com.liferay.portal.kernel.exception.SystemException(e);
147 }
148 }
149 catch (com.liferay.portal.kernel.exception.SystemException se) {
150 _log.error(se, se);
151
152 throw se;
153 }
154 }
155
156 public static void deleteRole(HttpPrincipal httpPrincipal, long roleId)
157 throws com.liferay.portal.kernel.exception.PortalException {
158 try {
159 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
160 "deleteRole", _deleteRoleParameterTypes3);
161
162 MethodHandler methodHandler = new MethodHandler(methodKey, roleId);
163
164 try {
165 TunnelUtil.invoke(httpPrincipal, methodHandler);
166 }
167 catch (Exception e) {
168 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
169 throw (com.liferay.portal.kernel.exception.PortalException)e;
170 }
171
172 throw new com.liferay.portal.kernel.exception.SystemException(e);
173 }
174 }
175 catch (com.liferay.portal.kernel.exception.SystemException se) {
176 _log.error(se, se);
177
178 throw se;
179 }
180 }
181
182 public static com.liferay.portal.model.Role fetchRole(
183 HttpPrincipal httpPrincipal, long roleId)
184 throws com.liferay.portal.kernel.exception.PortalException {
185 try {
186 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
187 "fetchRole", _fetchRoleParameterTypes4);
188
189 MethodHandler methodHandler = new MethodHandler(methodKey, roleId);
190
191 Object returnObj = null;
192
193 try {
194 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
195 }
196 catch (Exception e) {
197 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
198 throw (com.liferay.portal.kernel.exception.PortalException)e;
199 }
200
201 throw new com.liferay.portal.kernel.exception.SystemException(e);
202 }
203
204 return (com.liferay.portal.model.Role)returnObj;
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 java.util.List<com.liferay.portal.model.Role> getGroupRoles(
214 HttpPrincipal httpPrincipal, long groupId)
215 throws com.liferay.portal.kernel.exception.PortalException {
216 try {
217 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
218 "getGroupRoles", _getGroupRolesParameterTypes5);
219
220 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
221
222 Object returnObj = null;
223
224 try {
225 returnObj = 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 throw new com.liferay.portal.kernel.exception.SystemException(e);
233 }
234
235 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
236 }
237 catch (com.liferay.portal.kernel.exception.SystemException se) {
238 _log.error(se, se);
239
240 throw se;
241 }
242 }
243
244 public static com.liferay.portal.model.Role getRole(
245 HttpPrincipal httpPrincipal, long roleId)
246 throws com.liferay.portal.kernel.exception.PortalException {
247 try {
248 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
249 "getRole", _getRoleParameterTypes6);
250
251 MethodHandler methodHandler = new MethodHandler(methodKey, roleId);
252
253 Object returnObj = null;
254
255 try {
256 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
257 }
258 catch (Exception e) {
259 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
260 throw (com.liferay.portal.kernel.exception.PortalException)e;
261 }
262
263 throw new com.liferay.portal.kernel.exception.SystemException(e);
264 }
265
266 return (com.liferay.portal.model.Role)returnObj;
267 }
268 catch (com.liferay.portal.kernel.exception.SystemException se) {
269 _log.error(se, se);
270
271 throw se;
272 }
273 }
274
275 public static com.liferay.portal.model.Role getRole(
276 HttpPrincipal httpPrincipal, long companyId, java.lang.String name)
277 throws com.liferay.portal.kernel.exception.PortalException {
278 try {
279 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
280 "getRole", _getRoleParameterTypes7);
281
282 MethodHandler methodHandler = new MethodHandler(methodKey,
283 companyId, name);
284
285 Object returnObj = null;
286
287 try {
288 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
289 }
290 catch (Exception e) {
291 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
292 throw (com.liferay.portal.kernel.exception.PortalException)e;
293 }
294
295 throw new com.liferay.portal.kernel.exception.SystemException(e);
296 }
297
298 return (com.liferay.portal.model.Role)returnObj;
299 }
300 catch (com.liferay.portal.kernel.exception.SystemException se) {
301 _log.error(se, se);
302
303 throw se;
304 }
305 }
306
307 public static java.util.List<com.liferay.portal.model.Role> getRoles(
308 HttpPrincipal httpPrincipal, int type, java.lang.String subtype)
309 throws com.liferay.portal.kernel.exception.PortalException {
310 try {
311 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
312 "getRoles", _getRolesParameterTypes8);
313
314 MethodHandler methodHandler = new MethodHandler(methodKey, type,
315 subtype);
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 (java.util.List<com.liferay.portal.model.Role>)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 java.util.List<com.liferay.portal.model.Role> getRoles(
340 HttpPrincipal httpPrincipal, long companyId, int[] types)
341 throws com.liferay.portal.kernel.exception.PortalException {
342 try {
343 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
344 "getRoles", _getRolesParameterTypes9);
345
346 MethodHandler methodHandler = new MethodHandler(methodKey,
347 companyId, types);
348
349 Object returnObj = null;
350
351 try {
352 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
353 }
354 catch (Exception e) {
355 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
356 throw (com.liferay.portal.kernel.exception.PortalException)e;
357 }
358
359 throw new com.liferay.portal.kernel.exception.SystemException(e);
360 }
361
362 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
363 }
364 catch (com.liferay.portal.kernel.exception.SystemException se) {
365 _log.error(se, se);
366
367 throw se;
368 }
369 }
370
371 public static java.util.List<com.liferay.portal.model.Role> getUserGroupGroupRoles(
372 HttpPrincipal httpPrincipal, long userId, long groupId)
373 throws com.liferay.portal.kernel.exception.PortalException {
374 try {
375 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
376 "getUserGroupGroupRoles",
377 _getUserGroupGroupRolesParameterTypes10);
378
379 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
380 groupId);
381
382 Object returnObj = null;
383
384 try {
385 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
386 }
387 catch (Exception e) {
388 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
389 throw (com.liferay.portal.kernel.exception.PortalException)e;
390 }
391
392 throw new com.liferay.portal.kernel.exception.SystemException(e);
393 }
394
395 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
396 }
397 catch (com.liferay.portal.kernel.exception.SystemException se) {
398 _log.error(se, se);
399
400 throw se;
401 }
402 }
403
404 public static java.util.List<com.liferay.portal.model.Role> getUserGroupRoles(
405 HttpPrincipal httpPrincipal, long userId, long groupId)
406 throws com.liferay.portal.kernel.exception.PortalException {
407 try {
408 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
409 "getUserGroupRoles", _getUserGroupRolesParameterTypes11);
410
411 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
412 groupId);
413
414 Object returnObj = null;
415
416 try {
417 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
418 }
419 catch (Exception e) {
420 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
421 throw (com.liferay.portal.kernel.exception.PortalException)e;
422 }
423
424 throw new com.liferay.portal.kernel.exception.SystemException(e);
425 }
426
427 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
428 }
429 catch (com.liferay.portal.kernel.exception.SystemException se) {
430 _log.error(se, se);
431
432 throw se;
433 }
434 }
435
436 public static java.util.List<com.liferay.portal.model.Role> getUserRelatedRoles(
437 HttpPrincipal httpPrincipal, long userId,
438 java.util.List<com.liferay.portal.model.Group> groups)
439 throws com.liferay.portal.kernel.exception.PortalException {
440 try {
441 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
442 "getUserRelatedRoles", _getUserRelatedRolesParameterTypes12);
443
444 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
445 groups);
446
447 Object returnObj = null;
448
449 try {
450 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
451 }
452 catch (Exception e) {
453 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
454 throw (com.liferay.portal.kernel.exception.PortalException)e;
455 }
456
457 throw new com.liferay.portal.kernel.exception.SystemException(e);
458 }
459
460 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
461 }
462 catch (com.liferay.portal.kernel.exception.SystemException se) {
463 _log.error(se, se);
464
465 throw se;
466 }
467 }
468
469 public static java.util.List<com.liferay.portal.model.Role> getUserRoles(
470 HttpPrincipal httpPrincipal, long userId)
471 throws com.liferay.portal.kernel.exception.PortalException {
472 try {
473 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
474 "getUserRoles", _getUserRolesParameterTypes13);
475
476 MethodHandler methodHandler = new MethodHandler(methodKey, userId);
477
478 Object returnObj = null;
479
480 try {
481 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
482 }
483 catch (Exception e) {
484 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
485 throw (com.liferay.portal.kernel.exception.PortalException)e;
486 }
487
488 throw new com.liferay.portal.kernel.exception.SystemException(e);
489 }
490
491 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
492 }
493 catch (com.liferay.portal.kernel.exception.SystemException se) {
494 _log.error(se, se);
495
496 throw se;
497 }
498 }
499
500 public static boolean hasUserRole(HttpPrincipal httpPrincipal, long userId,
501 long companyId, java.lang.String name, boolean inherited)
502 throws com.liferay.portal.kernel.exception.PortalException {
503 try {
504 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
505 "hasUserRole", _hasUserRoleParameterTypes14);
506
507 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
508 companyId, name, inherited);
509
510 Object returnObj = null;
511
512 try {
513 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
514 }
515 catch (Exception e) {
516 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
517 throw (com.liferay.portal.kernel.exception.PortalException)e;
518 }
519
520 throw new com.liferay.portal.kernel.exception.SystemException(e);
521 }
522
523 return ((Boolean)returnObj).booleanValue();
524 }
525 catch (com.liferay.portal.kernel.exception.SystemException se) {
526 _log.error(se, se);
527
528 throw se;
529 }
530 }
531
532 public static boolean hasUserRoles(HttpPrincipal httpPrincipal,
533 long userId, long companyId, java.lang.String[] names, boolean inherited)
534 throws com.liferay.portal.kernel.exception.PortalException {
535 try {
536 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
537 "hasUserRoles", _hasUserRolesParameterTypes15);
538
539 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
540 companyId, names, inherited);
541
542 Object returnObj = null;
543
544 try {
545 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
546 }
547 catch (Exception e) {
548 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
549 throw (com.liferay.portal.kernel.exception.PortalException)e;
550 }
551
552 throw new com.liferay.portal.kernel.exception.SystemException(e);
553 }
554
555 return ((Boolean)returnObj).booleanValue();
556 }
557 catch (com.liferay.portal.kernel.exception.SystemException se) {
558 _log.error(se, se);
559
560 throw se;
561 }
562 }
563
564 public static java.util.List<com.liferay.portal.model.Role> search(
565 HttpPrincipal httpPrincipal, long companyId, java.lang.String keywords,
566 java.lang.Integer[] types,
567 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
568 int start, int end,
569 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Role> obc) {
570 try {
571 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
572 "search", _searchParameterTypes16);
573
574 MethodHandler methodHandler = new MethodHandler(methodKey,
575 companyId, keywords, types, params, start, end, obc);
576
577 Object returnObj = null;
578
579 try {
580 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
581 }
582 catch (Exception e) {
583 throw new com.liferay.portal.kernel.exception.SystemException(e);
584 }
585
586 return (java.util.List<com.liferay.portal.model.Role>)returnObj;
587 }
588 catch (com.liferay.portal.kernel.exception.SystemException se) {
589 _log.error(se, se);
590
591 throw se;
592 }
593 }
594
595 public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
596 java.lang.String keywords, java.lang.Integer[] types,
597 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params) {
598 try {
599 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
600 "searchCount", _searchCountParameterTypes17);
601
602 MethodHandler methodHandler = new MethodHandler(methodKey,
603 companyId, keywords, types, params);
604
605 Object returnObj = null;
606
607 try {
608 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
609 }
610 catch (Exception e) {
611 throw new com.liferay.portal.kernel.exception.SystemException(e);
612 }
613
614 return ((Integer)returnObj).intValue();
615 }
616 catch (com.liferay.portal.kernel.exception.SystemException se) {
617 _log.error(se, se);
618
619 throw se;
620 }
621 }
622
623 public static void unsetUserRoles(HttpPrincipal httpPrincipal, long userId,
624 long[] roleIds)
625 throws com.liferay.portal.kernel.exception.PortalException {
626 try {
627 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
628 "unsetUserRoles", _unsetUserRolesParameterTypes18);
629
630 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
631 roleIds);
632
633 try {
634 TunnelUtil.invoke(httpPrincipal, methodHandler);
635 }
636 catch (Exception e) {
637 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
638 throw (com.liferay.portal.kernel.exception.PortalException)e;
639 }
640
641 throw new com.liferay.portal.kernel.exception.SystemException(e);
642 }
643 }
644 catch (com.liferay.portal.kernel.exception.SystemException se) {
645 _log.error(se, se);
646
647 throw se;
648 }
649 }
650
651 public static com.liferay.portal.model.Role updateRole(
652 HttpPrincipal httpPrincipal, long roleId, java.lang.String name,
653 java.util.Map<java.util.Locale, java.lang.String> titleMap,
654 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
655 java.lang.String subtype,
656 com.liferay.portal.service.ServiceContext serviceContext)
657 throws com.liferay.portal.kernel.exception.PortalException {
658 try {
659 MethodKey methodKey = new MethodKey(RoleServiceUtil.class,
660 "updateRole", _updateRoleParameterTypes19);
661
662 MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
663 name, titleMap, descriptionMap, subtype, serviceContext);
664
665 Object returnObj = null;
666
667 try {
668 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
669 }
670 catch (Exception e) {
671 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
672 throw (com.liferay.portal.kernel.exception.PortalException)e;
673 }
674
675 throw new com.liferay.portal.kernel.exception.SystemException(e);
676 }
677
678 return (com.liferay.portal.model.Role)returnObj;
679 }
680 catch (com.liferay.portal.kernel.exception.SystemException se) {
681 _log.error(se, se);
682
683 throw se;
684 }
685 }
686
687 private static Log _log = LogFactoryUtil.getLog(RoleServiceHttp.class);
688 private static final Class<?>[] _addRoleParameterTypes0 = new Class[] {
689 java.lang.String.class, long.class, java.lang.String.class,
690 java.util.Map.class, java.util.Map.class, int.class,
691 java.lang.String.class,
692 com.liferay.portal.service.ServiceContext.class
693 };
694 private static final Class<?>[] _addRoleParameterTypes1 = new Class[] {
695 java.lang.String.class, java.util.Map.class, java.util.Map.class,
696 int.class
697 };
698 private static final Class<?>[] _addUserRolesParameterTypes2 = new Class[] {
699 long.class, long[].class
700 };
701 private static final Class<?>[] _deleteRoleParameterTypes3 = new Class[] {
702 long.class
703 };
704 private static final Class<?>[] _fetchRoleParameterTypes4 = new Class[] {
705 long.class
706 };
707 private static final Class<?>[] _getGroupRolesParameterTypes5 = new Class[] {
708 long.class
709 };
710 private static final Class<?>[] _getRoleParameterTypes6 = new Class[] {
711 long.class
712 };
713 private static final Class<?>[] _getRoleParameterTypes7 = new Class[] {
714 long.class, java.lang.String.class
715 };
716 private static final Class<?>[] _getRolesParameterTypes8 = new Class[] {
717 int.class, java.lang.String.class
718 };
719 private static final Class<?>[] _getRolesParameterTypes9 = new Class[] {
720 long.class, int[].class
721 };
722 private static final Class<?>[] _getUserGroupGroupRolesParameterTypes10 = new Class[] {
723 long.class, long.class
724 };
725 private static final Class<?>[] _getUserGroupRolesParameterTypes11 = new Class[] {
726 long.class, long.class
727 };
728 private static final Class<?>[] _getUserRelatedRolesParameterTypes12 = new Class[] {
729 long.class, java.util.List.class
730 };
731 private static final Class<?>[] _getUserRolesParameterTypes13 = new Class[] {
732 long.class
733 };
734 private static final Class<?>[] _hasUserRoleParameterTypes14 = new Class[] {
735 long.class, long.class, java.lang.String.class, boolean.class
736 };
737 private static final Class<?>[] _hasUserRolesParameterTypes15 = new Class[] {
738 long.class, long.class, java.lang.String[].class, boolean.class
739 };
740 private static final Class<?>[] _searchParameterTypes16 = new Class[] {
741 long.class, java.lang.String.class, java.lang.Integer[].class,
742 java.util.LinkedHashMap.class, int.class, int.class,
743 com.liferay.portal.kernel.util.OrderByComparator.class
744 };
745 private static final Class<?>[] _searchCountParameterTypes17 = new Class[] {
746 long.class, java.lang.String.class, java.lang.Integer[].class,
747 java.util.LinkedHashMap.class
748 };
749 private static final Class<?>[] _unsetUserRolesParameterTypes18 = new Class[] {
750 long.class, long[].class
751 };
752 private static final Class<?>[] _updateRoleParameterTypes19 = new Class[] {
753 long.class, java.lang.String.class, java.util.Map.class,
754 java.util.Map.class, java.lang.String.class,
755 com.liferay.portal.service.ServiceContext.class
756 };
757 }