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