001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.journal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link JournalArticleLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalArticleLocalService
024     * @generated
025     */
026    public class JournalArticleLocalServiceWrapper
027            implements JournalArticleLocalService {
028            public JournalArticleLocalServiceWrapper(
029                    JournalArticleLocalService journalArticleLocalService) {
030                    _journalArticleLocalService = journalArticleLocalService;
031            }
032    
033            /**
034            * Adds the journal article to the database. Also notifies the appropriate model listeners.
035            *
036            * @param journalArticle the journal article
037            * @return the journal article that was added
038            * @throws SystemException if a system exception occurred
039            */
040            public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
041                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
042                    throws com.liferay.portal.kernel.exception.SystemException {
043                    return _journalArticleLocalService.addJournalArticle(journalArticle);
044            }
045    
046            /**
047            * Creates a new journal article with the primary key. Does not add the journal article to the database.
048            *
049            * @param id the primary key for the new journal article
050            * @return the new journal article
051            */
052            public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
053                    long id) {
054                    return _journalArticleLocalService.createJournalArticle(id);
055            }
056    
057            /**
058            * Deletes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
059            *
060            * @param id the primary key of the journal article
061            * @throws PortalException if a journal article with the primary key could not be found
062            * @throws SystemException if a system exception occurred
063            */
064            public void deleteJournalArticle(long id)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    _journalArticleLocalService.deleteJournalArticle(id);
068            }
069    
070            /**
071            * Deletes the journal article from the database. Also notifies the appropriate model listeners.
072            *
073            * @param journalArticle the journal article
074            * @throws SystemException if a system exception occurred
075            */
076            public void deleteJournalArticle(
077                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    _journalArticleLocalService.deleteJournalArticle(journalArticle);
080            }
081    
082            /**
083            * Performs a dynamic query on the database and returns the matching rows.
084            *
085            * @param dynamicQuery the dynamic query
086            * @return the matching rows
087            * @throws SystemException if a system exception occurred
088            */
089            @SuppressWarnings("rawtypes")
090            public java.util.List dynamicQuery(
091                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _journalArticleLocalService.dynamicQuery(dynamicQuery);
094            }
095    
096            /**
097            * Performs a dynamic query on the database and returns a range of the matching rows.
098            *
099            * <p>
100            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
101            * </p>
102            *
103            * @param dynamicQuery the dynamic query
104            * @param start the lower bound of the range of model instances
105            * @param end the upper bound of the range of model instances (not inclusive)
106            * @return the range of matching rows
107            * @throws SystemException if a system exception occurred
108            */
109            @SuppressWarnings("rawtypes")
110            public java.util.List dynamicQuery(
111                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112                    int end) throws com.liferay.portal.kernel.exception.SystemException {
113                    return _journalArticleLocalService.dynamicQuery(dynamicQuery, start, end);
114            }
115    
116            /**
117            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
118            *
119            * <p>
120            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
121            * </p>
122            *
123            * @param dynamicQuery the dynamic query
124            * @param start the lower bound of the range of model instances
125            * @param end the upper bound of the range of model instances (not inclusive)
126            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
127            * @return the ordered range of matching rows
128            * @throws SystemException if a system exception occurred
129            */
130            @SuppressWarnings("rawtypes")
131            public java.util.List dynamicQuery(
132                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133                    int end,
134                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _journalArticleLocalService.dynamicQuery(dynamicQuery, start,
137                            end, orderByComparator);
138            }
139    
140            /**
141            * Returns the number of rows that match the dynamic query.
142            *
143            * @param dynamicQuery the dynamic query
144            * @return the number of rows that match the dynamic query
145            * @throws SystemException if a system exception occurred
146            */
147            public long dynamicQueryCount(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _journalArticleLocalService.dynamicQueryCount(dynamicQuery);
151            }
152    
153            /**
154            * Returns the journal article with the primary key.
155            *
156            * @param id the primary key of the journal article
157            * @return the journal article
158            * @throws PortalException if a journal article with the primary key could not be found
159            * @throws SystemException if a system exception occurred
160            */
161            public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
162                    long id)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    return _journalArticleLocalService.getJournalArticle(id);
166            }
167    
168            public com.liferay.portal.model.PersistedModel getPersistedModel(
169                    java.io.Serializable primaryKeyObj)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    return _journalArticleLocalService.getPersistedModel(primaryKeyObj);
173            }
174    
175            /**
176            * Returns the journal article with the UUID in the group.
177            *
178            * @param uuid the UUID of journal article
179            * @param groupId the group id of the journal article
180            * @return the journal article
181            * @throws PortalException if a journal article with the UUID in the group could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            public com.liferay.portlet.journal.model.JournalArticle getJournalArticleByUuidAndGroupId(
185                    java.lang.String uuid, long groupId)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    return _journalArticleLocalService.getJournalArticleByUuidAndGroupId(uuid,
189                            groupId);
190            }
191    
192            /**
193            * Returns a range of all the journal articles.
194            *
195            * <p>
196            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
197            * </p>
198            *
199            * @param start the lower bound of the range of journal articles
200            * @param end the upper bound of the range of journal articles (not inclusive)
201            * @return the range of journal articles
202            * @throws SystemException if a system exception occurred
203            */
204            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
205                    int start, int end)
206                    throws com.liferay.portal.kernel.exception.SystemException {
207                    return _journalArticleLocalService.getJournalArticles(start, end);
208            }
209    
210            /**
211            * Returns the number of journal articles.
212            *
213            * @return the number of journal articles
214            * @throws SystemException if a system exception occurred
215            */
216            public int getJournalArticlesCount()
217                    throws com.liferay.portal.kernel.exception.SystemException {
218                    return _journalArticleLocalService.getJournalArticlesCount();
219            }
220    
221            /**
222            * Updates the journal article in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
223            *
224            * @param journalArticle the journal article
225            * @return the journal article that was updated
226            * @throws SystemException if a system exception occurred
227            */
228            public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
229                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
230                    throws com.liferay.portal.kernel.exception.SystemException {
231                    return _journalArticleLocalService.updateJournalArticle(journalArticle);
232            }
233    
234            /**
235            * Updates the journal article in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
236            *
237            * @param journalArticle the journal article
238            * @param merge whether to merge the journal article with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
239            * @return the journal article that was updated
240            * @throws SystemException if a system exception occurred
241            */
242            public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
243                    com.liferay.portlet.journal.model.JournalArticle journalArticle,
244                    boolean merge)
245                    throws com.liferay.portal.kernel.exception.SystemException {
246                    return _journalArticleLocalService.updateJournalArticle(journalArticle,
247                            merge);
248            }
249    
250            /**
251            * Returns the Spring bean ID for this bean.
252            *
253            * @return the Spring bean ID for this bean
254            */
255            public java.lang.String getBeanIdentifier() {
256                    return _journalArticleLocalService.getBeanIdentifier();
257            }
258    
259            /**
260            * Sets the Spring bean ID for this bean.
261            *
262            * @param beanIdentifier the Spring bean ID for this bean
263            */
264            public void setBeanIdentifier(java.lang.String beanIdentifier) {
265                    _journalArticleLocalService.setBeanIdentifier(beanIdentifier);
266            }
267    
268            public com.liferay.portlet.journal.model.JournalArticle addArticle(
269                    long userId, long groupId, java.lang.String articleId,
270                    boolean autoArticleId, double version, java.lang.String title,
271                    java.lang.String description, java.lang.String content,
272                    java.lang.String type, java.lang.String structureId,
273                    java.lang.String templateId, int displayDateMonth, int displayDateDay,
274                    int displayDateYear, int displayDateHour, int displayDateMinute,
275                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
276                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
277                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
278                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
279                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
280                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
281                    java.lang.String articleURL,
282                    com.liferay.portal.service.ServiceContext serviceContext)
283                    throws com.liferay.portal.kernel.exception.PortalException,
284                            com.liferay.portal.kernel.exception.SystemException {
285                    return _journalArticleLocalService.addArticle(userId, groupId,
286                            articleId, autoArticleId, version, title, description, content,
287                            type, structureId, templateId, displayDateMonth, displayDateDay,
288                            displayDateYear, displayDateHour, displayDateMinute,
289                            expirationDateMonth, expirationDateDay, expirationDateYear,
290                            expirationDateHour, expirationDateMinute, neverExpire,
291                            reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
292                            reviewDateMinute, neverReview, indexable, smallImage,
293                            smallImageURL, smallFile, images, articleURL, serviceContext);
294            }
295    
296            public void addArticleResources(
297                    com.liferay.portlet.journal.model.JournalArticle article,
298                    boolean addCommunityPermissions, boolean addGuestPermissions)
299                    throws com.liferay.portal.kernel.exception.PortalException,
300                            com.liferay.portal.kernel.exception.SystemException {
301                    _journalArticleLocalService.addArticleResources(article,
302                            addCommunityPermissions, addGuestPermissions);
303            }
304    
305            public void addArticleResources(
306                    com.liferay.portlet.journal.model.JournalArticle article,
307                    java.lang.String[] communityPermissions,
308                    java.lang.String[] guestPermissions)
309                    throws com.liferay.portal.kernel.exception.PortalException,
310                            com.liferay.portal.kernel.exception.SystemException {
311                    _journalArticleLocalService.addArticleResources(article,
312                            communityPermissions, guestPermissions);
313            }
314    
315            public void addArticleResources(long groupId, java.lang.String articleId,
316                    boolean addCommunityPermissions, boolean addGuestPermissions)
317                    throws com.liferay.portal.kernel.exception.PortalException,
318                            com.liferay.portal.kernel.exception.SystemException {
319                    _journalArticleLocalService.addArticleResources(groupId, articleId,
320                            addCommunityPermissions, addGuestPermissions);
321            }
322    
323            public void addArticleResources(long groupId, java.lang.String articleId,
324                    java.lang.String[] communityPermissions,
325                    java.lang.String[] guestPermissions)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException {
328                    _journalArticleLocalService.addArticleResources(groupId, articleId,
329                            communityPermissions, guestPermissions);
330            }
331    
332            public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
333                    long groupId, java.lang.String articleId, double version)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    return _journalArticleLocalService.checkArticleResourcePrimKey(groupId,
337                            articleId, version);
338            }
339    
340            public void checkArticles()
341                    throws com.liferay.portal.kernel.exception.PortalException,
342                            com.liferay.portal.kernel.exception.SystemException {
343                    _journalArticleLocalService.checkArticles();
344            }
345    
346            public void checkNewLine(long groupId, java.lang.String articleId,
347                    double version)
348                    throws com.liferay.portal.kernel.exception.PortalException,
349                            com.liferay.portal.kernel.exception.SystemException {
350                    _journalArticleLocalService.checkNewLine(groupId, articleId, version);
351            }
352    
353            public void checkStructure(long groupId, java.lang.String articleId,
354                    double version)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    _journalArticleLocalService.checkStructure(groupId, articleId, version);
358            }
359    
360            public com.liferay.portlet.journal.model.JournalArticle copyArticle(
361                    long userId, long groupId, java.lang.String oldArticleId,
362                    java.lang.String newArticleId, boolean autoArticleId, double version)
363                    throws com.liferay.portal.kernel.exception.PortalException,
364                            com.liferay.portal.kernel.exception.SystemException {
365                    return _journalArticleLocalService.copyArticle(userId, groupId,
366                            oldArticleId, newArticleId, autoArticleId, version);
367            }
368    
369            public void deleteArticle(
370                    com.liferay.portlet.journal.model.JournalArticle article,
371                    java.lang.String articleURL,
372                    com.liferay.portal.service.ServiceContext serviceContext)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException {
375                    _journalArticleLocalService.deleteArticle(article, articleURL,
376                            serviceContext);
377            }
378    
379            public void deleteArticle(long groupId, java.lang.String articleId,
380                    double version, java.lang.String articleURL,
381                    com.liferay.portal.service.ServiceContext serviceContext)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _journalArticleLocalService.deleteArticle(groupId, articleId, version,
385                            articleURL, serviceContext);
386            }
387    
388            public void deleteArticle(long groupId, java.lang.String articleId,
389                    com.liferay.portal.service.ServiceContext serviceContext)
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException {
392                    _journalArticleLocalService.deleteArticle(groupId, articleId,
393                            serviceContext);
394            }
395    
396            public void deleteArticles(long groupId)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    _journalArticleLocalService.deleteArticles(groupId);
400            }
401    
402            public com.liferay.portlet.journal.model.JournalArticle expireArticle(
403                    long userId, long groupId, java.lang.String articleId, double version,
404                    java.lang.String articleURL,
405                    com.liferay.portal.service.ServiceContext serviceContext)
406                    throws com.liferay.portal.kernel.exception.PortalException,
407                            com.liferay.portal.kernel.exception.SystemException {
408                    return _journalArticleLocalService.expireArticle(userId, groupId,
409                            articleId, version, articleURL, serviceContext);
410            }
411    
412            public void expireArticle(long userId, long groupId,
413                    java.lang.String articleId, java.lang.String articleURL,
414                    com.liferay.portal.service.ServiceContext serviceContext)
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    _journalArticleLocalService.expireArticle(userId, groupId, articleId,
418                            articleURL, serviceContext);
419            }
420    
421            public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
422                    throws com.liferay.portal.kernel.exception.PortalException,
423                            com.liferay.portal.kernel.exception.SystemException {
424                    return _journalArticleLocalService.getArticle(id);
425            }
426    
427            public com.liferay.portlet.journal.model.JournalArticle getArticle(
428                    long groupId, java.lang.String articleId)
429                    throws com.liferay.portal.kernel.exception.PortalException,
430                            com.liferay.portal.kernel.exception.SystemException {
431                    return _journalArticleLocalService.getArticle(groupId, articleId);
432            }
433    
434            public com.liferay.portlet.journal.model.JournalArticle getArticle(
435                    long groupId, java.lang.String articleId, double version)
436                    throws com.liferay.portal.kernel.exception.PortalException,
437                            com.liferay.portal.kernel.exception.SystemException {
438                    return _journalArticleLocalService.getArticle(groupId, articleId,
439                            version);
440            }
441    
442            public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
443                    long groupId, java.lang.String urlTitle)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException {
446                    return _journalArticleLocalService.getArticleByUrlTitle(groupId,
447                            urlTitle);
448            }
449    
450            public java.lang.String getArticleContent(
451                    com.liferay.portlet.journal.model.JournalArticle article,
452                    java.lang.String templateId, java.lang.String viewMode,
453                    java.lang.String languageId,
454                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
455                    throws com.liferay.portal.kernel.exception.PortalException,
456                            com.liferay.portal.kernel.exception.SystemException {
457                    return _journalArticleLocalService.getArticleContent(article,
458                            templateId, viewMode, languageId, themeDisplay);
459            }
460    
461            public java.lang.String getArticleContent(long groupId,
462                    java.lang.String articleId, double version, java.lang.String viewMode,
463                    java.lang.String templateId, java.lang.String languageId,
464                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException {
467                    return _journalArticleLocalService.getArticleContent(groupId,
468                            articleId, version, viewMode, templateId, languageId, themeDisplay);
469            }
470    
471            public java.lang.String getArticleContent(long groupId,
472                    java.lang.String articleId, double version, java.lang.String viewMode,
473                    java.lang.String languageId,
474                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
475                    throws com.liferay.portal.kernel.exception.PortalException,
476                            com.liferay.portal.kernel.exception.SystemException {
477                    return _journalArticleLocalService.getArticleContent(groupId,
478                            articleId, version, viewMode, languageId, themeDisplay);
479            }
480    
481            public java.lang.String getArticleContent(long groupId,
482                    java.lang.String articleId, java.lang.String viewMode,
483                    java.lang.String templateId, java.lang.String languageId,
484                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
485                    throws com.liferay.portal.kernel.exception.PortalException,
486                            com.liferay.portal.kernel.exception.SystemException {
487                    return _journalArticleLocalService.getArticleContent(groupId,
488                            articleId, viewMode, templateId, languageId, themeDisplay);
489            }
490    
491            public java.lang.String getArticleContent(long groupId,
492                    java.lang.String articleId, java.lang.String viewMode,
493                    java.lang.String languageId,
494                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
495                    throws com.liferay.portal.kernel.exception.PortalException,
496                            com.liferay.portal.kernel.exception.SystemException {
497                    return _journalArticleLocalService.getArticleContent(groupId,
498                            articleId, viewMode, languageId, themeDisplay);
499            }
500    
501            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
502                    com.liferay.portlet.journal.model.JournalArticle article,
503                    java.lang.String templateId, java.lang.String viewMode,
504                    java.lang.String languageId, int page, java.lang.String xmlRequest,
505                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
506                    throws com.liferay.portal.kernel.exception.PortalException,
507                            com.liferay.portal.kernel.exception.SystemException {
508                    return _journalArticleLocalService.getArticleDisplay(article,
509                            templateId, viewMode, languageId, page, xmlRequest, themeDisplay);
510            }
511    
512            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
513                    long groupId, java.lang.String articleId, double version,
514                    java.lang.String templateId, java.lang.String viewMode,
515                    java.lang.String languageId, int page, java.lang.String xmlRequest,
516                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
517                    throws com.liferay.portal.kernel.exception.PortalException,
518                            com.liferay.portal.kernel.exception.SystemException {
519                    return _journalArticleLocalService.getArticleDisplay(groupId,
520                            articleId, version, templateId, viewMode, languageId, page,
521                            xmlRequest, themeDisplay);
522            }
523    
524            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
525                    long groupId, java.lang.String articleId, double version,
526                    java.lang.String templateId, java.lang.String viewMode,
527                    java.lang.String languageId,
528                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
529                    throws com.liferay.portal.kernel.exception.PortalException,
530                            com.liferay.portal.kernel.exception.SystemException {
531                    return _journalArticleLocalService.getArticleDisplay(groupId,
532                            articleId, version, templateId, viewMode, languageId, themeDisplay);
533            }
534    
535            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
536                    long groupId, java.lang.String articleId, java.lang.String viewMode,
537                    java.lang.String languageId, int page, java.lang.String xmlRequest,
538                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
539                    throws com.liferay.portal.kernel.exception.PortalException,
540                            com.liferay.portal.kernel.exception.SystemException {
541                    return _journalArticleLocalService.getArticleDisplay(groupId,
542                            articleId, viewMode, languageId, page, xmlRequest, themeDisplay);
543            }
544    
545            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
546                    long groupId, java.lang.String articleId, java.lang.String templateId,
547                    java.lang.String viewMode, java.lang.String languageId, int page,
548                    java.lang.String xmlRequest,
549                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
550                    throws com.liferay.portal.kernel.exception.PortalException,
551                            com.liferay.portal.kernel.exception.SystemException {
552                    return _journalArticleLocalService.getArticleDisplay(groupId,
553                            articleId, templateId, viewMode, languageId, page, xmlRequest,
554                            themeDisplay);
555            }
556    
557            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
558                    long groupId, java.lang.String articleId, java.lang.String templateId,
559                    java.lang.String viewMode, java.lang.String languageId,
560                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
561                    throws com.liferay.portal.kernel.exception.PortalException,
562                            com.liferay.portal.kernel.exception.SystemException {
563                    return _journalArticleLocalService.getArticleDisplay(groupId,
564                            articleId, templateId, viewMode, languageId, themeDisplay);
565            }
566    
567            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
568                    long groupId, java.lang.String articleId, java.lang.String viewMode,
569                    java.lang.String languageId,
570                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
571                    throws com.liferay.portal.kernel.exception.PortalException,
572                            com.liferay.portal.kernel.exception.SystemException {
573                    return _journalArticleLocalService.getArticleDisplay(groupId,
574                            articleId, viewMode, languageId, themeDisplay);
575            }
576    
577            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
578                    throws com.liferay.portal.kernel.exception.SystemException {
579                    return _journalArticleLocalService.getArticles();
580            }
581    
582            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
583                    long groupId)
584                    throws com.liferay.portal.kernel.exception.SystemException {
585                    return _journalArticleLocalService.getArticles(groupId);
586            }
587    
588            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
589                    long groupId, int start, int end)
590                    throws com.liferay.portal.kernel.exception.SystemException {
591                    return _journalArticleLocalService.getArticles(groupId, start, end);
592            }
593    
594            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
595                    long groupId, int start, int end,
596                    com.liferay.portal.kernel.util.OrderByComparator obc)
597                    throws com.liferay.portal.kernel.exception.SystemException {
598                    return _journalArticleLocalService.getArticles(groupId, start, end, obc);
599            }
600    
601            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
602                    long groupId, java.lang.String articleId)
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    return _journalArticleLocalService.getArticles(groupId, articleId);
605            }
606    
607            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
608                    long smallImageId)
609                    throws com.liferay.portal.kernel.exception.SystemException {
610                    return _journalArticleLocalService.getArticlesBySmallImageId(smallImageId);
611            }
612    
613            public int getArticlesCount(long groupId)
614                    throws com.liferay.portal.kernel.exception.SystemException {
615                    return _journalArticleLocalService.getArticlesCount(groupId);
616            }
617    
618            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
619                    long companyId, double version, int status, int start, int end)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    return _journalArticleLocalService.getCompanyArticles(companyId,
622                            version, status, start, end);
623            }
624    
625            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
626                    long companyId, int status, int start, int end)
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    return _journalArticleLocalService.getCompanyArticles(companyId,
629                            status, start, end);
630            }
631    
632            public int getCompanyArticlesCount(long companyId, double version,
633                    int status, int start, int end)
634                    throws com.liferay.portal.kernel.exception.SystemException {
635                    return _journalArticleLocalService.getCompanyArticlesCount(companyId,
636                            version, status, start, end);
637            }
638    
639            public int getCompanyArticlesCount(long companyId, int status)
640                    throws com.liferay.portal.kernel.exception.SystemException {
641                    return _journalArticleLocalService.getCompanyArticlesCount(companyId,
642                            status);
643            }
644    
645            public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
646                    long groupId, java.lang.String articleId)
647                    throws com.liferay.portal.kernel.exception.PortalException,
648                            com.liferay.portal.kernel.exception.SystemException {
649                    return _journalArticleLocalService.getDisplayArticle(groupId, articleId);
650            }
651    
652            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
653                    long resourcePrimKey)
654                    throws com.liferay.portal.kernel.exception.PortalException,
655                            com.liferay.portal.kernel.exception.SystemException {
656                    return _journalArticleLocalService.getLatestArticle(resourcePrimKey);
657            }
658    
659            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
660                    long resourcePrimKey, int status)
661                    throws com.liferay.portal.kernel.exception.PortalException,
662                            com.liferay.portal.kernel.exception.SystemException {
663                    return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
664                            status);
665            }
666    
667            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
668                    long resourcePrimKey, int status, boolean preferApproved)
669                    throws com.liferay.portal.kernel.exception.PortalException,
670                            com.liferay.portal.kernel.exception.SystemException {
671                    return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
672                            status, preferApproved);
673            }
674    
675            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
676                    long groupId, java.lang.String articleId)
677                    throws com.liferay.portal.kernel.exception.PortalException,
678                            com.liferay.portal.kernel.exception.SystemException {
679                    return _journalArticleLocalService.getLatestArticle(groupId, articleId);
680            }
681    
682            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
683                    long groupId, java.lang.String articleId, int status)
684                    throws com.liferay.portal.kernel.exception.PortalException,
685                            com.liferay.portal.kernel.exception.SystemException {
686                    return _journalArticleLocalService.getLatestArticle(groupId, articleId,
687                            status);
688            }
689    
690            public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
691                    long groupId, java.lang.String urlTitle, int status)
692                    throws com.liferay.portal.kernel.exception.PortalException,
693                            com.liferay.portal.kernel.exception.SystemException {
694                    return _journalArticleLocalService.getLatestArticleByUrlTitle(groupId,
695                            urlTitle, status);
696            }
697    
698            public double getLatestVersion(long groupId, java.lang.String articleId)
699                    throws com.liferay.portal.kernel.exception.PortalException,
700                            com.liferay.portal.kernel.exception.SystemException {
701                    return _journalArticleLocalService.getLatestVersion(groupId, articleId);
702            }
703    
704            public double getLatestVersion(long groupId, java.lang.String articleId,
705                    int status)
706                    throws com.liferay.portal.kernel.exception.PortalException,
707                            com.liferay.portal.kernel.exception.SystemException {
708                    return _journalArticleLocalService.getLatestVersion(groupId, articleId,
709                            status);
710            }
711    
712            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
713                    long groupId, java.lang.String structureId)
714                    throws com.liferay.portal.kernel.exception.SystemException {
715                    return _journalArticleLocalService.getStructureArticles(groupId,
716                            structureId);
717            }
718    
719            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
720                    long groupId, java.lang.String structureId, int start, int end,
721                    com.liferay.portal.kernel.util.OrderByComparator obc)
722                    throws com.liferay.portal.kernel.exception.SystemException {
723                    return _journalArticleLocalService.getStructureArticles(groupId,
724                            structureId, start, end, obc);
725            }
726    
727            public int getStructureArticlesCount(long groupId,
728                    java.lang.String structureId)
729                    throws com.liferay.portal.kernel.exception.SystemException {
730                    return _journalArticleLocalService.getStructureArticlesCount(groupId,
731                            structureId);
732            }
733    
734            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
735                    long groupId, java.lang.String templateId)
736                    throws com.liferay.portal.kernel.exception.SystemException {
737                    return _journalArticleLocalService.getTemplateArticles(groupId,
738                            templateId);
739            }
740    
741            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
742                    long groupId, java.lang.String templateId, int start, int end,
743                    com.liferay.portal.kernel.util.OrderByComparator obc)
744                    throws com.liferay.portal.kernel.exception.SystemException {
745                    return _journalArticleLocalService.getTemplateArticles(groupId,
746                            templateId, start, end, obc);
747            }
748    
749            public int getTemplateArticlesCount(long groupId,
750                    java.lang.String templateId)
751                    throws com.liferay.portal.kernel.exception.SystemException {
752                    return _journalArticleLocalService.getTemplateArticlesCount(groupId,
753                            templateId);
754            }
755    
756            public boolean hasArticle(long groupId, java.lang.String articleId)
757                    throws com.liferay.portal.kernel.exception.SystemException {
758                    return _journalArticleLocalService.hasArticle(groupId, articleId);
759            }
760    
761            public boolean isLatestVersion(long groupId, java.lang.String articleId,
762                    double version)
763                    throws com.liferay.portal.kernel.exception.PortalException,
764                            com.liferay.portal.kernel.exception.SystemException {
765                    return _journalArticleLocalService.isLatestVersion(groupId, articleId,
766                            version);
767            }
768    
769            public boolean isLatestVersion(long groupId, java.lang.String articleId,
770                    double version, int status)
771                    throws com.liferay.portal.kernel.exception.PortalException,
772                            com.liferay.portal.kernel.exception.SystemException {
773                    return _journalArticleLocalService.isLatestVersion(groupId, articleId,
774                            version, status);
775            }
776    
777            public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
778                    long groupId, java.lang.String articleId, double version,
779                    java.lang.String languageId)
780                    throws com.liferay.portal.kernel.exception.PortalException,
781                            com.liferay.portal.kernel.exception.SystemException {
782                    return _journalArticleLocalService.removeArticleLocale(groupId,
783                            articleId, version, languageId);
784            }
785    
786            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
787                    long companyId, long groupId, java.lang.String keywords,
788                    java.lang.Double version, java.lang.String type,
789                    java.lang.String structureId, java.lang.String templateId,
790                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
791                    java.util.Date reviewDate, int start, int end,
792                    com.liferay.portal.kernel.util.OrderByComparator obc)
793                    throws com.liferay.portal.kernel.exception.SystemException {
794                    return _journalArticleLocalService.search(companyId, groupId, keywords,
795                            version, type, structureId, templateId, displayDateGT,
796                            displayDateLT, status, reviewDate, start, end, obc);
797            }
798    
799            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
800                    long companyId, long groupId, java.lang.String articleId,
801                    java.lang.Double version, java.lang.String title,
802                    java.lang.String description, java.lang.String content,
803                    java.lang.String type, java.lang.String structureId,
804                    java.lang.String templateId, java.util.Date displayDateGT,
805                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
806                    boolean andOperator, int start, int end,
807                    com.liferay.portal.kernel.util.OrderByComparator obc)
808                    throws com.liferay.portal.kernel.exception.SystemException {
809                    return _journalArticleLocalService.search(companyId, groupId,
810                            articleId, version, title, description, content, type, structureId,
811                            templateId, displayDateGT, displayDateLT, status, reviewDate,
812                            andOperator, start, end, obc);
813            }
814    
815            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
816                    long companyId, long groupId, java.lang.String articleId,
817                    java.lang.Double version, java.lang.String title,
818                    java.lang.String description, java.lang.String content,
819                    java.lang.String type, java.lang.String[] structureIds,
820                    java.lang.String[] templateIds, java.util.Date displayDateGT,
821                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
822                    boolean andOperator, int start, int end,
823                    com.liferay.portal.kernel.util.OrderByComparator obc)
824                    throws com.liferay.portal.kernel.exception.SystemException {
825                    return _journalArticleLocalService.search(companyId, groupId,
826                            articleId, version, title, description, content, type,
827                            structureIds, templateIds, displayDateGT, displayDateLT, status,
828                            reviewDate, andOperator, start, end, obc);
829            }
830    
831            /**
832            * @deprecated {@link #search(long, long, String, String, String,
833            LinkedHashMap<String, Object>, int, int, Sort)}
834            */
835            public com.liferay.portal.kernel.search.Hits search(long companyId,
836                    long groupId, java.lang.String keywords,
837                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
838                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
839                    throws com.liferay.portal.kernel.exception.SystemException {
840                    return _journalArticleLocalService.search(companyId, groupId, keywords,
841                            params, start, end, sort);
842            }
843    
844            public com.liferay.portal.kernel.search.Hits search(long companyId,
845                    long groupId, java.lang.String structureId,
846                    java.lang.String templateId, java.lang.String keywords,
847                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
848                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
849                    throws com.liferay.portal.kernel.exception.SystemException {
850                    return _journalArticleLocalService.search(companyId, groupId,
851                            structureId, templateId, keywords, params, start, end, sort);
852            }
853    
854            /**
855            * @deprecated {@link #search(long, long, String, String, String, String,
856            String, String, String, String, LinkedHashMap<String,
857            Object>, boolean, int, int, Sort)}
858            */
859            public com.liferay.portal.kernel.search.Hits search(long companyId,
860                    long groupId, java.lang.String articleId, java.lang.String title,
861                    java.lang.String description, java.lang.String content,
862                    java.lang.String type, java.lang.String status,
863                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
864                    boolean andSearch, int start, int end,
865                    com.liferay.portal.kernel.search.Sort sort)
866                    throws com.liferay.portal.kernel.exception.SystemException {
867                    return _journalArticleLocalService.search(companyId, groupId,
868                            articleId, title, description, content, type, status, params,
869                            andSearch, start, end, sort);
870            }
871    
872            public com.liferay.portal.kernel.search.Hits search(long companyId,
873                    long groupId, java.lang.String articleId, java.lang.String title,
874                    java.lang.String description, java.lang.String content,
875                    java.lang.String type, java.lang.String status,
876                    java.lang.String structureId, java.lang.String templateId,
877                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
878                    boolean andSearch, int start, int end,
879                    com.liferay.portal.kernel.search.Sort sort)
880                    throws com.liferay.portal.kernel.exception.SystemException {
881                    return _journalArticleLocalService.search(companyId, groupId,
882                            articleId, title, description, content, type, status, structureId,
883                            templateId, params, andSearch, start, end, sort);
884            }
885    
886            public int searchCount(long companyId, long groupId,
887                    java.lang.String keywords, java.lang.Double version,
888                    java.lang.String type, java.lang.String structureId,
889                    java.lang.String templateId, java.util.Date displayDateGT,
890                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
891                    throws com.liferay.portal.kernel.exception.SystemException {
892                    return _journalArticleLocalService.searchCount(companyId, groupId,
893                            keywords, version, type, structureId, templateId, displayDateGT,
894                            displayDateLT, status, reviewDate);
895            }
896    
897            public int searchCount(long companyId, long groupId,
898                    java.lang.String articleId, java.lang.Double version,
899                    java.lang.String title, java.lang.String description,
900                    java.lang.String content, java.lang.String type,
901                    java.lang.String structureId, java.lang.String templateId,
902                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
903                    java.util.Date reviewDate, boolean andOperator)
904                    throws com.liferay.portal.kernel.exception.SystemException {
905                    return _journalArticleLocalService.searchCount(companyId, groupId,
906                            articleId, version, title, description, content, type, structureId,
907                            templateId, displayDateGT, displayDateLT, status, reviewDate,
908                            andOperator);
909            }
910    
911            public int searchCount(long companyId, long groupId,
912                    java.lang.String articleId, java.lang.Double version,
913                    java.lang.String title, java.lang.String description,
914                    java.lang.String content, java.lang.String type,
915                    java.lang.String[] structureIds, java.lang.String[] templateIds,
916                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
917                    java.util.Date reviewDate, boolean andOperator)
918                    throws com.liferay.portal.kernel.exception.SystemException {
919                    return _journalArticleLocalService.searchCount(companyId, groupId,
920                            articleId, version, title, description, content, type,
921                            structureIds, templateIds, displayDateGT, displayDateLT, status,
922                            reviewDate, andOperator);
923            }
924    
925            public void subscribe(long userId, long groupId)
926                    throws com.liferay.portal.kernel.exception.PortalException,
927                            com.liferay.portal.kernel.exception.SystemException {
928                    _journalArticleLocalService.subscribe(userId, groupId);
929            }
930    
931            public void unsubscribe(long userId, long groupId)
932                    throws com.liferay.portal.kernel.exception.PortalException,
933                            com.liferay.portal.kernel.exception.SystemException {
934                    _journalArticleLocalService.unsubscribe(userId, groupId);
935            }
936    
937            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
938                    long userId, long groupId, java.lang.String articleId, double version,
939                    java.lang.String content)
940                    throws com.liferay.portal.kernel.exception.PortalException,
941                            com.liferay.portal.kernel.exception.SystemException {
942                    return _journalArticleLocalService.updateArticle(userId, groupId,
943                            articleId, version, content);
944            }
945    
946            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
947                    long userId, long groupId, java.lang.String articleId, double version,
948                    java.lang.String title, java.lang.String description,
949                    java.lang.String content, java.lang.String type,
950                    java.lang.String structureId, java.lang.String templateId,
951                    int displayDateMonth, int displayDateDay, int displayDateYear,
952                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
953                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
954                    int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
955                    int reviewDateDay, int reviewDateYear, int reviewDateHour,
956                    int reviewDateMinute, boolean neverReview, boolean indexable,
957                    boolean smallImage, java.lang.String smallImageURL,
958                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
959                    java.lang.String articleURL,
960                    com.liferay.portal.service.ServiceContext serviceContext)
961                    throws com.liferay.portal.kernel.exception.PortalException,
962                            com.liferay.portal.kernel.exception.SystemException {
963                    return _journalArticleLocalService.updateArticle(userId, groupId,
964                            articleId, version, title, description, content, type, structureId,
965                            templateId, displayDateMonth, displayDateDay, displayDateYear,
966                            displayDateHour, displayDateMinute, expirationDateMonth,
967                            expirationDateDay, expirationDateYear, expirationDateHour,
968                            expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
969                            reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
970                            indexable, smallImage, smallImageURL, smallFile, images,
971                            articleURL, serviceContext);
972            }
973    
974            public void updateAsset(long userId,
975                    com.liferay.portlet.journal.model.JournalArticle article,
976                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
977                    throws com.liferay.portal.kernel.exception.PortalException,
978                            com.liferay.portal.kernel.exception.SystemException {
979                    _journalArticleLocalService.updateAsset(userId, article,
980                            assetCategoryIds, assetTagNames);
981            }
982    
983            public com.liferay.portlet.journal.model.JournalArticle updateContent(
984                    long groupId, java.lang.String articleId, double version,
985                    java.lang.String content)
986                    throws com.liferay.portal.kernel.exception.PortalException,
987                            com.liferay.portal.kernel.exception.SystemException {
988                    return _journalArticleLocalService.updateContent(groupId, articleId,
989                            version, content);
990            }
991    
992            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
993                    long userId, com.liferay.portlet.journal.model.JournalArticle article,
994                    int status, java.lang.String articleURL,
995                    com.liferay.portal.service.ServiceContext serviceContext)
996                    throws com.liferay.portal.kernel.exception.PortalException,
997                            com.liferay.portal.kernel.exception.SystemException {
998                    return _journalArticleLocalService.updateStatus(userId, article,
999                            status, articleURL, serviceContext);
1000            }
1001    
1002            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1003                    long userId, long classPK, int status,
1004                    com.liferay.portal.service.ServiceContext serviceContext)
1005                    throws com.liferay.portal.kernel.exception.PortalException,
1006                            com.liferay.portal.kernel.exception.SystemException {
1007                    return _journalArticleLocalService.updateStatus(userId, classPK,
1008                            status, serviceContext);
1009            }
1010    
1011            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
1012                    long userId, long groupId, java.lang.String articleId, double version,
1013                    int status, java.lang.String articleURL,
1014                    com.liferay.portal.service.ServiceContext serviceContext)
1015                    throws com.liferay.portal.kernel.exception.PortalException,
1016                            com.liferay.portal.kernel.exception.SystemException {
1017                    return _journalArticleLocalService.updateStatus(userId, groupId,
1018                            articleId, version, status, articleURL, serviceContext);
1019            }
1020    
1021            public JournalArticleLocalService getWrappedJournalArticleLocalService() {
1022                    return _journalArticleLocalService;
1023            }
1024    
1025            public void setWrappedJournalArticleLocalService(
1026                    JournalArticleLocalService journalArticleLocalService) {
1027                    _journalArticleLocalService = journalArticleLocalService;
1028            }
1029    
1030            private JournalArticleLocalService _journalArticleLocalService;
1031    }