001
014
015 package com.liferay.portlet.journal.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.http.TunnelUtil;
023
024 import com.liferay.portlet.journal.service.JournalArticleServiceUtil;
025
026
056 public class JournalArticleServiceHttp {
057 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
058 HttpPrincipal httpPrincipal, long groupId, long folderId,
059 long classNameId, long classPK, java.lang.String articleId,
060 boolean autoArticleId,
061 java.util.Map<java.util.Locale, java.lang.String> titleMap,
062 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
063 java.lang.String content, java.lang.String type,
064 java.lang.String structureId, java.lang.String templateId,
065 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
066 int displayDateYear, int displayDateHour, int displayDateMinute,
067 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
068 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
069 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
070 int reviewDateHour, int reviewDateMinute, boolean neverReview,
071 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
072 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
073 java.lang.String articleURL,
074 com.liferay.portal.service.ServiceContext serviceContext)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 try {
078 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
079 "addArticle", _addArticleParameterTypes0);
080
081 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
082 folderId, classNameId, classPK, articleId, autoArticleId,
083 titleMap, descriptionMap, content, type, structureId,
084 templateId, layoutUuid, displayDateMonth, displayDateDay,
085 displayDateYear, displayDateHour, displayDateMinute,
086 expirationDateMonth, expirationDateDay, expirationDateYear,
087 expirationDateHour, expirationDateMinute, neverExpire,
088 reviewDateMonth, reviewDateDay, reviewDateYear,
089 reviewDateHour, reviewDateMinute, neverReview, indexable,
090 smallImage, smallImageURL, smallFile, images, articleURL,
091 serviceContext);
092
093 Object returnObj = null;
094
095 try {
096 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
097 }
098 catch (Exception e) {
099 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
100 throw (com.liferay.portal.kernel.exception.PortalException)e;
101 }
102
103 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
104 throw (com.liferay.portal.kernel.exception.SystemException)e;
105 }
106
107 throw new com.liferay.portal.kernel.exception.SystemException(e);
108 }
109
110 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
111 }
112 catch (com.liferay.portal.kernel.exception.SystemException se) {
113 _log.error(se, se);
114
115 throw se;
116 }
117 }
118
119 public static com.liferay.portlet.journal.model.JournalArticle addArticle(
120 HttpPrincipal httpPrincipal, long groupId, long folderId,
121 long classNameId, long classPK, java.lang.String articleId,
122 boolean autoArticleId,
123 java.util.Map<java.util.Locale, java.lang.String> titleMap,
124 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
125 java.lang.String content, java.lang.String type,
126 java.lang.String structureId, java.lang.String templateId,
127 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
128 int displayDateYear, int displayDateHour, int displayDateMinute,
129 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
130 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
131 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
132 int reviewDateHour, int reviewDateMinute, boolean neverReview,
133 boolean indexable, java.lang.String articleURL,
134 com.liferay.portal.service.ServiceContext serviceContext)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException {
137 try {
138 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
139 "addArticle", _addArticleParameterTypes1);
140
141 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
142 folderId, classNameId, classPK, articleId, autoArticleId,
143 titleMap, descriptionMap, content, type, structureId,
144 templateId, layoutUuid, displayDateMonth, displayDateDay,
145 displayDateYear, displayDateHour, displayDateMinute,
146 expirationDateMonth, expirationDateDay, expirationDateYear,
147 expirationDateHour, expirationDateMinute, neverExpire,
148 reviewDateMonth, reviewDateDay, reviewDateYear,
149 reviewDateHour, reviewDateMinute, neverReview, indexable,
150 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.kernel.exception.PortalException) {
159 throw (com.liferay.portal.kernel.exception.PortalException)e;
160 }
161
162 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
163 throw (com.liferay.portal.kernel.exception.SystemException)e;
164 }
165
166 throw new com.liferay.portal.kernel.exception.SystemException(e);
167 }
168
169 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
170 }
171 catch (com.liferay.portal.kernel.exception.SystemException se) {
172 _log.error(se, se);
173
174 throw se;
175 }
176 }
177
178 public static com.liferay.portlet.journal.model.JournalArticle copyArticle(
179 HttpPrincipal httpPrincipal, long groupId,
180 java.lang.String oldArticleId, java.lang.String newArticleId,
181 boolean autoArticleId, double version)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException {
184 try {
185 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
186 "copyArticle", _copyArticleParameterTypes2);
187
188 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
189 oldArticleId, newArticleId, autoArticleId, version);
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.kernel.exception.PortalException) {
198 throw (com.liferay.portal.kernel.exception.PortalException)e;
199 }
200
201 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
202 throw (com.liferay.portal.kernel.exception.SystemException)e;
203 }
204
205 throw new com.liferay.portal.kernel.exception.SystemException(e);
206 }
207
208 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
209 }
210 catch (com.liferay.portal.kernel.exception.SystemException se) {
211 _log.error(se, se);
212
213 throw se;
214 }
215 }
216
217 public static void deleteArticle(HttpPrincipal httpPrincipal, long groupId,
218 java.lang.String articleId, double version,
219 java.lang.String articleURL,
220 com.liferay.portal.service.ServiceContext serviceContext)
221 throws com.liferay.portal.kernel.exception.PortalException,
222 com.liferay.portal.kernel.exception.SystemException {
223 try {
224 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
225 "deleteArticle", _deleteArticleParameterTypes3);
226
227 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
228 articleId, version, articleURL, serviceContext);
229
230 try {
231 TunnelUtil.invoke(httpPrincipal, methodHandler);
232 }
233 catch (Exception e) {
234 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
235 throw (com.liferay.portal.kernel.exception.PortalException)e;
236 }
237
238 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
239 throw (com.liferay.portal.kernel.exception.SystemException)e;
240 }
241
242 throw new com.liferay.portal.kernel.exception.SystemException(e);
243 }
244 }
245 catch (com.liferay.portal.kernel.exception.SystemException se) {
246 _log.error(se, se);
247
248 throw se;
249 }
250 }
251
252 public static void deleteArticle(HttpPrincipal httpPrincipal, long groupId,
253 java.lang.String articleId, java.lang.String articleURL,
254 com.liferay.portal.service.ServiceContext serviceContext)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException {
257 try {
258 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
259 "deleteArticle", _deleteArticleParameterTypes4);
260
261 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
262 articleId, articleURL, serviceContext);
263
264 try {
265 TunnelUtil.invoke(httpPrincipal, methodHandler);
266 }
267 catch (Exception e) {
268 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
269 throw (com.liferay.portal.kernel.exception.PortalException)e;
270 }
271
272 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
273 throw (com.liferay.portal.kernel.exception.SystemException)e;
274 }
275
276 throw new com.liferay.portal.kernel.exception.SystemException(e);
277 }
278 }
279 catch (com.liferay.portal.kernel.exception.SystemException se) {
280 _log.error(se, se);
281
282 throw se;
283 }
284 }
285
286 public static com.liferay.portlet.journal.model.JournalArticle expireArticle(
287 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
288 double version, java.lang.String articleURL,
289 com.liferay.portal.service.ServiceContext serviceContext)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 try {
293 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
294 "expireArticle", _expireArticleParameterTypes5);
295
296 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
297 articleId, version, articleURL, serviceContext);
298
299 Object returnObj = null;
300
301 try {
302 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
303 }
304 catch (Exception e) {
305 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
306 throw (com.liferay.portal.kernel.exception.PortalException)e;
307 }
308
309 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
310 throw (com.liferay.portal.kernel.exception.SystemException)e;
311 }
312
313 throw new com.liferay.portal.kernel.exception.SystemException(e);
314 }
315
316 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
317 }
318 catch (com.liferay.portal.kernel.exception.SystemException se) {
319 _log.error(se, se);
320
321 throw se;
322 }
323 }
324
325 public static void expireArticle(HttpPrincipal httpPrincipal, long groupId,
326 java.lang.String articleId, java.lang.String articleURL,
327 com.liferay.portal.service.ServiceContext serviceContext)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 try {
331 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
332 "expireArticle", _expireArticleParameterTypes6);
333
334 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
335 articleId, articleURL, serviceContext);
336
337 try {
338 TunnelUtil.invoke(httpPrincipal, methodHandler);
339 }
340 catch (Exception e) {
341 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
342 throw (com.liferay.portal.kernel.exception.PortalException)e;
343 }
344
345 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
346 throw (com.liferay.portal.kernel.exception.SystemException)e;
347 }
348
349 throw new com.liferay.portal.kernel.exception.SystemException(e);
350 }
351 }
352 catch (com.liferay.portal.kernel.exception.SystemException se) {
353 _log.error(se, se);
354
355 throw se;
356 }
357 }
358
359 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
360 HttpPrincipal httpPrincipal, long id)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 try {
364 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
365 "getArticle", _getArticleParameterTypes7);
366
367 MethodHandler methodHandler = new MethodHandler(methodKey, id);
368
369 Object returnObj = null;
370
371 try {
372 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
373 }
374 catch (Exception e) {
375 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
376 throw (com.liferay.portal.kernel.exception.PortalException)e;
377 }
378
379 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
380 throw (com.liferay.portal.kernel.exception.SystemException)e;
381 }
382
383 throw new com.liferay.portal.kernel.exception.SystemException(e);
384 }
385
386 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
387 }
388 catch (com.liferay.portal.kernel.exception.SystemException se) {
389 _log.error(se, se);
390
391 throw se;
392 }
393 }
394
395 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
396 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 try {
400 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
401 "getArticle", _getArticleParameterTypes8);
402
403 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
404 articleId);
405
406 Object returnObj = null;
407
408 try {
409 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
410 }
411 catch (Exception e) {
412 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
413 throw (com.liferay.portal.kernel.exception.PortalException)e;
414 }
415
416 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
417 throw (com.liferay.portal.kernel.exception.SystemException)e;
418 }
419
420 throw new com.liferay.portal.kernel.exception.SystemException(e);
421 }
422
423 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
424 }
425 catch (com.liferay.portal.kernel.exception.SystemException se) {
426 _log.error(se, se);
427
428 throw se;
429 }
430 }
431
432 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
433 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
434 double version)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException {
437 try {
438 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
439 "getArticle", _getArticleParameterTypes9);
440
441 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
442 articleId, version);
443
444 Object returnObj = null;
445
446 try {
447 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
448 }
449 catch (Exception e) {
450 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
451 throw (com.liferay.portal.kernel.exception.PortalException)e;
452 }
453
454 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
455 throw (com.liferay.portal.kernel.exception.SystemException)e;
456 }
457
458 throw new com.liferay.portal.kernel.exception.SystemException(e);
459 }
460
461 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
462 }
463 catch (com.liferay.portal.kernel.exception.SystemException se) {
464 _log.error(se, se);
465
466 throw se;
467 }
468 }
469
470 public static com.liferay.portlet.journal.model.JournalArticle getArticle(
471 HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
472 long classPK)
473 throws com.liferay.portal.kernel.exception.PortalException,
474 com.liferay.portal.kernel.exception.SystemException {
475 try {
476 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
477 "getArticle", _getArticleParameterTypes10);
478
479 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
480 className, classPK);
481
482 Object returnObj = null;
483
484 try {
485 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
486 }
487 catch (Exception e) {
488 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
489 throw (com.liferay.portal.kernel.exception.PortalException)e;
490 }
491
492 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
493 throw (com.liferay.portal.kernel.exception.SystemException)e;
494 }
495
496 throw new com.liferay.portal.kernel.exception.SystemException(e);
497 }
498
499 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
500 }
501 catch (com.liferay.portal.kernel.exception.SystemException se) {
502 _log.error(se, se);
503
504 throw se;
505 }
506 }
507
508 public static com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
509 HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
510 throws com.liferay.portal.kernel.exception.PortalException,
511 com.liferay.portal.kernel.exception.SystemException {
512 try {
513 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
514 "getArticleByUrlTitle",
515 _getArticleByUrlTitleParameterTypes11);
516
517 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
518 urlTitle);
519
520 Object returnObj = null;
521
522 try {
523 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
524 }
525 catch (Exception e) {
526 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
527 throw (com.liferay.portal.kernel.exception.PortalException)e;
528 }
529
530 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
531 throw (com.liferay.portal.kernel.exception.SystemException)e;
532 }
533
534 throw new com.liferay.portal.kernel.exception.SystemException(e);
535 }
536
537 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
538 }
539 catch (com.liferay.portal.kernel.exception.SystemException se) {
540 _log.error(se, se);
541
542 throw se;
543 }
544 }
545
546 public static java.lang.String getArticleContent(
547 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
548 double version, java.lang.String languageId,
549 com.liferay.portal.theme.ThemeDisplay themeDisplay)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 try {
553 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
554 "getArticleContent", _getArticleContentParameterTypes12);
555
556 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
557 articleId, version, languageId, themeDisplay);
558
559 Object returnObj = null;
560
561 try {
562 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
563 }
564 catch (Exception e) {
565 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
566 throw (com.liferay.portal.kernel.exception.PortalException)e;
567 }
568
569 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
570 throw (com.liferay.portal.kernel.exception.SystemException)e;
571 }
572
573 throw new com.liferay.portal.kernel.exception.SystemException(e);
574 }
575
576 return (java.lang.String)returnObj;
577 }
578 catch (com.liferay.portal.kernel.exception.SystemException se) {
579 _log.error(se, se);
580
581 throw se;
582 }
583 }
584
585 public static java.lang.String getArticleContent(
586 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
587 java.lang.String languageId,
588 com.liferay.portal.theme.ThemeDisplay themeDisplay)
589 throws com.liferay.portal.kernel.exception.PortalException,
590 com.liferay.portal.kernel.exception.SystemException {
591 try {
592 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
593 "getArticleContent", _getArticleContentParameterTypes13);
594
595 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
596 articleId, languageId, themeDisplay);
597
598 Object returnObj = null;
599
600 try {
601 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
602 }
603 catch (Exception e) {
604 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
605 throw (com.liferay.portal.kernel.exception.PortalException)e;
606 }
607
608 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
609 throw (com.liferay.portal.kernel.exception.SystemException)e;
610 }
611
612 throw new com.liferay.portal.kernel.exception.SystemException(e);
613 }
614
615 return (java.lang.String)returnObj;
616 }
617 catch (com.liferay.portal.kernel.exception.SystemException se) {
618 _log.error(se, se);
619
620 throw se;
621 }
622 }
623
624 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
625 HttpPrincipal httpPrincipal, long groupId, long folderId)
626 throws com.liferay.portal.kernel.exception.SystemException {
627 try {
628 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
629 "getArticles", _getArticlesParameterTypes14);
630
631 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
632 folderId);
633
634 Object returnObj = null;
635
636 try {
637 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
638 }
639 catch (Exception e) {
640 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
641 throw (com.liferay.portal.kernel.exception.SystemException)e;
642 }
643
644 throw new com.liferay.portal.kernel.exception.SystemException(e);
645 }
646
647 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
648 }
649 catch (com.liferay.portal.kernel.exception.SystemException se) {
650 _log.error(se, se);
651
652 throw se;
653 }
654 }
655
656 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
657 HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
658 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
659 throws com.liferay.portal.kernel.exception.SystemException {
660 try {
661 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
662 "getArticles", _getArticlesParameterTypes15);
663
664 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
665 folderId, start, end, obc);
666
667 Object returnObj = null;
668
669 try {
670 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
671 }
672 catch (Exception e) {
673 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
674 throw (com.liferay.portal.kernel.exception.SystemException)e;
675 }
676
677 throw new com.liferay.portal.kernel.exception.SystemException(e);
678 }
679
680 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
681 }
682 catch (com.liferay.portal.kernel.exception.SystemException se) {
683 _log.error(se, se);
684
685 throw se;
686 }
687 }
688
689 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByArticleId(
690 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
691 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
692 throws com.liferay.portal.kernel.exception.SystemException {
693 try {
694 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
695 "getArticlesByArticleId",
696 _getArticlesByArticleIdParameterTypes16);
697
698 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
699 articleId, start, end, obc);
700
701 Object returnObj = null;
702
703 try {
704 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
705 }
706 catch (Exception e) {
707 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
708 throw (com.liferay.portal.kernel.exception.SystemException)e;
709 }
710
711 throw new com.liferay.portal.kernel.exception.SystemException(e);
712 }
713
714 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
715 }
716 catch (com.liferay.portal.kernel.exception.SystemException se) {
717 _log.error(se, se);
718
719 throw se;
720 }
721 }
722
723 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByLayoutUuid(
724 HttpPrincipal httpPrincipal, long groupId, java.lang.String layoutUuid)
725 throws com.liferay.portal.kernel.exception.SystemException {
726 try {
727 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
728 "getArticlesByLayoutUuid",
729 _getArticlesByLayoutUuidParameterTypes17);
730
731 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
732 layoutUuid);
733
734 Object returnObj = null;
735
736 try {
737 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
738 }
739 catch (Exception e) {
740 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
741 throw (com.liferay.portal.kernel.exception.SystemException)e;
742 }
743
744 throw new com.liferay.portal.kernel.exception.SystemException(e);
745 }
746
747 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
748 }
749 catch (com.liferay.portal.kernel.exception.SystemException se) {
750 _log.error(se, se);
751
752 throw se;
753 }
754 }
755
756 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByStructureId(
757 HttpPrincipal httpPrincipal, long groupId,
758 java.lang.String structureId, int start, int end,
759 com.liferay.portal.kernel.util.OrderByComparator obc)
760 throws com.liferay.portal.kernel.exception.SystemException {
761 try {
762 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
763 "getArticlesByStructureId",
764 _getArticlesByStructureIdParameterTypes18);
765
766 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
767 structureId, start, end, obc);
768
769 Object returnObj = null;
770
771 try {
772 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
773 }
774 catch (Exception e) {
775 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
776 throw (com.liferay.portal.kernel.exception.SystemException)e;
777 }
778
779 throw new com.liferay.portal.kernel.exception.SystemException(e);
780 }
781
782 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
783 }
784 catch (com.liferay.portal.kernel.exception.SystemException se) {
785 _log.error(se, se);
786
787 throw se;
788 }
789 }
790
791 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByUserId(
792 HttpPrincipal httpPrincipal, long groupId, long userId, int start,
793 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
794 throws com.liferay.portal.kernel.exception.SystemException {
795 try {
796 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
797 "getArticlesByUserId", _getArticlesByUserIdParameterTypes19);
798
799 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
800 userId, start, end, obc);
801
802 Object returnObj = null;
803
804 try {
805 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
806 }
807 catch (Exception e) {
808 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
809 throw (com.liferay.portal.kernel.exception.SystemException)e;
810 }
811
812 throw new com.liferay.portal.kernel.exception.SystemException(e);
813 }
814
815 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
816 }
817 catch (com.liferay.portal.kernel.exception.SystemException se) {
818 _log.error(se, se);
819
820 throw se;
821 }
822 }
823
824 public static int getArticlesCount(HttpPrincipal httpPrincipal,
825 long groupId, long folderId)
826 throws com.liferay.portal.kernel.exception.SystemException {
827 try {
828 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
829 "getArticlesCount", _getArticlesCountParameterTypes20);
830
831 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
832 folderId);
833
834 Object returnObj = null;
835
836 try {
837 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
838 }
839 catch (Exception e) {
840 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
841 throw (com.liferay.portal.kernel.exception.SystemException)e;
842 }
843
844 throw new com.liferay.portal.kernel.exception.SystemException(e);
845 }
846
847 return ((Integer)returnObj).intValue();
848 }
849 catch (com.liferay.portal.kernel.exception.SystemException se) {
850 _log.error(se, se);
851
852 throw se;
853 }
854 }
855
856 public static int getArticlesCountByArticleId(HttpPrincipal httpPrincipal,
857 long groupId, java.lang.String articleId)
858 throws com.liferay.portal.kernel.exception.SystemException {
859 try {
860 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
861 "getArticlesCountByArticleId",
862 _getArticlesCountByArticleIdParameterTypes21);
863
864 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
865 articleId);
866
867 Object returnObj = null;
868
869 try {
870 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
871 }
872 catch (Exception e) {
873 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
874 throw (com.liferay.portal.kernel.exception.SystemException)e;
875 }
876
877 throw new com.liferay.portal.kernel.exception.SystemException(e);
878 }
879
880 return ((Integer)returnObj).intValue();
881 }
882 catch (com.liferay.portal.kernel.exception.SystemException se) {
883 _log.error(se, se);
884
885 throw se;
886 }
887 }
888
889 public static int getArticlesCountByStructureId(
890 HttpPrincipal httpPrincipal, long groupId, java.lang.String structureId)
891 throws com.liferay.portal.kernel.exception.SystemException {
892 try {
893 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
894 "getArticlesCountByStructureId",
895 _getArticlesCountByStructureIdParameterTypes22);
896
897 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
898 structureId);
899
900 Object returnObj = null;
901
902 try {
903 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
904 }
905 catch (Exception e) {
906 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
907 throw (com.liferay.portal.kernel.exception.SystemException)e;
908 }
909
910 throw new com.liferay.portal.kernel.exception.SystemException(e);
911 }
912
913 return ((Integer)returnObj).intValue();
914 }
915 catch (com.liferay.portal.kernel.exception.SystemException se) {
916 _log.error(se, se);
917
918 throw se;
919 }
920 }
921
922 public static int getArticlesCountByUserId(HttpPrincipal httpPrincipal,
923 long groupId, long userId)
924 throws com.liferay.portal.kernel.exception.SystemException {
925 try {
926 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
927 "getArticlesCountByUserId",
928 _getArticlesCountByUserIdParameterTypes23);
929
930 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
931 userId);
932
933 Object returnObj = null;
934
935 try {
936 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
937 }
938 catch (Exception e) {
939 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
940 throw (com.liferay.portal.kernel.exception.SystemException)e;
941 }
942
943 throw new com.liferay.portal.kernel.exception.SystemException(e);
944 }
945
946 return ((Integer)returnObj).intValue();
947 }
948 catch (com.liferay.portal.kernel.exception.SystemException se) {
949 _log.error(se, se);
950
951 throw se;
952 }
953 }
954
955 public static com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
956 HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
957 throws com.liferay.portal.kernel.exception.PortalException,
958 com.liferay.portal.kernel.exception.SystemException {
959 try {
960 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
961 "getDisplayArticleByUrlTitle",
962 _getDisplayArticleByUrlTitleParameterTypes24);
963
964 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
965 urlTitle);
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.PortalException) {
974 throw (com.liferay.portal.kernel.exception.PortalException)e;
975 }
976
977 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
978 throw (com.liferay.portal.kernel.exception.SystemException)e;
979 }
980
981 throw new com.liferay.portal.kernel.exception.SystemException(e);
982 }
983
984 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
985 }
986 catch (com.liferay.portal.kernel.exception.SystemException se) {
987 _log.error(se, se);
988
989 throw se;
990 }
991 }
992
993 public static int getFoldersAndArticlesCount(HttpPrincipal httpPrincipal,
994 long groupId, java.util.List<java.lang.Long> folderIds)
995 throws com.liferay.portal.kernel.exception.SystemException {
996 try {
997 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
998 "getFoldersAndArticlesCount",
999 _getFoldersAndArticlesCountParameterTypes25);
1000
1001 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1002 folderIds);
1003
1004 Object returnObj = null;
1005
1006 try {
1007 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1008 }
1009 catch (Exception e) {
1010 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1011 throw (com.liferay.portal.kernel.exception.SystemException)e;
1012 }
1013
1014 throw new com.liferay.portal.kernel.exception.SystemException(e);
1015 }
1016
1017 return ((Integer)returnObj).intValue();
1018 }
1019 catch (com.liferay.portal.kernel.exception.SystemException se) {
1020 _log.error(se, se);
1021
1022 throw se;
1023 }
1024 }
1025
1026 public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1027 HttpPrincipal httpPrincipal, long resourcePrimKey)
1028 throws com.liferay.portal.kernel.exception.PortalException,
1029 com.liferay.portal.kernel.exception.SystemException {
1030 try {
1031 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1032 "getLatestArticle", _getLatestArticleParameterTypes26);
1033
1034 MethodHandler methodHandler = new MethodHandler(methodKey,
1035 resourcePrimKey);
1036
1037 Object returnObj = null;
1038
1039 try {
1040 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1041 }
1042 catch (Exception e) {
1043 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1044 throw (com.liferay.portal.kernel.exception.PortalException)e;
1045 }
1046
1047 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1048 throw (com.liferay.portal.kernel.exception.SystemException)e;
1049 }
1050
1051 throw new com.liferay.portal.kernel.exception.SystemException(e);
1052 }
1053
1054 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1055 }
1056 catch (com.liferay.portal.kernel.exception.SystemException se) {
1057 _log.error(se, se);
1058
1059 throw se;
1060 }
1061 }
1062
1063 public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1064 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1065 int status)
1066 throws com.liferay.portal.kernel.exception.PortalException,
1067 com.liferay.portal.kernel.exception.SystemException {
1068 try {
1069 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1070 "getLatestArticle", _getLatestArticleParameterTypes27);
1071
1072 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1073 articleId, status);
1074
1075 Object returnObj = null;
1076
1077 try {
1078 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1079 }
1080 catch (Exception e) {
1081 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1082 throw (com.liferay.portal.kernel.exception.PortalException)e;
1083 }
1084
1085 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1086 throw (com.liferay.portal.kernel.exception.SystemException)e;
1087 }
1088
1089 throw new com.liferay.portal.kernel.exception.SystemException(e);
1090 }
1091
1092 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1093 }
1094 catch (com.liferay.portal.kernel.exception.SystemException se) {
1095 _log.error(se, se);
1096
1097 throw se;
1098 }
1099 }
1100
1101 public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1102 HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
1103 long classPK)
1104 throws com.liferay.portal.kernel.exception.PortalException,
1105 com.liferay.portal.kernel.exception.SystemException {
1106 try {
1107 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1108 "getLatestArticle", _getLatestArticleParameterTypes28);
1109
1110 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1111 className, classPK);
1112
1113 Object returnObj = null;
1114
1115 try {
1116 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1117 }
1118 catch (Exception e) {
1119 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1120 throw (com.liferay.portal.kernel.exception.PortalException)e;
1121 }
1122
1123 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1124 throw (com.liferay.portal.kernel.exception.SystemException)e;
1125 }
1126
1127 throw new com.liferay.portal.kernel.exception.SystemException(e);
1128 }
1129
1130 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1131 }
1132 catch (com.liferay.portal.kernel.exception.SystemException se) {
1133 _log.error(se, se);
1134
1135 throw se;
1136 }
1137 }
1138
1139 public static void moveArticle(HttpPrincipal httpPrincipal, long groupId,
1140 java.lang.String articleId, long newFolderId)
1141 throws com.liferay.portal.kernel.exception.PortalException,
1142 com.liferay.portal.kernel.exception.SystemException {
1143 try {
1144 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1145 "moveArticle", _moveArticleParameterTypes29);
1146
1147 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1148 articleId, newFolderId);
1149
1150 try {
1151 TunnelUtil.invoke(httpPrincipal, methodHandler);
1152 }
1153 catch (Exception e) {
1154 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1155 throw (com.liferay.portal.kernel.exception.PortalException)e;
1156 }
1157
1158 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1159 throw (com.liferay.portal.kernel.exception.SystemException)e;
1160 }
1161
1162 throw new com.liferay.portal.kernel.exception.SystemException(e);
1163 }
1164 }
1165 catch (com.liferay.portal.kernel.exception.SystemException se) {
1166 _log.error(se, se);
1167
1168 throw se;
1169 }
1170 }
1171
1172 public static void removeArticleLocale(HttpPrincipal httpPrincipal,
1173 long companyId, java.lang.String languageId)
1174 throws com.liferay.portal.kernel.exception.PortalException,
1175 com.liferay.portal.kernel.exception.SystemException {
1176 try {
1177 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1178 "removeArticleLocale", _removeArticleLocaleParameterTypes30);
1179
1180 MethodHandler methodHandler = new MethodHandler(methodKey,
1181 companyId, languageId);
1182
1183 try {
1184 TunnelUtil.invoke(httpPrincipal, methodHandler);
1185 }
1186 catch (Exception e) {
1187 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1188 throw (com.liferay.portal.kernel.exception.PortalException)e;
1189 }
1190
1191 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1192 throw (com.liferay.portal.kernel.exception.SystemException)e;
1193 }
1194
1195 throw new com.liferay.portal.kernel.exception.SystemException(e);
1196 }
1197 }
1198 catch (com.liferay.portal.kernel.exception.SystemException se) {
1199 _log.error(se, se);
1200
1201 throw se;
1202 }
1203 }
1204
1205 public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
1206 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1207 double version, java.lang.String languageId)
1208 throws com.liferay.portal.kernel.exception.PortalException,
1209 com.liferay.portal.kernel.exception.SystemException {
1210 try {
1211 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1212 "removeArticleLocale", _removeArticleLocaleParameterTypes31);
1213
1214 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1215 articleId, version, languageId);
1216
1217 Object returnObj = null;
1218
1219 try {
1220 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1221 }
1222 catch (Exception e) {
1223 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1224 throw (com.liferay.portal.kernel.exception.PortalException)e;
1225 }
1226
1227 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1228 throw (com.liferay.portal.kernel.exception.SystemException)e;
1229 }
1230
1231 throw new com.liferay.portal.kernel.exception.SystemException(e);
1232 }
1233
1234 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1235 }
1236 catch (com.liferay.portal.kernel.exception.SystemException se) {
1237 _log.error(se, se);
1238
1239 throw se;
1240 }
1241 }
1242
1243 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1244 HttpPrincipal httpPrincipal, long companyId, long groupId,
1245 java.util.List<java.lang.Long> folderIds, long classNameId,
1246 java.lang.String keywords, java.lang.Double version,
1247 java.lang.String type, java.lang.String structureId,
1248 java.lang.String templateId, java.util.Date displayDateGT,
1249 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1250 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1251 throws com.liferay.portal.kernel.exception.SystemException {
1252 try {
1253 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1254 "search", _searchParameterTypes32);
1255
1256 MethodHandler methodHandler = new MethodHandler(methodKey,
1257 companyId, groupId, folderIds, classNameId, keywords,
1258 version, type, structureId, templateId, displayDateGT,
1259 displayDateLT, status, reviewDate, start, end, obc);
1260
1261 Object returnObj = null;
1262
1263 try {
1264 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1265 }
1266 catch (Exception e) {
1267 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1268 throw (com.liferay.portal.kernel.exception.SystemException)e;
1269 }
1270
1271 throw new com.liferay.portal.kernel.exception.SystemException(e);
1272 }
1273
1274 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1275 }
1276 catch (com.liferay.portal.kernel.exception.SystemException se) {
1277 _log.error(se, se);
1278
1279 throw se;
1280 }
1281 }
1282
1283 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1284 HttpPrincipal httpPrincipal, long companyId, long groupId,
1285 java.util.List<java.lang.Long> folderIds, long classNameId,
1286 java.lang.String articleId, java.lang.Double version,
1287 java.lang.String title, java.lang.String description,
1288 java.lang.String content, java.lang.String type,
1289 java.lang.String structureId, java.lang.String templateId,
1290 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1291 java.util.Date reviewDate, boolean andOperator, int start, int end,
1292 com.liferay.portal.kernel.util.OrderByComparator obc)
1293 throws com.liferay.portal.kernel.exception.SystemException {
1294 try {
1295 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1296 "search", _searchParameterTypes33);
1297
1298 MethodHandler methodHandler = new MethodHandler(methodKey,
1299 companyId, groupId, folderIds, classNameId, articleId,
1300 version, title, description, content, type, structureId,
1301 templateId, displayDateGT, displayDateLT, status,
1302 reviewDate, andOperator, start, end, obc);
1303
1304 Object returnObj = null;
1305
1306 try {
1307 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1308 }
1309 catch (Exception e) {
1310 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1311 throw (com.liferay.portal.kernel.exception.SystemException)e;
1312 }
1313
1314 throw new com.liferay.portal.kernel.exception.SystemException(e);
1315 }
1316
1317 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1318 }
1319 catch (com.liferay.portal.kernel.exception.SystemException se) {
1320 _log.error(se, se);
1321
1322 throw se;
1323 }
1324 }
1325
1326 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1327 HttpPrincipal httpPrincipal, long companyId, long groupId,
1328 java.util.List<java.lang.Long> folderIds, long classNameId,
1329 java.lang.String articleId, java.lang.Double version,
1330 java.lang.String title, java.lang.String description,
1331 java.lang.String content, java.lang.String type,
1332 java.lang.String[] structureIds, java.lang.String[] templateIds,
1333 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1334 java.util.Date reviewDate, boolean andOperator, int start, int end,
1335 com.liferay.portal.kernel.util.OrderByComparator obc)
1336 throws com.liferay.portal.kernel.exception.SystemException {
1337 try {
1338 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1339 "search", _searchParameterTypes34);
1340
1341 MethodHandler methodHandler = new MethodHandler(methodKey,
1342 companyId, groupId, folderIds, classNameId, articleId,
1343 version, title, description, content, type, structureIds,
1344 templateIds, displayDateGT, displayDateLT, status,
1345 reviewDate, andOperator, start, end, obc);
1346
1347 Object returnObj = null;
1348
1349 try {
1350 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1351 }
1352 catch (Exception e) {
1353 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1354 throw (com.liferay.portal.kernel.exception.SystemException)e;
1355 }
1356
1357 throw new com.liferay.portal.kernel.exception.SystemException(e);
1358 }
1359
1360 return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1361 }
1362 catch (com.liferay.portal.kernel.exception.SystemException se) {
1363 _log.error(se, se);
1364
1365 throw se;
1366 }
1367 }
1368
1369 public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1370 long groupId, java.util.List<java.lang.Long> folderIds,
1371 long classNameId, java.lang.String keywords, java.lang.Double version,
1372 java.lang.String type, java.lang.String structureId,
1373 java.lang.String templateId, java.util.Date displayDateGT,
1374 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
1375 throws com.liferay.portal.kernel.exception.SystemException {
1376 try {
1377 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1378 "searchCount", _searchCountParameterTypes35);
1379
1380 MethodHandler methodHandler = new MethodHandler(methodKey,
1381 companyId, groupId, folderIds, classNameId, keywords,
1382 version, type, structureId, templateId, displayDateGT,
1383 displayDateLT, status, reviewDate);
1384
1385 Object returnObj = null;
1386
1387 try {
1388 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1389 }
1390 catch (Exception e) {
1391 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1392 throw (com.liferay.portal.kernel.exception.SystemException)e;
1393 }
1394
1395 throw new com.liferay.portal.kernel.exception.SystemException(e);
1396 }
1397
1398 return ((Integer)returnObj).intValue();
1399 }
1400 catch (com.liferay.portal.kernel.exception.SystemException se) {
1401 _log.error(se, se);
1402
1403 throw se;
1404 }
1405 }
1406
1407 public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1408 long groupId, java.util.List<java.lang.Long> folderIds,
1409 long classNameId, java.lang.String articleId, java.lang.Double version,
1410 java.lang.String title, java.lang.String description,
1411 java.lang.String content, java.lang.String type,
1412 java.lang.String structureId, java.lang.String templateId,
1413 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1414 java.util.Date reviewDate, boolean andOperator)
1415 throws com.liferay.portal.kernel.exception.SystemException {
1416 try {
1417 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1418 "searchCount", _searchCountParameterTypes36);
1419
1420 MethodHandler methodHandler = new MethodHandler(methodKey,
1421 companyId, groupId, folderIds, classNameId, articleId,
1422 version, title, description, content, type, structureId,
1423 templateId, displayDateGT, displayDateLT, status,
1424 reviewDate, andOperator);
1425
1426 Object returnObj = null;
1427
1428 try {
1429 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1430 }
1431 catch (Exception e) {
1432 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1433 throw (com.liferay.portal.kernel.exception.SystemException)e;
1434 }
1435
1436 throw new com.liferay.portal.kernel.exception.SystemException(e);
1437 }
1438
1439 return ((Integer)returnObj).intValue();
1440 }
1441 catch (com.liferay.portal.kernel.exception.SystemException se) {
1442 _log.error(se, se);
1443
1444 throw se;
1445 }
1446 }
1447
1448 public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1449 long groupId, java.util.List<java.lang.Long> folderIds,
1450 long classNameId, java.lang.String articleId, java.lang.Double version,
1451 java.lang.String title, java.lang.String description,
1452 java.lang.String content, java.lang.String type,
1453 java.lang.String[] structureIds, java.lang.String[] templateIds,
1454 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1455 java.util.Date reviewDate, boolean andOperator)
1456 throws com.liferay.portal.kernel.exception.SystemException {
1457 try {
1458 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1459 "searchCount", _searchCountParameterTypes37);
1460
1461 MethodHandler methodHandler = new MethodHandler(methodKey,
1462 companyId, groupId, folderIds, classNameId, articleId,
1463 version, title, description, content, type, structureIds,
1464 templateIds, displayDateGT, displayDateLT, status,
1465 reviewDate, andOperator);
1466
1467 Object returnObj = null;
1468
1469 try {
1470 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1471 }
1472 catch (Exception e) {
1473 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1474 throw (com.liferay.portal.kernel.exception.SystemException)e;
1475 }
1476
1477 throw new com.liferay.portal.kernel.exception.SystemException(e);
1478 }
1479
1480 return ((Integer)returnObj).intValue();
1481 }
1482 catch (com.liferay.portal.kernel.exception.SystemException se) {
1483 _log.error(se, se);
1484
1485 throw se;
1486 }
1487 }
1488
1489 public static void subscribe(HttpPrincipal httpPrincipal, long groupId)
1490 throws com.liferay.portal.kernel.exception.PortalException,
1491 com.liferay.portal.kernel.exception.SystemException {
1492 try {
1493 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1494 "subscribe", _subscribeParameterTypes38);
1495
1496 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1497
1498 try {
1499 TunnelUtil.invoke(httpPrincipal, methodHandler);
1500 }
1501 catch (Exception e) {
1502 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1503 throw (com.liferay.portal.kernel.exception.PortalException)e;
1504 }
1505
1506 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1507 throw (com.liferay.portal.kernel.exception.SystemException)e;
1508 }
1509
1510 throw new com.liferay.portal.kernel.exception.SystemException(e);
1511 }
1512 }
1513 catch (com.liferay.portal.kernel.exception.SystemException se) {
1514 _log.error(se, se);
1515
1516 throw se;
1517 }
1518 }
1519
1520 public static void unsubscribe(HttpPrincipal httpPrincipal, long groupId)
1521 throws com.liferay.portal.kernel.exception.PortalException,
1522 com.liferay.portal.kernel.exception.SystemException {
1523 try {
1524 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1525 "unsubscribe", _unsubscribeParameterTypes39);
1526
1527 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1528
1529 try {
1530 TunnelUtil.invoke(httpPrincipal, methodHandler);
1531 }
1532 catch (Exception e) {
1533 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1534 throw (com.liferay.portal.kernel.exception.PortalException)e;
1535 }
1536
1537 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1538 throw (com.liferay.portal.kernel.exception.SystemException)e;
1539 }
1540
1541 throw new com.liferay.portal.kernel.exception.SystemException(e);
1542 }
1543 }
1544 catch (com.liferay.portal.kernel.exception.SystemException se) {
1545 _log.error(se, se);
1546
1547 throw se;
1548 }
1549 }
1550
1551 public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1552 HttpPrincipal httpPrincipal, long userId, long groupId, long folderId,
1553 java.lang.String articleId, double version,
1554 java.util.Map<java.util.Locale, java.lang.String> titleMap,
1555 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1556 java.lang.String content, java.lang.String layoutUuid,
1557 com.liferay.portal.service.ServiceContext serviceContext)
1558 throws com.liferay.portal.kernel.exception.PortalException,
1559 com.liferay.portal.kernel.exception.SystemException {
1560 try {
1561 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1562 "updateArticle", _updateArticleParameterTypes40);
1563
1564 MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1565 groupId, folderId, articleId, version, titleMap,
1566 descriptionMap, content, layoutUuid, serviceContext);
1567
1568 Object returnObj = null;
1569
1570 try {
1571 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1572 }
1573 catch (Exception e) {
1574 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1575 throw (com.liferay.portal.kernel.exception.PortalException)e;
1576 }
1577
1578 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1579 throw (com.liferay.portal.kernel.exception.SystemException)e;
1580 }
1581
1582 throw new com.liferay.portal.kernel.exception.SystemException(e);
1583 }
1584
1585 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1586 }
1587 catch (com.liferay.portal.kernel.exception.SystemException se) {
1588 _log.error(se, se);
1589
1590 throw se;
1591 }
1592 }
1593
1594 public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1595 HttpPrincipal httpPrincipal, long groupId, long folderId,
1596 java.lang.String articleId, double version,
1597 java.util.Map<java.util.Locale, java.lang.String> titleMap,
1598 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1599 java.lang.String content, java.lang.String type,
1600 java.lang.String structureId, java.lang.String templateId,
1601 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
1602 int displayDateYear, int displayDateHour, int displayDateMinute,
1603 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
1604 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
1605 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
1606 int reviewDateHour, int reviewDateMinute, boolean neverReview,
1607 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
1608 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
1609 java.lang.String articleURL,
1610 com.liferay.portal.service.ServiceContext serviceContext)
1611 throws com.liferay.portal.kernel.exception.PortalException,
1612 com.liferay.portal.kernel.exception.SystemException {
1613 try {
1614 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1615 "updateArticle", _updateArticleParameterTypes41);
1616
1617 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1618 folderId, articleId, version, titleMap, descriptionMap,
1619 content, type, structureId, templateId, layoutUuid,
1620 displayDateMonth, displayDateDay, displayDateYear,
1621 displayDateHour, displayDateMinute, expirationDateMonth,
1622 expirationDateDay, expirationDateYear, expirationDateHour,
1623 expirationDateMinute, neverExpire, reviewDateMonth,
1624 reviewDateDay, reviewDateYear, reviewDateHour,
1625 reviewDateMinute, neverReview, indexable, smallImage,
1626 smallImageURL, smallFile, images, articleURL, serviceContext);
1627
1628 Object returnObj = null;
1629
1630 try {
1631 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1632 }
1633 catch (Exception e) {
1634 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1635 throw (com.liferay.portal.kernel.exception.PortalException)e;
1636 }
1637
1638 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1639 throw (com.liferay.portal.kernel.exception.SystemException)e;
1640 }
1641
1642 throw new com.liferay.portal.kernel.exception.SystemException(e);
1643 }
1644
1645 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1646 }
1647 catch (com.liferay.portal.kernel.exception.SystemException se) {
1648 _log.error(se, se);
1649
1650 throw se;
1651 }
1652 }
1653
1654 public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1655 HttpPrincipal httpPrincipal, long groupId, long folderId,
1656 java.lang.String articleId, double version, java.lang.String content,
1657 com.liferay.portal.service.ServiceContext serviceContext)
1658 throws com.liferay.portal.kernel.exception.PortalException,
1659 com.liferay.portal.kernel.exception.SystemException {
1660 try {
1661 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1662 "updateArticle", _updateArticleParameterTypes42);
1663
1664 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1665 folderId, articleId, version, content, serviceContext);
1666
1667 Object returnObj = null;
1668
1669 try {
1670 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1671 }
1672 catch (Exception e) {
1673 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1674 throw (com.liferay.portal.kernel.exception.PortalException)e;
1675 }
1676
1677 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1678 throw (com.liferay.portal.kernel.exception.SystemException)e;
1679 }
1680
1681 throw new com.liferay.portal.kernel.exception.SystemException(e);
1682 }
1683
1684 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1685 }
1686 catch (com.liferay.portal.kernel.exception.SystemException se) {
1687 _log.error(se, se);
1688
1689 throw se;
1690 }
1691 }
1692
1693 public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
1694 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1695 double version, java.util.Locale locale, java.lang.String title,
1696 java.lang.String description, java.lang.String content,
1697 java.util.Map<java.lang.String, byte[]> images)
1698 throws com.liferay.portal.kernel.exception.PortalException,
1699 com.liferay.portal.kernel.exception.SystemException {
1700 try {
1701 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1702 "updateArticleTranslation",
1703 _updateArticleTranslationParameterTypes43);
1704
1705 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1706 articleId, version, locale, title, description, content,
1707 images);
1708
1709 Object returnObj = null;
1710
1711 try {
1712 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1713 }
1714 catch (Exception e) {
1715 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1716 throw (com.liferay.portal.kernel.exception.PortalException)e;
1717 }
1718
1719 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1720 throw (com.liferay.portal.kernel.exception.SystemException)e;
1721 }
1722
1723 throw new com.liferay.portal.kernel.exception.SystemException(e);
1724 }
1725
1726 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1727 }
1728 catch (com.liferay.portal.kernel.exception.SystemException se) {
1729 _log.error(se, se);
1730
1731 throw se;
1732 }
1733 }
1734
1735 public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
1736 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1737 double version, java.util.Locale locale, java.lang.String title,
1738 java.lang.String description, java.lang.String content,
1739 java.util.Map<java.lang.String, byte[]> images,
1740 com.liferay.portal.service.ServiceContext serviceContext)
1741 throws com.liferay.portal.kernel.exception.PortalException,
1742 com.liferay.portal.kernel.exception.SystemException {
1743 try {
1744 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1745 "updateArticleTranslation",
1746 _updateArticleTranslationParameterTypes44);
1747
1748 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1749 articleId, version, locale, title, description, content,
1750 images, serviceContext);
1751
1752 Object returnObj = null;
1753
1754 try {
1755 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1756 }
1757 catch (Exception e) {
1758 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1759 throw (com.liferay.portal.kernel.exception.PortalException)e;
1760 }
1761
1762 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1763 throw (com.liferay.portal.kernel.exception.SystemException)e;
1764 }
1765
1766 throw new com.liferay.portal.kernel.exception.SystemException(e);
1767 }
1768
1769 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1770 }
1771 catch (com.liferay.portal.kernel.exception.SystemException se) {
1772 _log.error(se, se);
1773
1774 throw se;
1775 }
1776 }
1777
1778 public static com.liferay.portlet.journal.model.JournalArticle updateContent(
1779 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1780 double version, java.lang.String content)
1781 throws com.liferay.portal.kernel.exception.PortalException,
1782 com.liferay.portal.kernel.exception.SystemException {
1783 try {
1784 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1785 "updateContent", _updateContentParameterTypes45);
1786
1787 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1788 articleId, version, content);
1789
1790 Object returnObj = null;
1791
1792 try {
1793 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1794 }
1795 catch (Exception e) {
1796 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1797 throw (com.liferay.portal.kernel.exception.PortalException)e;
1798 }
1799
1800 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1801 throw (com.liferay.portal.kernel.exception.SystemException)e;
1802 }
1803
1804 throw new com.liferay.portal.kernel.exception.SystemException(e);
1805 }
1806
1807 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1808 }
1809 catch (com.liferay.portal.kernel.exception.SystemException se) {
1810 _log.error(se, se);
1811
1812 throw se;
1813 }
1814 }
1815
1816 public static com.liferay.portlet.journal.model.JournalArticle updateStatus(
1817 HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1818 double version, int status, java.lang.String articleURL,
1819 com.liferay.portal.service.ServiceContext serviceContext)
1820 throws com.liferay.portal.kernel.exception.PortalException,
1821 com.liferay.portal.kernel.exception.SystemException {
1822 try {
1823 MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class.getName(),
1824 "updateStatus", _updateStatusParameterTypes46);
1825
1826 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1827 articleId, version, status, articleURL, serviceContext);
1828
1829 Object returnObj = null;
1830
1831 try {
1832 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1833 }
1834 catch (Exception e) {
1835 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1836 throw (com.liferay.portal.kernel.exception.PortalException)e;
1837 }
1838
1839 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1840 throw (com.liferay.portal.kernel.exception.SystemException)e;
1841 }
1842
1843 throw new com.liferay.portal.kernel.exception.SystemException(e);
1844 }
1845
1846 return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1847 }
1848 catch (com.liferay.portal.kernel.exception.SystemException se) {
1849 _log.error(se, se);
1850
1851 throw se;
1852 }
1853 }
1854
1855 private static Log _log = LogFactoryUtil.getLog(JournalArticleServiceHttp.class);
1856 private static final Class<?>[] _addArticleParameterTypes0 = new Class[] {
1857 long.class, long.class, long.class, long.class,
1858 java.lang.String.class, boolean.class, java.util.Map.class,
1859 java.util.Map.class, java.lang.String.class, java.lang.String.class,
1860 java.lang.String.class, java.lang.String.class,
1861 java.lang.String.class, int.class, int.class, int.class, int.class,
1862 int.class, int.class, int.class, int.class, int.class, int.class,
1863 boolean.class, int.class, int.class, int.class, int.class, int.class,
1864 boolean.class, boolean.class, boolean.class, java.lang.String.class,
1865 java.io.File.class, java.util.Map.class, java.lang.String.class,
1866 com.liferay.portal.service.ServiceContext.class
1867 };
1868 private static final Class<?>[] _addArticleParameterTypes1 = new Class[] {
1869 long.class, long.class, long.class, long.class,
1870 java.lang.String.class, boolean.class, java.util.Map.class,
1871 java.util.Map.class, java.lang.String.class, java.lang.String.class,
1872 java.lang.String.class, java.lang.String.class,
1873 java.lang.String.class, int.class, int.class, int.class, int.class,
1874 int.class, int.class, int.class, int.class, int.class, int.class,
1875 boolean.class, int.class, int.class, int.class, int.class, int.class,
1876 boolean.class, boolean.class, java.lang.String.class,
1877 com.liferay.portal.service.ServiceContext.class
1878 };
1879 private static final Class<?>[] _copyArticleParameterTypes2 = new Class[] {
1880 long.class, java.lang.String.class, java.lang.String.class,
1881 boolean.class, double.class
1882 };
1883 private static final Class<?>[] _deleteArticleParameterTypes3 = new Class[] {
1884 long.class, java.lang.String.class, double.class,
1885 java.lang.String.class,
1886 com.liferay.portal.service.ServiceContext.class
1887 };
1888 private static final Class<?>[] _deleteArticleParameterTypes4 = new Class[] {
1889 long.class, java.lang.String.class, java.lang.String.class,
1890 com.liferay.portal.service.ServiceContext.class
1891 };
1892 private static final Class<?>[] _expireArticleParameterTypes5 = new Class[] {
1893 long.class, java.lang.String.class, double.class,
1894 java.lang.String.class,
1895 com.liferay.portal.service.ServiceContext.class
1896 };
1897 private static final Class<?>[] _expireArticleParameterTypes6 = new Class[] {
1898 long.class, java.lang.String.class, java.lang.String.class,
1899 com.liferay.portal.service.ServiceContext.class
1900 };
1901 private static final Class<?>[] _getArticleParameterTypes7 = new Class[] {
1902 long.class
1903 };
1904 private static final Class<?>[] _getArticleParameterTypes8 = new Class[] {
1905 long.class, java.lang.String.class
1906 };
1907 private static final Class<?>[] _getArticleParameterTypes9 = new Class[] {
1908 long.class, java.lang.String.class, double.class
1909 };
1910 private static final Class<?>[] _getArticleParameterTypes10 = new Class[] {
1911 long.class, java.lang.String.class, long.class
1912 };
1913 private static final Class<?>[] _getArticleByUrlTitleParameterTypes11 = new Class[] {
1914 long.class, java.lang.String.class
1915 };
1916 private static final Class<?>[] _getArticleContentParameterTypes12 = new Class[] {
1917 long.class, java.lang.String.class, double.class,
1918 java.lang.String.class, com.liferay.portal.theme.ThemeDisplay.class
1919 };
1920 private static final Class<?>[] _getArticleContentParameterTypes13 = new Class[] {
1921 long.class, java.lang.String.class, java.lang.String.class,
1922 com.liferay.portal.theme.ThemeDisplay.class
1923 };
1924 private static final Class<?>[] _getArticlesParameterTypes14 = new Class[] {
1925 long.class, long.class
1926 };
1927 private static final Class<?>[] _getArticlesParameterTypes15 = new Class[] {
1928 long.class, long.class, int.class, int.class,
1929 com.liferay.portal.kernel.util.OrderByComparator.class
1930 };
1931 private static final Class<?>[] _getArticlesByArticleIdParameterTypes16 = new Class[] {
1932 long.class, java.lang.String.class, int.class, int.class,
1933 com.liferay.portal.kernel.util.OrderByComparator.class
1934 };
1935 private static final Class<?>[] _getArticlesByLayoutUuidParameterTypes17 = new Class[] {
1936 long.class, java.lang.String.class
1937 };
1938 private static final Class<?>[] _getArticlesByStructureIdParameterTypes18 = new Class[] {
1939 long.class, java.lang.String.class, int.class, int.class,
1940 com.liferay.portal.kernel.util.OrderByComparator.class
1941 };
1942 private static final Class<?>[] _getArticlesByUserIdParameterTypes19 = new Class[] {
1943 long.class, long.class, int.class, int.class,
1944 com.liferay.portal.kernel.util.OrderByComparator.class
1945 };
1946 private static final Class<?>[] _getArticlesCountParameterTypes20 = new Class[] {
1947 long.class, long.class
1948 };
1949 private static final Class<?>[] _getArticlesCountByArticleIdParameterTypes21 =
1950 new Class[] { long.class, java.lang.String.class };
1951 private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes22 =
1952 new Class[] { long.class, java.lang.String.class };
1953 private static final Class<?>[] _getArticlesCountByUserIdParameterTypes23 = new Class[] {
1954 long.class, long.class
1955 };
1956 private static final Class<?>[] _getDisplayArticleByUrlTitleParameterTypes24 =
1957 new Class[] { long.class, java.lang.String.class };
1958 private static final Class<?>[] _getFoldersAndArticlesCountParameterTypes25 = new Class[] {
1959 long.class, java.util.List.class
1960 };
1961 private static final Class<?>[] _getLatestArticleParameterTypes26 = new Class[] {
1962 long.class
1963 };
1964 private static final Class<?>[] _getLatestArticleParameterTypes27 = new Class[] {
1965 long.class, java.lang.String.class, int.class
1966 };
1967 private static final Class<?>[] _getLatestArticleParameterTypes28 = new Class[] {
1968 long.class, java.lang.String.class, long.class
1969 };
1970 private static final Class<?>[] _moveArticleParameterTypes29 = new Class[] {
1971 long.class, java.lang.String.class, long.class
1972 };
1973 private static final Class<?>[] _removeArticleLocaleParameterTypes30 = new Class[] {
1974 long.class, java.lang.String.class
1975 };
1976 private static final Class<?>[] _removeArticleLocaleParameterTypes31 = new Class[] {
1977 long.class, java.lang.String.class, double.class,
1978 java.lang.String.class
1979 };
1980 private static final Class<?>[] _searchParameterTypes32 = new Class[] {
1981 long.class, long.class, java.util.List.class, long.class,
1982 java.lang.String.class, java.lang.Double.class,
1983 java.lang.String.class, java.lang.String.class,
1984 java.lang.String.class, java.util.Date.class, java.util.Date.class,
1985 int.class, java.util.Date.class, int.class, int.class,
1986 com.liferay.portal.kernel.util.OrderByComparator.class
1987 };
1988 private static final Class<?>[] _searchParameterTypes33 = new Class[] {
1989 long.class, long.class, java.util.List.class, long.class,
1990 java.lang.String.class, java.lang.Double.class,
1991 java.lang.String.class, java.lang.String.class,
1992 java.lang.String.class, java.lang.String.class,
1993 java.lang.String.class, java.lang.String.class, java.util.Date.class,
1994 java.util.Date.class, int.class, java.util.Date.class, boolean.class,
1995 int.class, int.class,
1996 com.liferay.portal.kernel.util.OrderByComparator.class
1997 };
1998 private static final Class<?>[] _searchParameterTypes34 = new Class[] {
1999 long.class, long.class, java.util.List.class, long.class,
2000 java.lang.String.class, java.lang.Double.class,
2001 java.lang.String.class, java.lang.String.class,
2002 java.lang.String.class, java.lang.String.class,
2003 java.lang.String[].class, java.lang.String[].class,
2004 java.util.Date.class, java.util.Date.class, int.class,
2005 java.util.Date.class, boolean.class, int.class, int.class,
2006 com.liferay.portal.kernel.util.OrderByComparator.class
2007 };
2008 private static final Class<?>[] _searchCountParameterTypes35 = new Class[] {
2009 long.class, long.class, java.util.List.class, long.class,
2010 java.lang.String.class, java.lang.Double.class,
2011 java.lang.String.class, java.lang.String.class,
2012 java.lang.String.class, java.util.Date.class, java.util.Date.class,
2013 int.class, java.util.Date.class
2014 };
2015 private static final Class<?>[] _searchCountParameterTypes36 = new Class[] {
2016 long.class, long.class, java.util.List.class, long.class,
2017 java.lang.String.class, java.lang.Double.class,
2018 java.lang.String.class, java.lang.String.class,
2019 java.lang.String.class, java.lang.String.class,
2020 java.lang.String.class, java.lang.String.class, java.util.Date.class,
2021 java.util.Date.class, int.class, java.util.Date.class, boolean.class
2022 };
2023 private static final Class<?>[] _searchCountParameterTypes37 = new Class[] {
2024 long.class, long.class, java.util.List.class, long.class,
2025 java.lang.String.class, java.lang.Double.class,
2026 java.lang.String.class, java.lang.String.class,
2027 java.lang.String.class, java.lang.String.class,
2028 java.lang.String[].class, java.lang.String[].class,
2029 java.util.Date.class, java.util.Date.class, int.class,
2030 java.util.Date.class, boolean.class
2031 };
2032 private static final Class<?>[] _subscribeParameterTypes38 = new Class[] {
2033 long.class
2034 };
2035 private static final Class<?>[] _unsubscribeParameterTypes39 = new Class[] {
2036 long.class
2037 };
2038 private static final Class<?>[] _updateArticleParameterTypes40 = new Class[] {
2039 long.class, long.class, long.class, java.lang.String.class,
2040 double.class, java.util.Map.class, java.util.Map.class,
2041 java.lang.String.class, java.lang.String.class,
2042 com.liferay.portal.service.ServiceContext.class
2043 };
2044 private static final Class<?>[] _updateArticleParameterTypes41 = new Class[] {
2045 long.class, long.class, java.lang.String.class, double.class,
2046 java.util.Map.class, java.util.Map.class, java.lang.String.class,
2047 java.lang.String.class, java.lang.String.class,
2048 java.lang.String.class, java.lang.String.class, int.class, int.class,
2049 int.class, int.class, int.class, int.class, int.class, int.class,
2050 int.class, int.class, boolean.class, int.class, int.class, int.class,
2051 int.class, int.class, boolean.class, boolean.class, boolean.class,
2052 java.lang.String.class, java.io.File.class, java.util.Map.class,
2053 java.lang.String.class,
2054 com.liferay.portal.service.ServiceContext.class
2055 };
2056 private static final Class<?>[] _updateArticleParameterTypes42 = new Class[] {
2057 long.class, long.class, java.lang.String.class, double.class,
2058 java.lang.String.class,
2059 com.liferay.portal.service.ServiceContext.class
2060 };
2061 private static final Class<?>[] _updateArticleTranslationParameterTypes43 = new Class[] {
2062 long.class, java.lang.String.class, double.class,
2063 java.util.Locale.class, java.lang.String.class,
2064 java.lang.String.class, java.lang.String.class, java.util.Map.class
2065 };
2066 private static final Class<?>[] _updateArticleTranslationParameterTypes44 = new Class[] {
2067 long.class, java.lang.String.class, double.class,
2068 java.util.Locale.class, java.lang.String.class,
2069 java.lang.String.class, java.lang.String.class, java.util.Map.class,
2070 com.liferay.portal.service.ServiceContext.class
2071 };
2072 private static final Class<?>[] _updateContentParameterTypes45 = new Class[] {
2073 long.class, java.lang.String.class, double.class,
2074 java.lang.String.class
2075 };
2076 private static final Class<?>[] _updateStatusParameterTypes46 = new Class[] {
2077 long.class, java.lang.String.class, double.class, int.class,
2078 java.lang.String.class,
2079 com.liferay.portal.service.ServiceContext.class
2080 };
2081 }