1
22
23 package com.liferay.portlet.journal.service.http;
24
25 import com.liferay.portal.kernel.log.Log;
26 import com.liferay.portal.kernel.log.LogFactoryUtil;
27 import com.liferay.portal.kernel.util.BooleanWrapper;
28 import com.liferay.portal.kernel.util.DoubleWrapper;
29 import com.liferay.portal.kernel.util.IntegerWrapper;
30 import com.liferay.portal.kernel.util.LongWrapper;
31 import com.liferay.portal.kernel.util.MethodWrapper;
32 import com.liferay.portal.kernel.util.NullWrapper;
33 import com.liferay.portal.security.auth.HttpPrincipal;
34 import com.liferay.portal.service.http.TunnelUtil;
35
36 import com.liferay.portlet.journal.service.JournalArticleServiceUtil;
37
38
77 public class JournalArticleServiceHttp {
78 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
79 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
80 boolean autoArticleId, java.lang.String title,
81 java.lang.String description, java.lang.String content,
82 java.lang.String type, java.lang.String structureId,
83 java.lang.String templateId, int displayDateMonth, int displayDateDay,
84 int displayDateYear, int displayDateHour, int displayDateMinute,
85 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
86 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
87 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
88 int reviewDateHour, int reviewDateMinute, boolean neverReview,
89 boolean indexable, java.lang.String articleURL,
90 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries,
91 boolean addCommunityPermissions, boolean addGuestPermissions)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 try {
95 Object paramObj0 = new LongWrapper(groupId);
96
97 Object paramObj1 = articleId;
98
99 if (articleId == null) {
100 paramObj1 = new NullWrapper("java.lang.String");
101 }
102
103 Object paramObj2 = new BooleanWrapper(autoArticleId);
104
105 Object paramObj3 = title;
106
107 if (title == null) {
108 paramObj3 = new NullWrapper("java.lang.String");
109 }
110
111 Object paramObj4 = description;
112
113 if (description == null) {
114 paramObj4 = new NullWrapper("java.lang.String");
115 }
116
117 Object paramObj5 = content;
118
119 if (content == null) {
120 paramObj5 = new NullWrapper("java.lang.String");
121 }
122
123 Object paramObj6 = type;
124
125 if (type == null) {
126 paramObj6 = new NullWrapper("java.lang.String");
127 }
128
129 Object paramObj7 = structureId;
130
131 if (structureId == null) {
132 paramObj7 = new NullWrapper("java.lang.String");
133 }
134
135 Object paramObj8 = templateId;
136
137 if (templateId == null) {
138 paramObj8 = new NullWrapper("java.lang.String");
139 }
140
141 Object paramObj9 = new IntegerWrapper(displayDateMonth);
142
143 Object paramObj10 = new IntegerWrapper(displayDateDay);
144
145 Object paramObj11 = new IntegerWrapper(displayDateYear);
146
147 Object paramObj12 = new IntegerWrapper(displayDateHour);
148
149 Object paramObj13 = new IntegerWrapper(displayDateMinute);
150
151 Object paramObj14 = new IntegerWrapper(expirationDateMonth);
152
153 Object paramObj15 = new IntegerWrapper(expirationDateDay);
154
155 Object paramObj16 = new IntegerWrapper(expirationDateYear);
156
157 Object paramObj17 = new IntegerWrapper(expirationDateHour);
158
159 Object paramObj18 = new IntegerWrapper(expirationDateMinute);
160
161 Object paramObj19 = new BooleanWrapper(neverExpire);
162
163 Object paramObj20 = new IntegerWrapper(reviewDateMonth);
164
165 Object paramObj21 = new IntegerWrapper(reviewDateDay);
166
167 Object paramObj22 = new IntegerWrapper(reviewDateYear);
168
169 Object paramObj23 = new IntegerWrapper(reviewDateHour);
170
171 Object paramObj24 = new IntegerWrapper(reviewDateMinute);
172
173 Object paramObj25 = new BooleanWrapper(neverReview);
174
175 Object paramObj26 = new BooleanWrapper(indexable);
176
177 Object paramObj27 = articleURL;
178
179 if (articleURL == null) {
180 paramObj27 = new NullWrapper("java.lang.String");
181 }
182
183 Object paramObj28 = tagsCategories;
184
185 if (tagsCategories == null) {
186 paramObj28 = new NullWrapper("[Ljava.lang.String;");
187 }
188
189 Object paramObj29 = tagsEntries;
190
191 if (tagsEntries == null) {
192 paramObj29 = new NullWrapper("[Ljava.lang.String;");
193 }
194
195 Object paramObj30 = new BooleanWrapper(addCommunityPermissions);
196
197 Object paramObj31 = new BooleanWrapper(addGuestPermissions);
198
199 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
200 "addArticle",
201 new Object[] {
202 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
203 paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
204 paramObj10, paramObj11, paramObj12, paramObj13,
205 paramObj14, paramObj15, paramObj16, paramObj17,
206 paramObj18, paramObj19, paramObj20, paramObj21,
207 paramObj22, paramObj23, paramObj24, paramObj25,
208 paramObj26, paramObj27, paramObj28, paramObj29,
209 paramObj30, paramObj31
210 });
211
212 Object returnObj = null;
213
214 try {
215 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
216 }
217 catch (Exception e) {
218 if (e instanceof com.liferay.portal.PortalException) {
219 throw (com.liferay.portal.PortalException)e;
220 }
221
222 if (e instanceof com.liferay.portal.SystemException) {
223 throw (com.liferay.portal.SystemException)e;
224 }
225
226 throw new com.liferay.portal.SystemException(e);
227 }
228
229 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
230 }
231 catch (com.liferay.portal.SystemException se) {
232 _log.error(se, se);
233
234 throw se;
235 }
236 }
237
238 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
239 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
240 boolean autoArticleId, java.lang.String title,
241 java.lang.String description, java.lang.String content,
242 java.lang.String type, java.lang.String structureId,
243 java.lang.String templateId, int displayDateMonth, int displayDateDay,
244 int displayDateYear, int displayDateHour, int displayDateMinute,
245 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
246 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
247 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
248 int reviewDateHour, int reviewDateMinute, boolean neverReview,
249 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
250 java.io.File smallFile, java.util.Map<String, byte[]> images,
251 java.lang.String articleURL,
252 javax.portlet.PortletPreferences preferences,
253 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries,
254 boolean addCommunityPermissions, boolean addGuestPermissions)
255 throws com.liferay.portal.PortalException,
256 com.liferay.portal.SystemException {
257 try {
258 Object paramObj0 = new LongWrapper(groupId);
259
260 Object paramObj1 = articleId;
261
262 if (articleId == null) {
263 paramObj1 = new NullWrapper("java.lang.String");
264 }
265
266 Object paramObj2 = new BooleanWrapper(autoArticleId);
267
268 Object paramObj3 = title;
269
270 if (title == null) {
271 paramObj3 = new NullWrapper("java.lang.String");
272 }
273
274 Object paramObj4 = description;
275
276 if (description == null) {
277 paramObj4 = new NullWrapper("java.lang.String");
278 }
279
280 Object paramObj5 = content;
281
282 if (content == null) {
283 paramObj5 = new NullWrapper("java.lang.String");
284 }
285
286 Object paramObj6 = type;
287
288 if (type == null) {
289 paramObj6 = new NullWrapper("java.lang.String");
290 }
291
292 Object paramObj7 = structureId;
293
294 if (structureId == null) {
295 paramObj7 = new NullWrapper("java.lang.String");
296 }
297
298 Object paramObj8 = templateId;
299
300 if (templateId == null) {
301 paramObj8 = new NullWrapper("java.lang.String");
302 }
303
304 Object paramObj9 = new IntegerWrapper(displayDateMonth);
305
306 Object paramObj10 = new IntegerWrapper(displayDateDay);
307
308 Object paramObj11 = new IntegerWrapper(displayDateYear);
309
310 Object paramObj12 = new IntegerWrapper(displayDateHour);
311
312 Object paramObj13 = new IntegerWrapper(displayDateMinute);
313
314 Object paramObj14 = new IntegerWrapper(expirationDateMonth);
315
316 Object paramObj15 = new IntegerWrapper(expirationDateDay);
317
318 Object paramObj16 = new IntegerWrapper(expirationDateYear);
319
320 Object paramObj17 = new IntegerWrapper(expirationDateHour);
321
322 Object paramObj18 = new IntegerWrapper(expirationDateMinute);
323
324 Object paramObj19 = new BooleanWrapper(neverExpire);
325
326 Object paramObj20 = new IntegerWrapper(reviewDateMonth);
327
328 Object paramObj21 = new IntegerWrapper(reviewDateDay);
329
330 Object paramObj22 = new IntegerWrapper(reviewDateYear);
331
332 Object paramObj23 = new IntegerWrapper(reviewDateHour);
333
334 Object paramObj24 = new IntegerWrapper(reviewDateMinute);
335
336 Object paramObj25 = new BooleanWrapper(neverReview);
337
338 Object paramObj26 = new BooleanWrapper(indexable);
339
340 Object paramObj27 = new BooleanWrapper(smallImage);
341
342 Object paramObj28 = smallImageURL;
343
344 if (smallImageURL == null) {
345 paramObj28 = new NullWrapper("java.lang.String");
346 }
347
348 Object paramObj29 = smallFile;
349
350 if (smallFile == null) {
351 paramObj29 = new NullWrapper("java.io.File");
352 }
353
354 Object paramObj30 = images;
355
356 if (images == null) {
357 paramObj30 = new NullWrapper("java.util.Map");
358 }
359
360 Object paramObj31 = articleURL;
361
362 if (articleURL == null) {
363 paramObj31 = new NullWrapper("java.lang.String");
364 }
365
366 Object paramObj32 = preferences;
367
368 if (preferences == null) {
369 paramObj32 = new NullWrapper("javax.portlet.PortletPreferences");
370 }
371
372 Object paramObj33 = tagsCategories;
373
374 if (tagsCategories == null) {
375 paramObj33 = new NullWrapper("[Ljava.lang.String;");
376 }
377
378 Object paramObj34 = tagsEntries;
379
380 if (tagsEntries == null) {
381 paramObj34 = new NullWrapper("[Ljava.lang.String;");
382 }
383
384 Object paramObj35 = new BooleanWrapper(addCommunityPermissions);
385
386 Object paramObj36 = new BooleanWrapper(addGuestPermissions);
387
388 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
389 "addArticle",
390 new Object[] {
391 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
392 paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
393 paramObj10, paramObj11, paramObj12, paramObj13,
394 paramObj14, paramObj15, paramObj16, paramObj17,
395 paramObj18, paramObj19, paramObj20, paramObj21,
396 paramObj22, paramObj23, paramObj24, paramObj25,
397 paramObj26, paramObj27, paramObj28, paramObj29,
398 paramObj30, paramObj31, paramObj32, paramObj33,
399 paramObj34, paramObj35, paramObj36
400 });
401
402 Object returnObj = null;
403
404 try {
405 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
406 }
407 catch (Exception e) {
408 if (e instanceof com.liferay.portal.PortalException) {
409 throw (com.liferay.portal.PortalException)e;
410 }
411
412 if (e instanceof com.liferay.portal.SystemException) {
413 throw (com.liferay.portal.SystemException)e;
414 }
415
416 throw new com.liferay.portal.SystemException(e);
417 }
418
419 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
420 }
421 catch (com.liferay.portal.SystemException se) {
422 _log.error(se, se);
423
424 throw se;
425 }
426 }
427
428 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
429 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
430 boolean autoArticleId, java.lang.String title,
431 java.lang.String description, java.lang.String content,
432 java.lang.String type, java.lang.String structureId,
433 java.lang.String templateId, int displayDateMonth, int displayDateDay,
434 int displayDateYear, int displayDateHour, int displayDateMinute,
435 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
436 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
437 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
438 int reviewDateHour, int reviewDateMinute, boolean neverReview,
439 boolean indexable, java.lang.String articleURL,
440 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries,
441 java.lang.String[] communityPermissions,
442 java.lang.String[] guestPermissions)
443 throws com.liferay.portal.PortalException,
444 com.liferay.portal.SystemException {
445 try {
446 Object paramObj0 = new LongWrapper(groupId);
447
448 Object paramObj1 = articleId;
449
450 if (articleId == null) {
451 paramObj1 = new NullWrapper("java.lang.String");
452 }
453
454 Object paramObj2 = new BooleanWrapper(autoArticleId);
455
456 Object paramObj3 = title;
457
458 if (title == null) {
459 paramObj3 = new NullWrapper("java.lang.String");
460 }
461
462 Object paramObj4 = description;
463
464 if (description == null) {
465 paramObj4 = new NullWrapper("java.lang.String");
466 }
467
468 Object paramObj5 = content;
469
470 if (content == null) {
471 paramObj5 = new NullWrapper("java.lang.String");
472 }
473
474 Object paramObj6 = type;
475
476 if (type == null) {
477 paramObj6 = new NullWrapper("java.lang.String");
478 }
479
480 Object paramObj7 = structureId;
481
482 if (structureId == null) {
483 paramObj7 = new NullWrapper("java.lang.String");
484 }
485
486 Object paramObj8 = templateId;
487
488 if (templateId == null) {
489 paramObj8 = new NullWrapper("java.lang.String");
490 }
491
492 Object paramObj9 = new IntegerWrapper(displayDateMonth);
493
494 Object paramObj10 = new IntegerWrapper(displayDateDay);
495
496 Object paramObj11 = new IntegerWrapper(displayDateYear);
497
498 Object paramObj12 = new IntegerWrapper(displayDateHour);
499
500 Object paramObj13 = new IntegerWrapper(displayDateMinute);
501
502 Object paramObj14 = new IntegerWrapper(expirationDateMonth);
503
504 Object paramObj15 = new IntegerWrapper(expirationDateDay);
505
506 Object paramObj16 = new IntegerWrapper(expirationDateYear);
507
508 Object paramObj17 = new IntegerWrapper(expirationDateHour);
509
510 Object paramObj18 = new IntegerWrapper(expirationDateMinute);
511
512 Object paramObj19 = new BooleanWrapper(neverExpire);
513
514 Object paramObj20 = new IntegerWrapper(reviewDateMonth);
515
516 Object paramObj21 = new IntegerWrapper(reviewDateDay);
517
518 Object paramObj22 = new IntegerWrapper(reviewDateYear);
519
520 Object paramObj23 = new IntegerWrapper(reviewDateHour);
521
522 Object paramObj24 = new IntegerWrapper(reviewDateMinute);
523
524 Object paramObj25 = new BooleanWrapper(neverReview);
525
526 Object paramObj26 = new BooleanWrapper(indexable);
527
528 Object paramObj27 = articleURL;
529
530 if (articleURL == null) {
531 paramObj27 = new NullWrapper("java.lang.String");
532 }
533
534 Object paramObj28 = tagsCategories;
535
536 if (tagsCategories == null) {
537 paramObj28 = new NullWrapper("[Ljava.lang.String;");
538 }
539
540 Object paramObj29 = tagsEntries;
541
542 if (tagsEntries == null) {
543 paramObj29 = new NullWrapper("[Ljava.lang.String;");
544 }
545
546 Object paramObj30 = communityPermissions;
547
548 if (communityPermissions == null) {
549 paramObj30 = new NullWrapper("[Ljava.lang.String;");
550 }
551
552 Object paramObj31 = guestPermissions;
553
554 if (guestPermissions == null) {
555 paramObj31 = new NullWrapper("[Ljava.lang.String;");
556 }
557
558 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
559 "addArticle",
560 new Object[] {
561 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
562 paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
563 paramObj10, paramObj11, paramObj12, paramObj13,
564 paramObj14, paramObj15, paramObj16, paramObj17,
565 paramObj18, paramObj19, paramObj20, paramObj21,
566 paramObj22, paramObj23, paramObj24, paramObj25,
567 paramObj26, paramObj27, paramObj28, paramObj29,
568 paramObj30, paramObj31
569 });
570
571 Object returnObj = null;
572
573 try {
574 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
575 }
576 catch (Exception e) {
577 if (e instanceof com.liferay.portal.PortalException) {
578 throw (com.liferay.portal.PortalException)e;
579 }
580
581 if (e instanceof com.liferay.portal.SystemException) {
582 throw (com.liferay.portal.SystemException)e;
583 }
584
585 throw new com.liferay.portal.SystemException(e);
586 }
587
588 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
589 }
590 catch (com.liferay.portal.SystemException se) {
591 _log.error(se, se);
592
593 throw se;
594 }
595 }
596
597 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
598 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
599 boolean autoArticleId, java.lang.String title,
600 java.lang.String description, java.lang.String content,
601 java.lang.String type, java.lang.String structureId,
602 java.lang.String templateId, int displayDateMonth, int displayDateDay,
603 int displayDateYear, int displayDateHour, int displayDateMinute,
604 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
605 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
606 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
607 int reviewDateHour, int reviewDateMinute, boolean neverReview,
608 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
609 java.io.File smallFile, java.util.Map<String, byte[]> images,
610 java.lang.String articleURL,
611 javax.portlet.PortletPreferences preferences,
612 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries,
613 java.lang.String[] communityPermissions,
614 java.lang.String[] guestPermissions)
615 throws com.liferay.portal.PortalException,
616 com.liferay.portal.SystemException {
617 try {
618 Object paramObj0 = new LongWrapper(groupId);
619
620 Object paramObj1 = articleId;
621
622 if (articleId == null) {
623 paramObj1 = new NullWrapper("java.lang.String");
624 }
625
626 Object paramObj2 = new BooleanWrapper(autoArticleId);
627
628 Object paramObj3 = title;
629
630 if (title == null) {
631 paramObj3 = new NullWrapper("java.lang.String");
632 }
633
634 Object paramObj4 = description;
635
636 if (description == null) {
637 paramObj4 = new NullWrapper("java.lang.String");
638 }
639
640 Object paramObj5 = content;
641
642 if (content == null) {
643 paramObj5 = new NullWrapper("java.lang.String");
644 }
645
646 Object paramObj6 = type;
647
648 if (type == null) {
649 paramObj6 = new NullWrapper("java.lang.String");
650 }
651
652 Object paramObj7 = structureId;
653
654 if (structureId == null) {
655 paramObj7 = new NullWrapper("java.lang.String");
656 }
657
658 Object paramObj8 = templateId;
659
660 if (templateId == null) {
661 paramObj8 = new NullWrapper("java.lang.String");
662 }
663
664 Object paramObj9 = new IntegerWrapper(displayDateMonth);
665
666 Object paramObj10 = new IntegerWrapper(displayDateDay);
667
668 Object paramObj11 = new IntegerWrapper(displayDateYear);
669
670 Object paramObj12 = new IntegerWrapper(displayDateHour);
671
672 Object paramObj13 = new IntegerWrapper(displayDateMinute);
673
674 Object paramObj14 = new IntegerWrapper(expirationDateMonth);
675
676 Object paramObj15 = new IntegerWrapper(expirationDateDay);
677
678 Object paramObj16 = new IntegerWrapper(expirationDateYear);
679
680 Object paramObj17 = new IntegerWrapper(expirationDateHour);
681
682 Object paramObj18 = new IntegerWrapper(expirationDateMinute);
683
684 Object paramObj19 = new BooleanWrapper(neverExpire);
685
686 Object paramObj20 = new IntegerWrapper(reviewDateMonth);
687
688 Object paramObj21 = new IntegerWrapper(reviewDateDay);
689
690 Object paramObj22 = new IntegerWrapper(reviewDateYear);
691
692 Object paramObj23 = new IntegerWrapper(reviewDateHour);
693
694 Object paramObj24 = new IntegerWrapper(reviewDateMinute);
695
696 Object paramObj25 = new BooleanWrapper(neverReview);
697
698 Object paramObj26 = new BooleanWrapper(indexable);
699
700 Object paramObj27 = new BooleanWrapper(smallImage);
701
702 Object paramObj28 = smallImageURL;
703
704 if (smallImageURL == null) {
705 paramObj28 = new NullWrapper("java.lang.String");
706 }
707
708 Object paramObj29 = smallFile;
709
710 if (smallFile == null) {
711 paramObj29 = new NullWrapper("java.io.File");
712 }
713
714 Object paramObj30 = images;
715
716 if (images == null) {
717 paramObj30 = new NullWrapper("java.util.Map");
718 }
719
720 Object paramObj31 = articleURL;
721
722 if (articleURL == null) {
723 paramObj31 = new NullWrapper("java.lang.String");
724 }
725
726 Object paramObj32 = preferences;
727
728 if (preferences == null) {
729 paramObj32 = new NullWrapper("javax.portlet.PortletPreferences");
730 }
731
732 Object paramObj33 = tagsCategories;
733
734 if (tagsCategories == null) {
735 paramObj33 = new NullWrapper("[Ljava.lang.String;");
736 }
737
738 Object paramObj34 = tagsEntries;
739
740 if (tagsEntries == null) {
741 paramObj34 = new NullWrapper("[Ljava.lang.String;");
742 }
743
744 Object paramObj35 = communityPermissions;
745
746 if (communityPermissions == null) {
747 paramObj35 = new NullWrapper("[Ljava.lang.String;");
748 }
749
750 Object paramObj36 = guestPermissions;
751
752 if (guestPermissions == null) {
753 paramObj36 = new NullWrapper("[Ljava.lang.String;");
754 }
755
756 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
757 "addArticle",
758 new Object[] {
759 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
760 paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
761 paramObj10, paramObj11, paramObj12, paramObj13,
762 paramObj14, paramObj15, paramObj16, paramObj17,
763 paramObj18, paramObj19, paramObj20, paramObj21,
764 paramObj22, paramObj23, paramObj24, paramObj25,
765 paramObj26, paramObj27, paramObj28, paramObj29,
766 paramObj30, paramObj31, paramObj32, paramObj33,
767 paramObj34, paramObj35, paramObj36
768 });
769
770 Object returnObj = null;
771
772 try {
773 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
774 }
775 catch (Exception e) {
776 if (e instanceof com.liferay.portal.PortalException) {
777 throw (com.liferay.portal.PortalException)e;
778 }
779
780 if (e instanceof com.liferay.portal.SystemException) {
781 throw (com.liferay.portal.SystemException)e;
782 }
783
784 throw new com.liferay.portal.SystemException(e);
785 }
786
787 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
788 }
789 catch (com.liferay.portal.SystemException se) {
790 _log.error(se, se);
791
792 throw se;
793 }
794 }
795
796 public static com.liferay.portlet.journal.model.JournalArticle approveArticle(
797 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
798 double version, java.lang.String articleURL,
799 javax.portlet.PortletPreferences preferences)
800 throws com.liferay.portal.PortalException,
801 com.liferay.portal.SystemException {
802 try {
803 Object paramObj0 = new LongWrapper(groupId);
804
805 Object paramObj1 = articleId;
806
807 if (articleId == null) {
808 paramObj1 = new NullWrapper("java.lang.String");
809 }
810
811 Object paramObj2 = new DoubleWrapper(version);
812
813 Object paramObj3 = articleURL;
814
815 if (articleURL == null) {
816 paramObj3 = new NullWrapper("java.lang.String");
817 }
818
819 Object paramObj4 = preferences;
820
821 if (preferences == null) {
822 paramObj4 = new NullWrapper("javax.portlet.PortletPreferences");
823 }
824
825 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
826 "approveArticle",
827 new Object[] {
828 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
829 });
830
831 Object returnObj = null;
832
833 try {
834 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
835 }
836 catch (Exception e) {
837 if (e instanceof com.liferay.portal.PortalException) {
838 throw (com.liferay.portal.PortalException)e;
839 }
840
841 if (e instanceof com.liferay.portal.SystemException) {
842 throw (com.liferay.portal.SystemException)e;
843 }
844
845 throw new com.liferay.portal.SystemException(e);
846 }
847
848 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
849 }
850 catch (com.liferay.portal.SystemException se) {
851 _log.error(se, se);
852
853 throw se;
854 }
855 }
856
857 public static com.liferay.portlet.journal.model.JournalArticle copyArticle(
858 HttpPrincipal httpPrincipal, long groupId,
859 java.lang.String oldArticleId, java.lang.String newArticleId,
860 boolean autoArticleId, double version)
861 throws com.liferay.portal.PortalException,
862 com.liferay.portal.SystemException {
863 try {
864 Object paramObj0 = new LongWrapper(groupId);
865
866 Object paramObj1 = oldArticleId;
867
868 if (oldArticleId == null) {
869 paramObj1 = new NullWrapper("java.lang.String");
870 }
871
872 Object paramObj2 = newArticleId;
873
874 if (newArticleId == null) {
875 paramObj2 = new NullWrapper("java.lang.String");
876 }
877
878 Object paramObj3 = new BooleanWrapper(autoArticleId);
879
880 Object paramObj4 = new DoubleWrapper(version);
881
882 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
883 "copyArticle",
884 new Object[] {
885 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
886 });
887
888 Object returnObj = null;
889
890 try {
891 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
892 }
893 catch (Exception e) {
894 if (e instanceof com.liferay.portal.PortalException) {
895 throw (com.liferay.portal.PortalException)e;
896 }
897
898 if (e instanceof com.liferay.portal.SystemException) {
899 throw (com.liferay.portal.SystemException)e;
900 }
901
902 throw new com.liferay.portal.SystemException(e);
903 }
904
905 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
906 }
907 catch (com.liferay.portal.SystemException se) {
908 _log.error(se, se);
909
910 throw se;
911 }
912 }
913
914 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
915 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
916 double version)
917 throws com.liferay.portal.PortalException,
918 com.liferay.portal.SystemException {
919 try {
920 Object paramObj0 = new LongWrapper(groupId);
921
922 Object paramObj1 = articleId;
923
924 if (articleId == null) {
925 paramObj1 = new NullWrapper("java.lang.String");
926 }
927
928 Object paramObj2 = new DoubleWrapper(version);
929
930 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
931 "getArticle",
932 new Object[] { paramObj0, paramObj1, paramObj2 });
933
934 Object returnObj = null;
935
936 try {
937 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
938 }
939 catch (Exception e) {
940 if (e instanceof com.liferay.portal.PortalException) {
941 throw (com.liferay.portal.PortalException)e;
942 }
943
944 if (e instanceof com.liferay.portal.SystemException) {
945 throw (com.liferay.portal.SystemException)e;
946 }
947
948 throw new com.liferay.portal.SystemException(e);
949 }
950
951 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
952 }
953 catch (com.liferay.portal.SystemException se) {
954 _log.error(se, se);
955
956 throw se;
957 }
958 }
959
960 public static java.lang.String getArticleContent(
961 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
962 java.lang.String languageId,
963 com.liferay.portal.theme.ThemeDisplay themeDisplay)
964 throws com.liferay.portal.PortalException,
965 com.liferay.portal.SystemException {
966 try {
967 Object paramObj0 = new LongWrapper(groupId);
968
969 Object paramObj1 = articleId;
970
971 if (articleId == null) {
972 paramObj1 = new NullWrapper("java.lang.String");
973 }
974
975 Object paramObj2 = languageId;
976
977 if (languageId == null) {
978 paramObj2 = new NullWrapper("java.lang.String");
979 }
980
981 Object paramObj3 = themeDisplay;
982
983 if (themeDisplay == null) {
984 paramObj3 = new NullWrapper(
985 "com.liferay.portal.theme.ThemeDisplay");
986 }
987
988 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
989 "getArticleContent",
990 new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
991
992 Object returnObj = null;
993
994 try {
995 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
996 }
997 catch (Exception e) {
998 if (e instanceof com.liferay.portal.PortalException) {
999 throw (com.liferay.portal.PortalException)e;
1000 }
1001
1002 if (e instanceof com.liferay.portal.SystemException) {
1003 throw (com.liferay.portal.SystemException)e;
1004 }
1005
1006 throw new com.liferay.portal.SystemException(e);
1007 }
1008
1009 return (java.lang.String)returnObj;
1010 }
1011 catch (com.liferay.portal.SystemException se) {
1012 _log.error(se, se);
1013
1014 throw se;
1015 }
1016 }
1017
1018 public static java.lang.String getArticleContent(
1019 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1020 double version, java.lang.String languageId,
1021 com.liferay.portal.theme.ThemeDisplay themeDisplay)
1022 throws com.liferay.portal.PortalException,
1023 com.liferay.portal.SystemException {
1024 try {
1025 Object paramObj0 = new LongWrapper(groupId);
1026
1027 Object paramObj1 = articleId;
1028
1029 if (articleId == null) {
1030 paramObj1 = new NullWrapper("java.lang.String");
1031 }
1032
1033 Object paramObj2 = new DoubleWrapper(version);
1034
1035 Object paramObj3 = languageId;
1036
1037 if (languageId == null) {
1038 paramObj3 = new NullWrapper("java.lang.String");
1039 }
1040
1041 Object paramObj4 = themeDisplay;
1042
1043 if (themeDisplay == null) {
1044 paramObj4 = new NullWrapper(
1045 "com.liferay.portal.theme.ThemeDisplay");
1046 }
1047
1048 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1049 "getArticleContent",
1050 new Object[] {
1051 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
1052 });
1053
1054 Object returnObj = null;
1055
1056 try {
1057 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1058 }
1059 catch (Exception e) {
1060 if (e instanceof com.liferay.portal.PortalException) {
1061 throw (com.liferay.portal.PortalException)e;
1062 }
1063
1064 if (e instanceof com.liferay.portal.SystemException) {
1065 throw (com.liferay.portal.SystemException)e;
1066 }
1067
1068 throw new com.liferay.portal.SystemException(e);
1069 }
1070
1071 return (java.lang.String)returnObj;
1072 }
1073 catch (com.liferay.portal.SystemException se) {
1074 _log.error(se, se);
1075
1076 throw se;
1077 }
1078 }
1079
1080 public static void deleteArticle(HttpPrincipal httpPrincipal, long groupId,
1081 java.lang.String articleId, double version,
1082 java.lang.String articleURL,
1083 javax.portlet.PortletPreferences preferences)
1084 throws com.liferay.portal.PortalException,
1085 com.liferay.portal.SystemException {
1086 try {
1087 Object paramObj0 = new LongWrapper(groupId);
1088
1089 Object paramObj1 = articleId;
1090
1091 if (articleId == null) {
1092 paramObj1 = new NullWrapper("java.lang.String");
1093 }
1094
1095 Object paramObj2 = new DoubleWrapper(version);
1096
1097 Object paramObj3 = articleURL;
1098
1099 if (articleURL == null) {
1100 paramObj3 = new NullWrapper("java.lang.String");
1101 }
1102
1103 Object paramObj4 = preferences;
1104
1105 if (preferences == null) {
1106 paramObj4 = new NullWrapper("javax.portlet.PortletPreferences");
1107 }
1108
1109 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1110 "deleteArticle",
1111 new Object[] {
1112 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
1113 });
1114
1115 try {
1116 TunnelUtil.invoke(httpPrincipal, methodWrapper);
1117 }
1118 catch (Exception e) {
1119 if (e instanceof com.liferay.portal.PortalException) {
1120 throw (com.liferay.portal.PortalException)e;
1121 }
1122
1123 if (e instanceof com.liferay.portal.SystemException) {
1124 throw (com.liferay.portal.SystemException)e;
1125 }
1126
1127 throw new com.liferay.portal.SystemException(e);
1128 }
1129 }
1130 catch (com.liferay.portal.SystemException se) {
1131 _log.error(se, se);
1132
1133 throw se;
1134 }
1135 }
1136
1137 public static void expireArticle(HttpPrincipal httpPrincipal, long groupId,
1138 java.lang.String articleId, double version,
1139 java.lang.String articleURL,
1140 javax.portlet.PortletPreferences preferences)
1141 throws com.liferay.portal.PortalException,
1142 com.liferay.portal.SystemException {
1143 try {
1144 Object paramObj0 = new LongWrapper(groupId);
1145
1146 Object paramObj1 = articleId;
1147
1148 if (articleId == null) {
1149 paramObj1 = new NullWrapper("java.lang.String");
1150 }
1151
1152 Object paramObj2 = new DoubleWrapper(version);
1153
1154 Object paramObj3 = articleURL;
1155
1156 if (articleURL == null) {
1157 paramObj3 = new NullWrapper("java.lang.String");
1158 }
1159
1160 Object paramObj4 = preferences;
1161
1162 if (preferences == null) {
1163 paramObj4 = new NullWrapper("javax.portlet.PortletPreferences");
1164 }
1165
1166 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1167 "expireArticle",
1168 new Object[] {
1169 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
1170 });
1171
1172 try {
1173 TunnelUtil.invoke(httpPrincipal, methodWrapper);
1174 }
1175 catch (Exception e) {
1176 if (e instanceof com.liferay.portal.PortalException) {
1177 throw (com.liferay.portal.PortalException)e;
1178 }
1179
1180 if (e instanceof com.liferay.portal.SystemException) {
1181 throw (com.liferay.portal.SystemException)e;
1182 }
1183
1184 throw new com.liferay.portal.SystemException(e);
1185 }
1186 }
1187 catch (com.liferay.portal.SystemException se) {
1188 _log.error(se, se);
1189
1190 throw se;
1191 }
1192 }
1193
1194 public static void removeArticleLocale(HttpPrincipal httpPrincipal,
1195 long companyId, java.lang.String languageId)
1196 throws com.liferay.portal.PortalException,
1197 com.liferay.portal.SystemException {
1198 try {
1199 Object paramObj0 = new LongWrapper(companyId);
1200
1201 Object paramObj1 = languageId;
1202
1203 if (languageId == null) {
1204 paramObj1 = new NullWrapper("java.lang.String");
1205 }
1206
1207 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1208 "removeArticleLocale", new Object[] { paramObj0, paramObj1 });
1209
1210 try {
1211 TunnelUtil.invoke(httpPrincipal, methodWrapper);
1212 }
1213 catch (Exception e) {
1214 if (e instanceof com.liferay.portal.PortalException) {
1215 throw (com.liferay.portal.PortalException)e;
1216 }
1217
1218 if (e instanceof com.liferay.portal.SystemException) {
1219 throw (com.liferay.portal.SystemException)e;
1220 }
1221
1222 throw new com.liferay.portal.SystemException(e);
1223 }
1224 }
1225 catch (com.liferay.portal.SystemException se) {
1226 _log.error(se, se);
1227
1228 throw se;
1229 }
1230 }
1231
1232 public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
1233 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1234 double version, java.lang.String languageId)
1235 throws com.liferay.portal.PortalException,
1236 com.liferay.portal.SystemException {
1237 try {
1238 Object paramObj0 = new LongWrapper(groupId);
1239
1240 Object paramObj1 = articleId;
1241
1242 if (articleId == null) {
1243 paramObj1 = new NullWrapper("java.lang.String");
1244 }
1245
1246 Object paramObj2 = new DoubleWrapper(version);
1247
1248 Object paramObj3 = languageId;
1249
1250 if (languageId == null) {
1251 paramObj3 = new NullWrapper("java.lang.String");
1252 }
1253
1254 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1255 "removeArticleLocale",
1256 new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
1257
1258 Object returnObj = null;
1259
1260 try {
1261 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1262 }
1263 catch (Exception e) {
1264 if (e instanceof com.liferay.portal.PortalException) {
1265 throw (com.liferay.portal.PortalException)e;
1266 }
1267
1268 if (e instanceof com.liferay.portal.SystemException) {
1269 throw (com.liferay.portal.SystemException)e;
1270 }
1271
1272 throw new com.liferay.portal.SystemException(e);
1273 }
1274
1275 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1276 }
1277 catch (com.liferay.portal.SystemException se) {
1278 _log.error(se, se);
1279
1280 throw se;
1281 }
1282 }
1283
1284 public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1285 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1286 double version, boolean incrementVersion, java.lang.String title,
1287 java.lang.String description, java.lang.String content,
1288 java.lang.String type, java.lang.String structureId,
1289 java.lang.String templateId, int displayDateMonth, int displayDateDay,
1290 int displayDateYear, int displayDateHour, int displayDateMinute,
1291 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
1292 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
1293 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
1294 int reviewDateHour, int reviewDateMinute, boolean neverReview,
1295 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
1296 java.io.File smallFile, java.util.Map<String, byte[]> images,
1297 java.lang.String articleURL,
1298 javax.portlet.PortletPreferences preferences,
1299 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
1300 throws com.liferay.portal.PortalException,
1301 com.liferay.portal.SystemException {
1302 try {
1303 Object paramObj0 = new LongWrapper(groupId);
1304
1305 Object paramObj1 = articleId;
1306
1307 if (articleId == null) {
1308 paramObj1 = new NullWrapper("java.lang.String");
1309 }
1310
1311 Object paramObj2 = new DoubleWrapper(version);
1312
1313 Object paramObj3 = new BooleanWrapper(incrementVersion);
1314
1315 Object paramObj4 = title;
1316
1317 if (title == null) {
1318 paramObj4 = new NullWrapper("java.lang.String");
1319 }
1320
1321 Object paramObj5 = description;
1322
1323 if (description == null) {
1324 paramObj5 = new NullWrapper("java.lang.String");
1325 }
1326
1327 Object paramObj6 = content;
1328
1329 if (content == null) {
1330 paramObj6 = new NullWrapper("java.lang.String");
1331 }
1332
1333 Object paramObj7 = type;
1334
1335 if (type == null) {
1336 paramObj7 = new NullWrapper("java.lang.String");
1337 }
1338
1339 Object paramObj8 = structureId;
1340
1341 if (structureId == null) {
1342 paramObj8 = new NullWrapper("java.lang.String");
1343 }
1344
1345 Object paramObj9 = templateId;
1346
1347 if (templateId == null) {
1348 paramObj9 = new NullWrapper("java.lang.String");
1349 }
1350
1351 Object paramObj10 = new IntegerWrapper(displayDateMonth);
1352
1353 Object paramObj11 = new IntegerWrapper(displayDateDay);
1354
1355 Object paramObj12 = new IntegerWrapper(displayDateYear);
1356
1357 Object paramObj13 = new IntegerWrapper(displayDateHour);
1358
1359 Object paramObj14 = new IntegerWrapper(displayDateMinute);
1360
1361 Object paramObj15 = new IntegerWrapper(expirationDateMonth);
1362
1363 Object paramObj16 = new IntegerWrapper(expirationDateDay);
1364
1365 Object paramObj17 = new IntegerWrapper(expirationDateYear);
1366
1367 Object paramObj18 = new IntegerWrapper(expirationDateHour);
1368
1369 Object paramObj19 = new IntegerWrapper(expirationDateMinute);
1370
1371 Object paramObj20 = new BooleanWrapper(neverExpire);
1372
1373 Object paramObj21 = new IntegerWrapper(reviewDateMonth);
1374
1375 Object paramObj22 = new IntegerWrapper(reviewDateDay);
1376
1377 Object paramObj23 = new IntegerWrapper(reviewDateYear);
1378
1379 Object paramObj24 = new IntegerWrapper(reviewDateHour);
1380
1381 Object paramObj25 = new IntegerWrapper(reviewDateMinute);
1382
1383 Object paramObj26 = new BooleanWrapper(neverReview);
1384
1385 Object paramObj27 = new BooleanWrapper(indexable);
1386
1387 Object paramObj28 = new BooleanWrapper(smallImage);
1388
1389 Object paramObj29 = smallImageURL;
1390
1391 if (smallImageURL == null) {
1392 paramObj29 = new NullWrapper("java.lang.String");
1393 }
1394
1395 Object paramObj30 = smallFile;
1396
1397 if (smallFile == null) {
1398 paramObj30 = new NullWrapper("java.io.File");
1399 }
1400
1401 Object paramObj31 = images;
1402
1403 if (images == null) {
1404 paramObj31 = new NullWrapper("java.util.Map");
1405 }
1406
1407 Object paramObj32 = articleURL;
1408
1409 if (articleURL == null) {
1410 paramObj32 = new NullWrapper("java.lang.String");
1411 }
1412
1413 Object paramObj33 = preferences;
1414
1415 if (preferences == null) {
1416 paramObj33 = new NullWrapper("javax.portlet.PortletPreferences");
1417 }
1418
1419 Object paramObj34 = tagsCategories;
1420
1421 if (tagsCategories == null) {
1422 paramObj34 = new NullWrapper("[Ljava.lang.String;");
1423 }
1424
1425 Object paramObj35 = tagsEntries;
1426
1427 if (tagsEntries == null) {
1428 paramObj35 = new NullWrapper("[Ljava.lang.String;");
1429 }
1430
1431 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1432 "updateArticle",
1433 new Object[] {
1434 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
1435 paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
1436 paramObj10, paramObj11, paramObj12, paramObj13,
1437 paramObj14, paramObj15, paramObj16, paramObj17,
1438 paramObj18, paramObj19, paramObj20, paramObj21,
1439 paramObj22, paramObj23, paramObj24, paramObj25,
1440 paramObj26, paramObj27, paramObj28, paramObj29,
1441 paramObj30, paramObj31, paramObj32, paramObj33,
1442 paramObj34, paramObj35
1443 });
1444
1445 Object returnObj = null;
1446
1447 try {
1448 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1449 }
1450 catch (Exception e) {
1451 if (e instanceof com.liferay.portal.PortalException) {
1452 throw (com.liferay.portal.PortalException)e;
1453 }
1454
1455 if (e instanceof com.liferay.portal.SystemException) {
1456 throw (com.liferay.portal.SystemException)e;
1457 }
1458
1459 throw new com.liferay.portal.SystemException(e);
1460 }
1461
1462 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1463 }
1464 catch (com.liferay.portal.SystemException se) {
1465 _log.error(se, se);
1466
1467 throw se;
1468 }
1469 }
1470
1471 public static com.liferay.portlet.journal.model.JournalArticle updateContent(
1472 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1473 double version, java.lang.String content)
1474 throws com.liferay.portal.PortalException,
1475 com.liferay.portal.SystemException {
1476 try {
1477 Object paramObj0 = new LongWrapper(groupId);
1478
1479 Object paramObj1 = articleId;
1480
1481 if (articleId == null) {
1482 paramObj1 = new NullWrapper("java.lang.String");
1483 }
1484
1485 Object paramObj2 = new DoubleWrapper(version);
1486
1487 Object paramObj3 = content;
1488
1489 if (content == null) {
1490 paramObj3 = new NullWrapper("java.lang.String");
1491 }
1492
1493 MethodWrapper methodWrapper = new MethodWrapper(JournalArticleServiceUtil.class.getName(),
1494 "updateContent",
1495 new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
1496
1497 Object returnObj = null;
1498
1499 try {
1500 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1501 }
1502 catch (Exception e) {
1503 if (e instanceof com.liferay.portal.PortalException) {
1504 throw (com.liferay.portal.PortalException)e;
1505 }
1506
1507 if (e instanceof com.liferay.portal.SystemException) {
1508 throw (com.liferay.portal.SystemException)e;
1509 }
1510
1511 throw new com.liferay.portal.SystemException(e);
1512 }
1513
1514 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1515 }
1516 catch (com.liferay.portal.SystemException se) {
1517 _log.error(se, se);
1518
1519 throw se;
1520 }
1521 }
1522
1523 private static Log _log = LogFactoryUtil.getLog(JournalArticleServiceHttp.class);
1524}