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
052 public class LayoutServiceHttp {
053 public static com.liferay.portal.model.Layout addLayout(
054 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
055 long parentLayoutId,
056 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
057 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
058 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
059 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
060 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
061 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
062 com.liferay.portal.service.ServiceContext serviceContext)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 try {
066 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
067 "addLayout", _addLayoutParameterTypes0);
068
069 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
070 privateLayout, parentLayoutId, localeNamesMap,
071 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
072 type, hidden, friendlyURL, serviceContext);
073
074 Object returnObj = null;
075
076 try {
077 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
078 }
079 catch (Exception e) {
080 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
081 throw (com.liferay.portal.kernel.exception.PortalException)e;
082 }
083
084 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
085 throw (com.liferay.portal.kernel.exception.SystemException)e;
086 }
087
088 throw new com.liferay.portal.kernel.exception.SystemException(e);
089 }
090
091 return (com.liferay.portal.model.Layout)returnObj;
092 }
093 catch (com.liferay.portal.kernel.exception.SystemException se) {
094 _log.error(se, se);
095
096 throw se;
097 }
098 }
099
100 public static com.liferay.portal.model.Layout addLayout(
101 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
102 long parentLayoutId,
103 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
104 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
105 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
106 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
107 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
108 java.lang.String type, java.lang.String typeSettings, boolean hidden,
109 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
110 com.liferay.portal.service.ServiceContext serviceContext)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 try {
114 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
115 "addLayout", _addLayoutParameterTypes1);
116
117 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
118 privateLayout, parentLayoutId, localeNamesMap,
119 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
120 type, typeSettings, hidden, friendlyURLMap, serviceContext);
121
122 Object returnObj = null;
123
124 try {
125 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
126 }
127 catch (Exception e) {
128 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
129 throw (com.liferay.portal.kernel.exception.PortalException)e;
130 }
131
132 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
133 throw (com.liferay.portal.kernel.exception.SystemException)e;
134 }
135
136 throw new com.liferay.portal.kernel.exception.SystemException(e);
137 }
138
139 return (com.liferay.portal.model.Layout)returnObj;
140 }
141 catch (com.liferay.portal.kernel.exception.SystemException se) {
142 _log.error(se, se);
143
144 throw se;
145 }
146 }
147
148 public static com.liferay.portal.model.Layout addLayout(
149 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
150 long parentLayoutId, java.lang.String name, java.lang.String title,
151 java.lang.String description, java.lang.String type, boolean hidden,
152 java.lang.String friendlyURL,
153 com.liferay.portal.service.ServiceContext serviceContext)
154 throws com.liferay.portal.kernel.exception.PortalException,
155 com.liferay.portal.kernel.exception.SystemException {
156 try {
157 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
158 "addLayout", _addLayoutParameterTypes2);
159
160 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
161 privateLayout, parentLayoutId, name, title, description,
162 type, hidden, friendlyURL, serviceContext);
163
164 Object returnObj = null;
165
166 try {
167 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
168 }
169 catch (Exception e) {
170 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
171 throw (com.liferay.portal.kernel.exception.PortalException)e;
172 }
173
174 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
175 throw (com.liferay.portal.kernel.exception.SystemException)e;
176 }
177
178 throw new com.liferay.portal.kernel.exception.SystemException(e);
179 }
180
181 return (com.liferay.portal.model.Layout)returnObj;
182 }
183 catch (com.liferay.portal.kernel.exception.SystemException se) {
184 _log.error(se, se);
185
186 throw se;
187 }
188 }
189
190 public static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(
191 HttpPrincipal httpPrincipal, long groupId, java.lang.String fileName,
192 java.lang.String tempFolderName, java.io.InputStream inputStream,
193 java.lang.String mimeType)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 try {
197 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
198 "addTempFileEntry", _addTempFileEntryParameterTypes3);
199
200 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
201 fileName, tempFolderName, inputStream, mimeType);
202
203 Object returnObj = null;
204
205 try {
206 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
207 }
208 catch (Exception e) {
209 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
210 throw (com.liferay.portal.kernel.exception.PortalException)e;
211 }
212
213 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
214 throw (com.liferay.portal.kernel.exception.SystemException)e;
215 }
216
217 throw new com.liferay.portal.kernel.exception.SystemException(e);
218 }
219
220 return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
221 }
222 catch (com.liferay.portal.kernel.exception.SystemException se) {
223 _log.error(se, se);
224
225 throw se;
226 }
227 }
228
229 public static void deleteLayout(HttpPrincipal httpPrincipal, long groupId,
230 boolean privateLayout, long layoutId,
231 com.liferay.portal.service.ServiceContext serviceContext)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException {
234 try {
235 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
236 "deleteLayout", _deleteLayoutParameterTypes4);
237
238 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
239 privateLayout, layoutId, serviceContext);
240
241 try {
242 TunnelUtil.invoke(httpPrincipal, methodHandler);
243 }
244 catch (Exception e) {
245 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
246 throw (com.liferay.portal.kernel.exception.PortalException)e;
247 }
248
249 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
250 throw (com.liferay.portal.kernel.exception.SystemException)e;
251 }
252
253 throw new com.liferay.portal.kernel.exception.SystemException(e);
254 }
255 }
256 catch (com.liferay.portal.kernel.exception.SystemException se) {
257 _log.error(se, se);
258
259 throw se;
260 }
261 }
262
263 public static void deleteLayout(HttpPrincipal httpPrincipal, long plid,
264 com.liferay.portal.service.ServiceContext serviceContext)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 try {
268 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
269 "deleteLayout", _deleteLayoutParameterTypes5);
270
271 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
272 serviceContext);
273
274 try {
275 TunnelUtil.invoke(httpPrincipal, methodHandler);
276 }
277 catch (Exception e) {
278 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
279 throw (com.liferay.portal.kernel.exception.PortalException)e;
280 }
281
282 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
283 throw (com.liferay.portal.kernel.exception.SystemException)e;
284 }
285
286 throw new com.liferay.portal.kernel.exception.SystemException(e);
287 }
288 }
289 catch (com.liferay.portal.kernel.exception.SystemException se) {
290 _log.error(se, se);
291
292 throw se;
293 }
294 }
295
296 public static void deleteTempFileEntry(HttpPrincipal httpPrincipal,
297 long groupId, java.lang.String fileName, java.lang.String tempFolderName)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 try {
301 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
302 "deleteTempFileEntry", _deleteTempFileEntryParameterTypes6);
303
304 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
305 fileName, tempFolderName);
306
307 try {
308 TunnelUtil.invoke(httpPrincipal, methodHandler);
309 }
310 catch (Exception e) {
311 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
312 throw (com.liferay.portal.kernel.exception.PortalException)e;
313 }
314
315 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
316 throw (com.liferay.portal.kernel.exception.SystemException)e;
317 }
318
319 throw new com.liferay.portal.kernel.exception.SystemException(e);
320 }
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[] exportLayouts(HttpPrincipal httpPrincipal,
330 long groupId, boolean privateLayout, long[] layoutIds,
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,
337 "exportLayouts", _exportLayoutsParameterTypes7);
338
339 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
340 privateLayout, layoutIds, 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 byte[] exportLayouts(HttpPrincipal httpPrincipal,
369 long groupId, boolean privateLayout,
370 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
371 java.util.Date startDate, java.util.Date endDate)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 try {
375 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
376 "exportLayouts", _exportLayoutsParameterTypes8);
377
378 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
379 privateLayout, parameterMap, startDate, endDate);
380
381 Object returnObj = null;
382
383 try {
384 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
385 }
386 catch (Exception e) {
387 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
388 throw (com.liferay.portal.kernel.exception.PortalException)e;
389 }
390
391 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
392 throw (com.liferay.portal.kernel.exception.SystemException)e;
393 }
394
395 throw new com.liferay.portal.kernel.exception.SystemException(e);
396 }
397
398 return (byte[])returnObj;
399 }
400 catch (com.liferay.portal.kernel.exception.SystemException se) {
401 _log.error(se, se);
402
403 throw se;
404 }
405 }
406
407 public static java.io.File exportLayoutsAsFile(
408 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
409 long[] layoutIds,
410 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
411 java.util.Date startDate, java.util.Date endDate)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 try {
415 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
416 "exportLayoutsAsFile", _exportLayoutsAsFileParameterTypes9);
417
418 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
419 privateLayout, layoutIds, parameterMap, startDate, endDate);
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 (java.io.File)returnObj;
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 long exportLayoutsAsFileInBackground(
448 HttpPrincipal httpPrincipal, java.lang.String taskName, long groupId,
449 boolean privateLayout, long[] layoutIds,
450 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
451 java.util.Date startDate, java.util.Date endDate,
452 java.lang.String fileName)
453 throws com.liferay.portal.kernel.exception.PortalException,
454 com.liferay.portal.kernel.exception.SystemException {
455 try {
456 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
457 "exportLayoutsAsFileInBackground",
458 _exportLayoutsAsFileInBackgroundParameterTypes10);
459
460 MethodHandler methodHandler = new MethodHandler(methodKey,
461 taskName, groupId, privateLayout, layoutIds, parameterMap,
462 startDate, endDate, fileName);
463
464 Object returnObj = null;
465
466 try {
467 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
468 }
469 catch (Exception e) {
470 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
471 throw (com.liferay.portal.kernel.exception.PortalException)e;
472 }
473
474 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
475 throw (com.liferay.portal.kernel.exception.SystemException)e;
476 }
477
478 throw new com.liferay.portal.kernel.exception.SystemException(e);
479 }
480
481 return ((Long)returnObj).longValue();
482 }
483 catch (com.liferay.portal.kernel.exception.SystemException se) {
484 _log.error(se, se);
485
486 throw se;
487 }
488 }
489
490 public static byte[] exportPortletInfo(HttpPrincipal httpPrincipal,
491 long plid, long groupId, java.lang.String portletId,
492 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
493 java.util.Date startDate, java.util.Date endDate)
494 throws com.liferay.portal.kernel.exception.PortalException,
495 com.liferay.portal.kernel.exception.SystemException {
496 try {
497 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
498 "exportPortletInfo", _exportPortletInfoParameterTypes11);
499
500 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
501 groupId, portletId, parameterMap, startDate, endDate);
502
503 Object returnObj = null;
504
505 try {
506 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
507 }
508 catch (Exception e) {
509 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
510 throw (com.liferay.portal.kernel.exception.PortalException)e;
511 }
512
513 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
514 throw (com.liferay.portal.kernel.exception.SystemException)e;
515 }
516
517 throw new com.liferay.portal.kernel.exception.SystemException(e);
518 }
519
520 return (byte[])returnObj;
521 }
522 catch (com.liferay.portal.kernel.exception.SystemException se) {
523 _log.error(se, se);
524
525 throw se;
526 }
527 }
528
529 public static byte[] exportPortletInfo(HttpPrincipal httpPrincipal,
530 long companyId, java.lang.String portletId,
531 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
532 java.util.Date startDate, java.util.Date endDate)
533 throws com.liferay.portal.kernel.exception.PortalException,
534 com.liferay.portal.kernel.exception.SystemException {
535 try {
536 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
537 "exportPortletInfo", _exportPortletInfoParameterTypes12);
538
539 MethodHandler methodHandler = new MethodHandler(methodKey,
540 companyId, portletId, parameterMap, startDate, endDate);
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 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
553 throw (com.liferay.portal.kernel.exception.SystemException)e;
554 }
555
556 throw new com.liferay.portal.kernel.exception.SystemException(e);
557 }
558
559 return (byte[])returnObj;
560 }
561 catch (com.liferay.portal.kernel.exception.SystemException se) {
562 _log.error(se, se);
563
564 throw se;
565 }
566 }
567
568 public static java.io.File exportPortletInfoAsFile(
569 HttpPrincipal httpPrincipal, long plid, long groupId,
570 java.lang.String portletId,
571 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
572 java.util.Date startDate, java.util.Date endDate)
573 throws com.liferay.portal.kernel.exception.PortalException,
574 com.liferay.portal.kernel.exception.SystemException {
575 try {
576 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
577 "exportPortletInfoAsFile",
578 _exportPortletInfoAsFileParameterTypes13);
579
580 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
581 groupId, portletId, parameterMap, startDate, endDate);
582
583 Object returnObj = null;
584
585 try {
586 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
587 }
588 catch (Exception e) {
589 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
590 throw (com.liferay.portal.kernel.exception.PortalException)e;
591 }
592
593 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
594 throw (com.liferay.portal.kernel.exception.SystemException)e;
595 }
596
597 throw new com.liferay.portal.kernel.exception.SystemException(e);
598 }
599
600 return (java.io.File)returnObj;
601 }
602 catch (com.liferay.portal.kernel.exception.SystemException se) {
603 _log.error(se, se);
604
605 throw se;
606 }
607 }
608
609 public static java.io.File exportPortletInfoAsFile(
610 HttpPrincipal httpPrincipal, java.lang.String portletId,
611 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
612 java.util.Date startDate, java.util.Date endDate)
613 throws com.liferay.portal.kernel.exception.PortalException,
614 com.liferay.portal.kernel.exception.SystemException {
615 try {
616 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
617 "exportPortletInfoAsFile",
618 _exportPortletInfoAsFileParameterTypes14);
619
620 MethodHandler methodHandler = new MethodHandler(methodKey,
621 portletId, parameterMap, startDate, endDate);
622
623 Object returnObj = null;
624
625 try {
626 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
627 }
628 catch (Exception e) {
629 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
630 throw (com.liferay.portal.kernel.exception.PortalException)e;
631 }
632
633 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
634 throw (com.liferay.portal.kernel.exception.SystemException)e;
635 }
636
637 throw new com.liferay.portal.kernel.exception.SystemException(e);
638 }
639
640 return (java.io.File)returnObj;
641 }
642 catch (com.liferay.portal.kernel.exception.SystemException se) {
643 _log.error(se, se);
644
645 throw se;
646 }
647 }
648
649 public static long exportPortletInfoAsFileInBackground(
650 HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
651 long groupId, java.lang.String portletId,
652 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
653 java.util.Date startDate, java.util.Date endDate,
654 java.lang.String fileName)
655 throws com.liferay.portal.kernel.exception.PortalException,
656 com.liferay.portal.kernel.exception.SystemException {
657 try {
658 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
659 "exportPortletInfoAsFileInBackground",
660 _exportPortletInfoAsFileInBackgroundParameterTypes15);
661
662 MethodHandler methodHandler = new MethodHandler(methodKey,
663 taskName, plid, groupId, portletId, parameterMap,
664 startDate, endDate, fileName);
665
666 Object returnObj = null;
667
668 try {
669 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
670 }
671 catch (Exception e) {
672 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
673 throw (com.liferay.portal.kernel.exception.PortalException)e;
674 }
675
676 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
677 throw (com.liferay.portal.kernel.exception.SystemException)e;
678 }
679
680 throw new com.liferay.portal.kernel.exception.SystemException(e);
681 }
682
683 return ((Long)returnObj).longValue();
684 }
685 catch (com.liferay.portal.kernel.exception.SystemException se) {
686 _log.error(se, se);
687
688 throw se;
689 }
690 }
691
692 public static long exportPortletInfoAsFileInBackground(
693 HttpPrincipal httpPrincipal, java.lang.String taskName,
694 java.lang.String portletId,
695 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
696 java.util.Date startDate, java.util.Date endDate,
697 java.lang.String fileName)
698 throws com.liferay.portal.kernel.exception.PortalException,
699 com.liferay.portal.kernel.exception.SystemException {
700 try {
701 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
702 "exportPortletInfoAsFileInBackground",
703 _exportPortletInfoAsFileInBackgroundParameterTypes16);
704
705 MethodHandler methodHandler = new MethodHandler(methodKey,
706 taskName, portletId, parameterMap, startDate, endDate,
707 fileName);
708
709 Object returnObj = null;
710
711 try {
712 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
713 }
714 catch (Exception e) {
715 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
716 throw (com.liferay.portal.kernel.exception.PortalException)e;
717 }
718
719 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
720 throw (com.liferay.portal.kernel.exception.SystemException)e;
721 }
722
723 throw new com.liferay.portal.kernel.exception.SystemException(e);
724 }
725
726 return ((Long)returnObj).longValue();
727 }
728 catch (com.liferay.portal.kernel.exception.SystemException se) {
729 _log.error(se, se);
730
731 throw se;
732 }
733 }
734
735 public static java.util.List<com.liferay.portal.model.Layout> getAncestorLayouts(
736 HttpPrincipal httpPrincipal, long plid)
737 throws com.liferay.portal.kernel.exception.PortalException,
738 com.liferay.portal.kernel.exception.SystemException {
739 try {
740 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
741 "getAncestorLayouts", _getAncestorLayoutsParameterTypes17);
742
743 MethodHandler methodHandler = new MethodHandler(methodKey, plid);
744
745 Object returnObj = null;
746
747 try {
748 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
749 }
750 catch (Exception e) {
751 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
752 throw (com.liferay.portal.kernel.exception.PortalException)e;
753 }
754
755 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
756 throw (com.liferay.portal.kernel.exception.SystemException)e;
757 }
758
759 throw new com.liferay.portal.kernel.exception.SystemException(e);
760 }
761
762 return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
763 }
764 catch (com.liferay.portal.kernel.exception.SystemException se) {
765 _log.error(se, se);
766
767 throw se;
768 }
769 }
770
771 public static long getDefaultPlid(HttpPrincipal httpPrincipal,
772 long groupId, long scopeGroupId, boolean privateLayout,
773 java.lang.String portletId)
774 throws com.liferay.portal.kernel.exception.PortalException,
775 com.liferay.portal.kernel.exception.SystemException {
776 try {
777 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
778 "getDefaultPlid", _getDefaultPlidParameterTypes18);
779
780 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
781 scopeGroupId, privateLayout, portletId);
782
783 Object returnObj = null;
784
785 try {
786 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
787 }
788 catch (Exception e) {
789 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
790 throw (com.liferay.portal.kernel.exception.PortalException)e;
791 }
792
793 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
794 throw (com.liferay.portal.kernel.exception.SystemException)e;
795 }
796
797 throw new com.liferay.portal.kernel.exception.SystemException(e);
798 }
799
800 return ((Long)returnObj).longValue();
801 }
802 catch (com.liferay.portal.kernel.exception.SystemException se) {
803 _log.error(se, se);
804
805 throw se;
806 }
807 }
808
809 public static long getDefaultPlid(HttpPrincipal httpPrincipal,
810 long groupId, long scopeGroupId, java.lang.String portletId)
811 throws com.liferay.portal.kernel.exception.PortalException,
812 com.liferay.portal.kernel.exception.SystemException {
813 try {
814 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
815 "getDefaultPlid", _getDefaultPlidParameterTypes19);
816
817 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
818 scopeGroupId, portletId);
819
820 Object returnObj = null;
821
822 try {
823 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
824 }
825 catch (Exception e) {
826 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
827 throw (com.liferay.portal.kernel.exception.PortalException)e;
828 }
829
830 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
831 throw (com.liferay.portal.kernel.exception.SystemException)e;
832 }
833
834 throw new com.liferay.portal.kernel.exception.SystemException(e);
835 }
836
837 return ((Long)returnObj).longValue();
838 }
839 catch (com.liferay.portal.kernel.exception.SystemException se) {
840 _log.error(se, se);
841
842 throw se;
843 }
844 }
845
846 public static com.liferay.portal.model.Layout getLayoutByUuidAndGroupId(
847 HttpPrincipal httpPrincipal, java.lang.String uuid, long groupId,
848 boolean privateLayout)
849 throws com.liferay.portal.kernel.exception.PortalException,
850 com.liferay.portal.kernel.exception.SystemException {
851 try {
852 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
853 "getLayoutByUuidAndGroupId",
854 _getLayoutByUuidAndGroupIdParameterTypes20);
855
856 MethodHandler methodHandler = new MethodHandler(methodKey, uuid,
857 groupId, privateLayout);
858
859 Object returnObj = null;
860
861 try {
862 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
863 }
864 catch (Exception e) {
865 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
866 throw (com.liferay.portal.kernel.exception.PortalException)e;
867 }
868
869 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
870 throw (com.liferay.portal.kernel.exception.SystemException)e;
871 }
872
873 throw new com.liferay.portal.kernel.exception.SystemException(e);
874 }
875
876 return (com.liferay.portal.model.Layout)returnObj;
877 }
878 catch (com.liferay.portal.kernel.exception.SystemException se) {
879 _log.error(se, se);
880
881 throw se;
882 }
883 }
884
885 public static java.lang.String getLayoutName(HttpPrincipal httpPrincipal,
886 long groupId, boolean privateLayout, long layoutId,
887 java.lang.String languageId)
888 throws com.liferay.portal.kernel.exception.PortalException,
889 com.liferay.portal.kernel.exception.SystemException {
890 try {
891 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
892 "getLayoutName", _getLayoutNameParameterTypes21);
893
894 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
895 privateLayout, layoutId, languageId);
896
897 Object returnObj = null;
898
899 try {
900 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
901 }
902 catch (Exception e) {
903 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
904 throw (com.liferay.portal.kernel.exception.PortalException)e;
905 }
906
907 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
908 throw (com.liferay.portal.kernel.exception.SystemException)e;
909 }
910
911 throw new com.liferay.portal.kernel.exception.SystemException(e);
912 }
913
914 return (java.lang.String)returnObj;
915 }
916 catch (com.liferay.portal.kernel.exception.SystemException se) {
917 _log.error(se, se);
918
919 throw se;
920 }
921 }
922
923 public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
924 HttpPrincipal httpPrincipal, long companyId,
925 java.lang.String portletId, java.lang.String preferencesKey,
926 java.lang.String preferencesValue)
927 throws com.liferay.portal.kernel.exception.SystemException {
928 try {
929 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
930 "getLayoutReferences", _getLayoutReferencesParameterTypes22);
931
932 MethodHandler methodHandler = new MethodHandler(methodKey,
933 companyId, portletId, preferencesKey, preferencesValue);
934
935 Object returnObj = null;
936
937 try {
938 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
939 }
940 catch (Exception e) {
941 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
942 throw (com.liferay.portal.kernel.exception.SystemException)e;
943 }
944
945 throw new com.liferay.portal.kernel.exception.SystemException(e);
946 }
947
948 return (com.liferay.portal.model.LayoutReference[])returnObj;
949 }
950 catch (com.liferay.portal.kernel.exception.SystemException se) {
951 _log.error(se, se);
952
953 throw se;
954 }
955 }
956
957 public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
958 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout)
959 throws com.liferay.portal.kernel.exception.SystemException {
960 try {
961 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
962 "getLayouts", _getLayoutsParameterTypes23);
963
964 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
965 privateLayout);
966
967 Object returnObj = null;
968
969 try {
970 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
971 }
972 catch (Exception e) {
973 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
974 throw (com.liferay.portal.kernel.exception.SystemException)e;
975 }
976
977 throw new com.liferay.portal.kernel.exception.SystemException(e);
978 }
979
980 return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
981 }
982 catch (com.liferay.portal.kernel.exception.SystemException se) {
983 _log.error(se, se);
984
985 throw se;
986 }
987 }
988
989 public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
990 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
991 long parentLayoutId)
992 throws com.liferay.portal.kernel.exception.SystemException {
993 try {
994 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
995 "getLayouts", _getLayoutsParameterTypes24);
996
997 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
998 privateLayout, parentLayoutId);
999
1000 Object returnObj = null;
1001
1002 try {
1003 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1004 }
1005 catch (Exception e) {
1006 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1007 throw (com.liferay.portal.kernel.exception.SystemException)e;
1008 }
1009
1010 throw new com.liferay.portal.kernel.exception.SystemException(e);
1011 }
1012
1013 return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
1014 }
1015 catch (com.liferay.portal.kernel.exception.SystemException se) {
1016 _log.error(se, se);
1017
1018 throw se;
1019 }
1020 }
1021
1022 public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
1023 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1024 long parentLayoutId, boolean incomplete, int start, int end)
1025 throws com.liferay.portal.kernel.exception.PortalException,
1026 com.liferay.portal.kernel.exception.SystemException {
1027 try {
1028 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1029 "getLayouts", _getLayoutsParameterTypes25);
1030
1031 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1032 privateLayout, parentLayoutId, incomplete, start, end);
1033
1034 Object returnObj = null;
1035
1036 try {
1037 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1038 }
1039 catch (Exception e) {
1040 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1041 throw (com.liferay.portal.kernel.exception.PortalException)e;
1042 }
1043
1044 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1045 throw (com.liferay.portal.kernel.exception.SystemException)e;
1046 }
1047
1048 throw new com.liferay.portal.kernel.exception.SystemException(e);
1049 }
1050
1051 return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
1052 }
1053 catch (com.liferay.portal.kernel.exception.SystemException se) {
1054 _log.error(se, se);
1055
1056 throw se;
1057 }
1058 }
1059
1060 public static int getLayoutsCount(HttpPrincipal httpPrincipal,
1061 long groupId, boolean privateLayout, long parentLayoutId)
1062 throws com.liferay.portal.kernel.exception.SystemException {
1063 try {
1064 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1065 "getLayoutsCount", _getLayoutsCountParameterTypes26);
1066
1067 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1068 privateLayout, parentLayoutId);
1069
1070 Object returnObj = null;
1071
1072 try {
1073 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1074 }
1075 catch (Exception e) {
1076 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1077 throw (com.liferay.portal.kernel.exception.SystemException)e;
1078 }
1079
1080 throw new com.liferay.portal.kernel.exception.SystemException(e);
1081 }
1082
1083 return ((Integer)returnObj).intValue();
1084 }
1085 catch (com.liferay.portal.kernel.exception.SystemException se) {
1086 _log.error(se, se);
1087
1088 throw se;
1089 }
1090 }
1091
1092 public static java.lang.String[] getTempFileEntryNames(
1093 HttpPrincipal httpPrincipal, long groupId,
1094 java.lang.String tempFolderName)
1095 throws com.liferay.portal.kernel.exception.PortalException,
1096 com.liferay.portal.kernel.exception.SystemException {
1097 try {
1098 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1099 "getTempFileEntryNames",
1100 _getTempFileEntryNamesParameterTypes27);
1101
1102 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1103 tempFolderName);
1104
1105 Object returnObj = null;
1106
1107 try {
1108 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1109 }
1110 catch (Exception e) {
1111 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1112 throw (com.liferay.portal.kernel.exception.PortalException)e;
1113 }
1114
1115 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1116 throw (com.liferay.portal.kernel.exception.SystemException)e;
1117 }
1118
1119 throw new com.liferay.portal.kernel.exception.SystemException(e);
1120 }
1121
1122 return (java.lang.String[])returnObj;
1123 }
1124 catch (com.liferay.portal.kernel.exception.SystemException se) {
1125 _log.error(se, se);
1126
1127 throw se;
1128 }
1129 }
1130
1131 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1132 boolean privateLayout,
1133 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1134 byte[] bytes)
1135 throws com.liferay.portal.kernel.exception.PortalException,
1136 com.liferay.portal.kernel.exception.SystemException {
1137 try {
1138 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1139 "importLayouts", _importLayoutsParameterTypes28);
1140
1141 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1142 privateLayout, parameterMap, bytes);
1143
1144 try {
1145 TunnelUtil.invoke(httpPrincipal, methodHandler);
1146 }
1147 catch (Exception e) {
1148 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1149 throw (com.liferay.portal.kernel.exception.PortalException)e;
1150 }
1151
1152 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1153 throw (com.liferay.portal.kernel.exception.SystemException)e;
1154 }
1155
1156 throw new com.liferay.portal.kernel.exception.SystemException(e);
1157 }
1158 }
1159 catch (com.liferay.portal.kernel.exception.SystemException se) {
1160 _log.error(se, se);
1161
1162 throw se;
1163 }
1164 }
1165
1166 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1167 boolean privateLayout,
1168 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1169 java.io.File file)
1170 throws com.liferay.portal.kernel.exception.PortalException,
1171 com.liferay.portal.kernel.exception.SystemException {
1172 try {
1173 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1174 "importLayouts", _importLayoutsParameterTypes29);
1175
1176 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1177 privateLayout, parameterMap, file);
1178
1179 try {
1180 TunnelUtil.invoke(httpPrincipal, methodHandler);
1181 }
1182 catch (Exception e) {
1183 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1184 throw (com.liferay.portal.kernel.exception.PortalException)e;
1185 }
1186
1187 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1188 throw (com.liferay.portal.kernel.exception.SystemException)e;
1189 }
1190
1191 throw new com.liferay.portal.kernel.exception.SystemException(e);
1192 }
1193 }
1194 catch (com.liferay.portal.kernel.exception.SystemException se) {
1195 _log.error(se, se);
1196
1197 throw se;
1198 }
1199 }
1200
1201 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1202 boolean privateLayout,
1203 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1204 java.io.InputStream is)
1205 throws com.liferay.portal.kernel.exception.PortalException,
1206 com.liferay.portal.kernel.exception.SystemException {
1207 try {
1208 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1209 "importLayouts", _importLayoutsParameterTypes30);
1210
1211 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1212 privateLayout, parameterMap, is);
1213
1214 try {
1215 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 catch (com.liferay.portal.kernel.exception.SystemException se) {
1230 _log.error(se, se);
1231
1232 throw se;
1233 }
1234 }
1235
1236 public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
1237 java.lang.String taskName, long groupId, boolean privateLayout,
1238 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1239 java.io.File file)
1240 throws com.liferay.portal.kernel.exception.PortalException,
1241 com.liferay.portal.kernel.exception.SystemException {
1242 try {
1243 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1244 "importLayoutsInBackground",
1245 _importLayoutsInBackgroundParameterTypes31);
1246
1247 MethodHandler methodHandler = new MethodHandler(methodKey,
1248 taskName, groupId, privateLayout, parameterMap, file);
1249
1250 Object returnObj = null;
1251
1252 try {
1253 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1254 }
1255 catch (Exception e) {
1256 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1257 throw (com.liferay.portal.kernel.exception.PortalException)e;
1258 }
1259
1260 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1261 throw (com.liferay.portal.kernel.exception.SystemException)e;
1262 }
1263
1264 throw new com.liferay.portal.kernel.exception.SystemException(e);
1265 }
1266
1267 return ((Long)returnObj).longValue();
1268 }
1269 catch (com.liferay.portal.kernel.exception.SystemException se) {
1270 _log.error(se, se);
1271
1272 throw se;
1273 }
1274 }
1275
1276 public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
1277 java.lang.String taskName, long groupId, boolean privateLayout,
1278 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1279 java.io.InputStream inputStream)
1280 throws com.liferay.portal.kernel.exception.PortalException,
1281 com.liferay.portal.kernel.exception.SystemException {
1282 try {
1283 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1284 "importLayoutsInBackground",
1285 _importLayoutsInBackgroundParameterTypes32);
1286
1287 MethodHandler methodHandler = new MethodHandler(methodKey,
1288 taskName, groupId, privateLayout, parameterMap, inputStream);
1289
1290 Object returnObj = null;
1291
1292 try {
1293 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1294 }
1295 catch (Exception e) {
1296 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1297 throw (com.liferay.portal.kernel.exception.PortalException)e;
1298 }
1299
1300 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1301 throw (com.liferay.portal.kernel.exception.SystemException)e;
1302 }
1303
1304 throw new com.liferay.portal.kernel.exception.SystemException(e);
1305 }
1306
1307 return ((Long)returnObj).longValue();
1308 }
1309 catch (com.liferay.portal.kernel.exception.SystemException se) {
1310 _log.error(se, se);
1311
1312 throw se;
1313 }
1314 }
1315
1316 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1317 long plid, long groupId, java.lang.String portletId,
1318 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1319 java.io.File file)
1320 throws com.liferay.portal.kernel.exception.PortalException,
1321 com.liferay.portal.kernel.exception.SystemException {
1322 try {
1323 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1324 "importPortletInfo", _importPortletInfoParameterTypes33);
1325
1326 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1327 groupId, portletId, parameterMap, file);
1328
1329 try {
1330 TunnelUtil.invoke(httpPrincipal, methodHandler);
1331 }
1332 catch (Exception e) {
1333 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1334 throw (com.liferay.portal.kernel.exception.PortalException)e;
1335 }
1336
1337 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1338 throw (com.liferay.portal.kernel.exception.SystemException)e;
1339 }
1340
1341 throw new com.liferay.portal.kernel.exception.SystemException(e);
1342 }
1343 }
1344 catch (com.liferay.portal.kernel.exception.SystemException se) {
1345 _log.error(se, se);
1346
1347 throw se;
1348 }
1349 }
1350
1351 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1352 long plid, long groupId, java.lang.String portletId,
1353 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1354 java.io.InputStream is)
1355 throws com.liferay.portal.kernel.exception.PortalException,
1356 com.liferay.portal.kernel.exception.SystemException {
1357 try {
1358 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1359 "importPortletInfo", _importPortletInfoParameterTypes34);
1360
1361 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1362 groupId, portletId, parameterMap, is);
1363
1364 try {
1365 TunnelUtil.invoke(httpPrincipal, methodHandler);
1366 }
1367 catch (Exception e) {
1368 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1369 throw (com.liferay.portal.kernel.exception.PortalException)e;
1370 }
1371
1372 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1373 throw (com.liferay.portal.kernel.exception.SystemException)e;
1374 }
1375
1376 throw new com.liferay.portal.kernel.exception.SystemException(e);
1377 }
1378 }
1379 catch (com.liferay.portal.kernel.exception.SystemException se) {
1380 _log.error(se, se);
1381
1382 throw se;
1383 }
1384 }
1385
1386 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1387 java.lang.String portletId,
1388 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1389 java.io.File file)
1390 throws com.liferay.portal.kernel.exception.PortalException,
1391 com.liferay.portal.kernel.exception.SystemException {
1392 try {
1393 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1394 "importPortletInfo", _importPortletInfoParameterTypes35);
1395
1396 MethodHandler methodHandler = new MethodHandler(methodKey,
1397 portletId, parameterMap, file);
1398
1399 try {
1400 TunnelUtil.invoke(httpPrincipal, methodHandler);
1401 }
1402 catch (Exception e) {
1403 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1404 throw (com.liferay.portal.kernel.exception.PortalException)e;
1405 }
1406
1407 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1408 throw (com.liferay.portal.kernel.exception.SystemException)e;
1409 }
1410
1411 throw new com.liferay.portal.kernel.exception.SystemException(e);
1412 }
1413 }
1414 catch (com.liferay.portal.kernel.exception.SystemException se) {
1415 _log.error(se, se);
1416
1417 throw se;
1418 }
1419 }
1420
1421 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1422 java.lang.String portletId,
1423 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1424 java.io.InputStream is)
1425 throws com.liferay.portal.kernel.exception.PortalException,
1426 com.liferay.portal.kernel.exception.SystemException {
1427 try {
1428 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1429 "importPortletInfo", _importPortletInfoParameterTypes36);
1430
1431 MethodHandler methodHandler = new MethodHandler(methodKey,
1432 portletId, parameterMap, is);
1433
1434 try {
1435 TunnelUtil.invoke(httpPrincipal, methodHandler);
1436 }
1437 catch (Exception e) {
1438 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1439 throw (com.liferay.portal.kernel.exception.PortalException)e;
1440 }
1441
1442 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1443 throw (com.liferay.portal.kernel.exception.SystemException)e;
1444 }
1445
1446 throw new com.liferay.portal.kernel.exception.SystemException(e);
1447 }
1448 }
1449 catch (com.liferay.portal.kernel.exception.SystemException se) {
1450 _log.error(se, se);
1451
1452 throw se;
1453 }
1454 }
1455
1456 public static long importPortletInfoInBackground(
1457 HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1458 long groupId, java.lang.String portletId,
1459 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1460 java.io.File file)
1461 throws com.liferay.portal.kernel.exception.PortalException,
1462 com.liferay.portal.kernel.exception.SystemException {
1463 try {
1464 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1465 "importPortletInfoInBackground",
1466 _importPortletInfoInBackgroundParameterTypes37);
1467
1468 MethodHandler methodHandler = new MethodHandler(methodKey,
1469 taskName, plid, groupId, portletId, parameterMap, file);
1470
1471 Object returnObj = null;
1472
1473 try {
1474 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1475 }
1476 catch (Exception e) {
1477 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1478 throw (com.liferay.portal.kernel.exception.PortalException)e;
1479 }
1480
1481 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1482 throw (com.liferay.portal.kernel.exception.SystemException)e;
1483 }
1484
1485 throw new com.liferay.portal.kernel.exception.SystemException(e);
1486 }
1487
1488 return ((Long)returnObj).longValue();
1489 }
1490 catch (com.liferay.portal.kernel.exception.SystemException se) {
1491 _log.error(se, se);
1492
1493 throw se;
1494 }
1495 }
1496
1497 public static long importPortletInfoInBackground(
1498 HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1499 long groupId, java.lang.String portletId,
1500 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1501 java.io.InputStream is)
1502 throws com.liferay.portal.kernel.exception.PortalException,
1503 com.liferay.portal.kernel.exception.SystemException {
1504 try {
1505 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1506 "importPortletInfoInBackground",
1507 _importPortletInfoInBackgroundParameterTypes38);
1508
1509 MethodHandler methodHandler = new MethodHandler(methodKey,
1510 taskName, plid, groupId, portletId, parameterMap, is);
1511
1512 Object returnObj = null;
1513
1514 try {
1515 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1516 }
1517 catch (Exception e) {
1518 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1519 throw (com.liferay.portal.kernel.exception.PortalException)e;
1520 }
1521
1522 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1523 throw (com.liferay.portal.kernel.exception.SystemException)e;
1524 }
1525
1526 throw new com.liferay.portal.kernel.exception.SystemException(e);
1527 }
1528
1529 return ((Long)returnObj).longValue();
1530 }
1531 catch (com.liferay.portal.kernel.exception.SystemException se) {
1532 _log.error(se, se);
1533
1534 throw se;
1535 }
1536 }
1537
1538 public static void importPortletInfoInBackground(
1539 HttpPrincipal httpPrincipal, java.lang.String taskName,
1540 java.lang.String portletId,
1541 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1542 java.io.File file)
1543 throws com.liferay.portal.kernel.exception.PortalException,
1544 com.liferay.portal.kernel.exception.SystemException {
1545 try {
1546 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1547 "importPortletInfoInBackground",
1548 _importPortletInfoInBackgroundParameterTypes39);
1549
1550 MethodHandler methodHandler = new MethodHandler(methodKey,
1551 taskName, portletId, parameterMap, file);
1552
1553 try {
1554 TunnelUtil.invoke(httpPrincipal, methodHandler);
1555 }
1556 catch (Exception e) {
1557 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1558 throw (com.liferay.portal.kernel.exception.PortalException)e;
1559 }
1560
1561 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1562 throw (com.liferay.portal.kernel.exception.SystemException)e;
1563 }
1564
1565 throw new com.liferay.portal.kernel.exception.SystemException(e);
1566 }
1567 }
1568 catch (com.liferay.portal.kernel.exception.SystemException se) {
1569 _log.error(se, se);
1570
1571 throw se;
1572 }
1573 }
1574
1575 public static void importPortletInfoInBackground(
1576 HttpPrincipal httpPrincipal, java.lang.String taskName,
1577 java.lang.String portletId,
1578 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1579 java.io.InputStream is)
1580 throws com.liferay.portal.kernel.exception.PortalException,
1581 com.liferay.portal.kernel.exception.SystemException {
1582 try {
1583 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1584 "importPortletInfoInBackground",
1585 _importPortletInfoInBackgroundParameterTypes40);
1586
1587 MethodHandler methodHandler = new MethodHandler(methodKey,
1588 taskName, portletId, parameterMap, is);
1589
1590 try {
1591 TunnelUtil.invoke(httpPrincipal, methodHandler);
1592 }
1593 catch (Exception e) {
1594 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1595 throw (com.liferay.portal.kernel.exception.PortalException)e;
1596 }
1597
1598 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1599 throw (com.liferay.portal.kernel.exception.SystemException)e;
1600 }
1601
1602 throw new com.liferay.portal.kernel.exception.SystemException(e);
1603 }
1604 }
1605 catch (com.liferay.portal.kernel.exception.SystemException se) {
1606 _log.error(se, se);
1607
1608 throw se;
1609 }
1610 }
1611
1612 public static void schedulePublishToLive(HttpPrincipal httpPrincipal,
1613 long sourceGroupId, long targetGroupId, boolean privateLayout,
1614 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1615 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1616 java.lang.String scope, java.util.Date startDate,
1617 java.util.Date endDate, java.lang.String groupName,
1618 java.lang.String cronText, java.util.Date schedulerStartDate,
1619 java.util.Date schedulerEndDate, java.lang.String description)
1620 throws com.liferay.portal.kernel.exception.PortalException,
1621 com.liferay.portal.kernel.exception.SystemException {
1622 try {
1623 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1624 "schedulePublishToLive",
1625 _schedulePublishToLiveParameterTypes41);
1626
1627 MethodHandler methodHandler = new MethodHandler(methodKey,
1628 sourceGroupId, targetGroupId, privateLayout, layoutIdMap,
1629 parameterMap, scope, startDate, endDate, groupName,
1630 cronText, schedulerStartDate, schedulerEndDate, description);
1631
1632 try {
1633 TunnelUtil.invoke(httpPrincipal, methodHandler);
1634 }
1635 catch (Exception e) {
1636 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1637 throw (com.liferay.portal.kernel.exception.PortalException)e;
1638 }
1639
1640 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1641 throw (com.liferay.portal.kernel.exception.SystemException)e;
1642 }
1643
1644 throw new com.liferay.portal.kernel.exception.SystemException(e);
1645 }
1646 }
1647 catch (com.liferay.portal.kernel.exception.SystemException se) {
1648 _log.error(se, se);
1649
1650 throw se;
1651 }
1652 }
1653
1654 public static void schedulePublishToRemote(HttpPrincipal httpPrincipal,
1655 long sourceGroupId, boolean privateLayout,
1656 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1657 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1658 java.lang.String remoteAddress, int remotePort,
1659 java.lang.String remotePathContext, boolean secureConnection,
1660 long remoteGroupId, boolean remotePrivateLayout,
1661 java.util.Date startDate, java.util.Date endDate,
1662 java.lang.String groupName, java.lang.String cronText,
1663 java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
1664 java.lang.String description)
1665 throws com.liferay.portal.kernel.exception.PortalException,
1666 com.liferay.portal.kernel.exception.SystemException {
1667 try {
1668 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1669 "schedulePublishToRemote",
1670 _schedulePublishToRemoteParameterTypes42);
1671
1672 MethodHandler methodHandler = new MethodHandler(methodKey,
1673 sourceGroupId, privateLayout, layoutIdMap, parameterMap,
1674 remoteAddress, remotePort, remotePathContext,
1675 secureConnection, remoteGroupId, remotePrivateLayout,
1676 startDate, endDate, groupName, cronText,
1677 schedulerStartDate, schedulerEndDate, description);
1678
1679 try {
1680 TunnelUtil.invoke(httpPrincipal, methodHandler);
1681 }
1682 catch (Exception e) {
1683 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1684 throw (com.liferay.portal.kernel.exception.PortalException)e;
1685 }
1686
1687 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1688 throw (com.liferay.portal.kernel.exception.SystemException)e;
1689 }
1690
1691 throw new com.liferay.portal.kernel.exception.SystemException(e);
1692 }
1693 }
1694 catch (com.liferay.portal.kernel.exception.SystemException se) {
1695 _log.error(se, se);
1696
1697 throw se;
1698 }
1699 }
1700
1701 public static void setLayouts(HttpPrincipal httpPrincipal, long groupId,
1702 boolean privateLayout, long parentLayoutId, long[] layoutIds,
1703 com.liferay.portal.service.ServiceContext serviceContext)
1704 throws com.liferay.portal.kernel.exception.PortalException,
1705 com.liferay.portal.kernel.exception.SystemException {
1706 try {
1707 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1708 "setLayouts", _setLayoutsParameterTypes43);
1709
1710 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1711 privateLayout, parentLayoutId, layoutIds, serviceContext);
1712
1713 try {
1714 TunnelUtil.invoke(httpPrincipal, methodHandler);
1715 }
1716 catch (Exception e) {
1717 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1718 throw (com.liferay.portal.kernel.exception.PortalException)e;
1719 }
1720
1721 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1722 throw (com.liferay.portal.kernel.exception.SystemException)e;
1723 }
1724
1725 throw new com.liferay.portal.kernel.exception.SystemException(e);
1726 }
1727 }
1728 catch (com.liferay.portal.kernel.exception.SystemException se) {
1729 _log.error(se, se);
1730
1731 throw se;
1732 }
1733 }
1734
1735 public static void unschedulePublishToLive(HttpPrincipal httpPrincipal,
1736 long groupId, java.lang.String jobName, java.lang.String groupName)
1737 throws com.liferay.portal.kernel.exception.PortalException,
1738 com.liferay.portal.kernel.exception.SystemException {
1739 try {
1740 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1741 "unschedulePublishToLive",
1742 _unschedulePublishToLiveParameterTypes44);
1743
1744 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1745 jobName, groupName);
1746
1747 try {
1748 TunnelUtil.invoke(httpPrincipal, methodHandler);
1749 }
1750 catch (Exception e) {
1751 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1752 throw (com.liferay.portal.kernel.exception.PortalException)e;
1753 }
1754
1755 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1756 throw (com.liferay.portal.kernel.exception.SystemException)e;
1757 }
1758
1759 throw new com.liferay.portal.kernel.exception.SystemException(e);
1760 }
1761 }
1762 catch (com.liferay.portal.kernel.exception.SystemException se) {
1763 _log.error(se, se);
1764
1765 throw se;
1766 }
1767 }
1768
1769 public static void unschedulePublishToRemote(HttpPrincipal httpPrincipal,
1770 long groupId, java.lang.String jobName, java.lang.String groupName)
1771 throws com.liferay.portal.kernel.exception.PortalException,
1772 com.liferay.portal.kernel.exception.SystemException {
1773 try {
1774 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1775 "unschedulePublishToRemote",
1776 _unschedulePublishToRemoteParameterTypes45);
1777
1778 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1779 jobName, groupName);
1780
1781 try {
1782 TunnelUtil.invoke(httpPrincipal, methodHandler);
1783 }
1784 catch (Exception e) {
1785 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1786 throw (com.liferay.portal.kernel.exception.PortalException)e;
1787 }
1788
1789 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1790 throw (com.liferay.portal.kernel.exception.SystemException)e;
1791 }
1792
1793 throw new com.liferay.portal.kernel.exception.SystemException(e);
1794 }
1795 }
1796 catch (com.liferay.portal.kernel.exception.SystemException se) {
1797 _log.error(se, se);
1798
1799 throw se;
1800 }
1801 }
1802
1803 public static com.liferay.portal.model.Layout updateLayout(
1804 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1805 long layoutId, long parentLayoutId,
1806 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1807 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1808 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1809 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1810 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1811 java.lang.String type, boolean hidden,
1812 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
1813 java.lang.Boolean iconImage, byte[] iconBytes,
1814 com.liferay.portal.service.ServiceContext serviceContext)
1815 throws com.liferay.portal.kernel.exception.PortalException,
1816 com.liferay.portal.kernel.exception.SystemException {
1817 try {
1818 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1819 "updateLayout", _updateLayoutParameterTypes46);
1820
1821 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1822 privateLayout, layoutId, parentLayoutId, localeNamesMap,
1823 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1824 type, hidden, friendlyURLMap, iconImage, iconBytes,
1825 serviceContext);
1826
1827 Object returnObj = null;
1828
1829 try {
1830 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1831 }
1832 catch (Exception e) {
1833 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1834 throw (com.liferay.portal.kernel.exception.PortalException)e;
1835 }
1836
1837 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1838 throw (com.liferay.portal.kernel.exception.SystemException)e;
1839 }
1840
1841 throw new com.liferay.portal.kernel.exception.SystemException(e);
1842 }
1843
1844 return (com.liferay.portal.model.Layout)returnObj;
1845 }
1846 catch (com.liferay.portal.kernel.exception.SystemException se) {
1847 _log.error(se, se);
1848
1849 throw se;
1850 }
1851 }
1852
1853 public static com.liferay.portal.model.Layout updateLayout(
1854 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1855 long layoutId, long parentLayoutId,
1856 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1857 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1858 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1859 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1860 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1861 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
1862 java.lang.Boolean iconImage, byte[] iconBytes,
1863 com.liferay.portal.service.ServiceContext serviceContext)
1864 throws com.liferay.portal.kernel.exception.PortalException,
1865 com.liferay.portal.kernel.exception.SystemException {
1866 try {
1867 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1868 "updateLayout", _updateLayoutParameterTypes47);
1869
1870 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1871 privateLayout, layoutId, parentLayoutId, localeNamesMap,
1872 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1873 type, hidden, friendlyURL, iconImage, iconBytes,
1874 serviceContext);
1875
1876 Object returnObj = null;
1877
1878 try {
1879 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1880 }
1881 catch (Exception e) {
1882 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1883 throw (com.liferay.portal.kernel.exception.PortalException)e;
1884 }
1885
1886 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1887 throw (com.liferay.portal.kernel.exception.SystemException)e;
1888 }
1889
1890 throw new com.liferay.portal.kernel.exception.SystemException(e);
1891 }
1892
1893 return (com.liferay.portal.model.Layout)returnObj;
1894 }
1895 catch (com.liferay.portal.kernel.exception.SystemException se) {
1896 _log.error(se, se);
1897
1898 throw se;
1899 }
1900 }
1901
1902 public static com.liferay.portal.model.Layout updateLayout(
1903 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1904 long layoutId, java.lang.String typeSettings)
1905 throws com.liferay.portal.kernel.exception.PortalException,
1906 com.liferay.portal.kernel.exception.SystemException {
1907 try {
1908 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1909 "updateLayout", _updateLayoutParameterTypes48);
1910
1911 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1912 privateLayout, layoutId, typeSettings);
1913
1914 Object returnObj = null;
1915
1916 try {
1917 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1918 }
1919 catch (Exception e) {
1920 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1921 throw (com.liferay.portal.kernel.exception.PortalException)e;
1922 }
1923
1924 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1925 throw (com.liferay.portal.kernel.exception.SystemException)e;
1926 }
1927
1928 throw new com.liferay.portal.kernel.exception.SystemException(e);
1929 }
1930
1931 return (com.liferay.portal.model.Layout)returnObj;
1932 }
1933 catch (com.liferay.portal.kernel.exception.SystemException se) {
1934 _log.error(se, se);
1935
1936 throw se;
1937 }
1938 }
1939
1940 public static com.liferay.portal.model.Layout updateLookAndFeel(
1941 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1942 long layoutId, java.lang.String themeId,
1943 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
1944 throws com.liferay.portal.kernel.exception.PortalException,
1945 com.liferay.portal.kernel.exception.SystemException {
1946 try {
1947 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1948 "updateLookAndFeel", _updateLookAndFeelParameterTypes49);
1949
1950 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1951 privateLayout, layoutId, themeId, colorSchemeId, css,
1952 wapTheme);
1953
1954 Object returnObj = null;
1955
1956 try {
1957 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1958 }
1959 catch (Exception e) {
1960 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1961 throw (com.liferay.portal.kernel.exception.PortalException)e;
1962 }
1963
1964 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1965 throw (com.liferay.portal.kernel.exception.SystemException)e;
1966 }
1967
1968 throw new com.liferay.portal.kernel.exception.SystemException(e);
1969 }
1970
1971 return (com.liferay.portal.model.Layout)returnObj;
1972 }
1973 catch (com.liferay.portal.kernel.exception.SystemException se) {
1974 _log.error(se, se);
1975
1976 throw se;
1977 }
1978 }
1979
1980 public static com.liferay.portal.model.Layout updateName(
1981 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1982 long layoutId, java.lang.String name, java.lang.String languageId)
1983 throws com.liferay.portal.kernel.exception.PortalException,
1984 com.liferay.portal.kernel.exception.SystemException {
1985 try {
1986 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1987 "updateName", _updateNameParameterTypes50);
1988
1989 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1990 privateLayout, layoutId, name, languageId);
1991
1992 Object returnObj = null;
1993
1994 try {
1995 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1996 }
1997 catch (Exception e) {
1998 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1999 throw (com.liferay.portal.kernel.exception.PortalException)e;
2000 }
2001
2002 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2003 throw (com.liferay.portal.kernel.exception.SystemException)e;
2004 }
2005
2006 throw new com.liferay.portal.kernel.exception.SystemException(e);
2007 }
2008
2009 return (com.liferay.portal.model.Layout)returnObj;
2010 }
2011 catch (com.liferay.portal.kernel.exception.SystemException se) {
2012 _log.error(se, se);
2013
2014 throw se;
2015 }
2016 }
2017
2018 public static com.liferay.portal.model.Layout updateName(
2019 HttpPrincipal httpPrincipal, long plid, java.lang.String name,
2020 java.lang.String languageId)
2021 throws com.liferay.portal.kernel.exception.PortalException,
2022 com.liferay.portal.kernel.exception.SystemException {
2023 try {
2024 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2025 "updateName", _updateNameParameterTypes51);
2026
2027 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2028 name, languageId);
2029
2030 Object returnObj = null;
2031
2032 try {
2033 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2034 }
2035 catch (Exception e) {
2036 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2037 throw (com.liferay.portal.kernel.exception.PortalException)e;
2038 }
2039
2040 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2041 throw (com.liferay.portal.kernel.exception.SystemException)e;
2042 }
2043
2044 throw new com.liferay.portal.kernel.exception.SystemException(e);
2045 }
2046
2047 return (com.liferay.portal.model.Layout)returnObj;
2048 }
2049 catch (com.liferay.portal.kernel.exception.SystemException se) {
2050 _log.error(se, se);
2051
2052 throw se;
2053 }
2054 }
2055
2056 public static com.liferay.portal.model.Layout updateParentLayoutId(
2057 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2058 long layoutId, long parentLayoutId)
2059 throws com.liferay.portal.kernel.exception.PortalException,
2060 com.liferay.portal.kernel.exception.SystemException {
2061 try {
2062 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2063 "updateParentLayoutId",
2064 _updateParentLayoutIdParameterTypes52);
2065
2066 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2067 privateLayout, layoutId, parentLayoutId);
2068
2069 Object returnObj = null;
2070
2071 try {
2072 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2073 }
2074 catch (Exception e) {
2075 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2076 throw (com.liferay.portal.kernel.exception.PortalException)e;
2077 }
2078
2079 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2080 throw (com.liferay.portal.kernel.exception.SystemException)e;
2081 }
2082
2083 throw new com.liferay.portal.kernel.exception.SystemException(e);
2084 }
2085
2086 return (com.liferay.portal.model.Layout)returnObj;
2087 }
2088 catch (com.liferay.portal.kernel.exception.SystemException se) {
2089 _log.error(se, se);
2090
2091 throw se;
2092 }
2093 }
2094
2095 public static com.liferay.portal.model.Layout updateParentLayoutId(
2096 HttpPrincipal httpPrincipal, long plid, long parentPlid)
2097 throws com.liferay.portal.kernel.exception.PortalException,
2098 com.liferay.portal.kernel.exception.SystemException {
2099 try {
2100 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2101 "updateParentLayoutId",
2102 _updateParentLayoutIdParameterTypes53);
2103
2104 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2105 parentPlid);
2106
2107 Object returnObj = null;
2108
2109 try {
2110 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2111 }
2112 catch (Exception e) {
2113 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2114 throw (com.liferay.portal.kernel.exception.PortalException)e;
2115 }
2116
2117 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2118 throw (com.liferay.portal.kernel.exception.SystemException)e;
2119 }
2120
2121 throw new com.liferay.portal.kernel.exception.SystemException(e);
2122 }
2123
2124 return (com.liferay.portal.model.Layout)returnObj;
2125 }
2126 catch (com.liferay.portal.kernel.exception.SystemException se) {
2127 _log.error(se, se);
2128
2129 throw se;
2130 }
2131 }
2132
2133 public static com.liferay.portal.model.Layout updateParentLayoutIdAndPriority(
2134 HttpPrincipal httpPrincipal, long plid, long parentPlid, int priority)
2135 throws com.liferay.portal.kernel.exception.PortalException,
2136 com.liferay.portal.kernel.exception.SystemException {
2137 try {
2138 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2139 "updateParentLayoutIdAndPriority",
2140 _updateParentLayoutIdAndPriorityParameterTypes54);
2141
2142 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2143 parentPlid, priority);
2144
2145 Object returnObj = null;
2146
2147 try {
2148 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2149 }
2150 catch (Exception e) {
2151 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2152 throw (com.liferay.portal.kernel.exception.PortalException)e;
2153 }
2154
2155 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2156 throw (com.liferay.portal.kernel.exception.SystemException)e;
2157 }
2158
2159 throw new com.liferay.portal.kernel.exception.SystemException(e);
2160 }
2161
2162 return (com.liferay.portal.model.Layout)returnObj;
2163 }
2164 catch (com.liferay.portal.kernel.exception.SystemException se) {
2165 _log.error(se, se);
2166
2167 throw se;
2168 }
2169 }
2170
2171 public static com.liferay.portal.model.Layout updatePriority(
2172 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2173 long layoutId, int priority)
2174 throws com.liferay.portal.kernel.exception.PortalException,
2175 com.liferay.portal.kernel.exception.SystemException {
2176 try {
2177 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2178 "updatePriority", _updatePriorityParameterTypes55);
2179
2180 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2181 privateLayout, layoutId, priority);
2182
2183 Object returnObj = null;
2184
2185 try {
2186 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2187 }
2188 catch (Exception e) {
2189 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2190 throw (com.liferay.portal.kernel.exception.PortalException)e;
2191 }
2192
2193 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2194 throw (com.liferay.portal.kernel.exception.SystemException)e;
2195 }
2196
2197 throw new com.liferay.portal.kernel.exception.SystemException(e);
2198 }
2199
2200 return (com.liferay.portal.model.Layout)returnObj;
2201 }
2202 catch (com.liferay.portal.kernel.exception.SystemException se) {
2203 _log.error(se, se);
2204
2205 throw se;
2206 }
2207 }
2208
2209 public static com.liferay.portal.model.Layout updatePriority(
2210 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2211 long layoutId, long nextLayoutId, long previousLayoutId)
2212 throws com.liferay.portal.kernel.exception.PortalException,
2213 com.liferay.portal.kernel.exception.SystemException {
2214 try {
2215 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2216 "updatePriority", _updatePriorityParameterTypes56);
2217
2218 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2219 privateLayout, layoutId, nextLayoutId, previousLayoutId);
2220
2221 Object returnObj = null;
2222
2223 try {
2224 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2225 }
2226 catch (Exception e) {
2227 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2228 throw (com.liferay.portal.kernel.exception.PortalException)e;
2229 }
2230
2231 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2232 throw (com.liferay.portal.kernel.exception.SystemException)e;
2233 }
2234
2235 throw new com.liferay.portal.kernel.exception.SystemException(e);
2236 }
2237
2238 return (com.liferay.portal.model.Layout)returnObj;
2239 }
2240 catch (com.liferay.portal.kernel.exception.SystemException se) {
2241 _log.error(se, se);
2242
2243 throw se;
2244 }
2245 }
2246
2247 public static com.liferay.portal.model.Layout updatePriority(
2248 HttpPrincipal httpPrincipal, long plid, int priority)
2249 throws com.liferay.portal.kernel.exception.PortalException,
2250 com.liferay.portal.kernel.exception.SystemException {
2251 try {
2252 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2253 "updatePriority", _updatePriorityParameterTypes57);
2254
2255 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2256 priority);
2257
2258 Object returnObj = null;
2259
2260 try {
2261 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2262 }
2263 catch (Exception e) {
2264 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2265 throw (com.liferay.portal.kernel.exception.PortalException)e;
2266 }
2267
2268 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2269 throw (com.liferay.portal.kernel.exception.SystemException)e;
2270 }
2271
2272 throw new com.liferay.portal.kernel.exception.SystemException(e);
2273 }
2274
2275 return (com.liferay.portal.model.Layout)returnObj;
2276 }
2277 catch (com.liferay.portal.kernel.exception.SystemException se) {
2278 _log.error(se, se);
2279
2280 throw se;
2281 }
2282 }
2283
2284 public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
2285 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2286 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2287 java.io.File file)
2288 throws com.liferay.portal.kernel.exception.PortalException,
2289 com.liferay.portal.kernel.exception.SystemException {
2290 try {
2291 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2292 "validateImportLayoutsFile",
2293 _validateImportLayoutsFileParameterTypes58);
2294
2295 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2296 privateLayout, parameterMap, file);
2297
2298 Object returnObj = null;
2299
2300 try {
2301 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2302 }
2303 catch (Exception e) {
2304 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2305 throw (com.liferay.portal.kernel.exception.PortalException)e;
2306 }
2307
2308 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2309 throw (com.liferay.portal.kernel.exception.SystemException)e;
2310 }
2311
2312 throw new com.liferay.portal.kernel.exception.SystemException(e);
2313 }
2314
2315 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2316 }
2317 catch (com.liferay.portal.kernel.exception.SystemException se) {
2318 _log.error(se, se);
2319
2320 throw se;
2321 }
2322 }
2323
2324 public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
2325 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2326 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2327 java.io.InputStream inputStream)
2328 throws com.liferay.portal.kernel.exception.PortalException,
2329 com.liferay.portal.kernel.exception.SystemException {
2330 try {
2331 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2332 "validateImportLayoutsFile",
2333 _validateImportLayoutsFileParameterTypes59);
2334
2335 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2336 privateLayout, parameterMap, inputStream);
2337
2338 Object returnObj = null;
2339
2340 try {
2341 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2342 }
2343 catch (Exception e) {
2344 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2345 throw (com.liferay.portal.kernel.exception.PortalException)e;
2346 }
2347
2348 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2349 throw (com.liferay.portal.kernel.exception.SystemException)e;
2350 }
2351
2352 throw new com.liferay.portal.kernel.exception.SystemException(e);
2353 }
2354
2355 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2356 }
2357 catch (com.liferay.portal.kernel.exception.SystemException se) {
2358 _log.error(se, se);
2359
2360 throw se;
2361 }
2362 }
2363
2364 public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2365 HttpPrincipal httpPrincipal, long plid, long groupId,
2366 java.lang.String portletId,
2367 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2368 java.io.File file)
2369 throws com.liferay.portal.kernel.exception.PortalException,
2370 com.liferay.portal.kernel.exception.SystemException {
2371 try {
2372 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2373 "validateImportPortletInfo",
2374 _validateImportPortletInfoParameterTypes60);
2375
2376 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2377 groupId, portletId, parameterMap, file);
2378
2379 Object returnObj = null;
2380
2381 try {
2382 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2383 }
2384 catch (Exception e) {
2385 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2386 throw (com.liferay.portal.kernel.exception.PortalException)e;
2387 }
2388
2389 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2390 throw (com.liferay.portal.kernel.exception.SystemException)e;
2391 }
2392
2393 throw new com.liferay.portal.kernel.exception.SystemException(e);
2394 }
2395
2396 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2397 }
2398 catch (com.liferay.portal.kernel.exception.SystemException se) {
2399 _log.error(se, se);
2400
2401 throw se;
2402 }
2403 }
2404
2405 public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2406 HttpPrincipal httpPrincipal, long plid, long groupId,
2407 java.lang.String portletId,
2408 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2409 java.io.InputStream inputStream)
2410 throws com.liferay.portal.kernel.exception.PortalException,
2411 com.liferay.portal.kernel.exception.SystemException {
2412 try {
2413 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2414 "validateImportPortletInfo",
2415 _validateImportPortletInfoParameterTypes61);
2416
2417 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2418 groupId, portletId, parameterMap, inputStream);
2419
2420 Object returnObj = null;
2421
2422 try {
2423 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2424 }
2425 catch (Exception e) {
2426 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2427 throw (com.liferay.portal.kernel.exception.PortalException)e;
2428 }
2429
2430 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2431 throw (com.liferay.portal.kernel.exception.SystemException)e;
2432 }
2433
2434 throw new com.liferay.portal.kernel.exception.SystemException(e);
2435 }
2436
2437 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2438 }
2439 catch (com.liferay.portal.kernel.exception.SystemException se) {
2440 _log.error(se, se);
2441
2442 throw se;
2443 }
2444 }
2445
2446 private static Log _log = LogFactoryUtil.getLog(LayoutServiceHttp.class);
2447 private static final Class<?>[] _addLayoutParameterTypes0 = new Class[] {
2448 long.class, boolean.class, long.class, java.util.Map.class,
2449 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2450 java.util.Map.class, java.lang.String.class, boolean.class,
2451 java.lang.String.class,
2452 com.liferay.portal.service.ServiceContext.class
2453 };
2454 private static final Class<?>[] _addLayoutParameterTypes1 = new Class[] {
2455 long.class, boolean.class, long.class, java.util.Map.class,
2456 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2457 java.util.Map.class, java.lang.String.class, java.lang.String.class,
2458 boolean.class, java.util.Map.class,
2459 com.liferay.portal.service.ServiceContext.class
2460 };
2461 private static final Class<?>[] _addLayoutParameterTypes2 = new Class[] {
2462 long.class, boolean.class, long.class, java.lang.String.class,
2463 java.lang.String.class, java.lang.String.class,
2464 java.lang.String.class, boolean.class, java.lang.String.class,
2465 com.liferay.portal.service.ServiceContext.class
2466 };
2467 private static final Class<?>[] _addTempFileEntryParameterTypes3 = new Class[] {
2468 long.class, java.lang.String.class, java.lang.String.class,
2469 java.io.InputStream.class, java.lang.String.class
2470 };
2471 private static final Class<?>[] _deleteLayoutParameterTypes4 = new Class[] {
2472 long.class, boolean.class, long.class,
2473 com.liferay.portal.service.ServiceContext.class
2474 };
2475 private static final Class<?>[] _deleteLayoutParameterTypes5 = new Class[] {
2476 long.class, com.liferay.portal.service.ServiceContext.class
2477 };
2478 private static final Class<?>[] _deleteTempFileEntryParameterTypes6 = new Class[] {
2479 long.class, java.lang.String.class, java.lang.String.class
2480 };
2481 private static final Class<?>[] _exportLayoutsParameterTypes7 = new Class[] {
2482 long.class, boolean.class, long[].class, java.util.Map.class,
2483 java.util.Date.class, java.util.Date.class
2484 };
2485 private static final Class<?>[] _exportLayoutsParameterTypes8 = new Class[] {
2486 long.class, boolean.class, java.util.Map.class, java.util.Date.class,
2487 java.util.Date.class
2488 };
2489 private static final Class<?>[] _exportLayoutsAsFileParameterTypes9 = new Class[] {
2490 long.class, boolean.class, long[].class, java.util.Map.class,
2491 java.util.Date.class, java.util.Date.class
2492 };
2493 private static final Class<?>[] _exportLayoutsAsFileInBackgroundParameterTypes10 =
2494 new Class[] {
2495 java.lang.String.class, long.class, boolean.class, long[].class,
2496 java.util.Map.class, java.util.Date.class, java.util.Date.class,
2497 java.lang.String.class
2498 };
2499 private static final Class<?>[] _exportPortletInfoParameterTypes11 = new Class[] {
2500 long.class, long.class, java.lang.String.class, java.util.Map.class,
2501 java.util.Date.class, java.util.Date.class
2502 };
2503 private static final Class<?>[] _exportPortletInfoParameterTypes12 = new Class[] {
2504 long.class, java.lang.String.class, java.util.Map.class,
2505 java.util.Date.class, java.util.Date.class
2506 };
2507 private static final Class<?>[] _exportPortletInfoAsFileParameterTypes13 = new Class[] {
2508 long.class, long.class, java.lang.String.class, java.util.Map.class,
2509 java.util.Date.class, java.util.Date.class
2510 };
2511 private static final Class<?>[] _exportPortletInfoAsFileParameterTypes14 = new Class[] {
2512 java.lang.String.class, java.util.Map.class, java.util.Date.class,
2513 java.util.Date.class
2514 };
2515 private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes15 =
2516 new Class[] {
2517 java.lang.String.class, long.class, long.class,
2518 java.lang.String.class, java.util.Map.class, java.util.Date.class,
2519 java.util.Date.class, java.lang.String.class
2520 };
2521 private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes16 =
2522 new Class[] {
2523 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2524 java.util.Date.class, java.util.Date.class, java.lang.String.class
2525 };
2526 private static final Class<?>[] _getAncestorLayoutsParameterTypes17 = new Class[] {
2527 long.class
2528 };
2529 private static final Class<?>[] _getDefaultPlidParameterTypes18 = new Class[] {
2530 long.class, long.class, boolean.class, java.lang.String.class
2531 };
2532 private static final Class<?>[] _getDefaultPlidParameterTypes19 = new Class[] {
2533 long.class, long.class, java.lang.String.class
2534 };
2535 private static final Class<?>[] _getLayoutByUuidAndGroupIdParameterTypes20 = new Class[] {
2536 java.lang.String.class, long.class, boolean.class
2537 };
2538 private static final Class<?>[] _getLayoutNameParameterTypes21 = new Class[] {
2539 long.class, boolean.class, long.class, java.lang.String.class
2540 };
2541 private static final Class<?>[] _getLayoutReferencesParameterTypes22 = new Class[] {
2542 long.class, java.lang.String.class, java.lang.String.class,
2543 java.lang.String.class
2544 };
2545 private static final Class<?>[] _getLayoutsParameterTypes23 = new Class[] {
2546 long.class, boolean.class
2547 };
2548 private static final Class<?>[] _getLayoutsParameterTypes24 = new Class[] {
2549 long.class, boolean.class, long.class
2550 };
2551 private static final Class<?>[] _getLayoutsParameterTypes25 = new Class[] {
2552 long.class, boolean.class, long.class, boolean.class, int.class,
2553 int.class
2554 };
2555 private static final Class<?>[] _getLayoutsCountParameterTypes26 = new Class[] {
2556 long.class, boolean.class, long.class
2557 };
2558 private static final Class<?>[] _getTempFileEntryNamesParameterTypes27 = new Class[] {
2559 long.class, java.lang.String.class
2560 };
2561 private static final Class<?>[] _importLayoutsParameterTypes28 = new Class[] {
2562 long.class, boolean.class, java.util.Map.class, byte[].class
2563 };
2564 private static final Class<?>[] _importLayoutsParameterTypes29 = new Class[] {
2565 long.class, boolean.class, java.util.Map.class, java.io.File.class
2566 };
2567 private static final Class<?>[] _importLayoutsParameterTypes30 = new Class[] {
2568 long.class, boolean.class, java.util.Map.class,
2569 java.io.InputStream.class
2570 };
2571 private static final Class<?>[] _importLayoutsInBackgroundParameterTypes31 = new Class[] {
2572 java.lang.String.class, long.class, boolean.class,
2573 java.util.Map.class, java.io.File.class
2574 };
2575 private static final Class<?>[] _importLayoutsInBackgroundParameterTypes32 = new Class[] {
2576 java.lang.String.class, long.class, boolean.class,
2577 java.util.Map.class, java.io.InputStream.class
2578 };
2579 private static final Class<?>[] _importPortletInfoParameterTypes33 = new Class[] {
2580 long.class, long.class, java.lang.String.class, java.util.Map.class,
2581 java.io.File.class
2582 };
2583 private static final Class<?>[] _importPortletInfoParameterTypes34 = new Class[] {
2584 long.class, long.class, java.lang.String.class, java.util.Map.class,
2585 java.io.InputStream.class
2586 };
2587 private static final Class<?>[] _importPortletInfoParameterTypes35 = new Class[] {
2588 java.lang.String.class, java.util.Map.class, java.io.File.class
2589 };
2590 private static final Class<?>[] _importPortletInfoParameterTypes36 = new Class[] {
2591 java.lang.String.class, java.util.Map.class,
2592 java.io.InputStream.class
2593 };
2594 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes37 =
2595 new Class[] {
2596 java.lang.String.class, long.class, long.class,
2597 java.lang.String.class, java.util.Map.class, java.io.File.class
2598 };
2599 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes38 =
2600 new Class[] {
2601 java.lang.String.class, long.class, long.class,
2602 java.lang.String.class, java.util.Map.class,
2603 java.io.InputStream.class
2604 };
2605 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes39 =
2606 new Class[] {
2607 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2608 java.io.File.class
2609 };
2610 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes40 =
2611 new Class[] {
2612 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2613 java.io.InputStream.class
2614 };
2615 private static final Class<?>[] _schedulePublishToLiveParameterTypes41 = new Class[] {
2616 long.class, long.class, boolean.class, java.util.Map.class,
2617 java.util.Map.class, java.lang.String.class, java.util.Date.class,
2618 java.util.Date.class, java.lang.String.class, java.lang.String.class,
2619 java.util.Date.class, java.util.Date.class, java.lang.String.class
2620 };
2621 private static final Class<?>[] _schedulePublishToRemoteParameterTypes42 = new Class[] {
2622 long.class, boolean.class, java.util.Map.class, java.util.Map.class,
2623 java.lang.String.class, int.class, java.lang.String.class,
2624 boolean.class, long.class, boolean.class, java.util.Date.class,
2625 java.util.Date.class, java.lang.String.class, java.lang.String.class,
2626 java.util.Date.class, java.util.Date.class, java.lang.String.class
2627 };
2628 private static final Class<?>[] _setLayoutsParameterTypes43 = new Class[] {
2629 long.class, boolean.class, long.class, long[].class,
2630 com.liferay.portal.service.ServiceContext.class
2631 };
2632 private static final Class<?>[] _unschedulePublishToLiveParameterTypes44 = new Class[] {
2633 long.class, java.lang.String.class, java.lang.String.class
2634 };
2635 private static final Class<?>[] _unschedulePublishToRemoteParameterTypes45 = new Class[] {
2636 long.class, java.lang.String.class, java.lang.String.class
2637 };
2638 private static final Class<?>[] _updateLayoutParameterTypes46 = new Class[] {
2639 long.class, boolean.class, long.class, long.class,
2640 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2641 java.util.Map.class, java.util.Map.class, java.lang.String.class,
2642 boolean.class, java.util.Map.class, java.lang.Boolean.class,
2643 byte[].class, com.liferay.portal.service.ServiceContext.class
2644 };
2645 private static final Class<?>[] _updateLayoutParameterTypes47 = new Class[] {
2646 long.class, boolean.class, long.class, long.class,
2647 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2648 java.util.Map.class, java.util.Map.class, java.lang.String.class,
2649 boolean.class, java.lang.String.class, java.lang.Boolean.class,
2650 byte[].class, com.liferay.portal.service.ServiceContext.class
2651 };
2652 private static final Class<?>[] _updateLayoutParameterTypes48 = new Class[] {
2653 long.class, boolean.class, long.class, java.lang.String.class
2654 };
2655 private static final Class<?>[] _updateLookAndFeelParameterTypes49 = new Class[] {
2656 long.class, boolean.class, long.class, java.lang.String.class,
2657 java.lang.String.class, java.lang.String.class, boolean.class
2658 };
2659 private static final Class<?>[] _updateNameParameterTypes50 = new Class[] {
2660 long.class, boolean.class, long.class, java.lang.String.class,
2661 java.lang.String.class
2662 };
2663 private static final Class<?>[] _updateNameParameterTypes51 = new Class[] {
2664 long.class, java.lang.String.class, java.lang.String.class
2665 };
2666 private static final Class<?>[] _updateParentLayoutIdParameterTypes52 = new Class[] {
2667 long.class, boolean.class, long.class, long.class
2668 };
2669 private static final Class<?>[] _updateParentLayoutIdParameterTypes53 = new Class[] {
2670 long.class, long.class
2671 };
2672 private static final Class<?>[] _updateParentLayoutIdAndPriorityParameterTypes54 =
2673 new Class[] { long.class, long.class, int.class };
2674 private static final Class<?>[] _updatePriorityParameterTypes55 = new Class[] {
2675 long.class, boolean.class, long.class, int.class
2676 };
2677 private static final Class<?>[] _updatePriorityParameterTypes56 = new Class[] {
2678 long.class, boolean.class, long.class, long.class, long.class
2679 };
2680 private static final Class<?>[] _updatePriorityParameterTypes57 = new Class[] {
2681 long.class, int.class
2682 };
2683 private static final Class<?>[] _validateImportLayoutsFileParameterTypes58 = new Class[] {
2684 long.class, boolean.class, java.util.Map.class, java.io.File.class
2685 };
2686 private static final Class<?>[] _validateImportLayoutsFileParameterTypes59 = new Class[] {
2687 long.class, boolean.class, java.util.Map.class,
2688 java.io.InputStream.class
2689 };
2690 private static final Class<?>[] _validateImportPortletInfoParameterTypes60 = new Class[] {
2691 long.class, long.class, java.lang.String.class, java.util.Map.class,
2692 java.io.File.class
2693 };
2694 private static final Class<?>[] _validateImportPortletInfoParameterTypes61 = new Class[] {
2695 long.class, long.class, java.lang.String.class, java.util.Map.class,
2696 java.io.InputStream.class
2697 };
2698 }