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="JournalArticleServiceUtil.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 JournalArticleService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       JournalArticleService
31   * @generated
32   */
33  public class JournalArticleServiceWrapper implements JournalArticleService {
34      public JournalArticleServiceWrapper(
35          JournalArticleService journalArticleService) {
36          _journalArticleService = journalArticleService;
37      }
38  
39      public com.liferay.portlet.journal.model.JournalArticle addArticle(
40          long groupId, java.lang.String articleId, boolean autoArticleId,
41          java.lang.String title, java.lang.String description,
42          java.lang.String content, java.lang.String type,
43          java.lang.String structureId, java.lang.String templateId,
44          int displayDateMonth, int displayDateDay, int displayDateYear,
45          int displayDateHour, int displayDateMinute, int expirationDateMonth,
46          int expirationDateDay, int expirationDateYear, int expirationDateHour,
47          int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
48          int reviewDateDay, int reviewDateYear, int reviewDateHour,
49          int reviewDateMinute, boolean neverReview, boolean indexable,
50          java.lang.String articleURL,
51          com.liferay.portal.service.ServiceContext serviceContext)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          return _journalArticleService.addArticle(groupId, articleId,
55              autoArticleId, title, description, content, type, structureId,
56              templateId, displayDateMonth, displayDateDay, displayDateYear,
57              displayDateHour, displayDateMinute, expirationDateMonth,
58              expirationDateDay, expirationDateYear, expirationDateHour,
59              expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
60              reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
61              indexable, articleURL, serviceContext);
62      }
63  
64      public com.liferay.portlet.journal.model.JournalArticle addArticle(
65          long groupId, java.lang.String articleId, boolean autoArticleId,
66          java.lang.String title, java.lang.String description,
67          java.lang.String content, java.lang.String type,
68          java.lang.String structureId, java.lang.String templateId,
69          int displayDateMonth, int displayDateDay, int displayDateYear,
70          int displayDateHour, int displayDateMinute, int expirationDateMonth,
71          int expirationDateDay, int expirationDateYear, int expirationDateHour,
72          int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
73          int reviewDateDay, int reviewDateYear, int reviewDateHour,
74          int reviewDateMinute, boolean neverReview, boolean indexable,
75          boolean smallImage, java.lang.String smallImageURL,
76          java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
77          java.lang.String articleURL,
78          com.liferay.portal.service.ServiceContext serviceContext)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _journalArticleService.addArticle(groupId, articleId,
82              autoArticleId, title, description, content, type, structureId,
83              templateId, displayDateMonth, displayDateDay, displayDateYear,
84              displayDateHour, displayDateMinute, expirationDateMonth,
85              expirationDateDay, expirationDateYear, expirationDateHour,
86              expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
87              reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
88              indexable, smallImage, smallImageURL, smallFile, images,
89              articleURL, serviceContext);
90      }
91  
92      public com.liferay.portlet.journal.model.JournalArticle approveArticle(
93          long groupId, java.lang.String articleId, double version,
94          java.lang.String articleURL,
95          com.liferay.portal.service.ServiceContext serviceContext)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _journalArticleService.approveArticle(groupId, articleId,
99              version, articleURL, serviceContext);
100     }
101 
102     public com.liferay.portlet.journal.model.JournalArticle copyArticle(
103         long groupId, java.lang.String oldArticleId,
104         java.lang.String newArticleId, boolean autoArticleId, double version)
105         throws com.liferay.portal.PortalException,
106             com.liferay.portal.SystemException {
107         return _journalArticleService.copyArticle(groupId, oldArticleId,
108             newArticleId, autoArticleId, version);
109     }
110 
111     public com.liferay.portlet.journal.model.JournalArticle getArticle(
112         long groupId, java.lang.String articleId)
113         throws com.liferay.portal.PortalException,
114             com.liferay.portal.SystemException {
115         return _journalArticleService.getArticle(groupId, articleId);
116     }
117 
118     public com.liferay.portlet.journal.model.JournalArticle getArticle(
119         long groupId, java.lang.String articleId, double version)
120         throws com.liferay.portal.PortalException,
121             com.liferay.portal.SystemException {
122         return _journalArticleService.getArticle(groupId, articleId, version);
123     }
124 
125     public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
126         long groupId, java.lang.String urlTitle)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _journalArticleService.getArticleByUrlTitle(groupId, urlTitle);
130     }
131 
132     public java.lang.String getArticleContent(long groupId,
133         java.lang.String articleId, java.lang.String languageId,
134         com.liferay.portal.theme.ThemeDisplay themeDisplay)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         return _journalArticleService.getArticleContent(groupId, articleId,
138             languageId, themeDisplay);
139     }
140 
141     public java.lang.String getArticleContent(long groupId,
142         java.lang.String articleId, double version,
143         java.lang.String languageId,
144         com.liferay.portal.theme.ThemeDisplay themeDisplay)
145         throws com.liferay.portal.PortalException,
146             com.liferay.portal.SystemException {
147         return _journalArticleService.getArticleContent(groupId, articleId,
148             version, languageId, themeDisplay);
149     }
150 
151     public void deleteArticle(long groupId, java.lang.String articleId,
152         double version, java.lang.String articleURL,
153         com.liferay.portal.service.ServiceContext serviceContext)
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException {
156         _journalArticleService.deleteArticle(groupId, articleId, version,
157             articleURL, serviceContext);
158     }
159 
160     public void expireArticle(long groupId, java.lang.String articleId,
161         double version, java.lang.String articleURL,
162         com.liferay.portal.service.ServiceContext serviceContext)
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException {
165         _journalArticleService.expireArticle(groupId, articleId, version,
166             articleURL, serviceContext);
167     }
168 
169     public void removeArticleLocale(long companyId, java.lang.String languageId)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         _journalArticleService.removeArticleLocale(companyId, languageId);
173     }
174 
175     public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
176         long groupId, java.lang.String articleId, double version,
177         java.lang.String languageId)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         return _journalArticleService.removeArticleLocale(groupId, articleId,
181             version, languageId);
182     }
183 
184     public com.liferay.portlet.journal.model.JournalArticle updateArticle(
185         long groupId, java.lang.String articleId, double version,
186         boolean incrementVersion, java.lang.String content)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         return _journalArticleService.updateArticle(groupId, articleId,
190             version, incrementVersion, content);
191     }
192 
193     public com.liferay.portlet.journal.model.JournalArticle updateArticle(
194         long groupId, java.lang.String articleId, double version,
195         boolean incrementVersion, java.lang.String title,
196         java.lang.String description, java.lang.String content,
197         java.lang.String type, java.lang.String structureId,
198         java.lang.String templateId, int displayDateMonth, int displayDateDay,
199         int displayDateYear, int displayDateHour, int displayDateMinute,
200         int expirationDateMonth, int expirationDateDay, int expirationDateYear,
201         int expirationDateHour, int expirationDateMinute, boolean neverExpire,
202         int reviewDateMonth, int reviewDateDay, int reviewDateYear,
203         int reviewDateHour, int reviewDateMinute, boolean neverReview,
204         boolean indexable, boolean smallImage, java.lang.String smallImageURL,
205         java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
206         java.lang.String articleURL,
207         com.liferay.portal.service.ServiceContext serviceContext)
208         throws com.liferay.portal.PortalException,
209             com.liferay.portal.SystemException {
210         return _journalArticleService.updateArticle(groupId, articleId,
211             version, incrementVersion, title, description, content, type,
212             structureId, templateId, displayDateMonth, displayDateDay,
213             displayDateYear, displayDateHour, displayDateMinute,
214             expirationDateMonth, expirationDateDay, expirationDateYear,
215             expirationDateHour, expirationDateMinute, neverExpire,
216             reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
217             reviewDateMinute, neverReview, indexable, smallImage,
218             smallImageURL, smallFile, images, articleURL, serviceContext);
219     }
220 
221     public com.liferay.portlet.journal.model.JournalArticle updateContent(
222         long groupId, java.lang.String articleId, double version,
223         java.lang.String content)
224         throws com.liferay.portal.PortalException,
225             com.liferay.portal.SystemException {
226         return _journalArticleService.updateContent(groupId, articleId,
227             version, content);
228     }
229 
230     public JournalArticleService getWrappedJournalArticleService() {
231         return _journalArticleService;
232     }
233 
234     private JournalArticleService _journalArticleService;
235 }