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
257 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
258 com.liferay.portlet.journal.model.JournalArticle journalArticle,
259 boolean merge)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return _journalArticleLocalService.updateJournalArticle(journalArticle,
262 merge);
263 }
264
265
270 public java.lang.String getBeanIdentifier() {
271 return _journalArticleLocalService.getBeanIdentifier();
272 }
273
274
279 public void setBeanIdentifier(java.lang.String beanIdentifier) {
280 _journalArticleLocalService.setBeanIdentifier(beanIdentifier);
281 }
282
283 public com.liferay.portlet.journal.model.JournalArticle addArticle(
284 long userId, long groupId, long classNameId, long classPK,
285 java.lang.String articleId, boolean autoArticleId, double version,
286 java.util.Map<java.util.Locale, java.lang.String> titleMap,
287 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
288 java.lang.String content, java.lang.String type,
289 java.lang.String structureId, java.lang.String templateId,
290 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
291 int displayDateYear, int displayDateHour, int displayDateMinute,
292 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
293 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
294 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
295 int reviewDateHour, int reviewDateMinute, boolean neverReview,
296 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
297 java.io.File smallImageFile,
298 java.util.Map<java.lang.String, byte[]> images,
299 java.lang.String articleURL,
300 com.liferay.portal.service.ServiceContext serviceContext)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return _journalArticleLocalService.addArticle(userId, groupId,
304 classNameId, classPK, articleId, autoArticleId, version, titleMap,
305 descriptionMap, content, type, structureId, templateId, layoutUuid,
306 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
307 displayDateMinute, expirationDateMonth, expirationDateDay,
308 expirationDateYear, expirationDateHour, expirationDateMinute,
309 neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
310 reviewDateHour, reviewDateMinute, neverReview, indexable,
311 smallImage, smallImageURL, smallImageFile, images, articleURL,
312 serviceContext);
313 }
314
315 public void addArticleResources(
316 com.liferay.portlet.journal.model.JournalArticle article,
317 boolean addGroupPermissions, boolean addGuestPermissions)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _journalArticleLocalService.addArticleResources(article,
321 addGroupPermissions, addGuestPermissions);
322 }
323
324 public void addArticleResources(
325 com.liferay.portlet.journal.model.JournalArticle article,
326 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 _journalArticleLocalService.addArticleResources(article,
330 groupPermissions, guestPermissions);
331 }
332
333 public void addArticleResources(long groupId, java.lang.String articleId,
334 boolean addGroupPermissions, boolean addGuestPermissions)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 _journalArticleLocalService.addArticleResources(groupId, articleId,
338 addGroupPermissions, addGuestPermissions);
339 }
340
341 public void addArticleResources(long groupId, java.lang.String articleId,
342 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 _journalArticleLocalService.addArticleResources(groupId, articleId,
346 groupPermissions, guestPermissions);
347 }
348
349 public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
350 long groupId, java.lang.String articleId, double version)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException {
353 return _journalArticleLocalService.checkArticleResourcePrimKey(groupId,
354 articleId, version);
355 }
356
357 public void checkArticles()
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 _journalArticleLocalService.checkArticles();
361 }
362
363 public void checkNewLine(long groupId, java.lang.String articleId,
364 double version)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 _journalArticleLocalService.checkNewLine(groupId, articleId, version);
368 }
369
370 public void checkStructure(long groupId, java.lang.String articleId,
371 double version)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 _journalArticleLocalService.checkStructure(groupId, articleId, version);
375 }
376
377 public com.liferay.portlet.journal.model.JournalArticle copyArticle(
378 long userId, long groupId, java.lang.String oldArticleId,
379 java.lang.String newArticleId, boolean autoArticleId, double version)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 return _journalArticleLocalService.copyArticle(userId, groupId,
383 oldArticleId, newArticleId, autoArticleId, version);
384 }
385
386 public void deleteArticle(
387 com.liferay.portlet.journal.model.JournalArticle article,
388 java.lang.String articleURL,
389 com.liferay.portal.service.ServiceContext serviceContext)
390 throws com.liferay.portal.kernel.exception.PortalException,
391 com.liferay.portal.kernel.exception.SystemException {
392 _journalArticleLocalService.deleteArticle(article, articleURL,
393 serviceContext);
394 }
395
396 public void deleteArticle(long groupId, java.lang.String articleId,
397 double version, java.lang.String articleURL,
398 com.liferay.portal.service.ServiceContext serviceContext)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 _journalArticleLocalService.deleteArticle(groupId, articleId, version,
402 articleURL, serviceContext);
403 }
404
405 public void deleteArticle(long groupId, java.lang.String articleId,
406 com.liferay.portal.service.ServiceContext serviceContext)
407 throws com.liferay.portal.kernel.exception.PortalException,
408 com.liferay.portal.kernel.exception.SystemException {
409 _journalArticleLocalService.deleteArticle(groupId, articleId,
410 serviceContext);
411 }
412
413 public void deleteArticles(long groupId)
414 throws com.liferay.portal.kernel.exception.PortalException,
415 com.liferay.portal.kernel.exception.SystemException {
416 _journalArticleLocalService.deleteArticles(groupId);
417 }
418
419 public void deleteLayoutArticleReferences(long groupId,
420 java.lang.String layoutUuid)
421 throws com.liferay.portal.kernel.exception.SystemException {
422 _journalArticleLocalService.deleteLayoutArticleReferences(groupId,
423 layoutUuid);
424 }
425
426 public com.liferay.portlet.journal.model.JournalArticle expireArticle(
427 long userId, long groupId, java.lang.String articleId, double version,
428 java.lang.String articleURL,
429 com.liferay.portal.service.ServiceContext serviceContext)
430 throws com.liferay.portal.kernel.exception.PortalException,
431 com.liferay.portal.kernel.exception.SystemException {
432 return _journalArticleLocalService.expireArticle(userId, groupId,
433 articleId, version, articleURL, serviceContext);
434 }
435
436 public void expireArticle(long userId, long groupId,
437 java.lang.String articleId, java.lang.String articleURL,
438 com.liferay.portal.service.ServiceContext serviceContext)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 _journalArticleLocalService.expireArticle(userId, groupId, articleId,
442 articleURL, serviceContext);
443 }
444
445 public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
446 throws com.liferay.portal.kernel.exception.PortalException,
447 com.liferay.portal.kernel.exception.SystemException {
448 return _journalArticleLocalService.getArticle(id);
449 }
450
451 public com.liferay.portlet.journal.model.JournalArticle getArticle(
452 long groupId, java.lang.String articleId)
453 throws com.liferay.portal.kernel.exception.PortalException,
454 com.liferay.portal.kernel.exception.SystemException {
455 return _journalArticleLocalService.getArticle(groupId, articleId);
456 }
457
458 public com.liferay.portlet.journal.model.JournalArticle getArticle(
459 long groupId, java.lang.String articleId, double version)
460 throws com.liferay.portal.kernel.exception.PortalException,
461 com.liferay.portal.kernel.exception.SystemException {
462 return _journalArticleLocalService.getArticle(groupId, articleId,
463 version);
464 }
465
466 public com.liferay.portlet.journal.model.JournalArticle getArticle(
467 long groupId, java.lang.String className, long classPK)
468 throws com.liferay.portal.kernel.exception.PortalException,
469 com.liferay.portal.kernel.exception.SystemException {
470 return _journalArticleLocalService.getArticle(groupId, className,
471 classPK);
472 }
473
474 public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
475 long groupId, java.lang.String urlTitle)
476 throws com.liferay.portal.kernel.exception.PortalException,
477 com.liferay.portal.kernel.exception.SystemException {
478 return _journalArticleLocalService.getArticleByUrlTitle(groupId,
479 urlTitle);
480 }
481
482 public java.lang.String getArticleContent(
483 com.liferay.portlet.journal.model.JournalArticle article,
484 java.lang.String templateId, java.lang.String viewMode,
485 java.lang.String languageId,
486 com.liferay.portal.theme.ThemeDisplay themeDisplay)
487 throws com.liferay.portal.kernel.exception.PortalException,
488 com.liferay.portal.kernel.exception.SystemException {
489 return _journalArticleLocalService.getArticleContent(article,
490 templateId, viewMode, languageId, themeDisplay);
491 }
492
493 public java.lang.String getArticleContent(long groupId,
494 java.lang.String articleId, double version, java.lang.String viewMode,
495 java.lang.String templateId, java.lang.String languageId,
496 com.liferay.portal.theme.ThemeDisplay themeDisplay)
497 throws com.liferay.portal.kernel.exception.PortalException,
498 com.liferay.portal.kernel.exception.SystemException {
499 return _journalArticleLocalService.getArticleContent(groupId,
500 articleId, version, viewMode, templateId, languageId, themeDisplay);
501 }
502
503 public java.lang.String getArticleContent(long groupId,
504 java.lang.String articleId, double version, java.lang.String viewMode,
505 java.lang.String languageId,
506 com.liferay.portal.theme.ThemeDisplay themeDisplay)
507 throws com.liferay.portal.kernel.exception.PortalException,
508 com.liferay.portal.kernel.exception.SystemException {
509 return _journalArticleLocalService.getArticleContent(groupId,
510 articleId, version, viewMode, languageId, themeDisplay);
511 }
512
513 public java.lang.String getArticleContent(long groupId,
514 java.lang.String articleId, java.lang.String viewMode,
515 java.lang.String templateId, java.lang.String languageId,
516 com.liferay.portal.theme.ThemeDisplay themeDisplay)
517 throws com.liferay.portal.kernel.exception.PortalException,
518 com.liferay.portal.kernel.exception.SystemException {
519 return _journalArticleLocalService.getArticleContent(groupId,
520 articleId, viewMode, templateId, languageId, themeDisplay);
521 }
522
523 public java.lang.String getArticleContent(long groupId,
524 java.lang.String articleId, java.lang.String viewMode,
525 java.lang.String languageId,
526 com.liferay.portal.theme.ThemeDisplay themeDisplay)
527 throws com.liferay.portal.kernel.exception.PortalException,
528 com.liferay.portal.kernel.exception.SystemException {
529 return _journalArticleLocalService.getArticleContent(groupId,
530 articleId, viewMode, languageId, themeDisplay);
531 }
532
533 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
534 com.liferay.portlet.journal.model.JournalArticle article,
535 java.lang.String templateId, java.lang.String viewMode,
536 java.lang.String languageId, int page, java.lang.String xmlRequest,
537 com.liferay.portal.theme.ThemeDisplay themeDisplay)
538 throws com.liferay.portal.kernel.exception.PortalException,
539 com.liferay.portal.kernel.exception.SystemException {
540 return _journalArticleLocalService.getArticleDisplay(article,
541 templateId, viewMode, languageId, page, xmlRequest, themeDisplay);
542 }
543
544 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
545 long groupId, java.lang.String articleId, double version,
546 java.lang.String templateId, java.lang.String viewMode,
547 java.lang.String languageId, int page, java.lang.String xmlRequest,
548 com.liferay.portal.theme.ThemeDisplay themeDisplay)
549 throws com.liferay.portal.kernel.exception.PortalException,
550 com.liferay.portal.kernel.exception.SystemException {
551 return _journalArticleLocalService.getArticleDisplay(groupId,
552 articleId, version, templateId, viewMode, languageId, page,
553 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,
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, themeDisplay);
565 }
566
567 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
568 long groupId, java.lang.String articleId, java.lang.String viewMode,
569 java.lang.String languageId, int page, java.lang.String xmlRequest,
570 com.liferay.portal.theme.ThemeDisplay themeDisplay)
571 throws com.liferay.portal.kernel.exception.PortalException,
572 com.liferay.portal.kernel.exception.SystemException {
573 return _journalArticleLocalService.getArticleDisplay(groupId,
574 articleId, viewMode, languageId, page, xmlRequest, themeDisplay);
575 }
576
577 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
578 long groupId, java.lang.String articleId, java.lang.String templateId,
579 java.lang.String viewMode, java.lang.String languageId, int page,
580 java.lang.String xmlRequest,
581 com.liferay.portal.theme.ThemeDisplay themeDisplay)
582 throws com.liferay.portal.kernel.exception.PortalException,
583 com.liferay.portal.kernel.exception.SystemException {
584 return _journalArticleLocalService.getArticleDisplay(groupId,
585 articleId, templateId, viewMode, languageId, page, xmlRequest,
586 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,
592 com.liferay.portal.theme.ThemeDisplay themeDisplay)
593 throws com.liferay.portal.kernel.exception.PortalException,
594 com.liferay.portal.kernel.exception.SystemException {
595 return _journalArticleLocalService.getArticleDisplay(groupId,
596 articleId, templateId, viewMode, languageId, themeDisplay);
597 }
598
599 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
600 long groupId, java.lang.String articleId, java.lang.String viewMode,
601 java.lang.String languageId,
602 com.liferay.portal.theme.ThemeDisplay themeDisplay)
603 throws com.liferay.portal.kernel.exception.PortalException,
604 com.liferay.portal.kernel.exception.SystemException {
605 return _journalArticleLocalService.getArticleDisplay(groupId,
606 articleId, viewMode, languageId, themeDisplay);
607 }
608
609 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
610 throws com.liferay.portal.kernel.exception.SystemException {
611 return _journalArticleLocalService.getArticles();
612 }
613
614 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
615 long groupId)
616 throws com.liferay.portal.kernel.exception.SystemException {
617 return _journalArticleLocalService.getArticles(groupId);
618 }
619
620 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
621 long groupId, int start, int end)
622 throws com.liferay.portal.kernel.exception.SystemException {
623 return _journalArticleLocalService.getArticles(groupId, start, end);
624 }
625
626 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
627 long groupId, int start, int end,
628 com.liferay.portal.kernel.util.OrderByComparator obc)
629 throws com.liferay.portal.kernel.exception.SystemException {
630 return _journalArticleLocalService.getArticles(groupId, start, end, obc);
631 }
632
633 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
634 long groupId, java.lang.String articleId)
635 throws com.liferay.portal.kernel.exception.SystemException {
636 return _journalArticleLocalService.getArticles(groupId, articleId);
637 }
638
639 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
640 long smallImageId)
641 throws com.liferay.portal.kernel.exception.SystemException {
642 return _journalArticleLocalService.getArticlesBySmallImageId(smallImageId);
643 }
644
645 public int getArticlesCount(long groupId)
646 throws com.liferay.portal.kernel.exception.SystemException {
647 return _journalArticleLocalService.getArticlesCount(groupId);
648 }
649
650 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
651 long companyId, double version, int status, int start, int end)
652 throws com.liferay.portal.kernel.exception.SystemException {
653 return _journalArticleLocalService.getCompanyArticles(companyId,
654 version, status, start, end);
655 }
656
657 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
658 long companyId, int status, int start, int end)
659 throws com.liferay.portal.kernel.exception.SystemException {
660 return _journalArticleLocalService.getCompanyArticles(companyId,
661 status, start, end);
662 }
663
664 public int getCompanyArticlesCount(long companyId, double version,
665 int status, int start, int end)
666 throws com.liferay.portal.kernel.exception.SystemException {
667 return _journalArticleLocalService.getCompanyArticlesCount(companyId,
668 version, status, start, end);
669 }
670
671 public int getCompanyArticlesCount(long companyId, int status)
672 throws com.liferay.portal.kernel.exception.SystemException {
673 return _journalArticleLocalService.getCompanyArticlesCount(companyId,
674 status);
675 }
676
677 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
678 long groupId, java.lang.String articleId)
679 throws com.liferay.portal.kernel.exception.PortalException,
680 com.liferay.portal.kernel.exception.SystemException {
681 return _journalArticleLocalService.getDisplayArticle(groupId, articleId);
682 }
683
684 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
685 long groupId, java.lang.String urlTitle)
686 throws com.liferay.portal.kernel.exception.PortalException,
687 com.liferay.portal.kernel.exception.SystemException {
688 return _journalArticleLocalService.getDisplayArticleByUrlTitle(groupId,
689 urlTitle);
690 }
691
692 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
693 long resourcePrimKey)
694 throws com.liferay.portal.kernel.exception.PortalException,
695 com.liferay.portal.kernel.exception.SystemException {
696 return _journalArticleLocalService.getLatestArticle(resourcePrimKey);
697 }
698
699 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
700 long resourcePrimKey, int status)
701 throws com.liferay.portal.kernel.exception.PortalException,
702 com.liferay.portal.kernel.exception.SystemException {
703 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
704 status);
705 }
706
707 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
708 long resourcePrimKey, int status, boolean preferApproved)
709 throws com.liferay.portal.kernel.exception.PortalException,
710 com.liferay.portal.kernel.exception.SystemException {
711 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
712 status, preferApproved);
713 }
714
715 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
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.getLatestArticle(groupId, articleId);
720 }
721
722 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
723 long groupId, java.lang.String articleId, int status)
724 throws com.liferay.portal.kernel.exception.PortalException,
725 com.liferay.portal.kernel.exception.SystemException {
726 return _journalArticleLocalService.getLatestArticle(groupId, articleId,
727 status);
728 }
729
730 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
731 long groupId, java.lang.String className, long classPK)
732 throws com.liferay.portal.kernel.exception.PortalException,
733 com.liferay.portal.kernel.exception.SystemException {
734 return _journalArticleLocalService.getLatestArticle(groupId, className,
735 classPK);
736 }
737
738 public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
739 long groupId, java.lang.String urlTitle, int status)
740 throws com.liferay.portal.kernel.exception.PortalException,
741 com.liferay.portal.kernel.exception.SystemException {
742 return _journalArticleLocalService.getLatestArticleByUrlTitle(groupId,
743 urlTitle, status);
744 }
745
746 public double getLatestVersion(long groupId, java.lang.String articleId)
747 throws com.liferay.portal.kernel.exception.PortalException,
748 com.liferay.portal.kernel.exception.SystemException {
749 return _journalArticleLocalService.getLatestVersion(groupId, articleId);
750 }
751
752 public double getLatestVersion(long groupId, java.lang.String articleId,
753 int status)
754 throws com.liferay.portal.kernel.exception.PortalException,
755 com.liferay.portal.kernel.exception.SystemException {
756 return _journalArticleLocalService.getLatestVersion(groupId, articleId,
757 status);
758 }
759
760 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
761 long groupId, java.lang.String structureId)
762 throws com.liferay.portal.kernel.exception.SystemException {
763 return _journalArticleLocalService.getStructureArticles(groupId,
764 structureId);
765 }
766
767 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
768 long groupId, java.lang.String structureId, int start, int end,
769 com.liferay.portal.kernel.util.OrderByComparator obc)
770 throws com.liferay.portal.kernel.exception.SystemException {
771 return _journalArticleLocalService.getStructureArticles(groupId,
772 structureId, start, end, obc);
773 }
774
775 public int getStructureArticlesCount(long groupId,
776 java.lang.String structureId)
777 throws com.liferay.portal.kernel.exception.SystemException {
778 return _journalArticleLocalService.getStructureArticlesCount(groupId,
779 structureId);
780 }
781
782 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
783 long groupId, java.lang.String templateId)
784 throws com.liferay.portal.kernel.exception.SystemException {
785 return _journalArticleLocalService.getTemplateArticles(groupId,
786 templateId);
787 }
788
789 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
790 long groupId, java.lang.String templateId, int start, int end,
791 com.liferay.portal.kernel.util.OrderByComparator obc)
792 throws com.liferay.portal.kernel.exception.SystemException {
793 return _journalArticleLocalService.getTemplateArticles(groupId,
794 templateId, start, end, obc);
795 }
796
797 public int getTemplateArticlesCount(long groupId,
798 java.lang.String templateId)
799 throws com.liferay.portal.kernel.exception.SystemException {
800 return _journalArticleLocalService.getTemplateArticlesCount(groupId,
801 templateId);
802 }
803
804 public boolean hasArticle(long groupId, java.lang.String articleId)
805 throws com.liferay.portal.kernel.exception.SystemException {
806 return _journalArticleLocalService.hasArticle(groupId, articleId);
807 }
808
809 public boolean isLatestVersion(long groupId, java.lang.String articleId,
810 double version)
811 throws com.liferay.portal.kernel.exception.PortalException,
812 com.liferay.portal.kernel.exception.SystemException {
813 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
814 version);
815 }
816
817 public boolean isLatestVersion(long groupId, java.lang.String articleId,
818 double version, int status)
819 throws com.liferay.portal.kernel.exception.PortalException,
820 com.liferay.portal.kernel.exception.SystemException {
821 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
822 version, status);
823 }
824
825 public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
826 long groupId, java.lang.String articleId, double version,
827 java.lang.String languageId)
828 throws com.liferay.portal.kernel.exception.PortalException,
829 com.liferay.portal.kernel.exception.SystemException {
830 return _journalArticleLocalService.removeArticleLocale(groupId,
831 articleId, version, languageId);
832 }
833
834 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
835 long companyId, long groupId, long classNameId,
836 java.lang.String keywords, java.lang.Double version,
837 java.lang.String type, java.lang.String structureId,
838 java.lang.String templateId, java.util.Date displayDateGT,
839 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
840 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
841 throws com.liferay.portal.kernel.exception.SystemException {
842 return _journalArticleLocalService.search(companyId, groupId,
843 classNameId, keywords, version, type, structureId, templateId,
844 displayDateGT, displayDateLT, status, reviewDate, start, end, obc);
845 }
846
847 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
848 long companyId, long groupId, long classNameId,
849 java.lang.String articleId, java.lang.Double version,
850 java.lang.String title, java.lang.String description,
851 java.lang.String content, java.lang.String type,
852 java.lang.String structureId, java.lang.String templateId,
853 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
854 java.util.Date reviewDate, boolean andOperator, int start, int end,
855 com.liferay.portal.kernel.util.OrderByComparator obc)
856 throws com.liferay.portal.kernel.exception.SystemException {
857 return _journalArticleLocalService.search(companyId, groupId,
858 classNameId, articleId, version, title, description, content, type,
859 structureId, templateId, displayDateGT, displayDateLT, status,
860 reviewDate, andOperator, start, end, obc);
861 }
862
863 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
864 long companyId, long groupId, long classNameId,
865 java.lang.String articleId, java.lang.Double version,
866 java.lang.String title, java.lang.String description,
867 java.lang.String content, java.lang.String type,
868 java.lang.String[] structureIds, java.lang.String[] templateIds,
869 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
870 java.util.Date reviewDate, boolean andOperator, int start, int end,
871 com.liferay.portal.kernel.util.OrderByComparator obc)
872 throws com.liferay.portal.kernel.exception.SystemException {
873 return _journalArticleLocalService.search(companyId, groupId,
874 classNameId, articleId, version, title, description, content, type,
875 structureIds, templateIds, displayDateGT, displayDateLT, status,
876 reviewDate, andOperator, start, end, obc);
877 }
878
879 public com.liferay.portal.kernel.search.Hits search(long companyId,
880 long groupId, long classNameId, java.lang.String structureId,
881 java.lang.String templateId, java.lang.String keywords,
882 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
883 int start, int end, com.liferay.portal.kernel.search.Sort sort)
884 throws com.liferay.portal.kernel.exception.SystemException {
885 return _journalArticleLocalService.search(companyId, groupId,
886 classNameId, structureId, templateId, keywords, params, start, end,
887 sort);
888 }
889
890 public com.liferay.portal.kernel.search.Hits search(long companyId,
891 long groupId, long classNameId, java.lang.String articleId,
892 java.lang.String title, java.lang.String description,
893 java.lang.String content, java.lang.String type,
894 java.lang.String status, java.lang.String structureId,
895 java.lang.String templateId,
896 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
897 boolean andSearch, int start, int end,
898 com.liferay.portal.kernel.search.Sort sort)
899 throws com.liferay.portal.kernel.exception.SystemException {
900 return _journalArticleLocalService.search(companyId, groupId,
901 classNameId, articleId, title, description, content, type, status,
902 structureId, templateId, params, andSearch, start, end, sort);
903 }
904
905 public int searchCount(long companyId, long groupId, long classNameId,
906 java.lang.String keywords, java.lang.Double version,
907 java.lang.String type, java.lang.String structureId,
908 java.lang.String templateId, java.util.Date displayDateGT,
909 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
910 throws com.liferay.portal.kernel.exception.SystemException {
911 return _journalArticleLocalService.searchCount(companyId, groupId,
912 classNameId, keywords, version, type, structureId, templateId,
913 displayDateGT, displayDateLT, status, reviewDate);
914 }
915
916 public int searchCount(long companyId, long groupId, long classNameId,
917 java.lang.String articleId, java.lang.Double version,
918 java.lang.String title, java.lang.String description,
919 java.lang.String content, java.lang.String type,
920 java.lang.String structureId, java.lang.String templateId,
921 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
922 java.util.Date reviewDate, boolean andOperator)
923 throws com.liferay.portal.kernel.exception.SystemException {
924 return _journalArticleLocalService.searchCount(companyId, groupId,
925 classNameId, articleId, version, title, description, content, type,
926 structureId, templateId, displayDateGT, displayDateLT, status,
927 reviewDate, andOperator);
928 }
929
930 public int searchCount(long companyId, long groupId, long classNameId,
931 java.lang.String articleId, java.lang.Double version,
932 java.lang.String title, java.lang.String description,
933 java.lang.String content, java.lang.String type,
934 java.lang.String[] structureIds, java.lang.String[] templateIds,
935 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
936 java.util.Date reviewDate, boolean andOperator)
937 throws com.liferay.portal.kernel.exception.SystemException {
938 return _journalArticleLocalService.searchCount(companyId, groupId,
939 classNameId, articleId, version, title, description, content, type,
940 structureIds, templateIds, displayDateGT, displayDateLT, status,
941 reviewDate, andOperator);
942 }
943
944 public void subscribe(long userId, long groupId)
945 throws com.liferay.portal.kernel.exception.PortalException,
946 com.liferay.portal.kernel.exception.SystemException {
947 _journalArticleLocalService.subscribe(userId, groupId);
948 }
949
950 public void unsubscribe(long userId, long groupId)
951 throws com.liferay.portal.kernel.exception.PortalException,
952 com.liferay.portal.kernel.exception.SystemException {
953 _journalArticleLocalService.unsubscribe(userId, groupId);
954 }
955
956 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
957 long userId, long groupId, java.lang.String articleId, double version,
958 java.util.Map<java.util.Locale, java.lang.String> titleMap,
959 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
960 java.lang.String content, java.lang.String layoutUuid,
961 com.liferay.portal.service.ServiceContext serviceContext)
962 throws com.liferay.portal.kernel.exception.PortalException,
963 com.liferay.portal.kernel.exception.SystemException {
964 return _journalArticleLocalService.updateArticle(userId, groupId,
965 articleId, version, titleMap, descriptionMap, content, layoutUuid,
966 serviceContext);
967 }
968
969 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
970 long userId, long groupId, java.lang.String articleId, double version,
971 java.util.Map<java.util.Locale, java.lang.String> titleMap,
972 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
973 java.lang.String content, java.lang.String type,
974 java.lang.String structureId, java.lang.String templateId,
975 java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
976 int displayDateYear, int displayDateHour, int displayDateMinute,
977 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
978 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
979 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
980 int reviewDateHour, int reviewDateMinute, boolean neverReview,
981 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
982 java.io.File smallImageFile,
983 java.util.Map<java.lang.String, byte[]> images,
984 java.lang.String articleURL,
985 com.liferay.portal.service.ServiceContext serviceContext)
986 throws com.liferay.portal.kernel.exception.PortalException,
987 com.liferay.portal.kernel.exception.SystemException {
988 return _journalArticleLocalService.updateArticle(userId, groupId,
989 articleId, version, titleMap, descriptionMap, content, type,
990 structureId, templateId, layoutUuid, displayDateMonth,
991 displayDateDay, displayDateYear, displayDateHour,
992 displayDateMinute, expirationDateMonth, expirationDateDay,
993 expirationDateYear, expirationDateHour, expirationDateMinute,
994 neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
995 reviewDateHour, reviewDateMinute, neverReview, indexable,
996 smallImage, smallImageURL, smallImageFile, images, articleURL,
997 serviceContext);
998 }
999
1000 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
1001 long userId, long groupId, java.lang.String articleId, double version,
1002 java.lang.String content,
1003 com.liferay.portal.service.ServiceContext serviceContext)
1004 throws com.liferay.portal.kernel.exception.PortalException,
1005 com.liferay.portal.kernel.exception.SystemException {
1006 return _journalArticleLocalService.updateArticle(userId, groupId,
1007 articleId, version, content, serviceContext);
1008 }
1009
1010
1014 public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
1015 long groupId, java.lang.String articleId, double version,
1016 java.util.Locale locale, java.lang.String title,
1017 java.lang.String description, java.lang.String content,
1018 java.util.Map<java.lang.String, byte[]> images)
1019 throws com.liferay.portal.kernel.exception.PortalException,
1020 com.liferay.portal.kernel.exception.SystemException {
1021 return _journalArticleLocalService.updateArticleTranslation(groupId,
1022 articleId, version, locale, title, description, content, images);
1023 }
1024
1025 public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
1026 long groupId, java.lang.String articleId, double version,
1027 java.util.Locale locale, java.lang.String title,
1028 java.lang.String description, java.lang.String content,
1029 java.util.Map<java.lang.String, byte[]> images,
1030 com.liferay.portal.service.ServiceContext serviceContext)
1031 throws com.liferay.portal.kernel.exception.PortalException,
1032 com.liferay.portal.kernel.exception.SystemException {
1033 return _journalArticleLocalService.updateArticleTranslation(groupId,
1034 articleId, version, locale, title, description, content, images,
1035 serviceContext);
1036 }
1037
1038 public void updateAsset(long userId,
1039 com.liferay.portlet.journal.model.JournalArticle article,
1040 long[] assetCategoryIds, java.lang.String[] assetTagNames,
1041 long[] assetLinkEntryIds)
1042 throws com.liferay.portal.kernel.exception.PortalException,
1043 com.liferay.portal.kernel.exception.SystemException {
1044 _journalArticleLocalService.updateAsset(userId, article,
1045 assetCategoryIds, assetTagNames, assetLinkEntryIds);
1046 }
1047
1048 public com.liferay.portlet.journal.model.JournalArticle updateContent(
1049 long groupId, java.lang.String articleId, double version,
1050 java.lang.String content)
1051 throws com.liferay.portal.kernel.exception.PortalException,
1052 com.liferay.portal.kernel.exception.SystemException {
1053 return _journalArticleLocalService.updateContent(groupId, articleId,
1054 version, content);
1055 }
1056
1057 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1058 long userId, com.liferay.portlet.journal.model.JournalArticle article,
1059 int status, java.lang.String articleURL,
1060 com.liferay.portal.service.ServiceContext serviceContext)
1061 throws com.liferay.portal.kernel.exception.PortalException,
1062 com.liferay.portal.kernel.exception.SystemException {
1063 return _journalArticleLocalService.updateStatus(userId, article,
1064 status, articleURL, serviceContext);
1065 }
1066
1067 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1068 long userId, long classPK, int status,
1069 com.liferay.portal.service.ServiceContext serviceContext)
1070 throws com.liferay.portal.kernel.exception.PortalException,
1071 com.liferay.portal.kernel.exception.SystemException {
1072 return _journalArticleLocalService.updateStatus(userId, classPK,
1073 status, serviceContext);
1074 }
1075
1076 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1077 long userId, long groupId, java.lang.String articleId, double version,
1078 int status, java.lang.String articleURL,
1079 com.liferay.portal.service.ServiceContext serviceContext)
1080 throws com.liferay.portal.kernel.exception.PortalException,
1081 com.liferay.portal.kernel.exception.SystemException {
1082 return _journalArticleLocalService.updateStatus(userId, groupId,
1083 articleId, version, status, articleURL, serviceContext);
1084 }
1085
1086 public void updateTemplateId(long groupId, long classNameId,
1087 java.lang.String oldTemplateId, java.lang.String newTemplateId)
1088 throws com.liferay.portal.kernel.exception.SystemException {
1089 _journalArticleLocalService.updateTemplateId(groupId, classNameId,
1090 oldTemplateId, newTemplateId);
1091 }
1092
1093
1096 public JournalArticleLocalService getWrappedJournalArticleLocalService() {
1097 return _journalArticleLocalService;
1098 }
1099
1100
1103 public void setWrappedJournalArticleLocalService(
1104 JournalArticleLocalService journalArticleLocalService) {
1105 _journalArticleLocalService = journalArticleLocalService;
1106 }
1107
1108 public JournalArticleLocalService getWrappedService() {
1109 return _journalArticleLocalService;
1110 }
1111
1112 public void setWrappedService(
1113 JournalArticleLocalService journalArticleLocalService) {
1114 _journalArticleLocalService = journalArticleLocalService;
1115 }
1116
1117 private JournalArticleLocalService _journalArticleLocalService;
1118 }