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.LayoutServiceUtil;
023
024
054 public class LayoutServiceHttp {
055 public static com.liferay.portal.model.Layout addLayout(
056 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
057 long parentLayoutId,
058 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
059 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
060 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
061 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
062 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
063 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
064 com.liferay.portal.service.ServiceContext serviceContext)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 try {
068 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
069 "addLayout", _addLayoutParameterTypes0);
070
071 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
072 privateLayout, parentLayoutId, localeNamesMap,
073 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
074 type, hidden, friendlyURL, serviceContext);
075
076 Object returnObj = null;
077
078 try {
079 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
080 }
081 catch (Exception e) {
082 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
083 throw (com.liferay.portal.kernel.exception.PortalException)e;
084 }
085
086 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
087 throw (com.liferay.portal.kernel.exception.SystemException)e;
088 }
089
090 throw new com.liferay.portal.kernel.exception.SystemException(e);
091 }
092
093 return (com.liferay.portal.model.Layout)returnObj;
094 }
095 catch (com.liferay.portal.kernel.exception.SystemException se) {
096 _log.error(se, se);
097
098 throw se;
099 }
100 }
101
102 public static com.liferay.portal.model.Layout addLayout(
103 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
104 long parentLayoutId, java.lang.String name, java.lang.String title,
105 java.lang.String description, java.lang.String type, boolean hidden,
106 java.lang.String friendlyURL,
107 com.liferay.portal.service.ServiceContext serviceContext)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 try {
111 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
112 "addLayout", _addLayoutParameterTypes1);
113
114 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
115 privateLayout, parentLayoutId, name, title, description,
116 type, hidden, friendlyURL, serviceContext);
117
118 Object returnObj = null;
119
120 try {
121 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
122 }
123 catch (Exception e) {
124 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
125 throw (com.liferay.portal.kernel.exception.PortalException)e;
126 }
127
128 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
129 throw (com.liferay.portal.kernel.exception.SystemException)e;
130 }
131
132 throw new com.liferay.portal.kernel.exception.SystemException(e);
133 }
134
135 return (com.liferay.portal.model.Layout)returnObj;
136 }
137 catch (com.liferay.portal.kernel.exception.SystemException se) {
138 _log.error(se, se);
139
140 throw se;
141 }
142 }
143
144 public static void deleteLayout(HttpPrincipal httpPrincipal, long groupId,
145 boolean privateLayout, long layoutId,
146 com.liferay.portal.service.ServiceContext serviceContext)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 try {
150 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
151 "deleteLayout", _deleteLayoutParameterTypes2);
152
153 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
154 privateLayout, layoutId, serviceContext);
155
156 try {
157 TunnelUtil.invoke(httpPrincipal, methodHandler);
158 }
159 catch (Exception e) {
160 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
161 throw (com.liferay.portal.kernel.exception.PortalException)e;
162 }
163
164 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
165 throw (com.liferay.portal.kernel.exception.SystemException)e;
166 }
167
168 throw new com.liferay.portal.kernel.exception.SystemException(e);
169 }
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 deleteLayout(HttpPrincipal httpPrincipal, long plid,
179 com.liferay.portal.service.ServiceContext serviceContext)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 try {
183 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
184 "deleteLayout", _deleteLayoutParameterTypes3);
185
186 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
187 serviceContext);
188
189 try {
190 TunnelUtil.invoke(httpPrincipal, methodHandler);
191 }
192 catch (Exception e) {
193 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
194 throw (com.liferay.portal.kernel.exception.PortalException)e;
195 }
196
197 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
198 throw (com.liferay.portal.kernel.exception.SystemException)e;
199 }
200
201 throw new com.liferay.portal.kernel.exception.SystemException(e);
202 }
203 }
204 catch (com.liferay.portal.kernel.exception.SystemException se) {
205 _log.error(se, se);
206
207 throw se;
208 }
209 }
210
211 public static byte[] exportLayouts(HttpPrincipal httpPrincipal,
212 long groupId, boolean privateLayout, long[] layoutIds,
213 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
214 java.util.Date startDate, java.util.Date endDate)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 try {
218 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
219 "exportLayouts", _exportLayoutsParameterTypes4);
220
221 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
222 privateLayout, layoutIds, parameterMap, startDate, endDate);
223
224 Object returnObj = null;
225
226 try {
227 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
228 }
229 catch (Exception e) {
230 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
231 throw (com.liferay.portal.kernel.exception.PortalException)e;
232 }
233
234 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
235 throw (com.liferay.portal.kernel.exception.SystemException)e;
236 }
237
238 throw new com.liferay.portal.kernel.exception.SystemException(e);
239 }
240
241 return (byte[])returnObj;
242 }
243 catch (com.liferay.portal.kernel.exception.SystemException se) {
244 _log.error(se, se);
245
246 throw se;
247 }
248 }
249
250 public static byte[] exportLayouts(HttpPrincipal httpPrincipal,
251 long groupId, boolean privateLayout,
252 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
253 java.util.Date startDate, java.util.Date endDate)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 try {
257 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
258 "exportLayouts", _exportLayoutsParameterTypes5);
259
260 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
261 privateLayout, parameterMap, startDate, endDate);
262
263 Object returnObj = null;
264
265 try {
266 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
267 }
268 catch (Exception e) {
269 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
270 throw (com.liferay.portal.kernel.exception.PortalException)e;
271 }
272
273 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
274 throw (com.liferay.portal.kernel.exception.SystemException)e;
275 }
276
277 throw new com.liferay.portal.kernel.exception.SystemException(e);
278 }
279
280 return (byte[])returnObj;
281 }
282 catch (com.liferay.portal.kernel.exception.SystemException se) {
283 _log.error(se, se);
284
285 throw se;
286 }
287 }
288
289 public static java.io.File exportLayoutsAsFile(
290 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
291 long[] layoutIds,
292 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
293 java.util.Date startDate, java.util.Date endDate)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 try {
297 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
298 "exportLayoutsAsFile", _exportLayoutsAsFileParameterTypes6);
299
300 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
301 privateLayout, layoutIds, parameterMap, startDate, endDate);
302
303 Object returnObj = null;
304
305 try {
306 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
307 }
308 catch (Exception e) {
309 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
310 throw (com.liferay.portal.kernel.exception.PortalException)e;
311 }
312
313 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
314 throw (com.liferay.portal.kernel.exception.SystemException)e;
315 }
316
317 throw new com.liferay.portal.kernel.exception.SystemException(e);
318 }
319
320 return (java.io.File)returnObj;
321 }
322 catch (com.liferay.portal.kernel.exception.SystemException se) {
323 _log.error(se, se);
324
325 throw se;
326 }
327 }
328
329 public static byte[] exportPortletInfo(HttpPrincipal httpPrincipal,
330 long plid, long groupId, java.lang.String portletId,
331 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
332 java.util.Date startDate, java.util.Date endDate)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 try {
336 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
337 "exportPortletInfo", _exportPortletInfoParameterTypes7);
338
339 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
340 groupId, portletId, parameterMap, startDate, endDate);
341
342 Object returnObj = null;
343
344 try {
345 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
346 }
347 catch (Exception e) {
348 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
349 throw (com.liferay.portal.kernel.exception.PortalException)e;
350 }
351
352 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
353 throw (com.liferay.portal.kernel.exception.SystemException)e;
354 }
355
356 throw new com.liferay.portal.kernel.exception.SystemException(e);
357 }
358
359 return (byte[])returnObj;
360 }
361 catch (com.liferay.portal.kernel.exception.SystemException se) {
362 _log.error(se, se);
363
364 throw se;
365 }
366 }
367
368 public static java.io.File exportPortletInfoAsFile(
369 HttpPrincipal httpPrincipal, long plid, long groupId,
370 java.lang.String portletId,
371 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
372 java.util.Date startDate, java.util.Date endDate)
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException {
375 try {
376 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
377 "exportPortletInfoAsFile",
378 _exportPortletInfoAsFileParameterTypes8);
379
380 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
381 groupId, portletId, parameterMap, startDate, endDate);
382
383 Object returnObj = null;
384
385 try {
386 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
387 }
388 catch (Exception e) {
389 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
390 throw (com.liferay.portal.kernel.exception.PortalException)e;
391 }
392
393 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
394 throw (com.liferay.portal.kernel.exception.SystemException)e;
395 }
396
397 throw new com.liferay.portal.kernel.exception.SystemException(e);
398 }
399
400 return (java.io.File)returnObj;
401 }
402 catch (com.liferay.portal.kernel.exception.SystemException se) {
403 _log.error(se, se);
404
405 throw se;
406 }
407 }
408
409 public static long getDefaultPlid(HttpPrincipal httpPrincipal,
410 long groupId, long scopeGroupId, boolean privateLayout,
411 java.lang.String portletId)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 try {
415 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
416 "getDefaultPlid", _getDefaultPlidParameterTypes9);
417
418 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
419 scopeGroupId, privateLayout, portletId);
420
421 Object returnObj = null;
422
423 try {
424 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
425 }
426 catch (Exception e) {
427 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
428 throw (com.liferay.portal.kernel.exception.PortalException)e;
429 }
430
431 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
432 throw (com.liferay.portal.kernel.exception.SystemException)e;
433 }
434
435 throw new com.liferay.portal.kernel.exception.SystemException(e);
436 }
437
438 return ((Long)returnObj).longValue();
439 }
440 catch (com.liferay.portal.kernel.exception.SystemException se) {
441 _log.error(se, se);
442
443 throw se;
444 }
445 }
446
447 public static java.lang.String getLayoutName(HttpPrincipal httpPrincipal,
448 long groupId, boolean privateLayout, long layoutId,
449 java.lang.String languageId)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 try {
453 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
454 "getLayoutName", _getLayoutNameParameterTypes10);
455
456 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
457 privateLayout, layoutId, languageId);
458
459 Object returnObj = null;
460
461 try {
462 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
463 }
464 catch (Exception e) {
465 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
466 throw (com.liferay.portal.kernel.exception.PortalException)e;
467 }
468
469 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
470 throw (com.liferay.portal.kernel.exception.SystemException)e;
471 }
472
473 throw new com.liferay.portal.kernel.exception.SystemException(e);
474 }
475
476 return (java.lang.String)returnObj;
477 }
478 catch (com.liferay.portal.kernel.exception.SystemException se) {
479 _log.error(se, se);
480
481 throw se;
482 }
483 }
484
485 public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
486 HttpPrincipal httpPrincipal, long companyId,
487 java.lang.String portletId, java.lang.String preferencesKey,
488 java.lang.String preferencesValue)
489 throws com.liferay.portal.kernel.exception.SystemException {
490 try {
491 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
492 "getLayoutReferences", _getLayoutReferencesParameterTypes11);
493
494 MethodHandler methodHandler = new MethodHandler(methodKey,
495 companyId, portletId, preferencesKey, preferencesValue);
496
497 Object returnObj = null;
498
499 try {
500 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
501 }
502 catch (Exception e) {
503 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
504 throw (com.liferay.portal.kernel.exception.SystemException)e;
505 }
506
507 throw new com.liferay.portal.kernel.exception.SystemException(e);
508 }
509
510 return (com.liferay.portal.model.LayoutReference[])returnObj;
511 }
512 catch (com.liferay.portal.kernel.exception.SystemException se) {
513 _log.error(se, se);
514
515 throw se;
516 }
517 }
518
519 public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
520 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout)
521 throws com.liferay.portal.kernel.exception.PortalException,
522 com.liferay.portal.kernel.exception.SystemException {
523 try {
524 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
525 "getLayouts", _getLayoutsParameterTypes12);
526
527 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
528 privateLayout);
529
530 Object returnObj = null;
531
532 try {
533 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
534 }
535 catch (Exception e) {
536 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
537 throw (com.liferay.portal.kernel.exception.PortalException)e;
538 }
539
540 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
541 throw (com.liferay.portal.kernel.exception.SystemException)e;
542 }
543
544 throw new com.liferay.portal.kernel.exception.SystemException(e);
545 }
546
547 return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
548 }
549 catch (com.liferay.portal.kernel.exception.SystemException se) {
550 _log.error(se, se);
551
552 throw se;
553 }
554 }
555
556 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
557 boolean privateLayout,
558 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
559 byte[] bytes)
560 throws com.liferay.portal.kernel.exception.PortalException,
561 com.liferay.portal.kernel.exception.SystemException {
562 try {
563 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
564 "importLayouts", _importLayoutsParameterTypes13);
565
566 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
567 privateLayout, parameterMap, bytes);
568
569 try {
570 TunnelUtil.invoke(httpPrincipal, methodHandler);
571 }
572 catch (Exception e) {
573 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
574 throw (com.liferay.portal.kernel.exception.PortalException)e;
575 }
576
577 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
578 throw (com.liferay.portal.kernel.exception.SystemException)e;
579 }
580
581 throw new com.liferay.portal.kernel.exception.SystemException(e);
582 }
583 }
584 catch (com.liferay.portal.kernel.exception.SystemException se) {
585 _log.error(se, se);
586
587 throw se;
588 }
589 }
590
591 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
592 boolean privateLayout,
593 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
594 java.io.File file)
595 throws com.liferay.portal.kernel.exception.PortalException,
596 com.liferay.portal.kernel.exception.SystemException {
597 try {
598 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
599 "importLayouts", _importLayoutsParameterTypes14);
600
601 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
602 privateLayout, parameterMap, file);
603
604 try {
605 TunnelUtil.invoke(httpPrincipal, methodHandler);
606 }
607 catch (Exception e) {
608 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
609 throw (com.liferay.portal.kernel.exception.PortalException)e;
610 }
611
612 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
613 throw (com.liferay.portal.kernel.exception.SystemException)e;
614 }
615
616 throw new com.liferay.portal.kernel.exception.SystemException(e);
617 }
618 }
619 catch (com.liferay.portal.kernel.exception.SystemException se) {
620 _log.error(se, se);
621
622 throw se;
623 }
624 }
625
626 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
627 boolean privateLayout,
628 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
629 java.io.InputStream is)
630 throws com.liferay.portal.kernel.exception.PortalException,
631 com.liferay.portal.kernel.exception.SystemException {
632 try {
633 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
634 "importLayouts", _importLayoutsParameterTypes15);
635
636 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
637 privateLayout, parameterMap, is);
638
639 try {
640 TunnelUtil.invoke(httpPrincipal, methodHandler);
641 }
642 catch (Exception e) {
643 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
644 throw (com.liferay.portal.kernel.exception.PortalException)e;
645 }
646
647 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
648 throw (com.liferay.portal.kernel.exception.SystemException)e;
649 }
650
651 throw new com.liferay.portal.kernel.exception.SystemException(e);
652 }
653 }
654 catch (com.liferay.portal.kernel.exception.SystemException se) {
655 _log.error(se, se);
656
657 throw se;
658 }
659 }
660
661 public static void importPortletInfo(HttpPrincipal httpPrincipal,
662 long plid, long groupId, java.lang.String portletId,
663 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
664 java.io.File file)
665 throws com.liferay.portal.kernel.exception.PortalException,
666 com.liferay.portal.kernel.exception.SystemException {
667 try {
668 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
669 "importPortletInfo", _importPortletInfoParameterTypes16);
670
671 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
672 groupId, portletId, parameterMap, file);
673
674 try {
675 TunnelUtil.invoke(httpPrincipal, methodHandler);
676 }
677 catch (Exception e) {
678 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
679 throw (com.liferay.portal.kernel.exception.PortalException)e;
680 }
681
682 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
683 throw (com.liferay.portal.kernel.exception.SystemException)e;
684 }
685
686 throw new com.liferay.portal.kernel.exception.SystemException(e);
687 }
688 }
689 catch (com.liferay.portal.kernel.exception.SystemException se) {
690 _log.error(se, se);
691
692 throw se;
693 }
694 }
695
696 public static void importPortletInfo(HttpPrincipal httpPrincipal,
697 long plid, long groupId, java.lang.String portletId,
698 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
699 java.io.InputStream is)
700 throws com.liferay.portal.kernel.exception.PortalException,
701 com.liferay.portal.kernel.exception.SystemException {
702 try {
703 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
704 "importPortletInfo", _importPortletInfoParameterTypes17);
705
706 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
707 groupId, portletId, parameterMap, is);
708
709 try {
710 TunnelUtil.invoke(httpPrincipal, methodHandler);
711 }
712 catch (Exception e) {
713 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
714 throw (com.liferay.portal.kernel.exception.PortalException)e;
715 }
716
717 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
718 throw (com.liferay.portal.kernel.exception.SystemException)e;
719 }
720
721 throw new com.liferay.portal.kernel.exception.SystemException(e);
722 }
723 }
724 catch (com.liferay.portal.kernel.exception.SystemException se) {
725 _log.error(se, se);
726
727 throw se;
728 }
729 }
730
731 public static void schedulePublishToLive(HttpPrincipal httpPrincipal,
732 long sourceGroupId, long targetGroupId, boolean privateLayout,
733 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
734 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
735 java.lang.String scope, java.util.Date startDate,
736 java.util.Date endDate, java.lang.String groupName,
737 java.lang.String cronText, java.util.Date schedulerStartDate,
738 java.util.Date schedulerEndDate, java.lang.String description)
739 throws com.liferay.portal.kernel.exception.PortalException,
740 com.liferay.portal.kernel.exception.SystemException {
741 try {
742 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
743 "schedulePublishToLive",
744 _schedulePublishToLiveParameterTypes18);
745
746 MethodHandler methodHandler = new MethodHandler(methodKey,
747 sourceGroupId, targetGroupId, privateLayout, layoutIdMap,
748 parameterMap, scope, startDate, endDate, groupName,
749 cronText, schedulerStartDate, schedulerEndDate, description);
750
751 try {
752 TunnelUtil.invoke(httpPrincipal, methodHandler);
753 }
754 catch (Exception e) {
755 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
756 throw (com.liferay.portal.kernel.exception.PortalException)e;
757 }
758
759 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
760 throw (com.liferay.portal.kernel.exception.SystemException)e;
761 }
762
763 throw new com.liferay.portal.kernel.exception.SystemException(e);
764 }
765 }
766 catch (com.liferay.portal.kernel.exception.SystemException se) {
767 _log.error(se, se);
768
769 throw se;
770 }
771 }
772
773 public static void schedulePublishToRemote(HttpPrincipal httpPrincipal,
774 long sourceGroupId, boolean privateLayout,
775 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
776 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
777 java.lang.String remoteAddress, int remotePort,
778 boolean secureConnection, long remoteGroupId,
779 boolean remotePrivateLayout, java.util.Date startDate,
780 java.util.Date endDate, java.lang.String groupName,
781 java.lang.String cronText, java.util.Date schedulerStartDate,
782 java.util.Date schedulerEndDate, java.lang.String description)
783 throws com.liferay.portal.kernel.exception.PortalException,
784 com.liferay.portal.kernel.exception.SystemException {
785 try {
786 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
787 "schedulePublishToRemote",
788 _schedulePublishToRemoteParameterTypes19);
789
790 MethodHandler methodHandler = new MethodHandler(methodKey,
791 sourceGroupId, privateLayout, layoutIdMap, parameterMap,
792 remoteAddress, remotePort, secureConnection, remoteGroupId,
793 remotePrivateLayout, startDate, endDate, groupName,
794 cronText, schedulerStartDate, schedulerEndDate, description);
795
796 try {
797 TunnelUtil.invoke(httpPrincipal, methodHandler);
798 }
799 catch (Exception e) {
800 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
801 throw (com.liferay.portal.kernel.exception.PortalException)e;
802 }
803
804 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
805 throw (com.liferay.portal.kernel.exception.SystemException)e;
806 }
807
808 throw new com.liferay.portal.kernel.exception.SystemException(e);
809 }
810 }
811 catch (com.liferay.portal.kernel.exception.SystemException se) {
812 _log.error(se, se);
813
814 throw se;
815 }
816 }
817
818 public static void setLayouts(HttpPrincipal httpPrincipal, long groupId,
819 boolean privateLayout, long parentLayoutId, long[] layoutIds,
820 com.liferay.portal.service.ServiceContext serviceContext)
821 throws com.liferay.portal.kernel.exception.PortalException,
822 com.liferay.portal.kernel.exception.SystemException {
823 try {
824 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
825 "setLayouts", _setLayoutsParameterTypes20);
826
827 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
828 privateLayout, parentLayoutId, layoutIds, serviceContext);
829
830 try {
831 TunnelUtil.invoke(httpPrincipal, methodHandler);
832 }
833 catch (Exception e) {
834 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
835 throw (com.liferay.portal.kernel.exception.PortalException)e;
836 }
837
838 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
839 throw (com.liferay.portal.kernel.exception.SystemException)e;
840 }
841
842 throw new com.liferay.portal.kernel.exception.SystemException(e);
843 }
844 }
845 catch (com.liferay.portal.kernel.exception.SystemException se) {
846 _log.error(se, se);
847
848 throw se;
849 }
850 }
851
852 public static void unschedulePublishToLive(HttpPrincipal httpPrincipal,
853 long groupId, java.lang.String jobName, java.lang.String groupName)
854 throws com.liferay.portal.kernel.exception.PortalException,
855 com.liferay.portal.kernel.exception.SystemException {
856 try {
857 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
858 "unschedulePublishToLive",
859 _unschedulePublishToLiveParameterTypes21);
860
861 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
862 jobName, groupName);
863
864 try {
865 TunnelUtil.invoke(httpPrincipal, methodHandler);
866 }
867 catch (Exception e) {
868 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
869 throw (com.liferay.portal.kernel.exception.PortalException)e;
870 }
871
872 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
873 throw (com.liferay.portal.kernel.exception.SystemException)e;
874 }
875
876 throw new com.liferay.portal.kernel.exception.SystemException(e);
877 }
878 }
879 catch (com.liferay.portal.kernel.exception.SystemException se) {
880 _log.error(se, se);
881
882 throw se;
883 }
884 }
885
886 public static void unschedulePublishToRemote(HttpPrincipal httpPrincipal,
887 long groupId, java.lang.String jobName, java.lang.String groupName)
888 throws com.liferay.portal.kernel.exception.PortalException,
889 com.liferay.portal.kernel.exception.SystemException {
890 try {
891 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
892 "unschedulePublishToRemote",
893 _unschedulePublishToRemoteParameterTypes22);
894
895 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
896 jobName, groupName);
897
898 try {
899 TunnelUtil.invoke(httpPrincipal, methodHandler);
900 }
901 catch (Exception e) {
902 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
903 throw (com.liferay.portal.kernel.exception.PortalException)e;
904 }
905
906 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
907 throw (com.liferay.portal.kernel.exception.SystemException)e;
908 }
909
910 throw new com.liferay.portal.kernel.exception.SystemException(e);
911 }
912 }
913 catch (com.liferay.portal.kernel.exception.SystemException se) {
914 _log.error(se, se);
915
916 throw se;
917 }
918 }
919
920 public static com.liferay.portal.model.Layout updateLayout(
921 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
922 long layoutId, long parentLayoutId,
923 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
924 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
925 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
926 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
927 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
928 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
929 java.lang.Boolean iconImage, byte[] iconBytes,
930 com.liferay.portal.service.ServiceContext serviceContext)
931 throws com.liferay.portal.kernel.exception.PortalException,
932 com.liferay.portal.kernel.exception.SystemException {
933 try {
934 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
935 "updateLayout", _updateLayoutParameterTypes23);
936
937 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
938 privateLayout, layoutId, parentLayoutId, localeNamesMap,
939 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
940 type, hidden, friendlyURL, iconImage, iconBytes,
941 serviceContext);
942
943 Object returnObj = null;
944
945 try {
946 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
947 }
948 catch (Exception e) {
949 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
950 throw (com.liferay.portal.kernel.exception.PortalException)e;
951 }
952
953 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
954 throw (com.liferay.portal.kernel.exception.SystemException)e;
955 }
956
957 throw new com.liferay.portal.kernel.exception.SystemException(e);
958 }
959
960 return (com.liferay.portal.model.Layout)returnObj;
961 }
962 catch (com.liferay.portal.kernel.exception.SystemException se) {
963 _log.error(se, se);
964
965 throw se;
966 }
967 }
968
969 public static com.liferay.portal.model.Layout updateLayout(
970 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
971 long layoutId, java.lang.String typeSettings)
972 throws com.liferay.portal.kernel.exception.PortalException,
973 com.liferay.portal.kernel.exception.SystemException {
974 try {
975 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
976 "updateLayout", _updateLayoutParameterTypes24);
977
978 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
979 privateLayout, layoutId, typeSettings);
980
981 Object returnObj = null;
982
983 try {
984 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
985 }
986 catch (Exception e) {
987 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
988 throw (com.liferay.portal.kernel.exception.PortalException)e;
989 }
990
991 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
992 throw (com.liferay.portal.kernel.exception.SystemException)e;
993 }
994
995 throw new com.liferay.portal.kernel.exception.SystemException(e);
996 }
997
998 return (com.liferay.portal.model.Layout)returnObj;
999 }
1000 catch (com.liferay.portal.kernel.exception.SystemException se) {
1001 _log.error(se, se);
1002
1003 throw se;
1004 }
1005 }
1006
1007 public static com.liferay.portal.model.Layout updateLookAndFeel(
1008 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1009 long layoutId, java.lang.String themeId,
1010 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
1011 throws com.liferay.portal.kernel.exception.PortalException,
1012 com.liferay.portal.kernel.exception.SystemException {
1013 try {
1014 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1015 "updateLookAndFeel", _updateLookAndFeelParameterTypes25);
1016
1017 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1018 privateLayout, layoutId, themeId, colorSchemeId, css,
1019 wapTheme);
1020
1021 Object returnObj = null;
1022
1023 try {
1024 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1025 }
1026 catch (Exception e) {
1027 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1028 throw (com.liferay.portal.kernel.exception.PortalException)e;
1029 }
1030
1031 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1032 throw (com.liferay.portal.kernel.exception.SystemException)e;
1033 }
1034
1035 throw new com.liferay.portal.kernel.exception.SystemException(e);
1036 }
1037
1038 return (com.liferay.portal.model.Layout)returnObj;
1039 }
1040 catch (com.liferay.portal.kernel.exception.SystemException se) {
1041 _log.error(se, se);
1042
1043 throw se;
1044 }
1045 }
1046
1047 public static com.liferay.portal.model.Layout updateName(
1048 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1049 long layoutId, java.lang.String name, java.lang.String languageId)
1050 throws com.liferay.portal.kernel.exception.PortalException,
1051 com.liferay.portal.kernel.exception.SystemException {
1052 try {
1053 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1054 "updateName", _updateNameParameterTypes26);
1055
1056 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1057 privateLayout, layoutId, name, languageId);
1058
1059 Object returnObj = null;
1060
1061 try {
1062 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1063 }
1064 catch (Exception e) {
1065 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1066 throw (com.liferay.portal.kernel.exception.PortalException)e;
1067 }
1068
1069 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1070 throw (com.liferay.portal.kernel.exception.SystemException)e;
1071 }
1072
1073 throw new com.liferay.portal.kernel.exception.SystemException(e);
1074 }
1075
1076 return (com.liferay.portal.model.Layout)returnObj;
1077 }
1078 catch (com.liferay.portal.kernel.exception.SystemException se) {
1079 _log.error(se, se);
1080
1081 throw se;
1082 }
1083 }
1084
1085 public static com.liferay.portal.model.Layout updateName(
1086 HttpPrincipal httpPrincipal, long plid, java.lang.String name,
1087 java.lang.String languageId)
1088 throws com.liferay.portal.kernel.exception.PortalException,
1089 com.liferay.portal.kernel.exception.SystemException {
1090 try {
1091 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1092 "updateName", _updateNameParameterTypes27);
1093
1094 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1095 name, languageId);
1096
1097 Object returnObj = null;
1098
1099 try {
1100 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1101 }
1102 catch (Exception e) {
1103 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1104 throw (com.liferay.portal.kernel.exception.PortalException)e;
1105 }
1106
1107 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1108 throw (com.liferay.portal.kernel.exception.SystemException)e;
1109 }
1110
1111 throw new com.liferay.portal.kernel.exception.SystemException(e);
1112 }
1113
1114 return (com.liferay.portal.model.Layout)returnObj;
1115 }
1116 catch (com.liferay.portal.kernel.exception.SystemException se) {
1117 _log.error(se, se);
1118
1119 throw se;
1120 }
1121 }
1122
1123 public static com.liferay.portal.model.Layout updateParentLayoutId(
1124 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1125 long layoutId, long parentLayoutId)
1126 throws com.liferay.portal.kernel.exception.PortalException,
1127 com.liferay.portal.kernel.exception.SystemException {
1128 try {
1129 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1130 "updateParentLayoutId",
1131 _updateParentLayoutIdParameterTypes28);
1132
1133 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1134 privateLayout, layoutId, parentLayoutId);
1135
1136 Object returnObj = null;
1137
1138 try {
1139 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1140 }
1141 catch (Exception e) {
1142 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1143 throw (com.liferay.portal.kernel.exception.PortalException)e;
1144 }
1145
1146 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1147 throw (com.liferay.portal.kernel.exception.SystemException)e;
1148 }
1149
1150 throw new com.liferay.portal.kernel.exception.SystemException(e);
1151 }
1152
1153 return (com.liferay.portal.model.Layout)returnObj;
1154 }
1155 catch (com.liferay.portal.kernel.exception.SystemException se) {
1156 _log.error(se, se);
1157
1158 throw se;
1159 }
1160 }
1161
1162 public static com.liferay.portal.model.Layout updateParentLayoutId(
1163 HttpPrincipal httpPrincipal, long plid, long parentPlid)
1164 throws com.liferay.portal.kernel.exception.PortalException,
1165 com.liferay.portal.kernel.exception.SystemException {
1166 try {
1167 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1168 "updateParentLayoutId",
1169 _updateParentLayoutIdParameterTypes29);
1170
1171 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1172 parentPlid);
1173
1174 Object returnObj = null;
1175
1176 try {
1177 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1178 }
1179 catch (Exception e) {
1180 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1181 throw (com.liferay.portal.kernel.exception.PortalException)e;
1182 }
1183
1184 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1185 throw (com.liferay.portal.kernel.exception.SystemException)e;
1186 }
1187
1188 throw new com.liferay.portal.kernel.exception.SystemException(e);
1189 }
1190
1191 return (com.liferay.portal.model.Layout)returnObj;
1192 }
1193 catch (com.liferay.portal.kernel.exception.SystemException se) {
1194 _log.error(se, se);
1195
1196 throw se;
1197 }
1198 }
1199
1200 public static com.liferay.portal.model.Layout updatePriority(
1201 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1202 long layoutId, int priority)
1203 throws com.liferay.portal.kernel.exception.PortalException,
1204 com.liferay.portal.kernel.exception.SystemException {
1205 try {
1206 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1207 "updatePriority", _updatePriorityParameterTypes30);
1208
1209 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1210 privateLayout, layoutId, priority);
1211
1212 Object returnObj = null;
1213
1214 try {
1215 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1216 }
1217 catch (Exception e) {
1218 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1219 throw (com.liferay.portal.kernel.exception.PortalException)e;
1220 }
1221
1222 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1223 throw (com.liferay.portal.kernel.exception.SystemException)e;
1224 }
1225
1226 throw new com.liferay.portal.kernel.exception.SystemException(e);
1227 }
1228
1229 return (com.liferay.portal.model.Layout)returnObj;
1230 }
1231 catch (com.liferay.portal.kernel.exception.SystemException se) {
1232 _log.error(se, se);
1233
1234 throw se;
1235 }
1236 }
1237
1238 public static com.liferay.portal.model.Layout updatePriority(
1239 HttpPrincipal httpPrincipal, long plid, int priority)
1240 throws com.liferay.portal.kernel.exception.PortalException,
1241 com.liferay.portal.kernel.exception.SystemException {
1242 try {
1243 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class.getName(),
1244 "updatePriority", _updatePriorityParameterTypes31);
1245
1246 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1247 priority);
1248
1249 Object returnObj = null;
1250
1251 try {
1252 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1253 }
1254 catch (Exception e) {
1255 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1256 throw (com.liferay.portal.kernel.exception.PortalException)e;
1257 }
1258
1259 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1260 throw (com.liferay.portal.kernel.exception.SystemException)e;
1261 }
1262
1263 throw new com.liferay.portal.kernel.exception.SystemException(e);
1264 }
1265
1266 return (com.liferay.portal.model.Layout)returnObj;
1267 }
1268 catch (com.liferay.portal.kernel.exception.SystemException se) {
1269 _log.error(se, se);
1270
1271 throw se;
1272 }
1273 }
1274
1275 private static Log _log = LogFactoryUtil.getLog(LayoutServiceHttp.class);
1276 private static final Class<?>[] _addLayoutParameterTypes0 = new Class[] {
1277 long.class, boolean.class, long.class, java.util.Map.class,
1278 java.util.Map.class, java.util.Map.class, java.util.Map.class,
1279 java.util.Map.class, java.lang.String.class, boolean.class,
1280 java.lang.String.class,
1281 com.liferay.portal.service.ServiceContext.class
1282 };
1283 private static final Class<?>[] _addLayoutParameterTypes1 = new Class[] {
1284 long.class, boolean.class, long.class, java.lang.String.class,
1285 java.lang.String.class, java.lang.String.class,
1286 java.lang.String.class, boolean.class, java.lang.String.class,
1287 com.liferay.portal.service.ServiceContext.class
1288 };
1289 private static final Class<?>[] _deleteLayoutParameterTypes2 = new Class[] {
1290 long.class, boolean.class, long.class,
1291 com.liferay.portal.service.ServiceContext.class
1292 };
1293 private static final Class<?>[] _deleteLayoutParameterTypes3 = new Class[] {
1294 long.class, com.liferay.portal.service.ServiceContext.class
1295 };
1296 private static final Class<?>[] _exportLayoutsParameterTypes4 = new Class[] {
1297 long.class, boolean.class, long[].class, java.util.Map.class,
1298 java.util.Date.class, java.util.Date.class
1299 };
1300 private static final Class<?>[] _exportLayoutsParameterTypes5 = new Class[] {
1301 long.class, boolean.class, java.util.Map.class, java.util.Date.class,
1302 java.util.Date.class
1303 };
1304 private static final Class<?>[] _exportLayoutsAsFileParameterTypes6 = new Class[] {
1305 long.class, boolean.class, long[].class, java.util.Map.class,
1306 java.util.Date.class, java.util.Date.class
1307 };
1308 private static final Class<?>[] _exportPortletInfoParameterTypes7 = new Class[] {
1309 long.class, long.class, java.lang.String.class, java.util.Map.class,
1310 java.util.Date.class, java.util.Date.class
1311 };
1312 private static final Class<?>[] _exportPortletInfoAsFileParameterTypes8 = new Class[] {
1313 long.class, long.class, java.lang.String.class, java.util.Map.class,
1314 java.util.Date.class, java.util.Date.class
1315 };
1316 private static final Class<?>[] _getDefaultPlidParameterTypes9 = new Class[] {
1317 long.class, long.class, boolean.class, java.lang.String.class
1318 };
1319 private static final Class<?>[] _getLayoutNameParameterTypes10 = new Class[] {
1320 long.class, boolean.class, long.class, java.lang.String.class
1321 };
1322 private static final Class<?>[] _getLayoutReferencesParameterTypes11 = new Class[] {
1323 long.class, java.lang.String.class, java.lang.String.class,
1324 java.lang.String.class
1325 };
1326 private static final Class<?>[] _getLayoutsParameterTypes12 = new Class[] {
1327 long.class, boolean.class
1328 };
1329 private static final Class<?>[] _importLayoutsParameterTypes13 = new Class[] {
1330 long.class, boolean.class, java.util.Map.class, byte[].class
1331 };
1332 private static final Class<?>[] _importLayoutsParameterTypes14 = new Class[] {
1333 long.class, boolean.class, java.util.Map.class, java.io.File.class
1334 };
1335 private static final Class<?>[] _importLayoutsParameterTypes15 = new Class[] {
1336 long.class, boolean.class, java.util.Map.class,
1337 java.io.InputStream.class
1338 };
1339 private static final Class<?>[] _importPortletInfoParameterTypes16 = new Class[] {
1340 long.class, long.class, java.lang.String.class, java.util.Map.class,
1341 java.io.File.class
1342 };
1343 private static final Class<?>[] _importPortletInfoParameterTypes17 = new Class[] {
1344 long.class, long.class, java.lang.String.class, java.util.Map.class,
1345 java.io.InputStream.class
1346 };
1347 private static final Class<?>[] _schedulePublishToLiveParameterTypes18 = new Class[] {
1348 long.class, long.class, boolean.class, java.util.Map.class,
1349 java.util.Map.class, java.lang.String.class, java.util.Date.class,
1350 java.util.Date.class, java.lang.String.class, java.lang.String.class,
1351 java.util.Date.class, java.util.Date.class, java.lang.String.class
1352 };
1353 private static final Class<?>[] _schedulePublishToRemoteParameterTypes19 = new Class[] {
1354 long.class, boolean.class, java.util.Map.class, java.util.Map.class,
1355 java.lang.String.class, int.class, boolean.class, long.class,
1356 boolean.class, java.util.Date.class, java.util.Date.class,
1357 java.lang.String.class, java.lang.String.class, java.util.Date.class,
1358 java.util.Date.class, java.lang.String.class
1359 };
1360 private static final Class<?>[] _setLayoutsParameterTypes20 = new Class[] {
1361 long.class, boolean.class, long.class, long[].class,
1362 com.liferay.portal.service.ServiceContext.class
1363 };
1364 private static final Class<?>[] _unschedulePublishToLiveParameterTypes21 = new Class[] {
1365 long.class, java.lang.String.class, java.lang.String.class
1366 };
1367 private static final Class<?>[] _unschedulePublishToRemoteParameterTypes22 = new Class[] {
1368 long.class, java.lang.String.class, java.lang.String.class
1369 };
1370 private static final Class<?>[] _updateLayoutParameterTypes23 = new Class[] {
1371 long.class, boolean.class, long.class, long.class,
1372 java.util.Map.class, java.util.Map.class, java.util.Map.class,
1373 java.util.Map.class, java.util.Map.class, java.lang.String.class,
1374 boolean.class, java.lang.String.class, java.lang.Boolean.class,
1375 byte[].class, com.liferay.portal.service.ServiceContext.class
1376 };
1377 private static final Class<?>[] _updateLayoutParameterTypes24 = new Class[] {
1378 long.class, boolean.class, long.class, java.lang.String.class
1379 };
1380 private static final Class<?>[] _updateLookAndFeelParameterTypes25 = new Class[] {
1381 long.class, boolean.class, long.class, java.lang.String.class,
1382 java.lang.String.class, java.lang.String.class, boolean.class
1383 };
1384 private static final Class<?>[] _updateNameParameterTypes26 = new Class[] {
1385 long.class, boolean.class, long.class, java.lang.String.class,
1386 java.lang.String.class
1387 };
1388 private static final Class<?>[] _updateNameParameterTypes27 = new Class[] {
1389 long.class, java.lang.String.class, java.lang.String.class
1390 };
1391 private static final Class<?>[] _updateParentLayoutIdParameterTypes28 = new Class[] {
1392 long.class, boolean.class, long.class, long.class
1393 };
1394 private static final Class<?>[] _updateParentLayoutIdParameterTypes29 = new Class[] {
1395 long.class, long.class
1396 };
1397 private static final Class<?>[] _updatePriorityParameterTypes30 = new Class[] {
1398 long.class, boolean.class, long.class, int.class
1399 };
1400 private static final Class<?>[] _updatePriorityParameterTypes31 = new Class[] {
1401 long.class, int.class
1402 };
1403 }