001
014
015 package com.liferay.portlet.journal.service;
016
017
026 public class JournalArticleServiceWrapper implements JournalArticleService {
027 public JournalArticleServiceWrapper(
028 JournalArticleService journalArticleService) {
029 _journalArticleService = journalArticleService;
030 }
031
032 public com.liferay.portlet.journal.model.JournalArticle addArticle(
033 long groupId, java.lang.String articleId, boolean autoArticleId,
034 java.lang.String title, java.lang.String description,
035 java.lang.String content, java.lang.String type,
036 java.lang.String structureId, java.lang.String templateId,
037 int displayDateMonth, int displayDateDay, int displayDateYear,
038 int displayDateHour, int displayDateMinute, int expirationDateMonth,
039 int expirationDateDay, int expirationDateYear, int expirationDateHour,
040 int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
041 int reviewDateDay, int reviewDateYear, int reviewDateHour,
042 int reviewDateMinute, boolean neverReview, boolean indexable,
043 boolean smallImage, java.lang.String smallImageURL,
044 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
045 java.lang.String articleURL,
046 com.liferay.portal.service.ServiceContext serviceContext)
047 throws com.liferay.portal.kernel.exception.PortalException,
048 com.liferay.portal.kernel.exception.SystemException {
049 return _journalArticleService.addArticle(groupId, articleId,
050 autoArticleId, title, description, content, type, structureId,
051 templateId, displayDateMonth, displayDateDay, displayDateYear,
052 displayDateHour, displayDateMinute, expirationDateMonth,
053 expirationDateDay, expirationDateYear, expirationDateHour,
054 expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
055 reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
056 indexable, smallImage, smallImageURL, smallFile, images,
057 articleURL, serviceContext);
058 }
059
060 public com.liferay.portlet.journal.model.JournalArticle addArticle(
061 long groupId, java.lang.String articleId, boolean autoArticleId,
062 java.lang.String title, java.lang.String description,
063 java.lang.String content, java.lang.String type,
064 java.lang.String structureId, java.lang.String templateId,
065 int displayDateMonth, int displayDateDay, int displayDateYear,
066 int displayDateHour, int displayDateMinute, int expirationDateMonth,
067 int expirationDateDay, int expirationDateYear, int expirationDateHour,
068 int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
069 int reviewDateDay, int reviewDateYear, int reviewDateHour,
070 int reviewDateMinute, boolean neverReview, boolean indexable,
071 java.lang.String articleURL,
072 com.liferay.portal.service.ServiceContext serviceContext)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _journalArticleService.addArticle(groupId, articleId,
076 autoArticleId, title, description, content, type, structureId,
077 templateId, displayDateMonth, displayDateDay, displayDateYear,
078 displayDateHour, displayDateMinute, expirationDateMonth,
079 expirationDateDay, expirationDateYear, expirationDateHour,
080 expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
081 reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
082 indexable, articleURL, serviceContext);
083 }
084
085 public com.liferay.portlet.journal.model.JournalArticle copyArticle(
086 long groupId, java.lang.String oldArticleId,
087 java.lang.String newArticleId, boolean autoArticleId, double version)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _journalArticleService.copyArticle(groupId, oldArticleId,
091 newArticleId, autoArticleId, version);
092 }
093
094 public void deleteArticle(long groupId, java.lang.String articleId,
095 double version, java.lang.String articleURL,
096 com.liferay.portal.service.ServiceContext serviceContext)
097 throws com.liferay.portal.kernel.exception.PortalException,
098 com.liferay.portal.kernel.exception.SystemException {
099 _journalArticleService.deleteArticle(groupId, articleId, version,
100 articleURL, serviceContext);
101 }
102
103 public void deleteArticle(long groupId, java.lang.String articleId,
104 java.lang.String articleURL,
105 com.liferay.portal.service.ServiceContext serviceContext)
106 throws com.liferay.portal.kernel.exception.PortalException,
107 com.liferay.portal.kernel.exception.SystemException {
108 _journalArticleService.deleteArticle(groupId, articleId, articleURL,
109 serviceContext);
110 }
111
112 public com.liferay.portlet.journal.model.JournalArticle expireArticle(
113 long groupId, java.lang.String articleId, double version,
114 java.lang.String articleURL,
115 com.liferay.portal.service.ServiceContext serviceContext)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException {
118 return _journalArticleService.expireArticle(groupId, articleId,
119 version, articleURL, serviceContext);
120 }
121
122 public com.liferay.portlet.journal.model.JournalArticle getArticle(
123 long groupId, java.lang.String articleId)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException {
126 return _journalArticleService.getArticle(groupId, articleId);
127 }
128
129 public com.liferay.portlet.journal.model.JournalArticle getArticle(
130 long groupId, java.lang.String articleId, double version)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 return _journalArticleService.getArticle(groupId, articleId, version);
134 }
135
136 public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
137 long groupId, java.lang.String urlTitle)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 return _journalArticleService.getArticleByUrlTitle(groupId, urlTitle);
141 }
142
143 public java.lang.String getArticleContent(long groupId,
144 java.lang.String articleId, double version,
145 java.lang.String languageId,
146 com.liferay.portal.theme.ThemeDisplay themeDisplay)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 return _journalArticleService.getArticleContent(groupId, articleId,
150 version, languageId, themeDisplay);
151 }
152
153 public java.lang.String getArticleContent(long groupId,
154 java.lang.String articleId, java.lang.String languageId,
155 com.liferay.portal.theme.ThemeDisplay themeDisplay)
156 throws com.liferay.portal.kernel.exception.PortalException,
157 com.liferay.portal.kernel.exception.SystemException {
158 return _journalArticleService.getArticleContent(groupId, articleId,
159 languageId, themeDisplay);
160 }
161
162 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
163 long groupId, java.lang.String articleId, int status)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _journalArticleService.getLatestArticle(groupId, articleId,
167 status);
168 }
169
170 public void removeArticleLocale(long companyId, java.lang.String languageId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 _journalArticleService.removeArticleLocale(companyId, languageId);
174 }
175
176 public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
177 long groupId, java.lang.String articleId, double version,
178 java.lang.String languageId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _journalArticleService.removeArticleLocale(groupId, articleId,
182 version, languageId);
183 }
184
185 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
186 long groupId, java.lang.String articleId, double version,
187 java.lang.String content)
188 throws com.liferay.portal.kernel.exception.PortalException,
189 com.liferay.portal.kernel.exception.SystemException {
190 return _journalArticleService.updateArticle(groupId, articleId,
191 version, content);
192 }
193
194 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
195 long groupId, java.lang.String articleId, double version,
196 java.lang.String title, java.lang.String description,
197 java.lang.String content, java.lang.String type,
198 java.lang.String structureId, java.lang.String templateId,
199 int displayDateMonth, int displayDateDay, int displayDateYear,
200 int displayDateHour, int displayDateMinute, int expirationDateMonth,
201 int expirationDateDay, int expirationDateYear, int expirationDateHour,
202 int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
203 int reviewDateDay, int reviewDateYear, int reviewDateHour,
204 int reviewDateMinute, boolean neverReview, boolean indexable,
205 boolean smallImage, java.lang.String smallImageURL,
206 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
207 java.lang.String articleURL,
208 com.liferay.portal.service.ServiceContext serviceContext)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException {
211 return _journalArticleService.updateArticle(groupId, articleId,
212 version, title, description, content, type, structureId,
213 templateId, displayDateMonth, displayDateDay, displayDateYear,
214 displayDateHour, displayDateMinute, expirationDateMonth,
215 expirationDateDay, expirationDateYear, expirationDateHour,
216 expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
217 reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
218 indexable, smallImage, smallImageURL, smallFile, images,
219 articleURL, serviceContext);
220 }
221
222 public com.liferay.portlet.journal.model.JournalArticle updateContent(
223 long groupId, java.lang.String articleId, double version,
224 java.lang.String content)
225 throws com.liferay.portal.kernel.exception.PortalException,
226 com.liferay.portal.kernel.exception.SystemException {
227 return _journalArticleService.updateContent(groupId, articleId,
228 version, content);
229 }
230
231 public JournalArticleService getWrappedJournalArticleService() {
232 return _journalArticleService;
233 }
234
235 private JournalArticleService _journalArticleService;
236 }