001
014
015 package com.liferay.portlet.journal.service;
016
017
026 public class JournalArticleLocalServiceWrapper
027 implements JournalArticleLocalService {
028 public JournalArticleLocalServiceWrapper(
029 JournalArticleLocalService journalArticleLocalService) {
030 _journalArticleLocalService = journalArticleLocalService;
031 }
032
033
040 public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
041 com.liferay.portlet.journal.model.JournalArticle journalArticle)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _journalArticleLocalService.addJournalArticle(journalArticle);
044 }
045
046
052 public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
053 long id) {
054 return _journalArticleLocalService.createJournalArticle(id);
055 }
056
057
064 public void deleteJournalArticle(long id)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _journalArticleLocalService.deleteJournalArticle(id);
068 }
069
070
076 public void deleteJournalArticle(
077 com.liferay.portlet.journal.model.JournalArticle journalArticle)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _journalArticleLocalService.deleteJournalArticle(journalArticle);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _journalArticleLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _journalArticleLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _journalArticleLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _journalArticleLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
162 long id)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _journalArticleLocalService.getJournalArticle(id);
166 }
167
168
177 public com.liferay.portlet.journal.model.JournalArticle getJournalArticleByUuidAndGroupId(
178 java.lang.String uuid, long groupId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _journalArticleLocalService.getJournalArticleByUuidAndGroupId(uuid,
182 groupId);
183 }
184
185
197 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _journalArticleLocalService.getJournalArticles(start, end);
201 }
202
203
209 public int getJournalArticlesCount()
210 throws com.liferay.portal.kernel.exception.SystemException {
211 return _journalArticleLocalService.getJournalArticlesCount();
212 }
213
214
221 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
222 com.liferay.portlet.journal.model.JournalArticle journalArticle)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _journalArticleLocalService.updateJournalArticle(journalArticle);
225 }
226
227
235 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
236 com.liferay.portlet.journal.model.JournalArticle journalArticle,
237 boolean merge)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _journalArticleLocalService.updateJournalArticle(journalArticle,
240 merge);
241 }
242
243 public com.liferay.portlet.journal.model.JournalArticle addArticle(
244 long userId, long groupId, java.lang.String articleId,
245 boolean autoArticleId, double version, java.lang.String title,
246 java.lang.String description, java.lang.String content,
247 java.lang.String type, java.lang.String structureId,
248 java.lang.String templateId, int displayDateMonth, int displayDateDay,
249 int displayDateYear, int displayDateHour, int displayDateMinute,
250 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
251 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
252 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
253 int reviewDateHour, int reviewDateMinute, boolean neverReview,
254 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
255 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
256 java.lang.String articleURL,
257 com.liferay.portal.service.ServiceContext serviceContext)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 return _journalArticleLocalService.addArticle(userId, groupId,
261 articleId, autoArticleId, version, title, description, content,
262 type, structureId, templateId, displayDateMonth, displayDateDay,
263 displayDateYear, displayDateHour, displayDateMinute,
264 expirationDateMonth, expirationDateDay, expirationDateYear,
265 expirationDateHour, expirationDateMinute, neverExpire,
266 reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
267 reviewDateMinute, neverReview, indexable, smallImage,
268 smallImageURL, smallFile, images, articleURL, serviceContext);
269 }
270
271 public void addArticleResources(
272 com.liferay.portlet.journal.model.JournalArticle article,
273 boolean addCommunityPermissions, boolean addGuestPermissions)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 _journalArticleLocalService.addArticleResources(article,
277 addCommunityPermissions, addGuestPermissions);
278 }
279
280 public void addArticleResources(
281 com.liferay.portlet.journal.model.JournalArticle article,
282 java.lang.String[] communityPermissions,
283 java.lang.String[] guestPermissions)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 _journalArticleLocalService.addArticleResources(article,
287 communityPermissions, guestPermissions);
288 }
289
290 public void addArticleResources(long groupId, java.lang.String articleId,
291 boolean addCommunityPermissions, boolean addGuestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _journalArticleLocalService.addArticleResources(groupId, articleId,
295 addCommunityPermissions, addGuestPermissions);
296 }
297
298 public void addArticleResources(long groupId, java.lang.String articleId,
299 java.lang.String[] communityPermissions,
300 java.lang.String[] guestPermissions)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _journalArticleLocalService.addArticleResources(groupId, articleId,
304 communityPermissions, guestPermissions);
305 }
306
307 public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
308 long groupId, java.lang.String articleId, double version)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _journalArticleLocalService.checkArticleResourcePrimKey(groupId,
312 articleId, version);
313 }
314
315 public void checkArticles()
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _journalArticleLocalService.checkArticles();
319 }
320
321 public void checkNewLine(long groupId, java.lang.String articleId,
322 double version)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _journalArticleLocalService.checkNewLine(groupId, articleId, version);
326 }
327
328 public void checkStructure(long groupId, java.lang.String articleId,
329 double version)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 _journalArticleLocalService.checkStructure(groupId, articleId, version);
333 }
334
335 public com.liferay.portlet.journal.model.JournalArticle copyArticle(
336 long userId, long groupId, java.lang.String oldArticleId,
337 java.lang.String newArticleId, boolean autoArticleId, double version)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 return _journalArticleLocalService.copyArticle(userId, groupId,
341 oldArticleId, newArticleId, autoArticleId, version);
342 }
343
344 public void deleteArticle(
345 com.liferay.portlet.journal.model.JournalArticle article,
346 java.lang.String articleURL,
347 com.liferay.portal.service.ServiceContext serviceContext)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException {
350 _journalArticleLocalService.deleteArticle(article, articleURL,
351 serviceContext);
352 }
353
354 public void deleteArticle(long groupId, java.lang.String articleId,
355 double version, java.lang.String articleURL,
356 com.liferay.portal.service.ServiceContext serviceContext)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _journalArticleLocalService.deleteArticle(groupId, articleId, version,
360 articleURL, serviceContext);
361 }
362
363 public void deleteArticle(long groupId, java.lang.String articleId,
364 com.liferay.portal.service.ServiceContext serviceContext)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 _journalArticleLocalService.deleteArticle(groupId, articleId,
368 serviceContext);
369 }
370
371 public void deleteArticles(long groupId)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 _journalArticleLocalService.deleteArticles(groupId);
375 }
376
377 public com.liferay.portlet.journal.model.JournalArticle expireArticle(
378 long userId, long groupId, java.lang.String articleId, double version,
379 java.lang.String articleURL,
380 com.liferay.portal.service.ServiceContext serviceContext)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException {
383 return _journalArticleLocalService.expireArticle(userId, groupId,
384 articleId, version, articleURL, serviceContext);
385 }
386
387 public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
388 throws com.liferay.portal.kernel.exception.PortalException,
389 com.liferay.portal.kernel.exception.SystemException {
390 return _journalArticleLocalService.getArticle(id);
391 }
392
393 public com.liferay.portlet.journal.model.JournalArticle getArticle(
394 long groupId, java.lang.String articleId)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 return _journalArticleLocalService.getArticle(groupId, articleId);
398 }
399
400 public com.liferay.portlet.journal.model.JournalArticle getArticle(
401 long groupId, java.lang.String articleId, double version)
402 throws com.liferay.portal.kernel.exception.PortalException,
403 com.liferay.portal.kernel.exception.SystemException {
404 return _journalArticleLocalService.getArticle(groupId, articleId,
405 version);
406 }
407
408 public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
409 long groupId, java.lang.String urlTitle)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException {
412 return _journalArticleLocalService.getArticleByUrlTitle(groupId,
413 urlTitle);
414 }
415
416 public java.lang.String getArticleContent(
417 com.liferay.portlet.journal.model.JournalArticle article,
418 java.lang.String templateId, java.lang.String viewMode,
419 java.lang.String languageId,
420 com.liferay.portal.theme.ThemeDisplay themeDisplay)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException {
423 return _journalArticleLocalService.getArticleContent(article,
424 templateId, viewMode, languageId, themeDisplay);
425 }
426
427 public java.lang.String getArticleContent(long groupId,
428 java.lang.String articleId, double version, java.lang.String viewMode,
429 java.lang.String templateId, java.lang.String languageId,
430 com.liferay.portal.theme.ThemeDisplay themeDisplay)
431 throws com.liferay.portal.kernel.exception.PortalException,
432 com.liferay.portal.kernel.exception.SystemException {
433 return _journalArticleLocalService.getArticleContent(groupId,
434 articleId, version, viewMode, templateId, languageId, themeDisplay);
435 }
436
437 public java.lang.String getArticleContent(long groupId,
438 java.lang.String articleId, double version, java.lang.String viewMode,
439 java.lang.String languageId,
440 com.liferay.portal.theme.ThemeDisplay themeDisplay)
441 throws com.liferay.portal.kernel.exception.PortalException,
442 com.liferay.portal.kernel.exception.SystemException {
443 return _journalArticleLocalService.getArticleContent(groupId,
444 articleId, version, viewMode, languageId, themeDisplay);
445 }
446
447 public java.lang.String getArticleContent(long groupId,
448 java.lang.String articleId, java.lang.String viewMode,
449 java.lang.String templateId, java.lang.String languageId,
450 com.liferay.portal.theme.ThemeDisplay themeDisplay)
451 throws com.liferay.portal.kernel.exception.PortalException,
452 com.liferay.portal.kernel.exception.SystemException {
453 return _journalArticleLocalService.getArticleContent(groupId,
454 articleId, viewMode, templateId, languageId, themeDisplay);
455 }
456
457 public java.lang.String getArticleContent(long groupId,
458 java.lang.String articleId, java.lang.String viewMode,
459 java.lang.String languageId,
460 com.liferay.portal.theme.ThemeDisplay themeDisplay)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException {
463 return _journalArticleLocalService.getArticleContent(groupId,
464 articleId, viewMode, languageId, themeDisplay);
465 }
466
467 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
468 com.liferay.portlet.journal.model.JournalArticle article,
469 java.lang.String templateId, java.lang.String viewMode,
470 java.lang.String languageId, int page, java.lang.String xmlRequest,
471 com.liferay.portal.theme.ThemeDisplay themeDisplay)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException {
474 return _journalArticleLocalService.getArticleDisplay(article,
475 templateId, viewMode, languageId, page, xmlRequest, themeDisplay);
476 }
477
478 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
479 long groupId, java.lang.String articleId, double version,
480 java.lang.String templateId, java.lang.String viewMode,
481 java.lang.String languageId, int page, java.lang.String xmlRequest,
482 com.liferay.portal.theme.ThemeDisplay themeDisplay)
483 throws com.liferay.portal.kernel.exception.PortalException,
484 com.liferay.portal.kernel.exception.SystemException {
485 return _journalArticleLocalService.getArticleDisplay(groupId,
486 articleId, version, templateId, viewMode, languageId, page,
487 xmlRequest, themeDisplay);
488 }
489
490 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
491 long groupId, java.lang.String articleId, double version,
492 java.lang.String templateId, java.lang.String viewMode,
493 java.lang.String languageId,
494 com.liferay.portal.theme.ThemeDisplay themeDisplay)
495 throws com.liferay.portal.kernel.exception.PortalException,
496 com.liferay.portal.kernel.exception.SystemException {
497 return _journalArticleLocalService.getArticleDisplay(groupId,
498 articleId, version, templateId, viewMode, languageId, themeDisplay);
499 }
500
501 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
502 long groupId, java.lang.String articleId, java.lang.String viewMode,
503 java.lang.String languageId, int page, java.lang.String xmlRequest,
504 com.liferay.portal.theme.ThemeDisplay themeDisplay)
505 throws com.liferay.portal.kernel.exception.PortalException,
506 com.liferay.portal.kernel.exception.SystemException {
507 return _journalArticleLocalService.getArticleDisplay(groupId,
508 articleId, viewMode, languageId, page, xmlRequest, themeDisplay);
509 }
510
511 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
512 long groupId, java.lang.String articleId, java.lang.String templateId,
513 java.lang.String viewMode, java.lang.String languageId, int page,
514 java.lang.String xmlRequest,
515 com.liferay.portal.theme.ThemeDisplay themeDisplay)
516 throws com.liferay.portal.kernel.exception.PortalException,
517 com.liferay.portal.kernel.exception.SystemException {
518 return _journalArticleLocalService.getArticleDisplay(groupId,
519 articleId, templateId, viewMode, languageId, page, xmlRequest,
520 themeDisplay);
521 }
522
523 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
524 long groupId, java.lang.String articleId, java.lang.String templateId,
525 java.lang.String viewMode, 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.getArticleDisplay(groupId,
530 articleId, templateId, viewMode, languageId, themeDisplay);
531 }
532
533 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
534 long groupId, java.lang.String articleId, java.lang.String viewMode,
535 java.lang.String languageId,
536 com.liferay.portal.theme.ThemeDisplay themeDisplay)
537 throws com.liferay.portal.kernel.exception.PortalException,
538 com.liferay.portal.kernel.exception.SystemException {
539 return _journalArticleLocalService.getArticleDisplay(groupId,
540 articleId, viewMode, languageId, themeDisplay);
541 }
542
543 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
544 throws com.liferay.portal.kernel.exception.SystemException {
545 return _journalArticleLocalService.getArticles();
546 }
547
548 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
549 long groupId)
550 throws com.liferay.portal.kernel.exception.SystemException {
551 return _journalArticleLocalService.getArticles(groupId);
552 }
553
554 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
555 long groupId, int start, int end)
556 throws com.liferay.portal.kernel.exception.SystemException {
557 return _journalArticleLocalService.getArticles(groupId, start, end);
558 }
559
560 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
561 long groupId, int start, int end,
562 com.liferay.portal.kernel.util.OrderByComparator obc)
563 throws com.liferay.portal.kernel.exception.SystemException {
564 return _journalArticleLocalService.getArticles(groupId, start, end, obc);
565 }
566
567 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
568 long groupId, java.lang.String articleId)
569 throws com.liferay.portal.kernel.exception.SystemException {
570 return _journalArticleLocalService.getArticles(groupId, articleId);
571 }
572
573 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
574 long smallImageId)
575 throws com.liferay.portal.kernel.exception.SystemException {
576 return _journalArticleLocalService.getArticlesBySmallImageId(smallImageId);
577 }
578
579 public int getArticlesCount(long groupId)
580 throws com.liferay.portal.kernel.exception.SystemException {
581 return _journalArticleLocalService.getArticlesCount(groupId);
582 }
583
584 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
585 long companyId, int status, int start, int end)
586 throws com.liferay.portal.kernel.exception.SystemException {
587 return _journalArticleLocalService.getCompanyArticles(companyId,
588 status, start, end);
589 }
590
591 public int getCompanyArticlesCount(long companyId, int status)
592 throws com.liferay.portal.kernel.exception.SystemException {
593 return _journalArticleLocalService.getCompanyArticlesCount(companyId,
594 status);
595 }
596
597 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
598 long groupId, java.lang.String articleId)
599 throws com.liferay.portal.kernel.exception.PortalException,
600 com.liferay.portal.kernel.exception.SystemException {
601 return _journalArticleLocalService.getDisplayArticle(groupId, articleId);
602 }
603
604 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
605 long resourcePrimKey)
606 throws com.liferay.portal.kernel.exception.PortalException,
607 com.liferay.portal.kernel.exception.SystemException {
608 return _journalArticleLocalService.getLatestArticle(resourcePrimKey);
609 }
610
611 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
612 long resourcePrimKey, int status)
613 throws com.liferay.portal.kernel.exception.PortalException,
614 com.liferay.portal.kernel.exception.SystemException {
615 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
616 status);
617 }
618
619 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
620 long resourcePrimKey, int status, boolean preferApproved)
621 throws com.liferay.portal.kernel.exception.PortalException,
622 com.liferay.portal.kernel.exception.SystemException {
623 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
624 status, preferApproved);
625 }
626
627 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
628 long groupId, java.lang.String articleId)
629 throws com.liferay.portal.kernel.exception.PortalException,
630 com.liferay.portal.kernel.exception.SystemException {
631 return _journalArticleLocalService.getLatestArticle(groupId, articleId);
632 }
633
634 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
635 long groupId, java.lang.String articleId, int status)
636 throws com.liferay.portal.kernel.exception.PortalException,
637 com.liferay.portal.kernel.exception.SystemException {
638 return _journalArticleLocalService.getLatestArticle(groupId, articleId,
639 status);
640 }
641
642 public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
643 long groupId, java.lang.String urlTitle, int status)
644 throws com.liferay.portal.kernel.exception.PortalException,
645 com.liferay.portal.kernel.exception.SystemException {
646 return _journalArticleLocalService.getLatestArticleByUrlTitle(groupId,
647 urlTitle, status);
648 }
649
650 public double getLatestVersion(long groupId, java.lang.String articleId)
651 throws com.liferay.portal.kernel.exception.PortalException,
652 com.liferay.portal.kernel.exception.SystemException {
653 return _journalArticleLocalService.getLatestVersion(groupId, articleId);
654 }
655
656 public double getLatestVersion(long groupId, java.lang.String articleId,
657 int status)
658 throws com.liferay.portal.kernel.exception.PortalException,
659 com.liferay.portal.kernel.exception.SystemException {
660 return _journalArticleLocalService.getLatestVersion(groupId, articleId,
661 status);
662 }
663
664 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
665 long groupId, java.lang.String structureId)
666 throws com.liferay.portal.kernel.exception.SystemException {
667 return _journalArticleLocalService.getStructureArticles(groupId,
668 structureId);
669 }
670
671 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
672 long groupId, java.lang.String structureId, int start, int end,
673 com.liferay.portal.kernel.util.OrderByComparator obc)
674 throws com.liferay.portal.kernel.exception.SystemException {
675 return _journalArticleLocalService.getStructureArticles(groupId,
676 structureId, start, end, obc);
677 }
678
679 public int getStructureArticlesCount(long groupId,
680 java.lang.String structureId)
681 throws com.liferay.portal.kernel.exception.SystemException {
682 return _journalArticleLocalService.getStructureArticlesCount(groupId,
683 structureId);
684 }
685
686 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
687 long groupId, java.lang.String templateId)
688 throws com.liferay.portal.kernel.exception.SystemException {
689 return _journalArticleLocalService.getTemplateArticles(groupId,
690 templateId);
691 }
692
693 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
694 long groupId, java.lang.String templateId, int start, int end,
695 com.liferay.portal.kernel.util.OrderByComparator obc)
696 throws com.liferay.portal.kernel.exception.SystemException {
697 return _journalArticleLocalService.getTemplateArticles(groupId,
698 templateId, start, end, obc);
699 }
700
701 public int getTemplateArticlesCount(long groupId,
702 java.lang.String templateId)
703 throws com.liferay.portal.kernel.exception.SystemException {
704 return _journalArticleLocalService.getTemplateArticlesCount(groupId,
705 templateId);
706 }
707
708 public boolean hasArticle(long groupId, java.lang.String articleId)
709 throws com.liferay.portal.kernel.exception.SystemException {
710 return _journalArticleLocalService.hasArticle(groupId, articleId);
711 }
712
713 public boolean isLatestVersion(long groupId, java.lang.String articleId,
714 double version)
715 throws com.liferay.portal.kernel.exception.PortalException,
716 com.liferay.portal.kernel.exception.SystemException {
717 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
718 version);
719 }
720
721 public boolean isLatestVersion(long groupId, java.lang.String articleId,
722 double version, int status)
723 throws com.liferay.portal.kernel.exception.PortalException,
724 com.liferay.portal.kernel.exception.SystemException {
725 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
726 version, status);
727 }
728
729 public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
730 long groupId, java.lang.String articleId, double version,
731 java.lang.String languageId)
732 throws com.liferay.portal.kernel.exception.PortalException,
733 com.liferay.portal.kernel.exception.SystemException {
734 return _journalArticleLocalService.removeArticleLocale(groupId,
735 articleId, version, languageId);
736 }
737
738 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
739 long companyId, long groupId, java.lang.String keywords,
740 java.lang.Double version, java.lang.String type,
741 java.lang.String structureId, java.lang.String templateId,
742 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
743 java.util.Date reviewDate, int start, int end,
744 com.liferay.portal.kernel.util.OrderByComparator obc)
745 throws com.liferay.portal.kernel.exception.SystemException {
746 return _journalArticleLocalService.search(companyId, groupId, keywords,
747 version, type, structureId, templateId, displayDateGT,
748 displayDateLT, status, reviewDate, start, end, obc);
749 }
750
751 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
752 long companyId, long groupId, java.lang.String articleId,
753 java.lang.Double version, java.lang.String title,
754 java.lang.String description, java.lang.String content,
755 java.lang.String type, java.lang.String structureId,
756 java.lang.String templateId, java.util.Date displayDateGT,
757 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
758 boolean andOperator, int start, int end,
759 com.liferay.portal.kernel.util.OrderByComparator obc)
760 throws com.liferay.portal.kernel.exception.SystemException {
761 return _journalArticleLocalService.search(companyId, groupId,
762 articleId, version, title, description, content, type, structureId,
763 templateId, displayDateGT, displayDateLT, status, reviewDate,
764 andOperator, start, end, obc);
765 }
766
767 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
768 long companyId, long groupId, java.lang.String articleId,
769 java.lang.Double version, java.lang.String title,
770 java.lang.String description, java.lang.String content,
771 java.lang.String type, java.lang.String[] structureIds,
772 java.lang.String[] templateIds, java.util.Date displayDateGT,
773 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
774 boolean andOperator, int start, int end,
775 com.liferay.portal.kernel.util.OrderByComparator obc)
776 throws com.liferay.portal.kernel.exception.SystemException {
777 return _journalArticleLocalService.search(companyId, groupId,
778 articleId, version, title, description, content, type,
779 structureIds, templateIds, displayDateGT, displayDateLT, status,
780 reviewDate, andOperator, start, end, obc);
781 }
782
783 public int searchCount(long companyId, long groupId,
784 java.lang.String keywords, java.lang.Double version,
785 java.lang.String type, java.lang.String structureId,
786 java.lang.String templateId, java.util.Date displayDateGT,
787 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
788 throws com.liferay.portal.kernel.exception.SystemException {
789 return _journalArticleLocalService.searchCount(companyId, groupId,
790 keywords, version, type, structureId, templateId, displayDateGT,
791 displayDateLT, status, reviewDate);
792 }
793
794 public int searchCount(long companyId, long groupId,
795 java.lang.String articleId, java.lang.Double version,
796 java.lang.String title, java.lang.String description,
797 java.lang.String content, java.lang.String type,
798 java.lang.String structureId, java.lang.String templateId,
799 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
800 java.util.Date reviewDate, boolean andOperator)
801 throws com.liferay.portal.kernel.exception.SystemException {
802 return _journalArticleLocalService.searchCount(companyId, groupId,
803 articleId, version, title, description, content, type, structureId,
804 templateId, displayDateGT, displayDateLT, status, reviewDate,
805 andOperator);
806 }
807
808 public int searchCount(long companyId, long groupId,
809 java.lang.String articleId, java.lang.Double version,
810 java.lang.String title, java.lang.String description,
811 java.lang.String content, java.lang.String type,
812 java.lang.String[] structureIds, java.lang.String[] templateIds,
813 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
814 java.util.Date reviewDate, boolean andOperator)
815 throws com.liferay.portal.kernel.exception.SystemException {
816 return _journalArticleLocalService.searchCount(companyId, groupId,
817 articleId, version, title, description, content, type,
818 structureIds, templateIds, displayDateGT, displayDateLT, status,
819 reviewDate, andOperator);
820 }
821
822 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
823 long userId, long groupId, java.lang.String articleId, double version,
824 java.lang.String content)
825 throws com.liferay.portal.kernel.exception.PortalException,
826 com.liferay.portal.kernel.exception.SystemException {
827 return _journalArticleLocalService.updateArticle(userId, groupId,
828 articleId, version, content);
829 }
830
831 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
832 long userId, long groupId, java.lang.String articleId, double version,
833 java.lang.String title, java.lang.String description,
834 java.lang.String content, java.lang.String type,
835 java.lang.String structureId, java.lang.String templateId,
836 int displayDateMonth, int displayDateDay, int displayDateYear,
837 int displayDateHour, int displayDateMinute, int expirationDateMonth,
838 int expirationDateDay, int expirationDateYear, int expirationDateHour,
839 int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
840 int reviewDateDay, int reviewDateYear, int reviewDateHour,
841 int reviewDateMinute, boolean neverReview, boolean indexable,
842 boolean smallImage, java.lang.String smallImageURL,
843 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
844 java.lang.String articleURL,
845 com.liferay.portal.service.ServiceContext serviceContext)
846 throws com.liferay.portal.kernel.exception.PortalException,
847 com.liferay.portal.kernel.exception.SystemException {
848 return _journalArticleLocalService.updateArticle(userId, groupId,
849 articleId, version, title, description, content, type, structureId,
850 templateId, displayDateMonth, displayDateDay, displayDateYear,
851 displayDateHour, displayDateMinute, expirationDateMonth,
852 expirationDateDay, expirationDateYear, expirationDateHour,
853 expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
854 reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
855 indexable, smallImage, smallImageURL, smallFile, images,
856 articleURL, serviceContext);
857 }
858
859 public void updateAsset(long userId,
860 com.liferay.portlet.journal.model.JournalArticle article,
861 long[] assetCategoryIds, java.lang.String[] assetTagNames)
862 throws com.liferay.portal.kernel.exception.PortalException,
863 com.liferay.portal.kernel.exception.SystemException {
864 _journalArticleLocalService.updateAsset(userId, article,
865 assetCategoryIds, assetTagNames);
866 }
867
868 public com.liferay.portlet.journal.model.JournalArticle updateContent(
869 long groupId, java.lang.String articleId, double version,
870 java.lang.String content)
871 throws com.liferay.portal.kernel.exception.PortalException,
872 com.liferay.portal.kernel.exception.SystemException {
873 return _journalArticleLocalService.updateContent(groupId, articleId,
874 version, content);
875 }
876
877 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
878 long userId, com.liferay.portlet.journal.model.JournalArticle article,
879 int status, java.lang.String articleURL,
880 com.liferay.portal.service.ServiceContext serviceContext)
881 throws com.liferay.portal.kernel.exception.PortalException,
882 com.liferay.portal.kernel.exception.SystemException {
883 return _journalArticleLocalService.updateStatus(userId, article,
884 status, articleURL, serviceContext);
885 }
886
887 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
888 long userId, long classPK, int status,
889 com.liferay.portal.service.ServiceContext serviceContext)
890 throws com.liferay.portal.kernel.exception.PortalException,
891 com.liferay.portal.kernel.exception.SystemException {
892 return _journalArticleLocalService.updateStatus(userId, classPK,
893 status, serviceContext);
894 }
895
896 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
897 long userId, long groupId, java.lang.String articleId, double version,
898 int status, java.lang.String articleURL,
899 com.liferay.portal.service.ServiceContext serviceContext)
900 throws com.liferay.portal.kernel.exception.PortalException,
901 com.liferay.portal.kernel.exception.SystemException {
902 return _journalArticleLocalService.updateStatus(userId, groupId,
903 articleId, version, status, articleURL, serviceContext);
904 }
905
906 public JournalArticleLocalService getWrappedJournalArticleLocalService() {
907 return _journalArticleLocalService;
908 }
909
910 private JournalArticleLocalService _journalArticleLocalService;
911 }