001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link JournalArticleService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       JournalArticleService
026     * @generated
027     */
028    public class JournalArticleServiceWrapper implements JournalArticleService,
029            ServiceWrapper<JournalArticleService> {
030            public JournalArticleServiceWrapper(
031                    JournalArticleService journalArticleService) {
032                    _journalArticleService = journalArticleService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _journalArticleService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _journalArticleService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.journal.model.JournalArticle addArticle(
054                    long groupId, long classNameId, long classPK,
055                    java.lang.String articleId, boolean autoArticleId,
056                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
057                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
058                    java.lang.String content, java.lang.String type,
059                    java.lang.String structureId, java.lang.String templateId,
060                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
061                    int displayDateYear, int displayDateHour, int displayDateMinute,
062                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
063                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
064                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
065                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
066                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
067                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
068                    java.lang.String articleURL,
069                    com.liferay.portal.service.ServiceContext serviceContext)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _journalArticleService.addArticle(groupId, classNameId, classPK,
073                            articleId, autoArticleId, titleMap, descriptionMap, content, type,
074                            structureId, templateId, layoutUuid, displayDateMonth,
075                            displayDateDay, displayDateYear, displayDateHour,
076                            displayDateMinute, expirationDateMonth, expirationDateDay,
077                            expirationDateYear, expirationDateHour, expirationDateMinute,
078                            neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
079                            reviewDateHour, reviewDateMinute, neverReview, indexable,
080                            smallImage, smallImageURL, smallFile, images, articleURL,
081                            serviceContext);
082            }
083    
084            public com.liferay.portlet.journal.model.JournalArticle addArticle(
085                    long groupId, long classNameId, long classPK,
086                    java.lang.String articleId, boolean autoArticleId,
087                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
088                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
089                    java.lang.String content, java.lang.String type,
090                    java.lang.String structureId, java.lang.String templateId,
091                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
092                    int displayDateYear, int displayDateHour, int displayDateMinute,
093                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
094                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
095                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
096                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
097                    boolean indexable, java.lang.String articleURL,
098                    com.liferay.portal.service.ServiceContext serviceContext)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    return _journalArticleService.addArticle(groupId, classNameId, classPK,
102                            articleId, autoArticleId, titleMap, descriptionMap, content, type,
103                            structureId, templateId, layoutUuid, displayDateMonth,
104                            displayDateDay, displayDateYear, displayDateHour,
105                            displayDateMinute, expirationDateMonth, expirationDateDay,
106                            expirationDateYear, expirationDateHour, expirationDateMinute,
107                            neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
108                            reviewDateHour, reviewDateMinute, neverReview, indexable,
109                            articleURL, serviceContext);
110            }
111    
112            public com.liferay.portlet.journal.model.JournalArticle copyArticle(
113                    long groupId, java.lang.String oldArticleId,
114                    java.lang.String newArticleId, boolean autoArticleId, double version)
115                    throws com.liferay.portal.kernel.exception.PortalException,
116                            com.liferay.portal.kernel.exception.SystemException {
117                    return _journalArticleService.copyArticle(groupId, oldArticleId,
118                            newArticleId, autoArticleId, version);
119            }
120    
121            public void deleteArticle(long groupId, java.lang.String articleId,
122                    double version, java.lang.String articleURL,
123                    com.liferay.portal.service.ServiceContext serviceContext)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    _journalArticleService.deleteArticle(groupId, articleId, version,
127                            articleURL, serviceContext);
128            }
129    
130            public void deleteArticle(long groupId, java.lang.String articleId,
131                    java.lang.String articleURL,
132                    com.liferay.portal.service.ServiceContext serviceContext)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    _journalArticleService.deleteArticle(groupId, articleId, articleURL,
136                            serviceContext);
137            }
138    
139            public com.liferay.portlet.journal.model.JournalArticle expireArticle(
140                    long groupId, java.lang.String articleId, double version,
141                    java.lang.String articleURL,
142                    com.liferay.portal.service.ServiceContext serviceContext)
143                    throws com.liferay.portal.kernel.exception.PortalException,
144                            com.liferay.portal.kernel.exception.SystemException {
145                    return _journalArticleService.expireArticle(groupId, articleId,
146                            version, articleURL, serviceContext);
147            }
148    
149            public void expireArticle(long groupId, java.lang.String articleId,
150                    java.lang.String articleURL,
151                    com.liferay.portal.service.ServiceContext serviceContext)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    _journalArticleService.expireArticle(groupId, articleId, articleURL,
155                            serviceContext);
156            }
157    
158            public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _journalArticleService.getArticle(id);
162            }
163    
164            public com.liferay.portlet.journal.model.JournalArticle getArticle(
165                    long groupId, java.lang.String articleId)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    return _journalArticleService.getArticle(groupId, articleId);
169            }
170    
171            public com.liferay.portlet.journal.model.JournalArticle getArticle(
172                    long groupId, java.lang.String articleId, double version)
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException {
175                    return _journalArticleService.getArticle(groupId, articleId, version);
176            }
177    
178            public com.liferay.portlet.journal.model.JournalArticle getArticle(
179                    long groupId, java.lang.String className, long classPK)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _journalArticleService.getArticle(groupId, className, classPK);
183            }
184    
185            public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
186                    long groupId, java.lang.String urlTitle)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    return _journalArticleService.getArticleByUrlTitle(groupId, urlTitle);
190            }
191    
192            public java.lang.String getArticleContent(long groupId,
193                    java.lang.String articleId, double version,
194                    java.lang.String languageId,
195                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
196                    throws com.liferay.portal.kernel.exception.PortalException,
197                            com.liferay.portal.kernel.exception.SystemException {
198                    return _journalArticleService.getArticleContent(groupId, articleId,
199                            version, languageId, themeDisplay);
200            }
201    
202            public java.lang.String getArticleContent(long groupId,
203                    java.lang.String articleId, java.lang.String languageId,
204                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
205                    throws com.liferay.portal.kernel.exception.PortalException,
206                            com.liferay.portal.kernel.exception.SystemException {
207                    return _journalArticleService.getArticleContent(groupId, articleId,
208                            languageId, themeDisplay);
209            }
210    
211            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByArticleId(
212                    long groupId, java.lang.String articleId, int start, int end,
213                    com.liferay.portal.kernel.util.OrderByComparator obc)
214                    throws com.liferay.portal.kernel.exception.SystemException {
215                    return _journalArticleService.getArticlesByArticleId(groupId,
216                            articleId, start, end, obc);
217            }
218    
219            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByLayoutUuid(
220                    long groupId, java.lang.String layoutUuid)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return _journalArticleService.getArticlesByLayoutUuid(groupId,
223                            layoutUuid);
224            }
225    
226            public int getArticlesCountByArticleId(long groupId,
227                    java.lang.String articleId)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return _journalArticleService.getArticlesCountByArticleId(groupId,
230                            articleId);
231            }
232    
233            public com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
234                    long groupId, java.lang.String urlTitle)
235                    throws com.liferay.portal.kernel.exception.PortalException,
236                            com.liferay.portal.kernel.exception.SystemException {
237                    return _journalArticleService.getDisplayArticleByUrlTitle(groupId,
238                            urlTitle);
239            }
240    
241            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
242                    long resourcePrimKey)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    return _journalArticleService.getLatestArticle(resourcePrimKey);
246            }
247    
248            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
249                    long groupId, java.lang.String articleId, int status)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException {
252                    return _journalArticleService.getLatestArticle(groupId, articleId,
253                            status);
254            }
255    
256            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
257                    long groupId, java.lang.String className, long classPK)
258                    throws com.liferay.portal.kernel.exception.PortalException,
259                            com.liferay.portal.kernel.exception.SystemException {
260                    return _journalArticleService.getLatestArticle(groupId, className,
261                            classPK);
262            }
263    
264            public void removeArticleLocale(long companyId, java.lang.String languageId)
265                    throws com.liferay.portal.kernel.exception.PortalException,
266                            com.liferay.portal.kernel.exception.SystemException {
267                    _journalArticleService.removeArticleLocale(companyId, languageId);
268            }
269    
270            public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
271                    long groupId, java.lang.String articleId, double version,
272                    java.lang.String languageId)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _journalArticleService.removeArticleLocale(groupId, articleId,
276                            version, languageId);
277            }
278    
279            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
280                    long companyId, long groupId, long classNameId,
281                    java.lang.String keywords, java.lang.Double version,
282                    java.lang.String type, java.lang.String structureId,
283                    java.lang.String templateId, java.util.Date displayDateGT,
284                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
285                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
286                    throws com.liferay.portal.kernel.exception.SystemException {
287                    return _journalArticleService.search(companyId, groupId, classNameId,
288                            keywords, version, type, structureId, templateId, displayDateGT,
289                            displayDateLT, status, reviewDate, start, end, obc);
290            }
291    
292            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
293                    long companyId, long groupId, long classNameId,
294                    java.lang.String articleId, java.lang.Double version,
295                    java.lang.String title, java.lang.String description,
296                    java.lang.String content, java.lang.String type,
297                    java.lang.String structureId, java.lang.String templateId,
298                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
299                    java.util.Date reviewDate, boolean andOperator, int start, int end,
300                    com.liferay.portal.kernel.util.OrderByComparator obc)
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    return _journalArticleService.search(companyId, groupId, classNameId,
303                            articleId, version, title, description, content, type, structureId,
304                            templateId, displayDateGT, displayDateLT, status, reviewDate,
305                            andOperator, start, end, obc);
306            }
307    
308            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
309                    long companyId, long groupId, long classNameId,
310                    java.lang.String articleId, java.lang.Double version,
311                    java.lang.String title, java.lang.String description,
312                    java.lang.String content, java.lang.String type,
313                    java.lang.String[] structureIds, java.lang.String[] templateIds,
314                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
315                    java.util.Date reviewDate, boolean andOperator, int start, int end,
316                    com.liferay.portal.kernel.util.OrderByComparator obc)
317                    throws com.liferay.portal.kernel.exception.SystemException {
318                    return _journalArticleService.search(companyId, groupId, classNameId,
319                            articleId, version, title, description, content, type,
320                            structureIds, templateIds, displayDateGT, displayDateLT, status,
321                            reviewDate, andOperator, start, end, obc);
322            }
323    
324            public int searchCount(long companyId, long groupId, long classNameId,
325                    java.lang.String keywords, java.lang.Double version,
326                    java.lang.String type, java.lang.String structureId,
327                    java.lang.String templateId, java.util.Date displayDateGT,
328                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    return _journalArticleService.searchCount(companyId, groupId,
331                            classNameId, keywords, version, type, structureId, templateId,
332                            displayDateGT, displayDateLT, status, reviewDate);
333            }
334    
335            public int searchCount(long companyId, long groupId, long classNameId,
336                    java.lang.String articleId, java.lang.Double version,
337                    java.lang.String title, java.lang.String description,
338                    java.lang.String content, java.lang.String type,
339                    java.lang.String structureId, java.lang.String templateId,
340                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
341                    java.util.Date reviewDate, boolean andOperator)
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return _journalArticleService.searchCount(companyId, groupId,
344                            classNameId, articleId, version, title, description, content, type,
345                            structureId, templateId, displayDateGT, displayDateLT, status,
346                            reviewDate, andOperator);
347            }
348    
349            public int searchCount(long companyId, long groupId, long classNameId,
350                    java.lang.String articleId, java.lang.Double version,
351                    java.lang.String title, java.lang.String description,
352                    java.lang.String content, java.lang.String type,
353                    java.lang.String[] structureIds, java.lang.String[] templateIds,
354                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
355                    java.util.Date reviewDate, boolean andOperator)
356                    throws com.liferay.portal.kernel.exception.SystemException {
357                    return _journalArticleService.searchCount(companyId, groupId,
358                            classNameId, articleId, version, title, description, content, type,
359                            structureIds, templateIds, displayDateGT, displayDateLT, status,
360                            reviewDate, andOperator);
361            }
362    
363            public void subscribe(long groupId)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException {
366                    _journalArticleService.subscribe(groupId);
367            }
368    
369            public void unsubscribe(long groupId)
370                    throws com.liferay.portal.kernel.exception.PortalException,
371                            com.liferay.portal.kernel.exception.SystemException {
372                    _journalArticleService.unsubscribe(groupId);
373            }
374    
375            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
376                    long userId, long groupId, java.lang.String articleId, double version,
377                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
378                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
379                    java.lang.String content, java.lang.String layoutUuid,
380                    com.liferay.portal.service.ServiceContext serviceContext)
381                    throws com.liferay.portal.kernel.exception.PortalException,
382                            com.liferay.portal.kernel.exception.SystemException {
383                    return _journalArticleService.updateArticle(userId, groupId, articleId,
384                            version, titleMap, descriptionMap, content, layoutUuid,
385                            serviceContext);
386            }
387    
388            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
389                    long groupId, java.lang.String articleId, double version,
390                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
391                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
392                    java.lang.String content, java.lang.String type,
393                    java.lang.String structureId, java.lang.String templateId,
394                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
395                    int displayDateYear, int displayDateHour, int displayDateMinute,
396                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
397                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
398                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
399                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
400                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
401                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
402                    java.lang.String articleURL,
403                    com.liferay.portal.service.ServiceContext serviceContext)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    return _journalArticleService.updateArticle(groupId, articleId,
407                            version, titleMap, descriptionMap, content, type, structureId,
408                            templateId, layoutUuid, displayDateMonth, displayDateDay,
409                            displayDateYear, displayDateHour, displayDateMinute,
410                            expirationDateMonth, expirationDateDay, expirationDateYear,
411                            expirationDateHour, expirationDateMinute, neverExpire,
412                            reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
413                            reviewDateMinute, neverReview, indexable, smallImage,
414                            smallImageURL, smallFile, images, articleURL, serviceContext);
415            }
416    
417            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
418                    long groupId, java.lang.String articleId, double version,
419                    java.lang.String content,
420                    com.liferay.portal.service.ServiceContext serviceContext)
421                    throws com.liferay.portal.kernel.exception.PortalException,
422                            com.liferay.portal.kernel.exception.SystemException {
423                    return _journalArticleService.updateArticle(groupId, articleId,
424                            version, content, serviceContext);
425            }
426    
427            /**
428            * @deprecated {@link #updateArticleTranslation(long, String, double,
429            Locale, String, String, String, Map, ServiceContext)}
430            */
431            public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
432                    long groupId, java.lang.String articleId, double version,
433                    java.util.Locale locale, java.lang.String title,
434                    java.lang.String description, java.lang.String content,
435                    java.util.Map<java.lang.String, byte[]> images)
436                    throws com.liferay.portal.kernel.exception.PortalException,
437                            com.liferay.portal.kernel.exception.SystemException {
438                    return _journalArticleService.updateArticleTranslation(groupId,
439                            articleId, version, locale, title, description, content, images);
440            }
441    
442            public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
443                    long groupId, java.lang.String articleId, double version,
444                    java.util.Locale locale, java.lang.String title,
445                    java.lang.String description, java.lang.String content,
446                    java.util.Map<java.lang.String, byte[]> images,
447                    com.liferay.portal.service.ServiceContext serviceContext)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException {
450                    return _journalArticleService.updateArticleTranslation(groupId,
451                            articleId, version, locale, title, description, content, images,
452                            serviceContext);
453            }
454    
455            public com.liferay.portlet.journal.model.JournalArticle updateContent(
456                    long groupId, java.lang.String articleId, double version,
457                    java.lang.String content)
458                    throws com.liferay.portal.kernel.exception.PortalException,
459                            com.liferay.portal.kernel.exception.SystemException {
460                    return _journalArticleService.updateContent(groupId, articleId,
461                            version, content);
462            }
463    
464            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
465                    long groupId, java.lang.String articleId, double version, int status,
466                    java.lang.String articleURL,
467                    com.liferay.portal.service.ServiceContext serviceContext)
468                    throws com.liferay.portal.kernel.exception.PortalException,
469                            com.liferay.portal.kernel.exception.SystemException {
470                    return _journalArticleService.updateStatus(groupId, articleId, version,
471                            status, articleURL, serviceContext);
472            }
473    
474            /**
475             * @deprecated Renamed to {@link #getWrappedService}
476             */
477            public JournalArticleService getWrappedJournalArticleService() {
478                    return _journalArticleService;
479            }
480    
481            /**
482             * @deprecated Renamed to {@link #setWrappedService}
483             */
484            public void setWrappedJournalArticleService(
485                    JournalArticleService journalArticleService) {
486                    _journalArticleService = journalArticleService;
487            }
488    
489            public JournalArticleService getWrappedService() {
490                    return _journalArticleService;
491            }
492    
493            public void setWrappedService(JournalArticleService journalArticleService) {
494                    _journalArticleService = journalArticleService;
495            }
496    
497            private JournalArticleService _journalArticleService;
498    }