1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.journal.service;
16  
17  
18  /**
19   * <a href="JournalArticleLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link JournalArticleLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       JournalArticleLocalService
32   * @generated
33   */
34  public class JournalArticleLocalServiceWrapper
35      implements JournalArticleLocalService {
36      public JournalArticleLocalServiceWrapper(
37          JournalArticleLocalService journalArticleLocalService) {
38          _journalArticleLocalService = journalArticleLocalService;
39      }
40  
41      public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
42          com.liferay.portlet.journal.model.JournalArticle journalArticle)
43          throws com.liferay.portal.SystemException {
44          return _journalArticleLocalService.addJournalArticle(journalArticle);
45      }
46  
47      public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
48          long id) {
49          return _journalArticleLocalService.createJournalArticle(id);
50      }
51  
52      public void deleteJournalArticle(long id)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _journalArticleLocalService.deleteJournalArticle(id);
56      }
57  
58      public void deleteJournalArticle(
59          com.liferay.portlet.journal.model.JournalArticle journalArticle)
60          throws com.liferay.portal.SystemException {
61          _journalArticleLocalService.deleteJournalArticle(journalArticle);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _journalArticleLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _journalArticleLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.SystemException {
81          return _journalArticleLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.SystemException {
88          return _journalArticleLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
92          long id)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _journalArticleLocalService.getJournalArticle(id);
96      }
97  
98      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
99          int start, int end) throws com.liferay.portal.SystemException {
100         return _journalArticleLocalService.getJournalArticles(start, end);
101     }
102 
103     public int getJournalArticlesCount()
104         throws com.liferay.portal.SystemException {
105         return _journalArticleLocalService.getJournalArticlesCount();
106     }
107 
108     public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
109         com.liferay.portlet.journal.model.JournalArticle journalArticle)
110         throws com.liferay.portal.SystemException {
111         return _journalArticleLocalService.updateJournalArticle(journalArticle);
112     }
113 
114     public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
115         com.liferay.portlet.journal.model.JournalArticle journalArticle,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _journalArticleLocalService.updateJournalArticle(journalArticle,
118             merge);
119     }
120 
121     public com.liferay.portlet.journal.model.JournalArticle addArticle(
122         long userId, long groupId, java.lang.String articleId,
123         boolean autoArticleId, double version, java.lang.String title,
124         java.lang.String description, java.lang.String content,
125         java.lang.String type, java.lang.String structureId,
126         java.lang.String templateId, int displayDateMonth, int displayDateDay,
127         int displayDateYear, int displayDateHour, int displayDateMinute,
128         int expirationDateMonth, int expirationDateDay, int expirationDateYear,
129         int expirationDateHour, int expirationDateMinute, boolean neverExpire,
130         int reviewDateMonth, int reviewDateDay, int reviewDateYear,
131         int reviewDateHour, int reviewDateMinute, boolean neverReview,
132         boolean indexable, boolean smallImage, java.lang.String smallImageURL,
133         java.io.File smallFile, java.util.Map<String, byte[]> images,
134         java.lang.String articleURL,
135         com.liferay.portal.service.ServiceContext serviceContext)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _journalArticleLocalService.addArticle(userId, groupId,
139             articleId, autoArticleId, version, title, description, content,
140             type, structureId, templateId, displayDateMonth, displayDateDay,
141             displayDateYear, displayDateHour, displayDateMinute,
142             expirationDateMonth, expirationDateDay, expirationDateYear,
143             expirationDateHour, expirationDateMinute, neverExpire,
144             reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
145             reviewDateMinute, neverReview, indexable, smallImage,
146             smallImageURL, smallFile, images, articleURL, serviceContext);
147     }
148 
149     public com.liferay.portlet.journal.model.JournalArticle addArticle(
150         long userId, long groupId, java.lang.String articleId,
151         boolean autoArticleId, java.lang.String title,
152         java.lang.String description, java.lang.String content,
153         java.lang.String type, java.lang.String structureId,
154         java.lang.String templateId, int displayDateMonth, int displayDateDay,
155         int displayDateYear, int displayDateHour, int displayDateMinute,
156         int expirationDateMonth, int expirationDateDay, int expirationDateYear,
157         int expirationDateHour, int expirationDateMinute, boolean neverExpire,
158         int reviewDateMonth, int reviewDateDay, int reviewDateYear,
159         int reviewDateHour, int reviewDateMinute, boolean neverReview,
160         boolean indexable, boolean smallImage, java.lang.String smallImageURL,
161         java.io.File smallFile, java.util.Map<String, byte[]> images,
162         java.lang.String articleURL,
163         com.liferay.portal.service.ServiceContext serviceContext)
164         throws com.liferay.portal.PortalException,
165             com.liferay.portal.SystemException {
166         return _journalArticleLocalService.addArticle(userId, groupId,
167             articleId, autoArticleId, title, description, content, type,
168             structureId, templateId, displayDateMonth, displayDateDay,
169             displayDateYear, displayDateHour, displayDateMinute,
170             expirationDateMonth, expirationDateDay, expirationDateYear,
171             expirationDateHour, expirationDateMinute, neverExpire,
172             reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
173             reviewDateMinute, neverReview, indexable, smallImage,
174             smallImageURL, smallFile, images, articleURL, serviceContext);
175     }
176 
177     public com.liferay.portlet.journal.model.JournalArticle addArticle(
178         java.lang.String uuid, long userId, long groupId,
179         java.lang.String articleId, boolean autoArticleId, double version,
180         java.lang.String title, java.lang.String description,
181         java.lang.String content, java.lang.String type,
182         java.lang.String structureId, java.lang.String templateId,
183         int displayDateMonth, int displayDateDay, int displayDateYear,
184         int displayDateHour, int displayDateMinute, int expirationDateMonth,
185         int expirationDateDay, int expirationDateYear, int expirationDateHour,
186         int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
187         int reviewDateDay, int reviewDateYear, int reviewDateHour,
188         int reviewDateMinute, boolean neverReview, boolean indexable,
189         boolean smallImage, java.lang.String smallImageURL,
190         java.io.File smallFile, java.util.Map<String, byte[]> images,
191         java.lang.String articleURL,
192         com.liferay.portal.service.ServiceContext serviceContext)
193         throws com.liferay.portal.PortalException,
194             com.liferay.portal.SystemException {
195         return _journalArticleLocalService.addArticle(uuid, userId, groupId,
196             articleId, autoArticleId, version, title, description, content,
197             type, structureId, templateId, displayDateMonth, displayDateDay,
198             displayDateYear, displayDateHour, displayDateMinute,
199             expirationDateMonth, expirationDateDay, expirationDateYear,
200             expirationDateHour, expirationDateMinute, neverExpire,
201             reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
202             reviewDateMinute, neverReview, indexable, smallImage,
203             smallImageURL, smallFile, images, articleURL, serviceContext);
204     }
205 
206     public void addArticleResources(
207         com.liferay.portlet.journal.model.JournalArticle article,
208         boolean addCommunityPermissions, boolean addGuestPermissions)
209         throws com.liferay.portal.PortalException,
210             com.liferay.portal.SystemException {
211         _journalArticleLocalService.addArticleResources(article,
212             addCommunityPermissions, addGuestPermissions);
213     }
214 
215     public void addArticleResources(
216         com.liferay.portlet.journal.model.JournalArticle article,
217         java.lang.String[] communityPermissions,
218         java.lang.String[] guestPermissions)
219         throws com.liferay.portal.PortalException,
220             com.liferay.portal.SystemException {
221         _journalArticleLocalService.addArticleResources(article,
222             communityPermissions, guestPermissions);
223     }
224 
225     public void addArticleResources(long groupId, java.lang.String articleId,
226         boolean addCommunityPermissions, boolean addGuestPermissions)
227         throws com.liferay.portal.PortalException,
228             com.liferay.portal.SystemException {
229         _journalArticleLocalService.addArticleResources(groupId, articleId,
230             addCommunityPermissions, addGuestPermissions);
231     }
232 
233     public void addArticleResources(long groupId, java.lang.String articleId,
234         java.lang.String[] communityPermissions,
235         java.lang.String[] guestPermissions)
236         throws com.liferay.portal.PortalException,
237             com.liferay.portal.SystemException {
238         _journalArticleLocalService.addArticleResources(groupId, articleId,
239             communityPermissions, guestPermissions);
240     }
241 
242     public com.liferay.portlet.journal.model.JournalArticle approveArticle(
243         long userId, long groupId, java.lang.String articleId, double version,
244         java.lang.String articleURL,
245         com.liferay.portal.service.ServiceContext serviceContext)
246         throws com.liferay.portal.PortalException,
247             com.liferay.portal.SystemException {
248         return _journalArticleLocalService.approveArticle(userId, groupId,
249             articleId, version, articleURL, serviceContext);
250     }
251 
252     public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
253         long groupId, java.lang.String articleId, double version)
254         throws com.liferay.portal.PortalException,
255             com.liferay.portal.SystemException {
256         return _journalArticleLocalService.checkArticleResourcePrimKey(groupId,
257             articleId, version);
258     }
259 
260     public void checkArticles()
261         throws com.liferay.portal.PortalException,
262             com.liferay.portal.SystemException {
263         _journalArticleLocalService.checkArticles();
264     }
265 
266     public void checkNewLine(long groupId, java.lang.String articleId,
267         double version)
268         throws com.liferay.portal.PortalException,
269             com.liferay.portal.SystemException {
270         _journalArticleLocalService.checkNewLine(groupId, articleId, version);
271     }
272 
273     public void checkStructure(long groupId, java.lang.String articleId,
274         double version)
275         throws com.liferay.portal.PortalException,
276             com.liferay.portal.SystemException {
277         _journalArticleLocalService.checkStructure(groupId, articleId, version);
278     }
279 
280     public com.liferay.portlet.journal.model.JournalArticle copyArticle(
281         long userId, long groupId, java.lang.String oldArticleId,
282         java.lang.String newArticleId, boolean autoArticleId, double version)
283         throws com.liferay.portal.PortalException,
284             com.liferay.portal.SystemException {
285         return _journalArticleLocalService.copyArticle(userId, groupId,
286             oldArticleId, newArticleId, autoArticleId, version);
287     }
288 
289     public void deleteArticle(
290         com.liferay.portlet.journal.model.JournalArticle article,
291         java.lang.String articleURL,
292         com.liferay.portal.service.ServiceContext serviceContext)
293         throws com.liferay.portal.PortalException,
294             com.liferay.portal.SystemException {
295         _journalArticleLocalService.deleteArticle(article, articleURL,
296             serviceContext);
297     }
298 
299     public void deleteArticle(long groupId, java.lang.String articleId,
300         double version, java.lang.String articleURL,
301         com.liferay.portal.service.ServiceContext serviceContext)
302         throws com.liferay.portal.PortalException,
303             com.liferay.portal.SystemException {
304         _journalArticleLocalService.deleteArticle(groupId, articleId, version,
305             articleURL, serviceContext);
306     }
307 
308     public void deleteArticles(long groupId)
309         throws com.liferay.portal.PortalException,
310             com.liferay.portal.SystemException {
311         _journalArticleLocalService.deleteArticles(groupId);
312     }
313 
314     public void expireArticle(
315         com.liferay.portlet.journal.model.JournalArticle article,
316         java.lang.String articleURL,
317         com.liferay.portal.service.ServiceContext serviceContext)
318         throws com.liferay.portal.PortalException,
319             com.liferay.portal.SystemException {
320         _journalArticleLocalService.expireArticle(article, articleURL,
321             serviceContext);
322     }
323 
324     public void expireArticle(long groupId, java.lang.String articleId,
325         double version, java.lang.String articleURL,
326         com.liferay.portal.service.ServiceContext serviceContext)
327         throws com.liferay.portal.PortalException,
328             com.liferay.portal.SystemException {
329         _journalArticleLocalService.expireArticle(groupId, articleId, version,
330             articleURL, serviceContext);
331     }
332 
333     public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
334         throws com.liferay.portal.PortalException,
335             com.liferay.portal.SystemException {
336         return _journalArticleLocalService.getArticle(id);
337     }
338 
339     public com.liferay.portlet.journal.model.JournalArticle getArticle(
340         long groupId, java.lang.String articleId)
341         throws com.liferay.portal.PortalException,
342             com.liferay.portal.SystemException {
343         return _journalArticleLocalService.getArticle(groupId, articleId);
344     }
345 
346     public com.liferay.portlet.journal.model.JournalArticle getArticle(
347         long groupId, java.lang.String articleId, double version)
348         throws com.liferay.portal.PortalException,
349             com.liferay.portal.SystemException {
350         return _journalArticleLocalService.getArticle(groupId, articleId,
351             version);
352     }
353 
354     public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
355         long groupId, java.lang.String urlTitle)
356         throws com.liferay.portal.PortalException,
357             com.liferay.portal.SystemException {
358         return _journalArticleLocalService.getArticleByUrlTitle(groupId,
359             urlTitle);
360     }
361 
362     public java.lang.String getArticleContent(
363         com.liferay.portlet.journal.model.JournalArticle article,
364         java.lang.String templateId, java.lang.String viewMode,
365         java.lang.String languageId,
366         com.liferay.portal.theme.ThemeDisplay themeDisplay)
367         throws com.liferay.portal.SystemException {
368         return _journalArticleLocalService.getArticleContent(article,
369             templateId, viewMode, languageId, themeDisplay);
370     }
371 
372     public java.lang.String getArticleContent(long groupId,
373         java.lang.String articleId, double version, java.lang.String viewMode,
374         java.lang.String templateId, java.lang.String languageId,
375         com.liferay.portal.theme.ThemeDisplay themeDisplay)
376         throws com.liferay.portal.PortalException,
377             com.liferay.portal.SystemException {
378         return _journalArticleLocalService.getArticleContent(groupId,
379             articleId, version, viewMode, templateId, languageId, themeDisplay);
380     }
381 
382     public java.lang.String getArticleContent(long groupId,
383         java.lang.String articleId, double version, java.lang.String viewMode,
384         java.lang.String languageId,
385         com.liferay.portal.theme.ThemeDisplay themeDisplay)
386         throws com.liferay.portal.PortalException,
387             com.liferay.portal.SystemException {
388         return _journalArticleLocalService.getArticleContent(groupId,
389             articleId, version, viewMode, languageId, themeDisplay);
390     }
391 
392     public java.lang.String getArticleContent(long groupId,
393         java.lang.String articleId, java.lang.String viewMode,
394         java.lang.String templateId, java.lang.String languageId,
395         com.liferay.portal.theme.ThemeDisplay themeDisplay)
396         throws com.liferay.portal.PortalException,
397             com.liferay.portal.SystemException {
398         return _journalArticleLocalService.getArticleContent(groupId,
399             articleId, viewMode, templateId, languageId, themeDisplay);
400     }
401 
402     public java.lang.String getArticleContent(long groupId,
403         java.lang.String articleId, java.lang.String viewMode,
404         java.lang.String languageId,
405         com.liferay.portal.theme.ThemeDisplay themeDisplay)
406         throws com.liferay.portal.PortalException,
407             com.liferay.portal.SystemException {
408         return _journalArticleLocalService.getArticleContent(groupId,
409             articleId, viewMode, languageId, themeDisplay);
410     }
411 
412     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
413         com.liferay.portlet.journal.model.JournalArticle article,
414         java.lang.String templateId, java.lang.String viewMode,
415         java.lang.String languageId, int page, java.lang.String xmlRequest,
416         com.liferay.portal.theme.ThemeDisplay themeDisplay)
417         throws com.liferay.portal.SystemException {
418         return _journalArticleLocalService.getArticleDisplay(article,
419             templateId, viewMode, languageId, page, xmlRequest, themeDisplay);
420     }
421 
422     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
423         long groupId, java.lang.String articleId, double version,
424         java.lang.String templateId, java.lang.String viewMode,
425         java.lang.String languageId, int page, java.lang.String xmlRequest,
426         com.liferay.portal.theme.ThemeDisplay themeDisplay)
427         throws com.liferay.portal.PortalException,
428             com.liferay.portal.SystemException {
429         return _journalArticleLocalService.getArticleDisplay(groupId,
430             articleId, version, templateId, viewMode, languageId, page,
431             xmlRequest, themeDisplay);
432     }
433 
434     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
435         long groupId, java.lang.String articleId, double version,
436         java.lang.String templateId, java.lang.String viewMode,
437         java.lang.String languageId,
438         com.liferay.portal.theme.ThemeDisplay themeDisplay)
439         throws com.liferay.portal.PortalException,
440             com.liferay.portal.SystemException {
441         return _journalArticleLocalService.getArticleDisplay(groupId,
442             articleId, version, templateId, viewMode, languageId, themeDisplay);
443     }
444 
445     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
446         long groupId, java.lang.String articleId, java.lang.String viewMode,
447         java.lang.String languageId, int page, java.lang.String xmlRequest,
448         com.liferay.portal.theme.ThemeDisplay themeDisplay)
449         throws com.liferay.portal.PortalException,
450             com.liferay.portal.SystemException {
451         return _journalArticleLocalService.getArticleDisplay(groupId,
452             articleId, viewMode, languageId, page, xmlRequest, themeDisplay);
453     }
454 
455     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
456         long groupId, java.lang.String articleId, java.lang.String templateId,
457         java.lang.String viewMode, java.lang.String languageId, int page,
458         java.lang.String xmlRequest,
459         com.liferay.portal.theme.ThemeDisplay themeDisplay)
460         throws com.liferay.portal.PortalException,
461             com.liferay.portal.SystemException {
462         return _journalArticleLocalService.getArticleDisplay(groupId,
463             articleId, templateId, viewMode, languageId, page, xmlRequest,
464             themeDisplay);
465     }
466 
467     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
468         long groupId, java.lang.String articleId, java.lang.String templateId,
469         java.lang.String viewMode, java.lang.String languageId,
470         com.liferay.portal.theme.ThemeDisplay themeDisplay)
471         throws com.liferay.portal.PortalException,
472             com.liferay.portal.SystemException {
473         return _journalArticleLocalService.getArticleDisplay(groupId,
474             articleId, templateId, viewMode, languageId, themeDisplay);
475     }
476 
477     public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
478         long groupId, java.lang.String articleId, java.lang.String viewMode,
479         java.lang.String languageId,
480         com.liferay.portal.theme.ThemeDisplay themeDisplay)
481         throws com.liferay.portal.PortalException,
482             com.liferay.portal.SystemException {
483         return _journalArticleLocalService.getArticleDisplay(groupId,
484             articleId, viewMode, languageId, themeDisplay);
485     }
486 
487     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
488         throws com.liferay.portal.SystemException {
489         return _journalArticleLocalService.getArticles();
490     }
491 
492     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
493         long groupId) throws com.liferay.portal.SystemException {
494         return _journalArticleLocalService.getArticles(groupId);
495     }
496 
497     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
498         long groupId, int start, int end)
499         throws com.liferay.portal.SystemException {
500         return _journalArticleLocalService.getArticles(groupId, start, end);
501     }
502 
503     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
504         long groupId, int start, int end,
505         com.liferay.portal.kernel.util.OrderByComparator obc)
506         throws com.liferay.portal.SystemException {
507         return _journalArticleLocalService.getArticles(groupId, start, end, obc);
508     }
509 
510     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
511         long groupId, java.lang.String articleId)
512         throws com.liferay.portal.SystemException {
513         return _journalArticleLocalService.getArticles(groupId, articleId);
514     }
515 
516     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
517         long smallImageId) throws com.liferay.portal.SystemException {
518         return _journalArticleLocalService.getArticlesBySmallImageId(smallImageId);
519     }
520 
521     public int getArticlesCount(long groupId)
522         throws com.liferay.portal.SystemException {
523         return _journalArticleLocalService.getArticlesCount(groupId);
524     }
525 
526     public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
527         long groupId, java.lang.String articleId)
528         throws com.liferay.portal.PortalException,
529             com.liferay.portal.SystemException {
530         return _journalArticleLocalService.getDisplayArticle(groupId, articleId);
531     }
532 
533     public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
534         long resourcePrimKey)
535         throws com.liferay.portal.PortalException,
536             com.liferay.portal.SystemException {
537         return _journalArticleLocalService.getLatestArticle(resourcePrimKey);
538     }
539 
540     public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
541         long resourcePrimKey, java.lang.Boolean approved)
542         throws com.liferay.portal.PortalException,
543             com.liferay.portal.SystemException {
544         return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
545             approved);
546     }
547 
548     public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
549         long groupId, java.lang.String articleId)
550         throws com.liferay.portal.PortalException,
551             com.liferay.portal.SystemException {
552         return _journalArticleLocalService.getLatestArticle(groupId, articleId);
553     }
554 
555     public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
556         long groupId, java.lang.String articleId, java.lang.Boolean approved)
557         throws com.liferay.portal.PortalException,
558             com.liferay.portal.SystemException {
559         return _journalArticleLocalService.getLatestArticle(groupId, articleId,
560             approved);
561     }
562 
563     public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
564         long groupId, java.lang.String urlTitle, java.lang.Boolean approved)
565         throws com.liferay.portal.PortalException,
566             com.liferay.portal.SystemException {
567         return _journalArticleLocalService.getLatestArticleByUrlTitle(groupId,
568             urlTitle, approved);
569     }
570 
571     public double getLatestVersion(long groupId, java.lang.String articleId)
572         throws com.liferay.portal.PortalException,
573             com.liferay.portal.SystemException {
574         return _journalArticleLocalService.getLatestVersion(groupId, articleId);
575     }
576 
577     public double getLatestVersion(long groupId, java.lang.String articleId,
578         java.lang.Boolean approved)
579         throws com.liferay.portal.PortalException,
580             com.liferay.portal.SystemException {
581         return _journalArticleLocalService.getLatestVersion(groupId, articleId,
582             approved);
583     }
584 
585     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
586         long groupId, java.lang.String structureId)
587         throws com.liferay.portal.SystemException {
588         return _journalArticleLocalService.getStructureArticles(groupId,
589             structureId);
590     }
591 
592     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
593         long groupId, java.lang.String structureId, int start, int end,
594         com.liferay.portal.kernel.util.OrderByComparator obc)
595         throws com.liferay.portal.SystemException {
596         return _journalArticleLocalService.getStructureArticles(groupId,
597             structureId, start, end, obc);
598     }
599 
600     public int getStructureArticlesCount(long groupId,
601         java.lang.String structureId) throws com.liferay.portal.SystemException {
602         return _journalArticleLocalService.getStructureArticlesCount(groupId,
603             structureId);
604     }
605 
606     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
607         long groupId, java.lang.String templateId)
608         throws com.liferay.portal.SystemException {
609         return _journalArticleLocalService.getTemplateArticles(groupId,
610             templateId);
611     }
612 
613     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
614         long groupId, java.lang.String templateId, int start, int end,
615         com.liferay.portal.kernel.util.OrderByComparator obc)
616         throws com.liferay.portal.SystemException {
617         return _journalArticleLocalService.getTemplateArticles(groupId,
618             templateId, start, end, obc);
619     }
620 
621     public int getTemplateArticlesCount(long groupId,
622         java.lang.String templateId) throws com.liferay.portal.SystemException {
623         return _journalArticleLocalService.getTemplateArticlesCount(groupId,
624             templateId);
625     }
626 
627     public boolean hasArticle(long groupId, java.lang.String articleId)
628         throws com.liferay.portal.SystemException {
629         return _journalArticleLocalService.hasArticle(groupId, articleId);
630     }
631 
632     public boolean isLatestVersion(long groupId, java.lang.String articleId,
633         double version)
634         throws com.liferay.portal.PortalException,
635             com.liferay.portal.SystemException {
636         return _journalArticleLocalService.isLatestVersion(groupId, articleId,
637             version);
638     }
639 
640     public boolean isLatestVersion(long groupId, java.lang.String articleId,
641         double version, java.lang.Boolean active)
642         throws com.liferay.portal.PortalException,
643             com.liferay.portal.SystemException {
644         return _journalArticleLocalService.isLatestVersion(groupId, articleId,
645             version, active);
646     }
647 
648     public void reIndex(
649         com.liferay.portlet.journal.model.JournalArticle article)
650         throws com.liferay.portal.SystemException {
651         _journalArticleLocalService.reIndex(article);
652     }
653 
654     public void reIndex(long resourcePrimKey)
655         throws com.liferay.portal.SystemException {
656         _journalArticleLocalService.reIndex(resourcePrimKey);
657     }
658 
659     public void reIndex(java.lang.String[] ids)
660         throws com.liferay.portal.SystemException {
661         _journalArticleLocalService.reIndex(ids);
662     }
663 
664     public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
665         long groupId, java.lang.String articleId, double version,
666         java.lang.String languageId)
667         throws com.liferay.portal.PortalException,
668             com.liferay.portal.SystemException {
669         return _journalArticleLocalService.removeArticleLocale(groupId,
670             articleId, version, languageId);
671     }
672 
673     public com.liferay.portal.kernel.search.Hits search(long companyId,
674         long groupId, long userId, java.lang.String keywords, int start, int end)
675         throws com.liferay.portal.SystemException {
676         return _journalArticleLocalService.search(companyId, groupId, userId,
677             keywords, start, end);
678     }
679 
680     public com.liferay.portal.kernel.search.Hits search(long companyId,
681         long groupId, long userId, java.lang.String keywords,
682         java.lang.String type, int start, int end)
683         throws com.liferay.portal.SystemException {
684         return _journalArticleLocalService.search(companyId, groupId, userId,
685             keywords, type, start, end);
686     }
687 
688     public com.liferay.portal.kernel.search.Hits search(long companyId,
689         long groupId, long userId, java.lang.String keywords,
690         java.lang.String type,
691         java.util.List<com.liferay.portal.kernel.search.BooleanClause> booleanClauses,
692         com.liferay.portal.kernel.search.Sort[] sorts, int start, int end)
693         throws com.liferay.portal.SystemException {
694         return _journalArticleLocalService.search(companyId, groupId, userId,
695             keywords, type, booleanClauses, sorts, start, end);
696     }
697 
698     public com.liferay.portal.kernel.search.Hits search(long companyId,
699         long groupId, long userId, java.lang.String keywords,
700         java.lang.String type, com.liferay.portal.kernel.search.Sort sort,
701         int start, int end) throws com.liferay.portal.SystemException {
702         return _journalArticleLocalService.search(companyId, groupId, userId,
703             keywords, type, sort, start, end);
704     }
705 
706     public com.liferay.portal.kernel.search.Hits search(long companyId,
707         long groupId, long userId, java.lang.String keywords,
708         java.lang.String type, com.liferay.portal.kernel.search.Sort[] sorts,
709         int start, int end) throws com.liferay.portal.SystemException {
710         return _journalArticleLocalService.search(companyId, groupId, userId,
711             keywords, type, sorts, start, end);
712     }
713 
714     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
715         long companyId, long groupId, java.lang.String keywords,
716         java.lang.Double version, java.lang.String type,
717         java.lang.String structureId, java.lang.String templateId,
718         java.util.Date displayDateGT, java.util.Date displayDateLT,
719         java.lang.Boolean approved, java.lang.Boolean expired,
720         java.util.Date reviewDate, int start, int end,
721         com.liferay.portal.kernel.util.OrderByComparator obc)
722         throws com.liferay.portal.SystemException {
723         return _journalArticleLocalService.search(companyId, groupId, keywords,
724             version, type, structureId, templateId, displayDateGT,
725             displayDateLT, approved, expired, reviewDate, start, end, obc);
726     }
727 
728     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
729         long companyId, long groupId, java.lang.String articleId,
730         java.lang.Double version, java.lang.String title,
731         java.lang.String description, java.lang.String content,
732         java.lang.String type, java.lang.String structureId,
733         java.lang.String templateId, java.util.Date displayDateGT,
734         java.util.Date displayDateLT, java.lang.Boolean approved,
735         java.lang.Boolean expired, java.util.Date reviewDate,
736         boolean andOperator, int start, int end,
737         com.liferay.portal.kernel.util.OrderByComparator obc)
738         throws com.liferay.portal.SystemException {
739         return _journalArticleLocalService.search(companyId, groupId,
740             articleId, version, title, description, content, type, structureId,
741             templateId, displayDateGT, displayDateLT, approved, expired,
742             reviewDate, andOperator, start, end, obc);
743     }
744 
745     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
746         long companyId, long groupId, java.lang.String articleId,
747         java.lang.Double version, java.lang.String title,
748         java.lang.String description, java.lang.String content,
749         java.lang.String type, java.lang.String[] structureIds,
750         java.lang.String[] templateIds, java.util.Date displayDateGT,
751         java.util.Date displayDateLT, java.lang.Boolean approved,
752         java.lang.Boolean expired, java.util.Date reviewDate,
753         boolean andOperator, int start, int end,
754         com.liferay.portal.kernel.util.OrderByComparator obc)
755         throws com.liferay.portal.SystemException {
756         return _journalArticleLocalService.search(companyId, groupId,
757             articleId, version, title, description, content, type,
758             structureIds, templateIds, displayDateGT, displayDateLT, approved,
759             expired, reviewDate, andOperator, start, end, obc);
760     }
761 
762     public int searchCount(long companyId, long groupId,
763         java.lang.String keywords, java.lang.Double version,
764         java.lang.String type, java.lang.String structureId,
765         java.lang.String templateId, java.util.Date displayDateGT,
766         java.util.Date displayDateLT, java.lang.Boolean approved,
767         java.lang.Boolean expired, java.util.Date reviewDate)
768         throws com.liferay.portal.SystemException {
769         return _journalArticleLocalService.searchCount(companyId, groupId,
770             keywords, version, type, structureId, templateId, displayDateGT,
771             displayDateLT, approved, expired, reviewDate);
772     }
773 
774     public int searchCount(long companyId, long groupId,
775         java.lang.String articleId, java.lang.Double version,
776         java.lang.String title, java.lang.String description,
777         java.lang.String content, java.lang.String type,
778         java.lang.String structureId, java.lang.String templateId,
779         java.util.Date displayDateGT, java.util.Date displayDateLT,
780         java.lang.Boolean approved, java.lang.Boolean expired,
781         java.util.Date reviewDate, boolean andOperator)
782         throws com.liferay.portal.SystemException {
783         return _journalArticleLocalService.searchCount(companyId, groupId,
784             articleId, version, title, description, content, type, structureId,
785             templateId, displayDateGT, displayDateLT, approved, expired,
786             reviewDate, andOperator);
787     }
788 
789     public int searchCount(long companyId, long groupId,
790         java.lang.String articleId, java.lang.Double version,
791         java.lang.String title, java.lang.String description,
792         java.lang.String content, java.lang.String type,
793         java.lang.String[] structureIds, java.lang.String[] templateIds,
794         java.util.Date displayDateGT, java.util.Date displayDateLT,
795         java.lang.Boolean approved, java.lang.Boolean expired,
796         java.util.Date reviewDate, boolean andOperator)
797         throws com.liferay.portal.SystemException {
798         return _journalArticleLocalService.searchCount(companyId, groupId,
799             articleId, version, title, description, content, type,
800             structureIds, templateIds, displayDateGT, displayDateLT, approved,
801             expired, reviewDate, andOperator);
802     }
803 
804     public com.liferay.portlet.journal.model.JournalArticle updateArticle(
805         long userId, long groupId, java.lang.String articleId, double version,
806         boolean incrementVersion, java.lang.String content)
807         throws com.liferay.portal.PortalException,
808             com.liferay.portal.SystemException {
809         return _journalArticleLocalService.updateArticle(userId, groupId,
810             articleId, version, incrementVersion, content);
811     }
812 
813     public com.liferay.portlet.journal.model.JournalArticle updateArticle(
814         long userId, long groupId, java.lang.String articleId, double version,
815         boolean incrementVersion, java.lang.String title,
816         java.lang.String description, java.lang.String content,
817         java.lang.String type, java.lang.String structureId,
818         java.lang.String templateId, int displayDateMonth, int displayDateDay,
819         int displayDateYear, int displayDateHour, int displayDateMinute,
820         int expirationDateMonth, int expirationDateDay, int expirationDateYear,
821         int expirationDateHour, int expirationDateMinute, boolean neverExpire,
822         int reviewDateMonth, int reviewDateDay, int reviewDateYear,
823         int reviewDateHour, int reviewDateMinute, boolean neverReview,
824         boolean indexable, boolean smallImage, java.lang.String smallImageURL,
825         java.io.File smallFile, java.util.Map<String, byte[]> images,
826         java.lang.String articleURL,
827         com.liferay.portal.service.ServiceContext serviceContext)
828         throws com.liferay.portal.PortalException,
829             com.liferay.portal.SystemException {
830         return _journalArticleLocalService.updateArticle(userId, groupId,
831             articleId, version, incrementVersion, title, description, content,
832             type, structureId, templateId, displayDateMonth, displayDateDay,
833             displayDateYear, displayDateHour, displayDateMinute,
834             expirationDateMonth, expirationDateDay, expirationDateYear,
835             expirationDateHour, expirationDateMinute, neverExpire,
836             reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
837             reviewDateMinute, neverReview, indexable, smallImage,
838             smallImageURL, smallFile, images, articleURL, serviceContext);
839     }
840 
841     public com.liferay.portlet.journal.model.JournalArticle updateContent(
842         long groupId, java.lang.String articleId, double version,
843         java.lang.String content)
844         throws com.liferay.portal.PortalException,
845             com.liferay.portal.SystemException {
846         return _journalArticleLocalService.updateContent(groupId, articleId,
847             version, content);
848     }
849 
850     public void updateTagsAsset(long userId,
851         com.liferay.portlet.journal.model.JournalArticle article,
852         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
853         throws com.liferay.portal.PortalException,
854             com.liferay.portal.SystemException {
855         _journalArticleLocalService.updateTagsAsset(userId, article,
856             tagsCategories, tagsEntries);
857     }
858 
859     public JournalArticleLocalService getWrappedJournalArticleLocalService() {
860         return _journalArticleLocalService;
861     }
862 
863     private JournalArticleLocalService _journalArticleLocalService;
864 }