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.SystemException {
1026 try {
1027 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1028 "getLayouts", _getLayoutsParameterTypes25);
1029
1030 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1031 privateLayout, parentLayoutId, incomplete, start, end);
1032
1033 Object returnObj = null;
1034
1035 try {
1036 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1037 }
1038 catch (Exception e) {
1039 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1040 throw (com.liferay.portal.kernel.exception.SystemException)e;
1041 }
1042
1043 throw new com.liferay.portal.kernel.exception.SystemException(e);
1044 }
1045
1046 return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
1047 }
1048 catch (com.liferay.portal.kernel.exception.SystemException se) {
1049 _log.error(se, se);
1050
1051 throw se;
1052 }
1053 }
1054
1055 public static int getLayoutsCount(HttpPrincipal httpPrincipal,
1056 long groupId, boolean privateLayout, long parentLayoutId)
1057 throws com.liferay.portal.kernel.exception.SystemException {
1058 try {
1059 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1060 "getLayoutsCount", _getLayoutsCountParameterTypes26);
1061
1062 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1063 privateLayout, parentLayoutId);
1064
1065 Object returnObj = null;
1066
1067 try {
1068 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1069 }
1070 catch (Exception e) {
1071 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1072 throw (com.liferay.portal.kernel.exception.SystemException)e;
1073 }
1074
1075 throw new com.liferay.portal.kernel.exception.SystemException(e);
1076 }
1077
1078 return ((Integer)returnObj).intValue();
1079 }
1080 catch (com.liferay.portal.kernel.exception.SystemException se) {
1081 _log.error(se, se);
1082
1083 throw se;
1084 }
1085 }
1086
1087 public static java.lang.String[] getTempFileEntryNames(
1088 HttpPrincipal httpPrincipal, long groupId,
1089 java.lang.String tempFolderName)
1090 throws com.liferay.portal.kernel.exception.PortalException,
1091 com.liferay.portal.kernel.exception.SystemException {
1092 try {
1093 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1094 "getTempFileEntryNames",
1095 _getTempFileEntryNamesParameterTypes27);
1096
1097 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1098 tempFolderName);
1099
1100 Object returnObj = null;
1101
1102 try {
1103 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1104 }
1105 catch (Exception e) {
1106 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1107 throw (com.liferay.portal.kernel.exception.PortalException)e;
1108 }
1109
1110 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1111 throw (com.liferay.portal.kernel.exception.SystemException)e;
1112 }
1113
1114 throw new com.liferay.portal.kernel.exception.SystemException(e);
1115 }
1116
1117 return (java.lang.String[])returnObj;
1118 }
1119 catch (com.liferay.portal.kernel.exception.SystemException se) {
1120 _log.error(se, se);
1121
1122 throw se;
1123 }
1124 }
1125
1126 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1127 boolean privateLayout,
1128 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1129 byte[] bytes)
1130 throws com.liferay.portal.kernel.exception.PortalException,
1131 com.liferay.portal.kernel.exception.SystemException {
1132 try {
1133 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1134 "importLayouts", _importLayoutsParameterTypes28);
1135
1136 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1137 privateLayout, parameterMap, bytes);
1138
1139 try {
1140 TunnelUtil.invoke(httpPrincipal, methodHandler);
1141 }
1142 catch (Exception e) {
1143 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1144 throw (com.liferay.portal.kernel.exception.PortalException)e;
1145 }
1146
1147 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1148 throw (com.liferay.portal.kernel.exception.SystemException)e;
1149 }
1150
1151 throw new com.liferay.portal.kernel.exception.SystemException(e);
1152 }
1153 }
1154 catch (com.liferay.portal.kernel.exception.SystemException se) {
1155 _log.error(se, se);
1156
1157 throw se;
1158 }
1159 }
1160
1161 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1162 boolean privateLayout,
1163 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1164 java.io.File file)
1165 throws com.liferay.portal.kernel.exception.PortalException,
1166 com.liferay.portal.kernel.exception.SystemException {
1167 try {
1168 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1169 "importLayouts", _importLayoutsParameterTypes29);
1170
1171 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1172 privateLayout, parameterMap, file);
1173
1174 try {
1175 TunnelUtil.invoke(httpPrincipal, methodHandler);
1176 }
1177 catch (Exception e) {
1178 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1179 throw (com.liferay.portal.kernel.exception.PortalException)e;
1180 }
1181
1182 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1183 throw (com.liferay.portal.kernel.exception.SystemException)e;
1184 }
1185
1186 throw new com.liferay.portal.kernel.exception.SystemException(e);
1187 }
1188 }
1189 catch (com.liferay.portal.kernel.exception.SystemException se) {
1190 _log.error(se, se);
1191
1192 throw se;
1193 }
1194 }
1195
1196 public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1197 boolean privateLayout,
1198 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1199 java.io.InputStream is)
1200 throws com.liferay.portal.kernel.exception.PortalException,
1201 com.liferay.portal.kernel.exception.SystemException {
1202 try {
1203 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1204 "importLayouts", _importLayoutsParameterTypes30);
1205
1206 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1207 privateLayout, parameterMap, is);
1208
1209 try {
1210 TunnelUtil.invoke(httpPrincipal, methodHandler);
1211 }
1212 catch (Exception e) {
1213 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1214 throw (com.liferay.portal.kernel.exception.PortalException)e;
1215 }
1216
1217 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1218 throw (com.liferay.portal.kernel.exception.SystemException)e;
1219 }
1220
1221 throw new com.liferay.portal.kernel.exception.SystemException(e);
1222 }
1223 }
1224 catch (com.liferay.portal.kernel.exception.SystemException se) {
1225 _log.error(se, se);
1226
1227 throw se;
1228 }
1229 }
1230
1231 public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
1232 java.lang.String taskName, long groupId, boolean privateLayout,
1233 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1234 java.io.File file)
1235 throws com.liferay.portal.kernel.exception.PortalException,
1236 com.liferay.portal.kernel.exception.SystemException {
1237 try {
1238 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1239 "importLayoutsInBackground",
1240 _importLayoutsInBackgroundParameterTypes31);
1241
1242 MethodHandler methodHandler = new MethodHandler(methodKey,
1243 taskName, groupId, privateLayout, parameterMap, file);
1244
1245 Object returnObj = null;
1246
1247 try {
1248 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1249 }
1250 catch (Exception e) {
1251 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1252 throw (com.liferay.portal.kernel.exception.PortalException)e;
1253 }
1254
1255 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1256 throw (com.liferay.portal.kernel.exception.SystemException)e;
1257 }
1258
1259 throw new com.liferay.portal.kernel.exception.SystemException(e);
1260 }
1261
1262 return ((Long)returnObj).longValue();
1263 }
1264 catch (com.liferay.portal.kernel.exception.SystemException se) {
1265 _log.error(se, se);
1266
1267 throw se;
1268 }
1269 }
1270
1271 public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
1272 java.lang.String taskName, long groupId, boolean privateLayout,
1273 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1274 java.io.InputStream inputStream)
1275 throws com.liferay.portal.kernel.exception.PortalException,
1276 com.liferay.portal.kernel.exception.SystemException {
1277 try {
1278 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1279 "importLayoutsInBackground",
1280 _importLayoutsInBackgroundParameterTypes32);
1281
1282 MethodHandler methodHandler = new MethodHandler(methodKey,
1283 taskName, groupId, privateLayout, parameterMap, inputStream);
1284
1285 Object returnObj = null;
1286
1287 try {
1288 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1289 }
1290 catch (Exception e) {
1291 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1292 throw (com.liferay.portal.kernel.exception.PortalException)e;
1293 }
1294
1295 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1296 throw (com.liferay.portal.kernel.exception.SystemException)e;
1297 }
1298
1299 throw new com.liferay.portal.kernel.exception.SystemException(e);
1300 }
1301
1302 return ((Long)returnObj).longValue();
1303 }
1304 catch (com.liferay.portal.kernel.exception.SystemException se) {
1305 _log.error(se, se);
1306
1307 throw se;
1308 }
1309 }
1310
1311 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1312 long plid, long groupId, java.lang.String portletId,
1313 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1314 java.io.File file)
1315 throws com.liferay.portal.kernel.exception.PortalException,
1316 com.liferay.portal.kernel.exception.SystemException {
1317 try {
1318 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1319 "importPortletInfo", _importPortletInfoParameterTypes33);
1320
1321 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1322 groupId, portletId, parameterMap, file);
1323
1324 try {
1325 TunnelUtil.invoke(httpPrincipal, methodHandler);
1326 }
1327 catch (Exception e) {
1328 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1329 throw (com.liferay.portal.kernel.exception.PortalException)e;
1330 }
1331
1332 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1333 throw (com.liferay.portal.kernel.exception.SystemException)e;
1334 }
1335
1336 throw new com.liferay.portal.kernel.exception.SystemException(e);
1337 }
1338 }
1339 catch (com.liferay.portal.kernel.exception.SystemException se) {
1340 _log.error(se, se);
1341
1342 throw se;
1343 }
1344 }
1345
1346 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1347 long plid, long groupId, java.lang.String portletId,
1348 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1349 java.io.InputStream is)
1350 throws com.liferay.portal.kernel.exception.PortalException,
1351 com.liferay.portal.kernel.exception.SystemException {
1352 try {
1353 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1354 "importPortletInfo", _importPortletInfoParameterTypes34);
1355
1356 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1357 groupId, portletId, parameterMap, is);
1358
1359 try {
1360 TunnelUtil.invoke(httpPrincipal, methodHandler);
1361 }
1362 catch (Exception e) {
1363 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1364 throw (com.liferay.portal.kernel.exception.PortalException)e;
1365 }
1366
1367 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1368 throw (com.liferay.portal.kernel.exception.SystemException)e;
1369 }
1370
1371 throw new com.liferay.portal.kernel.exception.SystemException(e);
1372 }
1373 }
1374 catch (com.liferay.portal.kernel.exception.SystemException se) {
1375 _log.error(se, se);
1376
1377 throw se;
1378 }
1379 }
1380
1381 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1382 java.lang.String portletId,
1383 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1384 java.io.File file)
1385 throws com.liferay.portal.kernel.exception.PortalException,
1386 com.liferay.portal.kernel.exception.SystemException {
1387 try {
1388 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1389 "importPortletInfo", _importPortletInfoParameterTypes35);
1390
1391 MethodHandler methodHandler = new MethodHandler(methodKey,
1392 portletId, parameterMap, file);
1393
1394 try {
1395 TunnelUtil.invoke(httpPrincipal, methodHandler);
1396 }
1397 catch (Exception e) {
1398 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1399 throw (com.liferay.portal.kernel.exception.PortalException)e;
1400 }
1401
1402 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1403 throw (com.liferay.portal.kernel.exception.SystemException)e;
1404 }
1405
1406 throw new com.liferay.portal.kernel.exception.SystemException(e);
1407 }
1408 }
1409 catch (com.liferay.portal.kernel.exception.SystemException se) {
1410 _log.error(se, se);
1411
1412 throw se;
1413 }
1414 }
1415
1416 public static void importPortletInfo(HttpPrincipal httpPrincipal,
1417 java.lang.String portletId,
1418 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1419 java.io.InputStream is)
1420 throws com.liferay.portal.kernel.exception.PortalException,
1421 com.liferay.portal.kernel.exception.SystemException {
1422 try {
1423 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1424 "importPortletInfo", _importPortletInfoParameterTypes36);
1425
1426 MethodHandler methodHandler = new MethodHandler(methodKey,
1427 portletId, parameterMap, is);
1428
1429 try {
1430 TunnelUtil.invoke(httpPrincipal, methodHandler);
1431 }
1432 catch (Exception e) {
1433 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1434 throw (com.liferay.portal.kernel.exception.PortalException)e;
1435 }
1436
1437 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1438 throw (com.liferay.portal.kernel.exception.SystemException)e;
1439 }
1440
1441 throw new com.liferay.portal.kernel.exception.SystemException(e);
1442 }
1443 }
1444 catch (com.liferay.portal.kernel.exception.SystemException se) {
1445 _log.error(se, se);
1446
1447 throw se;
1448 }
1449 }
1450
1451 public static long importPortletInfoInBackground(
1452 HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1453 long groupId, java.lang.String portletId,
1454 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1455 java.io.File file)
1456 throws com.liferay.portal.kernel.exception.PortalException,
1457 com.liferay.portal.kernel.exception.SystemException {
1458 try {
1459 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1460 "importPortletInfoInBackground",
1461 _importPortletInfoInBackgroundParameterTypes37);
1462
1463 MethodHandler methodHandler = new MethodHandler(methodKey,
1464 taskName, plid, groupId, portletId, parameterMap, file);
1465
1466 Object returnObj = null;
1467
1468 try {
1469 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1470 }
1471 catch (Exception e) {
1472 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1473 throw (com.liferay.portal.kernel.exception.PortalException)e;
1474 }
1475
1476 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1477 throw (com.liferay.portal.kernel.exception.SystemException)e;
1478 }
1479
1480 throw new com.liferay.portal.kernel.exception.SystemException(e);
1481 }
1482
1483 return ((Long)returnObj).longValue();
1484 }
1485 catch (com.liferay.portal.kernel.exception.SystemException se) {
1486 _log.error(se, se);
1487
1488 throw se;
1489 }
1490 }
1491
1492 public static long importPortletInfoInBackground(
1493 HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1494 long groupId, java.lang.String portletId,
1495 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1496 java.io.InputStream is)
1497 throws com.liferay.portal.kernel.exception.PortalException,
1498 com.liferay.portal.kernel.exception.SystemException {
1499 try {
1500 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1501 "importPortletInfoInBackground",
1502 _importPortletInfoInBackgroundParameterTypes38);
1503
1504 MethodHandler methodHandler = new MethodHandler(methodKey,
1505 taskName, plid, groupId, portletId, parameterMap, is);
1506
1507 Object returnObj = null;
1508
1509 try {
1510 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1511 }
1512 catch (Exception e) {
1513 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1514 throw (com.liferay.portal.kernel.exception.PortalException)e;
1515 }
1516
1517 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1518 throw (com.liferay.portal.kernel.exception.SystemException)e;
1519 }
1520
1521 throw new com.liferay.portal.kernel.exception.SystemException(e);
1522 }
1523
1524 return ((Long)returnObj).longValue();
1525 }
1526 catch (com.liferay.portal.kernel.exception.SystemException se) {
1527 _log.error(se, se);
1528
1529 throw se;
1530 }
1531 }
1532
1533 public static void importPortletInfoInBackground(
1534 HttpPrincipal httpPrincipal, java.lang.String taskName,
1535 java.lang.String portletId,
1536 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1537 java.io.File file)
1538 throws com.liferay.portal.kernel.exception.PortalException,
1539 com.liferay.portal.kernel.exception.SystemException {
1540 try {
1541 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1542 "importPortletInfoInBackground",
1543 _importPortletInfoInBackgroundParameterTypes39);
1544
1545 MethodHandler methodHandler = new MethodHandler(methodKey,
1546 taskName, portletId, parameterMap, file);
1547
1548 try {
1549 TunnelUtil.invoke(httpPrincipal, methodHandler);
1550 }
1551 catch (Exception e) {
1552 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1553 throw (com.liferay.portal.kernel.exception.PortalException)e;
1554 }
1555
1556 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1557 throw (com.liferay.portal.kernel.exception.SystemException)e;
1558 }
1559
1560 throw new com.liferay.portal.kernel.exception.SystemException(e);
1561 }
1562 }
1563 catch (com.liferay.portal.kernel.exception.SystemException se) {
1564 _log.error(se, se);
1565
1566 throw se;
1567 }
1568 }
1569
1570 public static void importPortletInfoInBackground(
1571 HttpPrincipal httpPrincipal, java.lang.String taskName,
1572 java.lang.String portletId,
1573 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1574 java.io.InputStream is)
1575 throws com.liferay.portal.kernel.exception.PortalException,
1576 com.liferay.portal.kernel.exception.SystemException {
1577 try {
1578 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1579 "importPortletInfoInBackground",
1580 _importPortletInfoInBackgroundParameterTypes40);
1581
1582 MethodHandler methodHandler = new MethodHandler(methodKey,
1583 taskName, portletId, parameterMap, is);
1584
1585 try {
1586 TunnelUtil.invoke(httpPrincipal, methodHandler);
1587 }
1588 catch (Exception e) {
1589 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1590 throw (com.liferay.portal.kernel.exception.PortalException)e;
1591 }
1592
1593 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1594 throw (com.liferay.portal.kernel.exception.SystemException)e;
1595 }
1596
1597 throw new com.liferay.portal.kernel.exception.SystemException(e);
1598 }
1599 }
1600 catch (com.liferay.portal.kernel.exception.SystemException se) {
1601 _log.error(se, se);
1602
1603 throw se;
1604 }
1605 }
1606
1607 public static void schedulePublishToLive(HttpPrincipal httpPrincipal,
1608 long sourceGroupId, long targetGroupId, boolean privateLayout,
1609 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1610 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1611 java.lang.String scope, java.util.Date startDate,
1612 java.util.Date endDate, java.lang.String groupName,
1613 java.lang.String cronText, java.util.Date schedulerStartDate,
1614 java.util.Date schedulerEndDate, java.lang.String description)
1615 throws com.liferay.portal.kernel.exception.PortalException,
1616 com.liferay.portal.kernel.exception.SystemException {
1617 try {
1618 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1619 "schedulePublishToLive",
1620 _schedulePublishToLiveParameterTypes41);
1621
1622 MethodHandler methodHandler = new MethodHandler(methodKey,
1623 sourceGroupId, targetGroupId, privateLayout, layoutIdMap,
1624 parameterMap, scope, startDate, endDate, groupName,
1625 cronText, schedulerStartDate, schedulerEndDate, description);
1626
1627 try {
1628 TunnelUtil.invoke(httpPrincipal, methodHandler);
1629 }
1630 catch (Exception e) {
1631 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1632 throw (com.liferay.portal.kernel.exception.PortalException)e;
1633 }
1634
1635 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1636 throw (com.liferay.portal.kernel.exception.SystemException)e;
1637 }
1638
1639 throw new com.liferay.portal.kernel.exception.SystemException(e);
1640 }
1641 }
1642 catch (com.liferay.portal.kernel.exception.SystemException se) {
1643 _log.error(se, se);
1644
1645 throw se;
1646 }
1647 }
1648
1649 public static void schedulePublishToRemote(HttpPrincipal httpPrincipal,
1650 long sourceGroupId, boolean privateLayout,
1651 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1652 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1653 java.lang.String remoteAddress, int remotePort,
1654 java.lang.String remotePathContext, boolean secureConnection,
1655 long remoteGroupId, boolean remotePrivateLayout,
1656 java.util.Date startDate, java.util.Date endDate,
1657 java.lang.String groupName, java.lang.String cronText,
1658 java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
1659 java.lang.String description)
1660 throws com.liferay.portal.kernel.exception.PortalException,
1661 com.liferay.portal.kernel.exception.SystemException {
1662 try {
1663 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1664 "schedulePublishToRemote",
1665 _schedulePublishToRemoteParameterTypes42);
1666
1667 MethodHandler methodHandler = new MethodHandler(methodKey,
1668 sourceGroupId, privateLayout, layoutIdMap, parameterMap,
1669 remoteAddress, remotePort, remotePathContext,
1670 secureConnection, remoteGroupId, remotePrivateLayout,
1671 startDate, endDate, groupName, cronText,
1672 schedulerStartDate, schedulerEndDate, description);
1673
1674 try {
1675 TunnelUtil.invoke(httpPrincipal, methodHandler);
1676 }
1677 catch (Exception e) {
1678 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1679 throw (com.liferay.portal.kernel.exception.PortalException)e;
1680 }
1681
1682 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1683 throw (com.liferay.portal.kernel.exception.SystemException)e;
1684 }
1685
1686 throw new com.liferay.portal.kernel.exception.SystemException(e);
1687 }
1688 }
1689 catch (com.liferay.portal.kernel.exception.SystemException se) {
1690 _log.error(se, se);
1691
1692 throw se;
1693 }
1694 }
1695
1696 public static void setLayouts(HttpPrincipal httpPrincipal, long groupId,
1697 boolean privateLayout, long parentLayoutId, long[] layoutIds,
1698 com.liferay.portal.service.ServiceContext serviceContext)
1699 throws com.liferay.portal.kernel.exception.PortalException,
1700 com.liferay.portal.kernel.exception.SystemException {
1701 try {
1702 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1703 "setLayouts", _setLayoutsParameterTypes43);
1704
1705 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1706 privateLayout, parentLayoutId, layoutIds, serviceContext);
1707
1708 try {
1709 TunnelUtil.invoke(httpPrincipal, methodHandler);
1710 }
1711 catch (Exception e) {
1712 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1713 throw (com.liferay.portal.kernel.exception.PortalException)e;
1714 }
1715
1716 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1717 throw (com.liferay.portal.kernel.exception.SystemException)e;
1718 }
1719
1720 throw new com.liferay.portal.kernel.exception.SystemException(e);
1721 }
1722 }
1723 catch (com.liferay.portal.kernel.exception.SystemException se) {
1724 _log.error(se, se);
1725
1726 throw se;
1727 }
1728 }
1729
1730 public static void unschedulePublishToLive(HttpPrincipal httpPrincipal,
1731 long groupId, java.lang.String jobName, java.lang.String groupName)
1732 throws com.liferay.portal.kernel.exception.PortalException,
1733 com.liferay.portal.kernel.exception.SystemException {
1734 try {
1735 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1736 "unschedulePublishToLive",
1737 _unschedulePublishToLiveParameterTypes44);
1738
1739 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1740 jobName, groupName);
1741
1742 try {
1743 TunnelUtil.invoke(httpPrincipal, methodHandler);
1744 }
1745 catch (Exception e) {
1746 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1747 throw (com.liferay.portal.kernel.exception.PortalException)e;
1748 }
1749
1750 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1751 throw (com.liferay.portal.kernel.exception.SystemException)e;
1752 }
1753
1754 throw new com.liferay.portal.kernel.exception.SystemException(e);
1755 }
1756 }
1757 catch (com.liferay.portal.kernel.exception.SystemException se) {
1758 _log.error(se, se);
1759
1760 throw se;
1761 }
1762 }
1763
1764 public static void unschedulePublishToRemote(HttpPrincipal httpPrincipal,
1765 long groupId, java.lang.String jobName, java.lang.String groupName)
1766 throws com.liferay.portal.kernel.exception.PortalException,
1767 com.liferay.portal.kernel.exception.SystemException {
1768 try {
1769 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1770 "unschedulePublishToRemote",
1771 _unschedulePublishToRemoteParameterTypes45);
1772
1773 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1774 jobName, groupName);
1775
1776 try {
1777 TunnelUtil.invoke(httpPrincipal, methodHandler);
1778 }
1779 catch (Exception e) {
1780 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1781 throw (com.liferay.portal.kernel.exception.PortalException)e;
1782 }
1783
1784 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1785 throw (com.liferay.portal.kernel.exception.SystemException)e;
1786 }
1787
1788 throw new com.liferay.portal.kernel.exception.SystemException(e);
1789 }
1790 }
1791 catch (com.liferay.portal.kernel.exception.SystemException se) {
1792 _log.error(se, se);
1793
1794 throw se;
1795 }
1796 }
1797
1798 public static com.liferay.portal.model.Layout updateLayout(
1799 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1800 long layoutId, long parentLayoutId,
1801 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1802 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1803 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1804 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1805 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1806 java.lang.String type, boolean hidden,
1807 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
1808 java.lang.Boolean iconImage, byte[] iconBytes,
1809 com.liferay.portal.service.ServiceContext serviceContext)
1810 throws com.liferay.portal.kernel.exception.PortalException,
1811 com.liferay.portal.kernel.exception.SystemException {
1812 try {
1813 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1814 "updateLayout", _updateLayoutParameterTypes46);
1815
1816 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1817 privateLayout, layoutId, parentLayoutId, localeNamesMap,
1818 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1819 type, hidden, friendlyURLMap, iconImage, iconBytes,
1820 serviceContext);
1821
1822 Object returnObj = null;
1823
1824 try {
1825 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1826 }
1827 catch (Exception e) {
1828 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1829 throw (com.liferay.portal.kernel.exception.PortalException)e;
1830 }
1831
1832 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1833 throw (com.liferay.portal.kernel.exception.SystemException)e;
1834 }
1835
1836 throw new com.liferay.portal.kernel.exception.SystemException(e);
1837 }
1838
1839 return (com.liferay.portal.model.Layout)returnObj;
1840 }
1841 catch (com.liferay.portal.kernel.exception.SystemException se) {
1842 _log.error(se, se);
1843
1844 throw se;
1845 }
1846 }
1847
1848 public static com.liferay.portal.model.Layout updateLayout(
1849 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1850 long layoutId, long parentLayoutId,
1851 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1852 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1853 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1854 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1855 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1856 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
1857 java.lang.Boolean iconImage, byte[] iconBytes,
1858 com.liferay.portal.service.ServiceContext serviceContext)
1859 throws com.liferay.portal.kernel.exception.PortalException,
1860 com.liferay.portal.kernel.exception.SystemException {
1861 try {
1862 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1863 "updateLayout", _updateLayoutParameterTypes47);
1864
1865 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1866 privateLayout, layoutId, parentLayoutId, localeNamesMap,
1867 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1868 type, hidden, friendlyURL, iconImage, iconBytes,
1869 serviceContext);
1870
1871 Object returnObj = null;
1872
1873 try {
1874 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1875 }
1876 catch (Exception e) {
1877 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1878 throw (com.liferay.portal.kernel.exception.PortalException)e;
1879 }
1880
1881 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1882 throw (com.liferay.portal.kernel.exception.SystemException)e;
1883 }
1884
1885 throw new com.liferay.portal.kernel.exception.SystemException(e);
1886 }
1887
1888 return (com.liferay.portal.model.Layout)returnObj;
1889 }
1890 catch (com.liferay.portal.kernel.exception.SystemException se) {
1891 _log.error(se, se);
1892
1893 throw se;
1894 }
1895 }
1896
1897 public static com.liferay.portal.model.Layout updateLayout(
1898 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1899 long layoutId, java.lang.String typeSettings)
1900 throws com.liferay.portal.kernel.exception.PortalException,
1901 com.liferay.portal.kernel.exception.SystemException {
1902 try {
1903 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1904 "updateLayout", _updateLayoutParameterTypes48);
1905
1906 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1907 privateLayout, layoutId, typeSettings);
1908
1909 Object returnObj = null;
1910
1911 try {
1912 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1913 }
1914 catch (Exception e) {
1915 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1916 throw (com.liferay.portal.kernel.exception.PortalException)e;
1917 }
1918
1919 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1920 throw (com.liferay.portal.kernel.exception.SystemException)e;
1921 }
1922
1923 throw new com.liferay.portal.kernel.exception.SystemException(e);
1924 }
1925
1926 return (com.liferay.portal.model.Layout)returnObj;
1927 }
1928 catch (com.liferay.portal.kernel.exception.SystemException se) {
1929 _log.error(se, se);
1930
1931 throw se;
1932 }
1933 }
1934
1935 public static com.liferay.portal.model.Layout updateLookAndFeel(
1936 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1937 long layoutId, java.lang.String themeId,
1938 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
1939 throws com.liferay.portal.kernel.exception.PortalException,
1940 com.liferay.portal.kernel.exception.SystemException {
1941 try {
1942 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1943 "updateLookAndFeel", _updateLookAndFeelParameterTypes49);
1944
1945 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1946 privateLayout, layoutId, themeId, colorSchemeId, css,
1947 wapTheme);
1948
1949 Object returnObj = null;
1950
1951 try {
1952 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1953 }
1954 catch (Exception e) {
1955 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1956 throw (com.liferay.portal.kernel.exception.PortalException)e;
1957 }
1958
1959 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1960 throw (com.liferay.portal.kernel.exception.SystemException)e;
1961 }
1962
1963 throw new com.liferay.portal.kernel.exception.SystemException(e);
1964 }
1965
1966 return (com.liferay.portal.model.Layout)returnObj;
1967 }
1968 catch (com.liferay.portal.kernel.exception.SystemException se) {
1969 _log.error(se, se);
1970
1971 throw se;
1972 }
1973 }
1974
1975 public static com.liferay.portal.model.Layout updateName(
1976 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1977 long layoutId, java.lang.String name, java.lang.String languageId)
1978 throws com.liferay.portal.kernel.exception.PortalException,
1979 com.liferay.portal.kernel.exception.SystemException {
1980 try {
1981 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1982 "updateName", _updateNameParameterTypes50);
1983
1984 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1985 privateLayout, layoutId, name, languageId);
1986
1987 Object returnObj = null;
1988
1989 try {
1990 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1991 }
1992 catch (Exception e) {
1993 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1994 throw (com.liferay.portal.kernel.exception.PortalException)e;
1995 }
1996
1997 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1998 throw (com.liferay.portal.kernel.exception.SystemException)e;
1999 }
2000
2001 throw new com.liferay.portal.kernel.exception.SystemException(e);
2002 }
2003
2004 return (com.liferay.portal.model.Layout)returnObj;
2005 }
2006 catch (com.liferay.portal.kernel.exception.SystemException se) {
2007 _log.error(se, se);
2008
2009 throw se;
2010 }
2011 }
2012
2013 public static com.liferay.portal.model.Layout updateName(
2014 HttpPrincipal httpPrincipal, long plid, java.lang.String name,
2015 java.lang.String languageId)
2016 throws com.liferay.portal.kernel.exception.PortalException,
2017 com.liferay.portal.kernel.exception.SystemException {
2018 try {
2019 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2020 "updateName", _updateNameParameterTypes51);
2021
2022 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2023 name, languageId);
2024
2025 Object returnObj = null;
2026
2027 try {
2028 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2029 }
2030 catch (Exception e) {
2031 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2032 throw (com.liferay.portal.kernel.exception.PortalException)e;
2033 }
2034
2035 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2036 throw (com.liferay.portal.kernel.exception.SystemException)e;
2037 }
2038
2039 throw new com.liferay.portal.kernel.exception.SystemException(e);
2040 }
2041
2042 return (com.liferay.portal.model.Layout)returnObj;
2043 }
2044 catch (com.liferay.portal.kernel.exception.SystemException se) {
2045 _log.error(se, se);
2046
2047 throw se;
2048 }
2049 }
2050
2051 public static com.liferay.portal.model.Layout updateParentLayoutId(
2052 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2053 long layoutId, long parentLayoutId)
2054 throws com.liferay.portal.kernel.exception.PortalException,
2055 com.liferay.portal.kernel.exception.SystemException {
2056 try {
2057 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2058 "updateParentLayoutId",
2059 _updateParentLayoutIdParameterTypes52);
2060
2061 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2062 privateLayout, layoutId, parentLayoutId);
2063
2064 Object returnObj = null;
2065
2066 try {
2067 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2068 }
2069 catch (Exception e) {
2070 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2071 throw (com.liferay.portal.kernel.exception.PortalException)e;
2072 }
2073
2074 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2075 throw (com.liferay.portal.kernel.exception.SystemException)e;
2076 }
2077
2078 throw new com.liferay.portal.kernel.exception.SystemException(e);
2079 }
2080
2081 return (com.liferay.portal.model.Layout)returnObj;
2082 }
2083 catch (com.liferay.portal.kernel.exception.SystemException se) {
2084 _log.error(se, se);
2085
2086 throw se;
2087 }
2088 }
2089
2090 public static com.liferay.portal.model.Layout updateParentLayoutId(
2091 HttpPrincipal httpPrincipal, long plid, long parentPlid)
2092 throws com.liferay.portal.kernel.exception.PortalException,
2093 com.liferay.portal.kernel.exception.SystemException {
2094 try {
2095 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2096 "updateParentLayoutId",
2097 _updateParentLayoutIdParameterTypes53);
2098
2099 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2100 parentPlid);
2101
2102 Object returnObj = null;
2103
2104 try {
2105 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2106 }
2107 catch (Exception e) {
2108 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2109 throw (com.liferay.portal.kernel.exception.PortalException)e;
2110 }
2111
2112 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2113 throw (com.liferay.portal.kernel.exception.SystemException)e;
2114 }
2115
2116 throw new com.liferay.portal.kernel.exception.SystemException(e);
2117 }
2118
2119 return (com.liferay.portal.model.Layout)returnObj;
2120 }
2121 catch (com.liferay.portal.kernel.exception.SystemException se) {
2122 _log.error(se, se);
2123
2124 throw se;
2125 }
2126 }
2127
2128 public static com.liferay.portal.model.Layout updateParentLayoutIdAndPriority(
2129 HttpPrincipal httpPrincipal, long plid, long parentPlid, int priority)
2130 throws com.liferay.portal.kernel.exception.PortalException,
2131 com.liferay.portal.kernel.exception.SystemException {
2132 try {
2133 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2134 "updateParentLayoutIdAndPriority",
2135 _updateParentLayoutIdAndPriorityParameterTypes54);
2136
2137 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2138 parentPlid, priority);
2139
2140 Object returnObj = null;
2141
2142 try {
2143 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2144 }
2145 catch (Exception e) {
2146 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2147 throw (com.liferay.portal.kernel.exception.PortalException)e;
2148 }
2149
2150 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2151 throw (com.liferay.portal.kernel.exception.SystemException)e;
2152 }
2153
2154 throw new com.liferay.portal.kernel.exception.SystemException(e);
2155 }
2156
2157 return (com.liferay.portal.model.Layout)returnObj;
2158 }
2159 catch (com.liferay.portal.kernel.exception.SystemException se) {
2160 _log.error(se, se);
2161
2162 throw se;
2163 }
2164 }
2165
2166 public static com.liferay.portal.model.Layout updatePriority(
2167 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2168 long layoutId, int priority)
2169 throws com.liferay.portal.kernel.exception.PortalException,
2170 com.liferay.portal.kernel.exception.SystemException {
2171 try {
2172 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2173 "updatePriority", _updatePriorityParameterTypes55);
2174
2175 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2176 privateLayout, layoutId, priority);
2177
2178 Object returnObj = null;
2179
2180 try {
2181 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2182 }
2183 catch (Exception e) {
2184 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2185 throw (com.liferay.portal.kernel.exception.PortalException)e;
2186 }
2187
2188 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2189 throw (com.liferay.portal.kernel.exception.SystemException)e;
2190 }
2191
2192 throw new com.liferay.portal.kernel.exception.SystemException(e);
2193 }
2194
2195 return (com.liferay.portal.model.Layout)returnObj;
2196 }
2197 catch (com.liferay.portal.kernel.exception.SystemException se) {
2198 _log.error(se, se);
2199
2200 throw se;
2201 }
2202 }
2203
2204 public static com.liferay.portal.model.Layout updatePriority(
2205 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2206 long layoutId, long nextLayoutId, long previousLayoutId)
2207 throws com.liferay.portal.kernel.exception.PortalException,
2208 com.liferay.portal.kernel.exception.SystemException {
2209 try {
2210 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2211 "updatePriority", _updatePriorityParameterTypes56);
2212
2213 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2214 privateLayout, layoutId, nextLayoutId, previousLayoutId);
2215
2216 Object returnObj = null;
2217
2218 try {
2219 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2220 }
2221 catch (Exception e) {
2222 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2223 throw (com.liferay.portal.kernel.exception.PortalException)e;
2224 }
2225
2226 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2227 throw (com.liferay.portal.kernel.exception.SystemException)e;
2228 }
2229
2230 throw new com.liferay.portal.kernel.exception.SystemException(e);
2231 }
2232
2233 return (com.liferay.portal.model.Layout)returnObj;
2234 }
2235 catch (com.liferay.portal.kernel.exception.SystemException se) {
2236 _log.error(se, se);
2237
2238 throw se;
2239 }
2240 }
2241
2242 public static com.liferay.portal.model.Layout updatePriority(
2243 HttpPrincipal httpPrincipal, long plid, int priority)
2244 throws com.liferay.portal.kernel.exception.PortalException,
2245 com.liferay.portal.kernel.exception.SystemException {
2246 try {
2247 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2248 "updatePriority", _updatePriorityParameterTypes57);
2249
2250 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2251 priority);
2252
2253 Object returnObj = null;
2254
2255 try {
2256 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2257 }
2258 catch (Exception e) {
2259 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2260 throw (com.liferay.portal.kernel.exception.PortalException)e;
2261 }
2262
2263 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2264 throw (com.liferay.portal.kernel.exception.SystemException)e;
2265 }
2266
2267 throw new com.liferay.portal.kernel.exception.SystemException(e);
2268 }
2269
2270 return (com.liferay.portal.model.Layout)returnObj;
2271 }
2272 catch (com.liferay.portal.kernel.exception.SystemException se) {
2273 _log.error(se, se);
2274
2275 throw se;
2276 }
2277 }
2278
2279 public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
2280 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2281 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2282 java.io.File file)
2283 throws com.liferay.portal.kernel.exception.PortalException,
2284 com.liferay.portal.kernel.exception.SystemException {
2285 try {
2286 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2287 "validateImportLayoutsFile",
2288 _validateImportLayoutsFileParameterTypes58);
2289
2290 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2291 privateLayout, parameterMap, file);
2292
2293 Object returnObj = null;
2294
2295 try {
2296 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2297 }
2298 catch (Exception e) {
2299 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2300 throw (com.liferay.portal.kernel.exception.PortalException)e;
2301 }
2302
2303 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2304 throw (com.liferay.portal.kernel.exception.SystemException)e;
2305 }
2306
2307 throw new com.liferay.portal.kernel.exception.SystemException(e);
2308 }
2309
2310 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2311 }
2312 catch (com.liferay.portal.kernel.exception.SystemException se) {
2313 _log.error(se, se);
2314
2315 throw se;
2316 }
2317 }
2318
2319 public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
2320 HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2321 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2322 java.io.InputStream inputStream)
2323 throws com.liferay.portal.kernel.exception.PortalException,
2324 com.liferay.portal.kernel.exception.SystemException {
2325 try {
2326 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2327 "validateImportLayoutsFile",
2328 _validateImportLayoutsFileParameterTypes59);
2329
2330 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2331 privateLayout, parameterMap, inputStream);
2332
2333 Object returnObj = null;
2334
2335 try {
2336 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2337 }
2338 catch (Exception e) {
2339 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2340 throw (com.liferay.portal.kernel.exception.PortalException)e;
2341 }
2342
2343 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2344 throw (com.liferay.portal.kernel.exception.SystemException)e;
2345 }
2346
2347 throw new com.liferay.portal.kernel.exception.SystemException(e);
2348 }
2349
2350 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2351 }
2352 catch (com.liferay.portal.kernel.exception.SystemException se) {
2353 _log.error(se, se);
2354
2355 throw se;
2356 }
2357 }
2358
2359 public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2360 HttpPrincipal httpPrincipal, long plid, long groupId,
2361 java.lang.String portletId,
2362 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2363 java.io.File file)
2364 throws com.liferay.portal.kernel.exception.PortalException,
2365 com.liferay.portal.kernel.exception.SystemException {
2366 try {
2367 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2368 "validateImportPortletInfo",
2369 _validateImportPortletInfoParameterTypes60);
2370
2371 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2372 groupId, portletId, parameterMap, file);
2373
2374 Object returnObj = null;
2375
2376 try {
2377 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2378 }
2379 catch (Exception e) {
2380 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2381 throw (com.liferay.portal.kernel.exception.PortalException)e;
2382 }
2383
2384 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2385 throw (com.liferay.portal.kernel.exception.SystemException)e;
2386 }
2387
2388 throw new com.liferay.portal.kernel.exception.SystemException(e);
2389 }
2390
2391 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2392 }
2393 catch (com.liferay.portal.kernel.exception.SystemException se) {
2394 _log.error(se, se);
2395
2396 throw se;
2397 }
2398 }
2399
2400 public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2401 HttpPrincipal httpPrincipal, long plid, long groupId,
2402 java.lang.String portletId,
2403 java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2404 java.io.InputStream inputStream)
2405 throws com.liferay.portal.kernel.exception.PortalException,
2406 com.liferay.portal.kernel.exception.SystemException {
2407 try {
2408 MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2409 "validateImportPortletInfo",
2410 _validateImportPortletInfoParameterTypes61);
2411
2412 MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2413 groupId, portletId, parameterMap, inputStream);
2414
2415 Object returnObj = null;
2416
2417 try {
2418 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2419 }
2420 catch (Exception e) {
2421 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2422 throw (com.liferay.portal.kernel.exception.PortalException)e;
2423 }
2424
2425 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2426 throw (com.liferay.portal.kernel.exception.SystemException)e;
2427 }
2428
2429 throw new com.liferay.portal.kernel.exception.SystemException(e);
2430 }
2431
2432 return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2433 }
2434 catch (com.liferay.portal.kernel.exception.SystemException se) {
2435 _log.error(se, se);
2436
2437 throw se;
2438 }
2439 }
2440
2441 private static Log _log = LogFactoryUtil.getLog(LayoutServiceHttp.class);
2442 private static final Class<?>[] _addLayoutParameterTypes0 = new Class[] {
2443 long.class, boolean.class, long.class, java.util.Map.class,
2444 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2445 java.util.Map.class, java.lang.String.class, boolean.class,
2446 java.lang.String.class,
2447 com.liferay.portal.service.ServiceContext.class
2448 };
2449 private static final Class<?>[] _addLayoutParameterTypes1 = new Class[] {
2450 long.class, boolean.class, long.class, java.util.Map.class,
2451 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2452 java.util.Map.class, java.lang.String.class, java.lang.String.class,
2453 boolean.class, java.util.Map.class,
2454 com.liferay.portal.service.ServiceContext.class
2455 };
2456 private static final Class<?>[] _addLayoutParameterTypes2 = new Class[] {
2457 long.class, boolean.class, long.class, java.lang.String.class,
2458 java.lang.String.class, java.lang.String.class,
2459 java.lang.String.class, boolean.class, java.lang.String.class,
2460 com.liferay.portal.service.ServiceContext.class
2461 };
2462 private static final Class<?>[] _addTempFileEntryParameterTypes3 = new Class[] {
2463 long.class, java.lang.String.class, java.lang.String.class,
2464 java.io.InputStream.class, java.lang.String.class
2465 };
2466 private static final Class<?>[] _deleteLayoutParameterTypes4 = new Class[] {
2467 long.class, boolean.class, long.class,
2468 com.liferay.portal.service.ServiceContext.class
2469 };
2470 private static final Class<?>[] _deleteLayoutParameterTypes5 = new Class[] {
2471 long.class, com.liferay.portal.service.ServiceContext.class
2472 };
2473 private static final Class<?>[] _deleteTempFileEntryParameterTypes6 = new Class[] {
2474 long.class, java.lang.String.class, java.lang.String.class
2475 };
2476 private static final Class<?>[] _exportLayoutsParameterTypes7 = new Class[] {
2477 long.class, boolean.class, long[].class, java.util.Map.class,
2478 java.util.Date.class, java.util.Date.class
2479 };
2480 private static final Class<?>[] _exportLayoutsParameterTypes8 = new Class[] {
2481 long.class, boolean.class, java.util.Map.class, java.util.Date.class,
2482 java.util.Date.class
2483 };
2484 private static final Class<?>[] _exportLayoutsAsFileParameterTypes9 = new Class[] {
2485 long.class, boolean.class, long[].class, java.util.Map.class,
2486 java.util.Date.class, java.util.Date.class
2487 };
2488 private static final Class<?>[] _exportLayoutsAsFileInBackgroundParameterTypes10 =
2489 new Class[] {
2490 java.lang.String.class, long.class, boolean.class, long[].class,
2491 java.util.Map.class, java.util.Date.class, java.util.Date.class,
2492 java.lang.String.class
2493 };
2494 private static final Class<?>[] _exportPortletInfoParameterTypes11 = new Class[] {
2495 long.class, long.class, java.lang.String.class, java.util.Map.class,
2496 java.util.Date.class, java.util.Date.class
2497 };
2498 private static final Class<?>[] _exportPortletInfoParameterTypes12 = new Class[] {
2499 long.class, java.lang.String.class, java.util.Map.class,
2500 java.util.Date.class, java.util.Date.class
2501 };
2502 private static final Class<?>[] _exportPortletInfoAsFileParameterTypes13 = new Class[] {
2503 long.class, long.class, java.lang.String.class, java.util.Map.class,
2504 java.util.Date.class, java.util.Date.class
2505 };
2506 private static final Class<?>[] _exportPortletInfoAsFileParameterTypes14 = new Class[] {
2507 java.lang.String.class, java.util.Map.class, java.util.Date.class,
2508 java.util.Date.class
2509 };
2510 private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes15 =
2511 new Class[] {
2512 java.lang.String.class, long.class, long.class,
2513 java.lang.String.class, java.util.Map.class, java.util.Date.class,
2514 java.util.Date.class, java.lang.String.class
2515 };
2516 private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes16 =
2517 new Class[] {
2518 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2519 java.util.Date.class, java.util.Date.class, java.lang.String.class
2520 };
2521 private static final Class<?>[] _getAncestorLayoutsParameterTypes17 = new Class[] {
2522 long.class
2523 };
2524 private static final Class<?>[] _getDefaultPlidParameterTypes18 = new Class[] {
2525 long.class, long.class, boolean.class, java.lang.String.class
2526 };
2527 private static final Class<?>[] _getDefaultPlidParameterTypes19 = new Class[] {
2528 long.class, long.class, java.lang.String.class
2529 };
2530 private static final Class<?>[] _getLayoutByUuidAndGroupIdParameterTypes20 = new Class[] {
2531 java.lang.String.class, long.class, boolean.class
2532 };
2533 private static final Class<?>[] _getLayoutNameParameterTypes21 = new Class[] {
2534 long.class, boolean.class, long.class, java.lang.String.class
2535 };
2536 private static final Class<?>[] _getLayoutReferencesParameterTypes22 = new Class[] {
2537 long.class, java.lang.String.class, java.lang.String.class,
2538 java.lang.String.class
2539 };
2540 private static final Class<?>[] _getLayoutsParameterTypes23 = new Class[] {
2541 long.class, boolean.class
2542 };
2543 private static final Class<?>[] _getLayoutsParameterTypes24 = new Class[] {
2544 long.class, boolean.class, long.class
2545 };
2546 private static final Class<?>[] _getLayoutsParameterTypes25 = new Class[] {
2547 long.class, boolean.class, long.class, boolean.class, int.class,
2548 int.class
2549 };
2550 private static final Class<?>[] _getLayoutsCountParameterTypes26 = new Class[] {
2551 long.class, boolean.class, long.class
2552 };
2553 private static final Class<?>[] _getTempFileEntryNamesParameterTypes27 = new Class[] {
2554 long.class, java.lang.String.class
2555 };
2556 private static final Class<?>[] _importLayoutsParameterTypes28 = new Class[] {
2557 long.class, boolean.class, java.util.Map.class, byte[].class
2558 };
2559 private static final Class<?>[] _importLayoutsParameterTypes29 = new Class[] {
2560 long.class, boolean.class, java.util.Map.class, java.io.File.class
2561 };
2562 private static final Class<?>[] _importLayoutsParameterTypes30 = new Class[] {
2563 long.class, boolean.class, java.util.Map.class,
2564 java.io.InputStream.class
2565 };
2566 private static final Class<?>[] _importLayoutsInBackgroundParameterTypes31 = new Class[] {
2567 java.lang.String.class, long.class, boolean.class,
2568 java.util.Map.class, java.io.File.class
2569 };
2570 private static final Class<?>[] _importLayoutsInBackgroundParameterTypes32 = new Class[] {
2571 java.lang.String.class, long.class, boolean.class,
2572 java.util.Map.class, java.io.InputStream.class
2573 };
2574 private static final Class<?>[] _importPortletInfoParameterTypes33 = new Class[] {
2575 long.class, long.class, java.lang.String.class, java.util.Map.class,
2576 java.io.File.class
2577 };
2578 private static final Class<?>[] _importPortletInfoParameterTypes34 = new Class[] {
2579 long.class, long.class, java.lang.String.class, java.util.Map.class,
2580 java.io.InputStream.class
2581 };
2582 private static final Class<?>[] _importPortletInfoParameterTypes35 = new Class[] {
2583 java.lang.String.class, java.util.Map.class, java.io.File.class
2584 };
2585 private static final Class<?>[] _importPortletInfoParameterTypes36 = new Class[] {
2586 java.lang.String.class, java.util.Map.class,
2587 java.io.InputStream.class
2588 };
2589 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes37 =
2590 new Class[] {
2591 java.lang.String.class, long.class, long.class,
2592 java.lang.String.class, java.util.Map.class, java.io.File.class
2593 };
2594 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes38 =
2595 new Class[] {
2596 java.lang.String.class, long.class, long.class,
2597 java.lang.String.class, java.util.Map.class,
2598 java.io.InputStream.class
2599 };
2600 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes39 =
2601 new Class[] {
2602 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2603 java.io.File.class
2604 };
2605 private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes40 =
2606 new Class[] {
2607 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2608 java.io.InputStream.class
2609 };
2610 private static final Class<?>[] _schedulePublishToLiveParameterTypes41 = new Class[] {
2611 long.class, long.class, boolean.class, java.util.Map.class,
2612 java.util.Map.class, java.lang.String.class, java.util.Date.class,
2613 java.util.Date.class, java.lang.String.class, java.lang.String.class,
2614 java.util.Date.class, java.util.Date.class, java.lang.String.class
2615 };
2616 private static final Class<?>[] _schedulePublishToRemoteParameterTypes42 = new Class[] {
2617 long.class, boolean.class, java.util.Map.class, java.util.Map.class,
2618 java.lang.String.class, int.class, java.lang.String.class,
2619 boolean.class, long.class, boolean.class, java.util.Date.class,
2620 java.util.Date.class, java.lang.String.class, java.lang.String.class,
2621 java.util.Date.class, java.util.Date.class, java.lang.String.class
2622 };
2623 private static final Class<?>[] _setLayoutsParameterTypes43 = new Class[] {
2624 long.class, boolean.class, long.class, long[].class,
2625 com.liferay.portal.service.ServiceContext.class
2626 };
2627 private static final Class<?>[] _unschedulePublishToLiveParameterTypes44 = new Class[] {
2628 long.class, java.lang.String.class, java.lang.String.class
2629 };
2630 private static final Class<?>[] _unschedulePublishToRemoteParameterTypes45 = new Class[] {
2631 long.class, java.lang.String.class, java.lang.String.class
2632 };
2633 private static final Class<?>[] _updateLayoutParameterTypes46 = new Class[] {
2634 long.class, boolean.class, long.class, long.class,
2635 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2636 java.util.Map.class, java.util.Map.class, java.lang.String.class,
2637 boolean.class, java.util.Map.class, java.lang.Boolean.class,
2638 byte[].class, com.liferay.portal.service.ServiceContext.class
2639 };
2640 private static final Class<?>[] _updateLayoutParameterTypes47 = new Class[] {
2641 long.class, boolean.class, long.class, long.class,
2642 java.util.Map.class, java.util.Map.class, java.util.Map.class,
2643 java.util.Map.class, java.util.Map.class, java.lang.String.class,
2644 boolean.class, java.lang.String.class, java.lang.Boolean.class,
2645 byte[].class, com.liferay.portal.service.ServiceContext.class
2646 };
2647 private static final Class<?>[] _updateLayoutParameterTypes48 = new Class[] {
2648 long.class, boolean.class, long.class, java.lang.String.class
2649 };
2650 private static final Class<?>[] _updateLookAndFeelParameterTypes49 = new Class[] {
2651 long.class, boolean.class, long.class, java.lang.String.class,
2652 java.lang.String.class, java.lang.String.class, boolean.class
2653 };
2654 private static final Class<?>[] _updateNameParameterTypes50 = new Class[] {
2655 long.class, boolean.class, long.class, java.lang.String.class,
2656 java.lang.String.class
2657 };
2658 private static final Class<?>[] _updateNameParameterTypes51 = new Class[] {
2659 long.class, java.lang.String.class, java.lang.String.class
2660 };
2661 private static final Class<?>[] _updateParentLayoutIdParameterTypes52 = new Class[] {
2662 long.class, boolean.class, long.class, long.class
2663 };
2664 private static final Class<?>[] _updateParentLayoutIdParameterTypes53 = new Class[] {
2665 long.class, long.class
2666 };
2667 private static final Class<?>[] _updateParentLayoutIdAndPriorityParameterTypes54 =
2668 new Class[] { long.class, long.class, int.class };
2669 private static final Class<?>[] _updatePriorityParameterTypes55 = new Class[] {
2670 long.class, boolean.class, long.class, int.class
2671 };
2672 private static final Class<?>[] _updatePriorityParameterTypes56 = new Class[] {
2673 long.class, boolean.class, long.class, long.class, long.class
2674 };
2675 private static final Class<?>[] _updatePriorityParameterTypes57 = new Class[] {
2676 long.class, int.class
2677 };
2678 private static final Class<?>[] _validateImportLayoutsFileParameterTypes58 = new Class[] {
2679 long.class, boolean.class, java.util.Map.class, java.io.File.class
2680 };
2681 private static final Class<?>[] _validateImportLayoutsFileParameterTypes59 = new Class[] {
2682 long.class, boolean.class, java.util.Map.class,
2683 java.io.InputStream.class
2684 };
2685 private static final Class<?>[] _validateImportPortletInfoParameterTypes60 = new Class[] {
2686 long.class, long.class, java.lang.String.class, java.util.Map.class,
2687 java.io.File.class
2688 };
2689 private static final Class<?>[] _validateImportPortletInfoParameterTypes61 = new Class[] {
2690 long.class, long.class, java.lang.String.class, java.util.Map.class,
2691 java.io.InputStream.class
2692 };
2693 }