001
014
015 package com.liferay.portlet.journal.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class JournalArticleLocalServiceWrapper
029 implements JournalArticleLocalService,
030 ServiceWrapper<JournalArticleLocalService> {
031 public JournalArticleLocalServiceWrapper(
032 JournalArticleLocalService journalArticleLocalService) {
033 _journalArticleLocalService = journalArticleLocalService;
034 }
035
036
043 public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
044 com.liferay.portlet.journal.model.JournalArticle journalArticle)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _journalArticleLocalService.addJournalArticle(journalArticle);
047 }
048
049
055 public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
056 long id) {
057 return _journalArticleLocalService.createJournalArticle(id);
058 }
059
060
068 public com.liferay.portlet.journal.model.JournalArticle deleteJournalArticle(
069 long id)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _journalArticleLocalService.deleteJournalArticle(id);
073 }
074
075
082 public com.liferay.portlet.journal.model.JournalArticle deleteJournalArticle(
083 com.liferay.portlet.journal.model.JournalArticle journalArticle)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _journalArticleLocalService.deleteJournalArticle(journalArticle);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _journalArticleLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _journalArticleLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _journalArticleLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _journalArticleLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _journalArticleLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.journal.model.JournalArticle fetchJournalArticle(
164 long id) throws com.liferay.portal.kernel.exception.SystemException {
165 return _journalArticleLocalService.fetchJournalArticle(id);
166 }
167
168
176 public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
177 long id)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _journalArticleLocalService.getJournalArticle(id);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _journalArticleLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.journal.model.JournalArticle getJournalArticleByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _journalArticleLocalService.getJournalArticleByUuidAndGroupId(uuid,
204 groupId);
205 }
206
207
219 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
220 int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _journalArticleLocalService.getJournalArticles(start, end);
223 }
224
225
231 public int getJournalArticlesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _journalArticleLocalService.getJournalArticlesCount();
234 }
235
236
243 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
244 com.liferay.portlet.journal.model.JournalArticle journalArticle)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _journalArticleLocalService.updateJournalArticle(journalArticle);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _journalArticleLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _journalArticleLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.journal.model.JournalArticle addArticle(
268 long userId, long groupId, long folderId, long classNameId,
269 long classPK, java.lang.String articleId, boolean autoArticleId,
270 double version,
271 java.util.Map<java.util.Locale, java.lang.String> titleMap,
272 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
273 java.lang.String content, java.lang.String type,
274 java.lang.String structureId, java.lang.String templateId,
275 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
276 int displayDateYear, int displayDateHour, int displayDateMinute,
277 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
278 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
279 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
280 int reviewDateHour, int reviewDateMinute, boolean neverReview,
281 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
282 java.io.File smallImageFile,
283 java.util.Map<java.lang.String, byte[]> images,
284 java.lang.String articleURL,
285 com.liferay.portal.service.ServiceContext serviceContext)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _journalArticleLocalService.addArticle(userId, groupId,
289 folderId, classNameId, classPK, articleId, autoArticleId, version,
290 titleMap, descriptionMap, content, type, structureId, templateId,
291 layoutUuid, displayDateMonth, displayDateDay, displayDateYear,
292 displayDateHour, displayDateMinute, expirationDateMonth,
293 expirationDateDay, expirationDateYear, expirationDateHour,
294 expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
295 reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
296 indexable, smallImage, smallImageURL, smallImageFile, images,
297 articleURL, serviceContext);
298 }
299
300 public com.liferay.portlet.journal.model.JournalArticle addArticle(
301 long userId, long groupId, long folderId,
302 java.util.Map<java.util.Locale, java.lang.String> titleMap,
303 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
304 java.lang.String content, java.lang.String structureId,
305 java.lang.String templateId,
306 com.liferay.portal.service.ServiceContext serviceContext)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _journalArticleLocalService.addArticle(userId, groupId,
310 folderId, titleMap, descriptionMap, content, structureId,
311 templateId, serviceContext);
312 }
313
314 public void addArticleResources(
315 com.liferay.portlet.journal.model.JournalArticle article,
316 boolean addGroupPermissions, boolean addGuestPermissions)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _journalArticleLocalService.addArticleResources(article,
320 addGroupPermissions, addGuestPermissions);
321 }
322
323 public void addArticleResources(
324 com.liferay.portlet.journal.model.JournalArticle article,
325 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 _journalArticleLocalService.addArticleResources(article,
329 groupPermissions, guestPermissions);
330 }
331
332 public void addArticleResources(long groupId, java.lang.String articleId,
333 boolean addGroupPermissions, boolean addGuestPermissions)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _journalArticleLocalService.addArticleResources(groupId, articleId,
337 addGroupPermissions, addGuestPermissions);
338 }
339
340 public void addArticleResources(long groupId, java.lang.String articleId,
341 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 _journalArticleLocalService.addArticleResources(groupId, articleId,
345 groupPermissions, guestPermissions);
346 }
347
348 public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
349 long groupId, java.lang.String articleId, double version)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 return _journalArticleLocalService.checkArticleResourcePrimKey(groupId,
353 articleId, version);
354 }
355
356 public void checkArticles()
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _journalArticleLocalService.checkArticles();
360 }
361
362 public void checkNewLine(long groupId, java.lang.String articleId,
363 double version)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _journalArticleLocalService.checkNewLine(groupId, articleId, version);
367 }
368
369 public void checkStructure(long groupId, java.lang.String articleId,
370 double version)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _journalArticleLocalService.checkStructure(groupId, articleId, version);
374 }
375
376 public com.liferay.portlet.journal.model.JournalArticle copyArticle(
377 long userId, long groupId, java.lang.String oldArticleId,
378 java.lang.String newArticleId, boolean autoArticleId, double version)
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException {
381 return _journalArticleLocalService.copyArticle(userId, groupId,
382 oldArticleId, newArticleId, autoArticleId, version);
383 }
384
385 public void deleteArticle(
386 com.liferay.portlet.journal.model.JournalArticle article)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 _journalArticleLocalService.deleteArticle(article);
390 }
391
392 public void deleteArticle(
393 com.liferay.portlet.journal.model.JournalArticle article,
394 java.lang.String articleURL,
395 com.liferay.portal.service.ServiceContext serviceContext)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException {
398 _journalArticleLocalService.deleteArticle(article, articleURL,
399 serviceContext);
400 }
401
402 public void deleteArticle(long groupId, java.lang.String articleId,
403 double version, java.lang.String articleURL,
404 com.liferay.portal.service.ServiceContext serviceContext)
405 throws com.liferay.portal.kernel.exception.PortalException,
406 com.liferay.portal.kernel.exception.SystemException {
407 _journalArticleLocalService.deleteArticle(groupId, articleId, version,
408 articleURL, serviceContext);
409 }
410
411 public void deleteArticle(long groupId, java.lang.String articleId,
412 com.liferay.portal.service.ServiceContext serviceContext)
413 throws com.liferay.portal.kernel.exception.PortalException,
414 com.liferay.portal.kernel.exception.SystemException {
415 _journalArticleLocalService.deleteArticle(groupId, articleId,
416 serviceContext);
417 }
418
419 public void deleteArticles(long groupId)
420 throws com.liferay.portal.kernel.exception.PortalException,
421 com.liferay.portal.kernel.exception.SystemException {
422 _journalArticleLocalService.deleteArticles(groupId);
423 }
424
425 public void deleteArticles(long groupId, long folderId)
426 throws com.liferay.portal.kernel.exception.PortalException,
427 com.liferay.portal.kernel.exception.SystemException {
428 _journalArticleLocalService.deleteArticles(groupId, folderId);
429 }
430
431 public void deleteLayoutArticleReferences(long groupId,
432 java.lang.String layoutUuid)
433 throws com.liferay.portal.kernel.exception.SystemException {
434 _journalArticleLocalService.deleteLayoutArticleReferences(groupId,
435 layoutUuid);
436 }
437
438 public com.liferay.portlet.journal.model.JournalArticle expireArticle(
439 long userId, long groupId, java.lang.String articleId, double version,
440 java.lang.String articleURL,
441 com.liferay.portal.service.ServiceContext serviceContext)
442 throws com.liferay.portal.kernel.exception.PortalException,
443 com.liferay.portal.kernel.exception.SystemException {
444 return _journalArticleLocalService.expireArticle(userId, groupId,
445 articleId, version, articleURL, serviceContext);
446 }
447
448 public void expireArticle(long userId, long groupId,
449 java.lang.String articleId, java.lang.String articleURL,
450 com.liferay.portal.service.ServiceContext serviceContext)
451 throws com.liferay.portal.kernel.exception.PortalException,
452 com.liferay.portal.kernel.exception.SystemException {
453 _journalArticleLocalService.expireArticle(userId, groupId, articleId,
454 articleURL, serviceContext);
455 }
456
457 public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
458 throws com.liferay.portal.kernel.exception.PortalException,
459 com.liferay.portal.kernel.exception.SystemException {
460 return _journalArticleLocalService.getArticle(id);
461 }
462
463 public com.liferay.portlet.journal.model.JournalArticle getArticle(
464 long groupId, java.lang.String articleId)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException {
467 return _journalArticleLocalService.getArticle(groupId, articleId);
468 }
469
470 public com.liferay.portlet.journal.model.JournalArticle getArticle(
471 long groupId, java.lang.String articleId, double version)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException {
474 return _journalArticleLocalService.getArticle(groupId, articleId,
475 version);
476 }
477
478 public com.liferay.portlet.journal.model.JournalArticle getArticle(
479 long groupId, java.lang.String className, long classPK)
480 throws com.liferay.portal.kernel.exception.PortalException,
481 com.liferay.portal.kernel.exception.SystemException {
482 return _journalArticleLocalService.getArticle(groupId, className,
483 classPK);
484 }
485
486 public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
487 long groupId, java.lang.String urlTitle)
488 throws com.liferay.portal.kernel.exception.PortalException,
489 com.liferay.portal.kernel.exception.SystemException {
490 return _journalArticleLocalService.getArticleByUrlTitle(groupId,
491 urlTitle);
492 }
493
494 public java.lang.String getArticleContent(
495 com.liferay.portlet.journal.model.JournalArticle article,
496 java.lang.String templateId, java.lang.String viewMode,
497 java.lang.String languageId,
498 com.liferay.portal.theme.ThemeDisplay themeDisplay)
499 throws com.liferay.portal.kernel.exception.PortalException,
500 com.liferay.portal.kernel.exception.SystemException {
501 return _journalArticleLocalService.getArticleContent(article,
502 templateId, viewMode, languageId, themeDisplay);
503 }
504
505 public java.lang.String getArticleContent(long groupId,
506 java.lang.String articleId, double version, java.lang.String viewMode,
507 java.lang.String templateId, java.lang.String languageId,
508 com.liferay.portal.theme.ThemeDisplay themeDisplay)
509 throws com.liferay.portal.kernel.exception.PortalException,
510 com.liferay.portal.kernel.exception.SystemException {
511 return _journalArticleLocalService.getArticleContent(groupId,
512 articleId, version, viewMode, templateId, languageId, themeDisplay);
513 }
514
515 public java.lang.String getArticleContent(long groupId,
516 java.lang.String articleId, double version, java.lang.String viewMode,
517 java.lang.String languageId,
518 com.liferay.portal.theme.ThemeDisplay themeDisplay)
519 throws com.liferay.portal.kernel.exception.PortalException,
520 com.liferay.portal.kernel.exception.SystemException {
521 return _journalArticleLocalService.getArticleContent(groupId,
522 articleId, version, viewMode, languageId, themeDisplay);
523 }
524
525 public java.lang.String getArticleContent(long groupId,
526 java.lang.String articleId, java.lang.String viewMode,
527 java.lang.String templateId, java.lang.String languageId,
528 com.liferay.portal.theme.ThemeDisplay themeDisplay)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException {
531 return _journalArticleLocalService.getArticleContent(groupId,
532 articleId, viewMode, templateId, languageId, themeDisplay);
533 }
534
535 public java.lang.String getArticleContent(long groupId,
536 java.lang.String articleId, java.lang.String viewMode,
537 java.lang.String languageId,
538 com.liferay.portal.theme.ThemeDisplay themeDisplay)
539 throws com.liferay.portal.kernel.exception.PortalException,
540 com.liferay.portal.kernel.exception.SystemException {
541 return _journalArticleLocalService.getArticleContent(groupId,
542 articleId, viewMode, languageId, themeDisplay);
543 }
544
545 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
546 com.liferay.portlet.journal.model.JournalArticle article,
547 java.lang.String templateId, java.lang.String viewMode,
548 java.lang.String languageId, int page, java.lang.String xmlRequest,
549 com.liferay.portal.theme.ThemeDisplay themeDisplay)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 return _journalArticleLocalService.getArticleDisplay(article,
553 templateId, viewMode, languageId, page, xmlRequest, themeDisplay);
554 }
555
556 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
557 long groupId, java.lang.String articleId, double version,
558 java.lang.String templateId, java.lang.String viewMode,
559 java.lang.String languageId, int page, java.lang.String xmlRequest,
560 com.liferay.portal.theme.ThemeDisplay themeDisplay)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 return _journalArticleLocalService.getArticleDisplay(groupId,
564 articleId, version, templateId, viewMode, languageId, page,
565 xmlRequest, themeDisplay);
566 }
567
568 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
569 long groupId, java.lang.String articleId, double version,
570 java.lang.String templateId, java.lang.String viewMode,
571 java.lang.String languageId,
572 com.liferay.portal.theme.ThemeDisplay themeDisplay)
573 throws com.liferay.portal.kernel.exception.PortalException,
574 com.liferay.portal.kernel.exception.SystemException {
575 return _journalArticleLocalService.getArticleDisplay(groupId,
576 articleId, version, templateId, viewMode, languageId, themeDisplay);
577 }
578
579 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
580 long groupId, java.lang.String articleId, java.lang.String viewMode,
581 java.lang.String languageId, int page, java.lang.String xmlRequest,
582 com.liferay.portal.theme.ThemeDisplay themeDisplay)
583 throws com.liferay.portal.kernel.exception.PortalException,
584 com.liferay.portal.kernel.exception.SystemException {
585 return _journalArticleLocalService.getArticleDisplay(groupId,
586 articleId, viewMode, languageId, page, xmlRequest, themeDisplay);
587 }
588
589 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
590 long groupId, java.lang.String articleId, java.lang.String templateId,
591 java.lang.String viewMode, java.lang.String languageId, int page,
592 java.lang.String xmlRequest,
593 com.liferay.portal.theme.ThemeDisplay themeDisplay)
594 throws com.liferay.portal.kernel.exception.PortalException,
595 com.liferay.portal.kernel.exception.SystemException {
596 return _journalArticleLocalService.getArticleDisplay(groupId,
597 articleId, templateId, viewMode, languageId, page, xmlRequest,
598 themeDisplay);
599 }
600
601 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
602 long groupId, java.lang.String articleId, java.lang.String templateId,
603 java.lang.String viewMode, java.lang.String languageId,
604 com.liferay.portal.theme.ThemeDisplay themeDisplay)
605 throws com.liferay.portal.kernel.exception.PortalException,
606 com.liferay.portal.kernel.exception.SystemException {
607 return _journalArticleLocalService.getArticleDisplay(groupId,
608 articleId, templateId, viewMode, languageId, themeDisplay);
609 }
610
611 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
612 long groupId, java.lang.String articleId, java.lang.String viewMode,
613 java.lang.String languageId,
614 com.liferay.portal.theme.ThemeDisplay themeDisplay)
615 throws com.liferay.portal.kernel.exception.PortalException,
616 com.liferay.portal.kernel.exception.SystemException {
617 return _journalArticleLocalService.getArticleDisplay(groupId,
618 articleId, viewMode, languageId, themeDisplay);
619 }
620
621 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
622 throws com.liferay.portal.kernel.exception.SystemException {
623 return _journalArticleLocalService.getArticles();
624 }
625
626 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
627 long groupId)
628 throws com.liferay.portal.kernel.exception.SystemException {
629 return _journalArticleLocalService.getArticles(groupId);
630 }
631
632 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
633 long groupId, int start, int end)
634 throws com.liferay.portal.kernel.exception.SystemException {
635 return _journalArticleLocalService.getArticles(groupId, start, end);
636 }
637
638 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
639 long groupId, int start, int end,
640 com.liferay.portal.kernel.util.OrderByComparator obc)
641 throws com.liferay.portal.kernel.exception.SystemException {
642 return _journalArticleLocalService.getArticles(groupId, start, end, obc);
643 }
644
645 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
646 long groupId, long folderId)
647 throws com.liferay.portal.kernel.exception.SystemException {
648 return _journalArticleLocalService.getArticles(groupId, folderId);
649 }
650
651 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
652 long groupId, long folderId, int start, int end)
653 throws com.liferay.portal.kernel.exception.SystemException {
654 return _journalArticleLocalService.getArticles(groupId, folderId,
655 start, end);
656 }
657
658 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
659 long groupId, long folderId, int start, int end,
660 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
661 throws com.liferay.portal.kernel.exception.SystemException {
662 return _journalArticleLocalService.getArticles(groupId, folderId,
663 start, end, orderByComparator);
664 }
665
666 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
667 long groupId, java.lang.String articleId)
668 throws com.liferay.portal.kernel.exception.SystemException {
669 return _journalArticleLocalService.getArticles(groupId, articleId);
670 }
671
672 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
673 long smallImageId)
674 throws com.liferay.portal.kernel.exception.SystemException {
675 return _journalArticleLocalService.getArticlesBySmallImageId(smallImageId);
676 }
677
678 public int getArticlesCount(long groupId)
679 throws com.liferay.portal.kernel.exception.SystemException {
680 return _journalArticleLocalService.getArticlesCount(groupId);
681 }
682
683 public int getArticlesCount(long groupId, long folderId)
684 throws com.liferay.portal.kernel.exception.SystemException {
685 return _journalArticleLocalService.getArticlesCount(groupId, folderId);
686 }
687
688 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
689 long companyId, double version, int status, int start, int end)
690 throws com.liferay.portal.kernel.exception.SystemException {
691 return _journalArticleLocalService.getCompanyArticles(companyId,
692 version, status, start, end);
693 }
694
695 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
696 long companyId, int status, int start, int end)
697 throws com.liferay.portal.kernel.exception.SystemException {
698 return _journalArticleLocalService.getCompanyArticles(companyId,
699 status, start, end);
700 }
701
702 public int getCompanyArticlesCount(long companyId, double version,
703 int status, int start, int end)
704 throws com.liferay.portal.kernel.exception.SystemException {
705 return _journalArticleLocalService.getCompanyArticlesCount(companyId,
706 version, status, start, end);
707 }
708
709 public int getCompanyArticlesCount(long companyId, int status)
710 throws com.liferay.portal.kernel.exception.SystemException {
711 return _journalArticleLocalService.getCompanyArticlesCount(companyId,
712 status);
713 }
714
715 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
716 long groupId, java.lang.String articleId)
717 throws com.liferay.portal.kernel.exception.PortalException,
718 com.liferay.portal.kernel.exception.SystemException {
719 return _journalArticleLocalService.getDisplayArticle(groupId, articleId);
720 }
721
722 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
723 long groupId, java.lang.String urlTitle)
724 throws com.liferay.portal.kernel.exception.PortalException,
725 com.liferay.portal.kernel.exception.SystemException {
726 return _journalArticleLocalService.getDisplayArticleByUrlTitle(groupId,
727 urlTitle);
728 }
729
730 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
731 long resourcePrimKey)
732 throws com.liferay.portal.kernel.exception.PortalException,
733 com.liferay.portal.kernel.exception.SystemException {
734 return _journalArticleLocalService.getLatestArticle(resourcePrimKey);
735 }
736
737 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
738 long resourcePrimKey, int status)
739 throws com.liferay.portal.kernel.exception.PortalException,
740 com.liferay.portal.kernel.exception.SystemException {
741 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
742 status);
743 }
744
745 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
746 long resourcePrimKey, int status, boolean preferApproved)
747 throws com.liferay.portal.kernel.exception.PortalException,
748 com.liferay.portal.kernel.exception.SystemException {
749 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
750 status, preferApproved);
751 }
752
753 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
754 long groupId, java.lang.String articleId)
755 throws com.liferay.portal.kernel.exception.PortalException,
756 com.liferay.portal.kernel.exception.SystemException {
757 return _journalArticleLocalService.getLatestArticle(groupId, articleId);
758 }
759
760 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
761 long groupId, java.lang.String articleId, int status)
762 throws com.liferay.portal.kernel.exception.PortalException,
763 com.liferay.portal.kernel.exception.SystemException {
764 return _journalArticleLocalService.getLatestArticle(groupId, articleId,
765 status);
766 }
767
768 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
769 long groupId, java.lang.String className, long classPK)
770 throws com.liferay.portal.kernel.exception.PortalException,
771 com.liferay.portal.kernel.exception.SystemException {
772 return _journalArticleLocalService.getLatestArticle(groupId, className,
773 classPK);
774 }
775
776 public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
777 long groupId, java.lang.String urlTitle, int status)
778 throws com.liferay.portal.kernel.exception.PortalException,
779 com.liferay.portal.kernel.exception.SystemException {
780 return _journalArticleLocalService.getLatestArticleByUrlTitle(groupId,
781 urlTitle, status);
782 }
783
784 public double getLatestVersion(long groupId, java.lang.String articleId)
785 throws com.liferay.portal.kernel.exception.PortalException,
786 com.liferay.portal.kernel.exception.SystemException {
787 return _journalArticleLocalService.getLatestVersion(groupId, articleId);
788 }
789
790 public double getLatestVersion(long groupId, java.lang.String articleId,
791 int status)
792 throws com.liferay.portal.kernel.exception.PortalException,
793 com.liferay.portal.kernel.exception.SystemException {
794 return _journalArticleLocalService.getLatestVersion(groupId, articleId,
795 status);
796 }
797
798 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
799 long groupId, java.lang.String structureId)
800 throws com.liferay.portal.kernel.exception.SystemException {
801 return _journalArticleLocalService.getStructureArticles(groupId,
802 structureId);
803 }
804
805 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
806 long groupId, java.lang.String structureId, int start, int end,
807 com.liferay.portal.kernel.util.OrderByComparator obc)
808 throws com.liferay.portal.kernel.exception.SystemException {
809 return _journalArticleLocalService.getStructureArticles(groupId,
810 structureId, start, end, obc);
811 }
812
813 public int getStructureArticlesCount(long groupId,
814 java.lang.String structureId)
815 throws com.liferay.portal.kernel.exception.SystemException {
816 return _journalArticleLocalService.getStructureArticlesCount(groupId,
817 structureId);
818 }
819
820 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
821 long groupId, java.lang.String templateId)
822 throws com.liferay.portal.kernel.exception.SystemException {
823 return _journalArticleLocalService.getTemplateArticles(groupId,
824 templateId);
825 }
826
827 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
828 long groupId, java.lang.String templateId, int start, int end,
829 com.liferay.portal.kernel.util.OrderByComparator obc)
830 throws com.liferay.portal.kernel.exception.SystemException {
831 return _journalArticleLocalService.getTemplateArticles(groupId,
832 templateId, start, end, obc);
833 }
834
835 public int getTemplateArticlesCount(long groupId,
836 java.lang.String templateId)
837 throws com.liferay.portal.kernel.exception.SystemException {
838 return _journalArticleLocalService.getTemplateArticlesCount(groupId,
839 templateId);
840 }
841
842 public boolean hasArticle(long groupId, java.lang.String articleId)
843 throws com.liferay.portal.kernel.exception.SystemException {
844 return _journalArticleLocalService.hasArticle(groupId, articleId);
845 }
846
847 public boolean isLatestVersion(long groupId, java.lang.String articleId,
848 double version)
849 throws com.liferay.portal.kernel.exception.PortalException,
850 com.liferay.portal.kernel.exception.SystemException {
851 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
852 version);
853 }
854
855 public boolean isLatestVersion(long groupId, java.lang.String articleId,
856 double version, int status)
857 throws com.liferay.portal.kernel.exception.PortalException,
858 com.liferay.portal.kernel.exception.SystemException {
859 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
860 version, status);
861 }
862
863 public void moveArticle(long groupId, java.lang.String articleId,
864 long newFolderId)
865 throws com.liferay.portal.kernel.exception.SystemException {
866 _journalArticleLocalService.moveArticle(groupId, articleId, newFolderId);
867 }
868
869 public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
870 long groupId, java.lang.String articleId, double version,
871 java.lang.String languageId)
872 throws com.liferay.portal.kernel.exception.PortalException,
873 com.liferay.portal.kernel.exception.SystemException {
874 return _journalArticleLocalService.removeArticleLocale(groupId,
875 articleId, version, languageId);
876 }
877
878 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
879 long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
880 long classNameId, java.lang.String keywords, java.lang.Double version,
881 java.lang.String type, java.lang.String structureId,
882 java.lang.String templateId, java.util.Date displayDateGT,
883 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
884 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
885 throws com.liferay.portal.kernel.exception.SystemException {
886 return _journalArticleLocalService.search(companyId, groupId,
887 folderIds, classNameId, keywords, version, type, structureId,
888 templateId, displayDateGT, displayDateLT, status, reviewDate,
889 start, end, obc);
890 }
891
892 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
893 long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
894 long classNameId, java.lang.String articleId, java.lang.Double version,
895 java.lang.String title, java.lang.String description,
896 java.lang.String content, java.lang.String type,
897 java.lang.String structureId, java.lang.String templateId,
898 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
899 java.util.Date reviewDate, boolean andOperator, int start, int end,
900 com.liferay.portal.kernel.util.OrderByComparator obc)
901 throws com.liferay.portal.kernel.exception.SystemException {
902 return _journalArticleLocalService.search(companyId, groupId,
903 folderIds, classNameId, articleId, version, title, description,
904 content, type, structureId, templateId, displayDateGT,
905 displayDateLT, status, reviewDate, andOperator, start, end, obc);
906 }
907
908 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
909 long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
910 long classNameId, java.lang.String articleId, java.lang.Double version,
911 java.lang.String title, java.lang.String description,
912 java.lang.String content, java.lang.String type,
913 java.lang.String[] structureIds, java.lang.String[] templateIds,
914 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
915 java.util.Date reviewDate, boolean andOperator, int start, int end,
916 com.liferay.portal.kernel.util.OrderByComparator obc)
917 throws com.liferay.portal.kernel.exception.SystemException {
918 return _journalArticleLocalService.search(companyId, groupId,
919 folderIds, classNameId, articleId, version, title, description,
920 content, type, structureIds, templateIds, displayDateGT,
921 displayDateLT, status, reviewDate, andOperator, start, end, obc);
922 }
923
924 public com.liferay.portal.kernel.search.Hits search(long companyId,
925 long groupId, java.util.List<java.lang.Long> folderIds,
926 long classNameId, java.lang.String structureId,
927 java.lang.String templateId, java.lang.String keywords,
928 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
929 int start, int end, com.liferay.portal.kernel.search.Sort sort)
930 throws com.liferay.portal.kernel.exception.SystemException {
931 return _journalArticleLocalService.search(companyId, groupId,
932 folderIds, classNameId, structureId, templateId, keywords, params,
933 start, end, sort);
934 }
935
936 public com.liferay.portal.kernel.search.Hits search(long companyId,
937 long groupId, java.util.List<java.lang.Long> folderIds,
938 long classNameId, java.lang.String articleId, java.lang.String title,
939 java.lang.String description, java.lang.String content,
940 java.lang.String type, java.lang.String status,
941 java.lang.String structureId, java.lang.String templateId,
942 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
943 boolean andSearch, int start, int end,
944 com.liferay.portal.kernel.search.Sort sort)
945 throws com.liferay.portal.kernel.exception.SystemException {
946 return _journalArticleLocalService.search(companyId, groupId,
947 folderIds, classNameId, articleId, title, description, content,
948 type, status, structureId, templateId, params, andSearch, start,
949 end, sort);
950 }
951
952 public int searchCount(long companyId, long groupId,
953 java.util.List<java.lang.Long> folderIds, long classNameId,
954 java.lang.String keywords, java.lang.Double version,
955 java.lang.String type, java.lang.String structureId,
956 java.lang.String templateId, java.util.Date displayDateGT,
957 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
958 throws com.liferay.portal.kernel.exception.SystemException {
959 return _journalArticleLocalService.searchCount(companyId, groupId,
960 folderIds, classNameId, keywords, version, type, structureId,
961 templateId, displayDateGT, displayDateLT, status, reviewDate);
962 }
963
964 public int searchCount(long companyId, long groupId,
965 java.util.List<java.lang.Long> folderIds, long classNameId,
966 java.lang.String articleId, java.lang.Double version,
967 java.lang.String title, java.lang.String description,
968 java.lang.String content, java.lang.String type,
969 java.lang.String structureId, java.lang.String templateId,
970 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
971 java.util.Date reviewDate, boolean andOperator)
972 throws com.liferay.portal.kernel.exception.SystemException {
973 return _journalArticleLocalService.searchCount(companyId, groupId,
974 folderIds, classNameId, articleId, version, title, description,
975 content, type, structureId, templateId, displayDateGT,
976 displayDateLT, status, reviewDate, andOperator);
977 }
978
979 public int searchCount(long companyId, long groupId,
980 java.util.List<java.lang.Long> folderIds, long classNameId,
981 java.lang.String articleId, java.lang.Double version,
982 java.lang.String title, java.lang.String description,
983 java.lang.String content, java.lang.String type,
984 java.lang.String[] structureIds, java.lang.String[] templateIds,
985 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
986 java.util.Date reviewDate, boolean andOperator)
987 throws com.liferay.portal.kernel.exception.SystemException {
988 return _journalArticleLocalService.searchCount(companyId, groupId,
989 folderIds, classNameId, articleId, version, title, description,
990 content, type, structureIds, templateIds, displayDateGT,
991 displayDateLT, status, reviewDate, andOperator);
992 }
993
994 public void subscribe(long userId, long groupId)
995 throws com.liferay.portal.kernel.exception.PortalException,
996 com.liferay.portal.kernel.exception.SystemException {
997 _journalArticleLocalService.subscribe(userId, groupId);
998 }
999
1000 public void unsubscribe(long userId, long groupId)
1001 throws com.liferay.portal.kernel.exception.PortalException,
1002 com.liferay.portal.kernel.exception.SystemException {
1003 _journalArticleLocalService.unsubscribe(userId, groupId);
1004 }
1005
1006 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
1007 long userId, long groupId, long folderId, java.lang.String articleId,
1008 double version,
1009 java.util.Map<java.util.Locale, java.lang.String> titleMap,
1010 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1011 java.lang.String content, java.lang.String layoutUuid,
1012 com.liferay.portal.service.ServiceContext serviceContext)
1013 throws com.liferay.portal.kernel.exception.PortalException,
1014 com.liferay.portal.kernel.exception.SystemException {
1015 return _journalArticleLocalService.updateArticle(userId, groupId,
1016 folderId, articleId, version, titleMap, descriptionMap, content,
1017 layoutUuid, serviceContext);
1018 }
1019
1020 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
1021 long userId, long groupId, long folderId, java.lang.String articleId,
1022 double version,
1023 java.util.Map<java.util.Locale, java.lang.String> titleMap,
1024 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1025 java.lang.String content, java.lang.String type,
1026 java.lang.String structureId, java.lang.String templateId,
1027 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
1028 int displayDateYear, int displayDateHour, int displayDateMinute,
1029 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
1030 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
1031 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
1032 int reviewDateHour, int reviewDateMinute, boolean neverReview,
1033 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
1034 java.io.File smallImageFile,
1035 java.util.Map<java.lang.String, byte[]> images,
1036 java.lang.String articleURL,
1037 com.liferay.portal.service.ServiceContext serviceContext)
1038 throws com.liferay.portal.kernel.exception.PortalException,
1039 com.liferay.portal.kernel.exception.SystemException {
1040 return _journalArticleLocalService.updateArticle(userId, groupId,
1041 folderId, articleId, version, titleMap, descriptionMap, content,
1042 type, structureId, templateId, layoutUuid, displayDateMonth,
1043 displayDateDay, displayDateYear, displayDateHour,
1044 displayDateMinute, expirationDateMonth, expirationDateDay,
1045 expirationDateYear, expirationDateHour, expirationDateMinute,
1046 neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
1047 reviewDateHour, reviewDateMinute, neverReview, indexable,
1048 smallImage, smallImageURL, smallImageFile, images, articleURL,
1049 serviceContext);
1050 }
1051
1052 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
1053 long userId, long groupId, long folderId, java.lang.String articleId,
1054 double version, java.lang.String content,
1055 com.liferay.portal.service.ServiceContext serviceContext)
1056 throws com.liferay.portal.kernel.exception.PortalException,
1057 com.liferay.portal.kernel.exception.SystemException {
1058 return _journalArticleLocalService.updateArticle(userId, groupId,
1059 folderId, articleId, version, content, serviceContext);
1060 }
1061
1062
1066 public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
1067 long groupId, java.lang.String articleId, double version,
1068 java.util.Locale locale, java.lang.String title,
1069 java.lang.String description, java.lang.String content,
1070 java.util.Map<java.lang.String, byte[]> images)
1071 throws com.liferay.portal.kernel.exception.PortalException,
1072 com.liferay.portal.kernel.exception.SystemException {
1073 return _journalArticleLocalService.updateArticleTranslation(groupId,
1074 articleId, version, locale, title, description, content, images);
1075 }
1076
1077 public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
1078 long groupId, java.lang.String articleId, double version,
1079 java.util.Locale locale, java.lang.String title,
1080 java.lang.String description, java.lang.String content,
1081 java.util.Map<java.lang.String, byte[]> images,
1082 com.liferay.portal.service.ServiceContext serviceContext)
1083 throws com.liferay.portal.kernel.exception.PortalException,
1084 com.liferay.portal.kernel.exception.SystemException {
1085 return _journalArticleLocalService.updateArticleTranslation(groupId,
1086 articleId, version, locale, title, description, content, images,
1087 serviceContext);
1088 }
1089
1090 public void updateAsset(long userId,
1091 com.liferay.portlet.journal.model.JournalArticle article,
1092 long[] assetCategoryIds, java.lang.String[] assetTagNames,
1093 long[] assetLinkEntryIds)
1094 throws com.liferay.portal.kernel.exception.PortalException,
1095 com.liferay.portal.kernel.exception.SystemException {
1096 _journalArticleLocalService.updateAsset(userId, article,
1097 assetCategoryIds, assetTagNames, assetLinkEntryIds);
1098 }
1099
1100 public com.liferay.portlet.journal.model.JournalArticle updateContent(
1101 long groupId, java.lang.String articleId, double version,
1102 java.lang.String content)
1103 throws com.liferay.portal.kernel.exception.PortalException,
1104 com.liferay.portal.kernel.exception.SystemException {
1105 return _journalArticleLocalService.updateContent(groupId, articleId,
1106 version, content);
1107 }
1108
1109 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1110 long userId, com.liferay.portlet.journal.model.JournalArticle article,
1111 int status, java.lang.String articleURL,
1112 com.liferay.portal.service.ServiceContext serviceContext)
1113 throws com.liferay.portal.kernel.exception.PortalException,
1114 com.liferay.portal.kernel.exception.SystemException {
1115 return _journalArticleLocalService.updateStatus(userId, article,
1116 status, articleURL, serviceContext);
1117 }
1118
1119 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1120 long userId, long classPK, int status,
1121 com.liferay.portal.service.ServiceContext serviceContext)
1122 throws com.liferay.portal.kernel.exception.PortalException,
1123 com.liferay.portal.kernel.exception.SystemException {
1124 return _journalArticleLocalService.updateStatus(userId, classPK,
1125 status, serviceContext);
1126 }
1127
1128 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1129 long userId, long groupId, java.lang.String articleId, double version,
1130 int status, java.lang.String articleURL,
1131 com.liferay.portal.service.ServiceContext serviceContext)
1132 throws com.liferay.portal.kernel.exception.PortalException,
1133 com.liferay.portal.kernel.exception.SystemException {
1134 return _journalArticleLocalService.updateStatus(userId, groupId,
1135 articleId, version, status, articleURL, serviceContext);
1136 }
1137
1138 public void updateTemplateId(long groupId, long classNameId,
1139 java.lang.String oldTemplateId, java.lang.String newTemplateId)
1140 throws com.liferay.portal.kernel.exception.SystemException {
1141 _journalArticleLocalService.updateTemplateId(groupId, classNameId,
1142 oldTemplateId, newTemplateId);
1143 }
1144
1145
1148 public JournalArticleLocalService getWrappedJournalArticleLocalService() {
1149 return _journalArticleLocalService;
1150 }
1151
1152
1155 public void setWrappedJournalArticleLocalService(
1156 JournalArticleLocalService journalArticleLocalService) {
1157 _journalArticleLocalService = journalArticleLocalService;
1158 }
1159
1160 public JournalArticleLocalService getWrappedService() {
1161 return _journalArticleLocalService;
1162 }
1163
1164 public void setWrappedService(
1165 JournalArticleLocalService journalArticleLocalService) {
1166 _journalArticleLocalService = journalArticleLocalService;
1167 }
1168
1169 private JournalArticleLocalService _journalArticleLocalService;
1170 }