1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service;
24  
25  
26  /**
27   * <a href="JournalArticleServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link JournalArticleService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       JournalArticleService
40   * @generated
41   */
42  public class JournalArticleServiceWrapper implements JournalArticleService {
43      public JournalArticleServiceWrapper(
44          JournalArticleService journalArticleService) {
45          _journalArticleService = journalArticleService;
46      }
47  
48      public com.liferay.portlet.journal.model.JournalArticle addArticle(
49          long groupId, java.lang.String articleId, boolean autoArticleId,
50          java.lang.String title, java.lang.String description,
51          java.lang.String content, java.lang.String type,
52          java.lang.String structureId, java.lang.String templateId,
53          int displayDateMonth, int displayDateDay, int displayDateYear,
54          int displayDateHour, int displayDateMinute, int expirationDateMonth,
55          int expirationDateDay, int expirationDateYear, int expirationDateHour,
56          int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
57          int reviewDateDay, int reviewDateYear, int reviewDateHour,
58          int reviewDateMinute, boolean neverReview, boolean indexable,
59          java.lang.String articleURL,
60          com.liferay.portal.service.ServiceContext serviceContext)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          return _journalArticleService.addArticle(groupId, articleId,
64              autoArticleId, title, description, content, type, structureId,
65              templateId, displayDateMonth, displayDateDay, displayDateYear,
66              displayDateHour, displayDateMinute, expirationDateMonth,
67              expirationDateDay, expirationDateYear, expirationDateHour,
68              expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
69              reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
70              indexable, articleURL, serviceContext);
71      }
72  
73      public com.liferay.portlet.journal.model.JournalArticle addArticle(
74          long groupId, java.lang.String articleId, boolean autoArticleId,
75          java.lang.String title, java.lang.String description,
76          java.lang.String content, java.lang.String type,
77          java.lang.String structureId, java.lang.String templateId,
78          int displayDateMonth, int displayDateDay, int displayDateYear,
79          int displayDateHour, int displayDateMinute, int expirationDateMonth,
80          int expirationDateDay, int expirationDateYear, int expirationDateHour,
81          int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
82          int reviewDateDay, int reviewDateYear, int reviewDateHour,
83          int reviewDateMinute, boolean neverReview, boolean indexable,
84          boolean smallImage, java.lang.String smallImageURL,
85          java.io.File smallFile, java.util.Map<String, byte[]> images,
86          java.lang.String articleURL,
87          com.liferay.portal.service.ServiceContext serviceContext)
88          throws com.liferay.portal.PortalException,
89              com.liferay.portal.SystemException {
90          return _journalArticleService.addArticle(groupId, articleId,
91              autoArticleId, title, description, content, type, structureId,
92              templateId, displayDateMonth, displayDateDay, displayDateYear,
93              displayDateHour, displayDateMinute, expirationDateMonth,
94              expirationDateDay, expirationDateYear, expirationDateHour,
95              expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
96              reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
97              indexable, smallImage, smallImageURL, smallFile, images,
98              articleURL, serviceContext);
99      }
100 
101     public com.liferay.portlet.journal.model.JournalArticle approveArticle(
102         long groupId, java.lang.String articleId, double version,
103         java.lang.String articleURL,
104         com.liferay.portal.service.ServiceContext serviceContext)
105         throws com.liferay.portal.PortalException,
106             com.liferay.portal.SystemException {
107         return _journalArticleService.approveArticle(groupId, articleId,
108             version, articleURL, serviceContext);
109     }
110 
111     public com.liferay.portlet.journal.model.JournalArticle copyArticle(
112         long groupId, java.lang.String oldArticleId,
113         java.lang.String newArticleId, boolean autoArticleId, double version)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException {
116         return _journalArticleService.copyArticle(groupId, oldArticleId,
117             newArticleId, autoArticleId, version);
118     }
119 
120     public com.liferay.portlet.journal.model.JournalArticle getArticle(
121         long groupId, java.lang.String articleId)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _journalArticleService.getArticle(groupId, articleId);
125     }
126 
127     public com.liferay.portlet.journal.model.JournalArticle getArticle(
128         long groupId, java.lang.String articleId, double version)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         return _journalArticleService.getArticle(groupId, articleId, version);
132     }
133 
134     public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
135         long groupId, java.lang.String urlTitle)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _journalArticleService.getArticleByUrlTitle(groupId, urlTitle);
139     }
140 
141     public java.lang.String getArticleContent(long groupId,
142         java.lang.String articleId, java.lang.String languageId,
143         com.liferay.portal.theme.ThemeDisplay themeDisplay)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         return _journalArticleService.getArticleContent(groupId, articleId,
147             languageId, themeDisplay);
148     }
149 
150     public java.lang.String getArticleContent(long groupId,
151         java.lang.String articleId, double version,
152         java.lang.String languageId,
153         com.liferay.portal.theme.ThemeDisplay themeDisplay)
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException {
156         return _journalArticleService.getArticleContent(groupId, articleId,
157             version, languageId, themeDisplay);
158     }
159 
160     public void deleteArticle(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.deleteArticle(groupId, articleId, version,
166             articleURL, serviceContext);
167     }
168 
169     public void expireArticle(long groupId, java.lang.String articleId,
170         double version, java.lang.String articleURL,
171         com.liferay.portal.service.ServiceContext serviceContext)
172         throws com.liferay.portal.PortalException,
173             com.liferay.portal.SystemException {
174         _journalArticleService.expireArticle(groupId, articleId, version,
175             articleURL, serviceContext);
176     }
177 
178     public void removeArticleLocale(long companyId, java.lang.String languageId)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _journalArticleService.removeArticleLocale(companyId, languageId);
182     }
183 
184     public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
185         long groupId, java.lang.String articleId, double version,
186         java.lang.String languageId)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         return _journalArticleService.removeArticleLocale(groupId, articleId,
190             version, languageId);
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 content)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         return _journalArticleService.updateArticle(groupId, articleId,
199             version, incrementVersion, content);
200     }
201 
202     public com.liferay.portlet.journal.model.JournalArticle updateArticle(
203         long groupId, java.lang.String articleId, double version,
204         boolean incrementVersion, java.lang.String title,
205         java.lang.String description, java.lang.String content,
206         java.lang.String type, java.lang.String structureId,
207         java.lang.String templateId, int displayDateMonth, int displayDateDay,
208         int displayDateYear, int displayDateHour, int displayDateMinute,
209         int expirationDateMonth, int expirationDateDay, int expirationDateYear,
210         int expirationDateHour, int expirationDateMinute, boolean neverExpire,
211         int reviewDateMonth, int reviewDateDay, int reviewDateYear,
212         int reviewDateHour, int reviewDateMinute, boolean neverReview,
213         boolean indexable, boolean smallImage, java.lang.String smallImageURL,
214         java.io.File smallFile, java.util.Map<String, byte[]> images,
215         java.lang.String articleURL,
216         com.liferay.portal.service.ServiceContext serviceContext)
217         throws com.liferay.portal.PortalException,
218             com.liferay.portal.SystemException {
219         return _journalArticleService.updateArticle(groupId, articleId,
220             version, incrementVersion, title, description, content, type,
221             structureId, templateId, displayDateMonth, displayDateDay,
222             displayDateYear, displayDateHour, displayDateMinute,
223             expirationDateMonth, expirationDateDay, expirationDateYear,
224             expirationDateHour, expirationDateMinute, neverExpire,
225             reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
226             reviewDateMinute, neverReview, indexable, smallImage,
227             smallImageURL, smallFile, images, articleURL, serviceContext);
228     }
229 
230     public com.liferay.portlet.journal.model.JournalArticle updateContent(
231         long groupId, java.lang.String articleId, double version,
232         java.lang.String content)
233         throws com.liferay.portal.PortalException,
234             com.liferay.portal.SystemException {
235         return _journalArticleService.updateContent(groupId, articleId,
236             version, content);
237     }
238 
239     public JournalArticleService getWrappedJournalArticleService() {
240         return _journalArticleService;
241     }
242 
243     private JournalArticleService _journalArticleService;
244 }