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