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