1
14
15 package com.liferay.portlet.journal.service.http;
16
17 import com.liferay.portal.kernel.log.Log;
18 import com.liferay.portal.kernel.log.LogFactoryUtil;
19 import com.liferay.portal.kernel.util.MethodHandler;
20 import com.liferay.portal.kernel.util.MethodKey;
21 import com.liferay.portal.security.auth.HttpPrincipal;
22 import com.liferay.portal.service.http.TunnelUtil;
23
24 import com.liferay.portlet.journal.service.JournalArticleServiceUtil;
25
26
63 public class JournalArticleServiceHttp {
64 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
65 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
66 boolean autoArticleId, java.lang.String title,
67 java.lang.String description, java.lang.String content,
68 java.lang.String type, java.lang.String structureId,
69 java.lang.String templateId, int displayDateMonth, int displayDateDay,
70 int displayDateYear, int displayDateHour, int displayDateMinute,
71 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
72 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
73 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
74 int reviewDateHour, int reviewDateMinute, boolean neverReview,
75 boolean indexable, java.lang.String articleURL,
76 com.liferay.portal.service.ServiceContext serviceContext)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 try {
80 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
81 "addArticle", _addArticleParameterTypes0);
82
83 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
84 articleId, autoArticleId, title, description, content,
85 type, structureId, templateId, displayDateMonth,
86 displayDateDay, displayDateYear, displayDateHour,
87 displayDateMinute, expirationDateMonth, expirationDateDay,
88 expirationDateYear, expirationDateHour,
89 expirationDateMinute, neverExpire, reviewDateMonth,
90 reviewDateDay, reviewDateYear, reviewDateHour,
91 reviewDateMinute, neverReview, indexable, articleURL,
92 serviceContext);
93
94 Object returnObj = null;
95
96 try {
97 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
98 }
99 catch (Exception e) {
100 if (e instanceof com.liferay.portal.PortalException) {
101 throw (com.liferay.portal.PortalException)e;
102 }
103
104 if (e instanceof com.liferay.portal.SystemException) {
105 throw (com.liferay.portal.SystemException)e;
106 }
107
108 throw new com.liferay.portal.SystemException(e);
109 }
110
111 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
112 }
113 catch (com.liferay.portal.SystemException se) {
114 _log.error(se, se);
115
116 throw se;
117 }
118 }
119
120 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
121 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
122 boolean autoArticleId, java.lang.String title,
123 java.lang.String description, java.lang.String content,
124 java.lang.String type, java.lang.String structureId,
125 java.lang.String templateId, int displayDateMonth, int displayDateDay,
126 int displayDateYear, int displayDateHour, int displayDateMinute,
127 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
128 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
129 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
130 int reviewDateHour, int reviewDateMinute, boolean neverReview,
131 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
132 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
133 java.lang.String articleURL,
134 com.liferay.portal.service.ServiceContext serviceContext)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 try {
138 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
139 "addArticle", _addArticleParameterTypes1);
140
141 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
142 articleId, autoArticleId, title, description, content,
143 type, structureId, templateId, displayDateMonth,
144 displayDateDay, displayDateYear, displayDateHour,
145 displayDateMinute, expirationDateMonth, expirationDateDay,
146 expirationDateYear, expirationDateHour,
147 expirationDateMinute, neverExpire, reviewDateMonth,
148 reviewDateDay, reviewDateYear, reviewDateHour,
149 reviewDateMinute, neverReview, indexable, smallImage,
150 smallImageURL, smallFile, images, articleURL, serviceContext);
151
152 Object returnObj = null;
153
154 try {
155 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
156 }
157 catch (Exception e) {
158 if (e instanceof com.liferay.portal.PortalException) {
159 throw (com.liferay.portal.PortalException)e;
160 }
161
162 if (e instanceof com.liferay.portal.SystemException) {
163 throw (com.liferay.portal.SystemException)e;
164 }
165
166 throw new com.liferay.portal.SystemException(e);
167 }
168
169 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
170 }
171 catch (com.liferay.portal.SystemException se) {
172 _log.error(se, se);
173
174 throw se;
175 }
176 }
177
178 public static com.liferay.portlet.journal.model.JournalArticle approveArticle(
179 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
180 double version, java.lang.String articleURL,
181 com.liferay.portal.service.ServiceContext serviceContext)
182 throws com.liferay.portal.PortalException,
183 com.liferay.portal.SystemException {
184 try {
185 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
186 "approveArticle", _approveArticleParameterTypes2);
187
188 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
189 articleId, version, articleURL, serviceContext);
190
191 Object returnObj = null;
192
193 try {
194 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
195 }
196 catch (Exception e) {
197 if (e instanceof com.liferay.portal.PortalException) {
198 throw (com.liferay.portal.PortalException)e;
199 }
200
201 if (e instanceof com.liferay.portal.SystemException) {
202 throw (com.liferay.portal.SystemException)e;
203 }
204
205 throw new com.liferay.portal.SystemException(e);
206 }
207
208 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
209 }
210 catch (com.liferay.portal.SystemException se) {
211 _log.error(se, se);
212
213 throw se;
214 }
215 }
216
217 public static com.liferay.portlet.journal.model.JournalArticle copyArticle(
218 HttpPrincipal httpPrincipal, long groupId,
219 java.lang.String oldArticleId, java.lang.String newArticleId,
220 boolean autoArticleId, double version)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException {
223 try {
224 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
225 "copyArticle", _copyArticleParameterTypes3);
226
227 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
228 oldArticleId, newArticleId, autoArticleId, version);
229
230 Object returnObj = null;
231
232 try {
233 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
234 }
235 catch (Exception e) {
236 if (e instanceof com.liferay.portal.PortalException) {
237 throw (com.liferay.portal.PortalException)e;
238 }
239
240 if (e instanceof com.liferay.portal.SystemException) {
241 throw (com.liferay.portal.SystemException)e;
242 }
243
244 throw new com.liferay.portal.SystemException(e);
245 }
246
247 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
248 }
249 catch (com.liferay.portal.SystemException se) {
250 _log.error(se, se);
251
252 throw se;
253 }
254 }
255
256 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
257 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
258 throws com.liferay.portal.PortalException,
259 com.liferay.portal.SystemException {
260 try {
261 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
262 "getArticle", _getArticleParameterTypes4);
263
264 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
265 articleId);
266
267 Object returnObj = null;
268
269 try {
270 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
271 }
272 catch (Exception e) {
273 if (e instanceof com.liferay.portal.PortalException) {
274 throw (com.liferay.portal.PortalException)e;
275 }
276
277 if (e instanceof com.liferay.portal.SystemException) {
278 throw (com.liferay.portal.SystemException)e;
279 }
280
281 throw new com.liferay.portal.SystemException(e);
282 }
283
284 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
285 }
286 catch (com.liferay.portal.SystemException se) {
287 _log.error(se, se);
288
289 throw se;
290 }
291 }
292
293 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
294 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
295 double version)
296 throws com.liferay.portal.PortalException,
297 com.liferay.portal.SystemException {
298 try {
299 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
300 "getArticle", _getArticleParameterTypes5);
301
302 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
303 articleId, version);
304
305 Object returnObj = null;
306
307 try {
308 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
309 }
310 catch (Exception e) {
311 if (e instanceof com.liferay.portal.PortalException) {
312 throw (com.liferay.portal.PortalException)e;
313 }
314
315 if (e instanceof com.liferay.portal.SystemException) {
316 throw (com.liferay.portal.SystemException)e;
317 }
318
319 throw new com.liferay.portal.SystemException(e);
320 }
321
322 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
323 }
324 catch (com.liferay.portal.SystemException se) {
325 _log.error(se, se);
326
327 throw se;
328 }
329 }
330
331 public static com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
332 HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
333 throws com.liferay.portal.PortalException,
334 com.liferay.portal.SystemException {
335 try {
336 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
337 "getArticleByUrlTitle", _getArticleByUrlTitleParameterTypes6);
338
339 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
340 urlTitle);
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.PortalException) {
349 throw (com.liferay.portal.PortalException)e;
350 }
351
352 if (e instanceof com.liferay.portal.SystemException) {
353 throw (com.liferay.portal.SystemException)e;
354 }
355
356 throw new com.liferay.portal.SystemException(e);
357 }
358
359 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
360 }
361 catch (com.liferay.portal.SystemException se) {
362 _log.error(se, se);
363
364 throw se;
365 }
366 }
367
368 public static java.lang.String getArticleContent(
369 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
370 java.lang.String languageId,
371 com.liferay.portal.theme.ThemeDisplay themeDisplay)
372 throws com.liferay.portal.PortalException,
373 com.liferay.portal.SystemException {
374 try {
375 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
376 "getArticleContent", _getArticleContentParameterTypes7);
377
378 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
379 articleId, languageId, themeDisplay);
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.PortalException) {
388 throw (com.liferay.portal.PortalException)e;
389 }
390
391 if (e instanceof com.liferay.portal.SystemException) {
392 throw (com.liferay.portal.SystemException)e;
393 }
394
395 throw new com.liferay.portal.SystemException(e);
396 }
397
398 return (java.lang.String)returnObj;
399 }
400 catch (com.liferay.portal.SystemException se) {
401 _log.error(se, se);
402
403 throw se;
404 }
405 }
406
407 public static java.lang.String getArticleContent(
408 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
409 double version, java.lang.String languageId,
410 com.liferay.portal.theme.ThemeDisplay themeDisplay)
411 throws com.liferay.portal.PortalException,
412 com.liferay.portal.SystemException {
413 try {
414 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
415 "getArticleContent", _getArticleContentParameterTypes8);
416
417 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
418 articleId, version, languageId, themeDisplay);
419
420 Object returnObj = null;
421
422 try {
423 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
424 }
425 catch (Exception e) {
426 if (e instanceof com.liferay.portal.PortalException) {
427 throw (com.liferay.portal.PortalException)e;
428 }
429
430 if (e instanceof com.liferay.portal.SystemException) {
431 throw (com.liferay.portal.SystemException)e;
432 }
433
434 throw new com.liferay.portal.SystemException(e);
435 }
436
437 return (java.lang.String)returnObj;
438 }
439 catch (com.liferay.portal.SystemException se) {
440 _log.error(se, se);
441
442 throw se;
443 }
444 }
445
446 public static void deleteArticle(HttpPrincipal httpPrincipal, long groupId,
447 java.lang.String articleId, double version,
448 java.lang.String articleURL,
449 com.liferay.portal.service.ServiceContext serviceContext)
450 throws com.liferay.portal.PortalException,
451 com.liferay.portal.SystemException {
452 try {
453 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
454 "deleteArticle", _deleteArticleParameterTypes9);
455
456 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
457 articleId, version, articleURL, serviceContext);
458
459 try {
460 TunnelUtil.invoke(httpPrincipal, methodHandler);
461 }
462 catch (Exception e) {
463 if (e instanceof com.liferay.portal.PortalException) {
464 throw (com.liferay.portal.PortalException)e;
465 }
466
467 if (e instanceof com.liferay.portal.SystemException) {
468 throw (com.liferay.portal.SystemException)e;
469 }
470
471 throw new com.liferay.portal.SystemException(e);
472 }
473 }
474 catch (com.liferay.portal.SystemException se) {
475 _log.error(se, se);
476
477 throw se;
478 }
479 }
480
481 public static void expireArticle(HttpPrincipal httpPrincipal, long groupId,
482 java.lang.String articleId, double version,
483 java.lang.String articleURL,
484 com.liferay.portal.service.ServiceContext serviceContext)
485 throws com.liferay.portal.PortalException,
486 com.liferay.portal.SystemException {
487 try {
488 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
489 "expireArticle", _expireArticleParameterTypes10);
490
491 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
492 articleId, version, articleURL, serviceContext);
493
494 try {
495 TunnelUtil.invoke(httpPrincipal, methodHandler);
496 }
497 catch (Exception e) {
498 if (e instanceof com.liferay.portal.PortalException) {
499 throw (com.liferay.portal.PortalException)e;
500 }
501
502 if (e instanceof com.liferay.portal.SystemException) {
503 throw (com.liferay.portal.SystemException)e;
504 }
505
506 throw new com.liferay.portal.SystemException(e);
507 }
508 }
509 catch (com.liferay.portal.SystemException se) {
510 _log.error(se, se);
511
512 throw se;
513 }
514 }
515
516 public static void removeArticleLocale(HttpPrincipal httpPrincipal,
517 long companyId, java.lang.String languageId)
518 throws com.liferay.portal.PortalException,
519 com.liferay.portal.SystemException {
520 try {
521 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
522 "removeArticleLocale", _removeArticleLocaleParameterTypes11);
523
524 MethodHandler methodHandler = new MethodHandler(methodKey,
525 companyId, languageId);
526
527 try {
528 TunnelUtil.invoke(httpPrincipal, methodHandler);
529 }
530 catch (Exception e) {
531 if (e instanceof com.liferay.portal.PortalException) {
532 throw (com.liferay.portal.PortalException)e;
533 }
534
535 if (e instanceof com.liferay.portal.SystemException) {
536 throw (com.liferay.portal.SystemException)e;
537 }
538
539 throw new com.liferay.portal.SystemException(e);
540 }
541 }
542 catch (com.liferay.portal.SystemException se) {
543 _log.error(se, se);
544
545 throw se;
546 }
547 }
548
549 public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
550 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
551 double version, java.lang.String languageId)
552 throws com.liferay.portal.PortalException,
553 com.liferay.portal.SystemException {
554 try {
555 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
556 "removeArticleLocale", _removeArticleLocaleParameterTypes12);
557
558 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
559 articleId, version, languageId);
560
561 Object returnObj = null;
562
563 try {
564 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
565 }
566 catch (Exception e) {
567 if (e instanceof com.liferay.portal.PortalException) {
568 throw (com.liferay.portal.PortalException)e;
569 }
570
571 if (e instanceof com.liferay.portal.SystemException) {
572 throw (com.liferay.portal.SystemException)e;
573 }
574
575 throw new com.liferay.portal.SystemException(e);
576 }
577
578 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
579 }
580 catch (com.liferay.portal.SystemException se) {
581 _log.error(se, se);
582
583 throw se;
584 }
585 }
586
587 public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
588 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
589 double version, boolean incrementVersion, java.lang.String content)
590 throws com.liferay.portal.PortalException,
591 com.liferay.portal.SystemException {
592 try {
593 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
594 "updateArticle", _updateArticleParameterTypes13);
595
596 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
597 articleId, version, incrementVersion, content);
598
599 Object returnObj = null;
600
601 try {
602 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
603 }
604 catch (Exception e) {
605 if (e instanceof com.liferay.portal.PortalException) {
606 throw (com.liferay.portal.PortalException)e;
607 }
608
609 if (e instanceof com.liferay.portal.SystemException) {
610 throw (com.liferay.portal.SystemException)e;
611 }
612
613 throw new com.liferay.portal.SystemException(e);
614 }
615
616 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
617 }
618 catch (com.liferay.portal.SystemException se) {
619 _log.error(se, se);
620
621 throw se;
622 }
623 }
624
625 public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
626 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
627 double version, boolean incrementVersion, java.lang.String title,
628 java.lang.String description, java.lang.String content,
629 java.lang.String type, java.lang.String structureId,
630 java.lang.String templateId, int displayDateMonth, int displayDateDay,
631 int displayDateYear, int displayDateHour, int displayDateMinute,
632 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
633 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
634 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
635 int reviewDateHour, int reviewDateMinute, boolean neverReview,
636 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
637 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
638 java.lang.String articleURL,
639 com.liferay.portal.service.ServiceContext serviceContext)
640 throws com.liferay.portal.PortalException,
641 com.liferay.portal.SystemException {
642 try {
643 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
644 "updateArticle", _updateArticleParameterTypes14);
645
646 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
647 articleId, version, incrementVersion, title, description,
648 content, type, structureId, templateId, displayDateMonth,
649 displayDateDay, displayDateYear, displayDateHour,
650 displayDateMinute, expirationDateMonth, expirationDateDay,
651 expirationDateYear, expirationDateHour,
652 expirationDateMinute, neverExpire, reviewDateMonth,
653 reviewDateDay, reviewDateYear, reviewDateHour,
654 reviewDateMinute, neverReview, indexable, smallImage,
655 smallImageURL, smallFile, images, articleURL, serviceContext);
656
657 Object returnObj = null;
658
659 try {
660 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
661 }
662 catch (Exception e) {
663 if (e instanceof com.liferay.portal.PortalException) {
664 throw (com.liferay.portal.PortalException)e;
665 }
666
667 if (e instanceof com.liferay.portal.SystemException) {
668 throw (com.liferay.portal.SystemException)e;
669 }
670
671 throw new com.liferay.portal.SystemException(e);
672 }
673
674 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
675 }
676 catch (com.liferay.portal.SystemException se) {
677 _log.error(se, se);
678
679 throw se;
680 }
681 }
682
683 public static com.liferay.portlet.journal.model.JournalArticle updateContent(
684 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
685 double version, java.lang.String content)
686 throws com.liferay.portal.PortalException,
687 com.liferay.portal.SystemException {
688 try {
689 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
690 "updateContent", _updateContentParameterTypes15);
691
692 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
693 articleId, version, content);
694
695 Object returnObj = null;
696
697 try {
698 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
699 }
700 catch (Exception e) {
701 if (e instanceof com.liferay.portal.PortalException) {
702 throw (com.liferay.portal.PortalException)e;
703 }
704
705 if (e instanceof com.liferay.portal.SystemException) {
706 throw (com.liferay.portal.SystemException)e;
707 }
708
709 throw new com.liferay.portal.SystemException(e);
710 }
711
712 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
713 }
714 catch (com.liferay.portal.SystemException se) {
715 _log.error(se, se);
716
717 throw se;
718 }
719 }
720
721 private static Log _log = LogFactoryUtil.getLog(JournalArticleServiceHttp.class);
722 private static final Class<?>[] _addArticleParameterTypes0 = new Class[] {
723 long.class, java.lang.String.class, boolean.class,
724 java.lang.String.class, java.lang.String.class,
725 java.lang.String.class, java.lang.String.class,
726 java.lang.String.class, java.lang.String.class, int.class, int.class,
727 int.class, int.class, int.class, int.class, int.class, int.class,
728 int.class, int.class, boolean.class, int.class, int.class, int.class,
729 int.class, int.class, boolean.class, boolean.class,
730 java.lang.String.class,
731 com.liferay.portal.service.ServiceContext.class
732 };
733 private static final Class<?>[] _addArticleParameterTypes1 = new Class[] {
734 long.class, java.lang.String.class, boolean.class,
735 java.lang.String.class, java.lang.String.class,
736 java.lang.String.class, java.lang.String.class,
737 java.lang.String.class, java.lang.String.class, int.class, int.class,
738 int.class, int.class, int.class, int.class, int.class, int.class,
739 int.class, int.class, boolean.class, int.class, int.class, int.class,
740 int.class, int.class, boolean.class, boolean.class, boolean.class,
741 java.lang.String.class, java.io.File.class, java.util.Map.class,
742 java.lang.String.class,
743 com.liferay.portal.service.ServiceContext.class
744 };
745 private static final Class<?>[] _approveArticleParameterTypes2 = new Class[] {
746 long.class, java.lang.String.class, double.class,
747 java.lang.String.class,
748 com.liferay.portal.service.ServiceContext.class
749 };
750 private static final Class<?>[] _copyArticleParameterTypes3 = new Class[] {
751 long.class, java.lang.String.class, java.lang.String.class,
752 boolean.class, double.class
753 };
754 private static final Class<?>[] _getArticleParameterTypes4 = new Class[] {
755 long.class, java.lang.String.class
756 };
757 private static final Class<?>[] _getArticleParameterTypes5 = new Class[] {
758 long.class, java.lang.String.class, double.class
759 };
760 private static final Class<?>[] _getArticleByUrlTitleParameterTypes6 = new Class[] {
761 long.class, java.lang.String.class
762 };
763 private static final Class<?>[] _getArticleContentParameterTypes7 = new Class[] {
764 long.class, java.lang.String.class, java.lang.String.class,
765 com.liferay.portal.theme.ThemeDisplay.class
766 };
767 private static final Class<?>[] _getArticleContentParameterTypes8 = new Class[] {
768 long.class, java.lang.String.class, double.class,
769 java.lang.String.class, com.liferay.portal.theme.ThemeDisplay.class
770 };
771 private static final Class<?>[] _deleteArticleParameterTypes9 = new Class[] {
772 long.class, java.lang.String.class, double.class,
773 java.lang.String.class,
774 com.liferay.portal.service.ServiceContext.class
775 };
776 private static final Class<?>[] _expireArticleParameterTypes10 = new Class[] {
777 long.class, java.lang.String.class, double.class,
778 java.lang.String.class,
779 com.liferay.portal.service.ServiceContext.class
780 };
781 private static final Class<?>[] _removeArticleLocaleParameterTypes11 = new Class[] {
782 long.class, java.lang.String.class
783 };
784 private static final Class<?>[] _removeArticleLocaleParameterTypes12 = new Class[] {
785 long.class, java.lang.String.class, double.class,
786 java.lang.String.class
787 };
788 private static final Class<?>[] _updateArticleParameterTypes13 = new Class[] {
789 long.class, java.lang.String.class, double.class, boolean.class,
790 java.lang.String.class
791 };
792 private static final Class<?>[] _updateArticleParameterTypes14 = new Class[] {
793 long.class, java.lang.String.class, double.class, boolean.class,
794 java.lang.String.class, java.lang.String.class,
795 java.lang.String.class, java.lang.String.class,
796 java.lang.String.class, java.lang.String.class, int.class, int.class,
797 int.class, int.class, int.class, int.class, int.class, int.class,
798 int.class, int.class, boolean.class, int.class, int.class, int.class,
799 int.class, int.class, boolean.class, boolean.class, boolean.class,
800 java.lang.String.class, java.io.File.class, java.util.Map.class,
801 java.lang.String.class,
802 com.liferay.portal.service.ServiceContext.class
803 };
804 private static final Class<?>[] _updateContentParameterTypes15 = new Class[] {
805 long.class, java.lang.String.class, double.class,
806 java.lang.String.class
807 };
808 }