001    /**
002     * Copyright (c) 2000-2012 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.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.util.ReferenceRegistry;
019    
020    /**
021     * The utility for the journal article remote service. This utility wraps {@link com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl} and is the primary access point for service operations in application layer code running on a remote server.
022     *
023     * <p>
024     * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
025     * </p>
026     *
027     * @author Brian Wing Shun Chan
028     * @see JournalArticleService
029     * @see com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl
030     * @see com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl
031     * @generated
032     */
033    public class JournalArticleServiceUtil {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl} and rerun ServiceBuilder to regenerate this class.
038             */
039    
040            /**
041            * Returns the Spring bean ID for this bean.
042            *
043            * @return the Spring bean ID for this bean
044            */
045            public static java.lang.String getBeanIdentifier() {
046                    return getService().getBeanIdentifier();
047            }
048    
049            /**
050            * Sets the Spring bean ID for this bean.
051            *
052            * @param beanIdentifier the Spring bean ID for this bean
053            */
054            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055                    getService().setBeanIdentifier(beanIdentifier);
056            }
057    
058            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
059                    long groupId, long folderId, long classNameId, long classPK,
060                    java.lang.String articleId, boolean autoArticleId,
061                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
062                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
063                    java.lang.String content, java.lang.String type,
064                    java.lang.String structureId, java.lang.String templateId,
065                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
066                    int displayDateYear, int displayDateHour, int displayDateMinute,
067                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
068                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
069                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
070                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
071                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
072                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
073                    java.lang.String articleURL,
074                    com.liferay.portal.service.ServiceContext serviceContext)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return getService()
078                                       .addArticle(groupId, folderId, classNameId, classPK,
079                            articleId, autoArticleId, titleMap, descriptionMap, content, type,
080                            structureId, templateId, layoutUuid, displayDateMonth,
081                            displayDateDay, displayDateYear, displayDateHour,
082                            displayDateMinute, expirationDateMonth, expirationDateDay,
083                            expirationDateYear, expirationDateHour, expirationDateMinute,
084                            neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
085                            reviewDateHour, reviewDateMinute, neverReview, indexable,
086                            smallImage, smallImageURL, smallFile, images, articleURL,
087                            serviceContext);
088            }
089    
090            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
091                    long groupId, long folderId, long classNameId, long classPK,
092                    java.lang.String articleId, boolean autoArticleId,
093                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
094                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
095                    java.lang.String content, java.lang.String type,
096                    java.lang.String structureId, java.lang.String templateId,
097                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
098                    int displayDateYear, int displayDateHour, int displayDateMinute,
099                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
100                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
101                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
102                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
103                    boolean indexable, java.lang.String articleURL,
104                    com.liferay.portal.service.ServiceContext serviceContext)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    return getService()
108                                       .addArticle(groupId, folderId, classNameId, classPK,
109                            articleId, autoArticleId, titleMap, descriptionMap, content, type,
110                            structureId, templateId, layoutUuid, displayDateMonth,
111                            displayDateDay, displayDateYear, displayDateHour,
112                            displayDateMinute, expirationDateMonth, expirationDateDay,
113                            expirationDateYear, expirationDateHour, expirationDateMinute,
114                            neverExpire, reviewDateMonth, reviewDateDay, reviewDateYear,
115                            reviewDateHour, reviewDateMinute, neverReview, indexable,
116                            articleURL, serviceContext);
117            }
118    
119            public static com.liferay.portlet.journal.model.JournalArticle copyArticle(
120                    long groupId, java.lang.String oldArticleId,
121                    java.lang.String newArticleId, boolean autoArticleId, double version)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException {
124                    return getService()
125                                       .copyArticle(groupId, oldArticleId, newArticleId,
126                            autoArticleId, version);
127            }
128    
129            public static void deleteArticle(long groupId, java.lang.String articleId,
130                    double version, java.lang.String articleURL,
131                    com.liferay.portal.service.ServiceContext serviceContext)
132                    throws com.liferay.portal.kernel.exception.PortalException,
133                            com.liferay.portal.kernel.exception.SystemException {
134                    getService()
135                            .deleteArticle(groupId, articleId, version, articleURL,
136                            serviceContext);
137            }
138    
139            public static void deleteArticle(long groupId, java.lang.String articleId,
140                    java.lang.String articleURL,
141                    com.liferay.portal.service.ServiceContext serviceContext)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    getService()
145                            .deleteArticle(groupId, articleId, articleURL, serviceContext);
146            }
147    
148            public static com.liferay.portlet.journal.model.JournalArticle expireArticle(
149                    long groupId, java.lang.String articleId, double version,
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                    return getService()
155                                       .expireArticle(groupId, articleId, version, articleURL,
156                            serviceContext);
157            }
158    
159            public static void expireArticle(long groupId, java.lang.String articleId,
160                    java.lang.String articleURL,
161                    com.liferay.portal.service.ServiceContext serviceContext)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    getService()
165                            .expireArticle(groupId, articleId, articleURL, serviceContext);
166            }
167    
168            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
169                    long id)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    return getService().getArticle(id);
173            }
174    
175            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
176                    long groupId, java.lang.String articleId)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    return getService().getArticle(groupId, articleId);
180            }
181    
182            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
183                    long groupId, java.lang.String articleId, double version)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    return getService().getArticle(groupId, articleId, version);
187            }
188    
189            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
190                    long groupId, java.lang.String className, long classPK)
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException {
193                    return getService().getArticle(groupId, className, classPK);
194            }
195    
196            public static com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
197                    long groupId, java.lang.String urlTitle)
198                    throws com.liferay.portal.kernel.exception.PortalException,
199                            com.liferay.portal.kernel.exception.SystemException {
200                    return getService().getArticleByUrlTitle(groupId, urlTitle);
201            }
202    
203            public static java.lang.String getArticleContent(long groupId,
204                    java.lang.String articleId, double version,
205                    java.lang.String languageId,
206                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException {
209                    return getService()
210                                       .getArticleContent(groupId, articleId, version, languageId,
211                            themeDisplay);
212            }
213    
214            public static java.lang.String getArticleContent(long groupId,
215                    java.lang.String articleId, java.lang.String languageId,
216                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
217                    throws com.liferay.portal.kernel.exception.PortalException,
218                            com.liferay.portal.kernel.exception.SystemException {
219                    return getService()
220                                       .getArticleContent(groupId, articleId, languageId,
221                            themeDisplay);
222            }
223    
224            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
225                    long groupId, long folderId)
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return getService().getArticles(groupId, folderId);
228            }
229    
230            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
231                    long groupId, long folderId, int start, int end,
232                    com.liferay.portal.kernel.util.OrderByComparator obc)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return getService().getArticles(groupId, folderId, start, end, obc);
235            }
236    
237            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByArticleId(
238                    long groupId, java.lang.String articleId, int start, int end,
239                    com.liferay.portal.kernel.util.OrderByComparator obc)
240                    throws com.liferay.portal.kernel.exception.SystemException {
241                    return getService()
242                                       .getArticlesByArticleId(groupId, articleId, start, end, obc);
243            }
244    
245            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByLayoutUuid(
246                    long groupId, java.lang.String layoutUuid)
247                    throws com.liferay.portal.kernel.exception.SystemException {
248                    return getService().getArticlesByLayoutUuid(groupId, layoutUuid);
249            }
250    
251            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByStructureId(
252                    long groupId, java.lang.String structureId, int start, int end,
253                    com.liferay.portal.kernel.util.OrderByComparator obc)
254                    throws com.liferay.portal.kernel.exception.SystemException {
255                    return getService()
256                                       .getArticlesByStructureId(groupId, structureId, start, end,
257                            obc);
258            }
259    
260            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByUserId(
261                    long groupId, long userId, long classNameId, int start, int end,
262                    com.liferay.portal.kernel.util.OrderByComparator obc)
263                    throws com.liferay.portal.kernel.exception.SystemException {
264                    return getService()
265                                       .getArticlesByUserId(groupId, userId, classNameId, start,
266                            end, obc);
267            }
268    
269            public static int getArticlesCount(long groupId, long folderId)
270                    throws com.liferay.portal.kernel.exception.SystemException {
271                    return getService().getArticlesCount(groupId, folderId);
272            }
273    
274            public static int getArticlesCountByArticleId(long groupId,
275                    java.lang.String articleId)
276                    throws com.liferay.portal.kernel.exception.SystemException {
277                    return getService().getArticlesCountByArticleId(groupId, articleId);
278            }
279    
280            public static int getArticlesCountByStructureId(long groupId,
281                    java.lang.String structureId)
282                    throws com.liferay.portal.kernel.exception.SystemException {
283                    return getService().getArticlesCountByStructureId(groupId, structureId);
284            }
285    
286            public static int getArticlesCountByUserId(long groupId, long userId,
287                    long classNameId)
288                    throws com.liferay.portal.kernel.exception.SystemException {
289                    return getService()
290                                       .getArticlesCountByUserId(groupId, userId, classNameId);
291            }
292    
293            public static com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
294                    long groupId, java.lang.String urlTitle)
295                    throws com.liferay.portal.kernel.exception.PortalException,
296                            com.liferay.portal.kernel.exception.SystemException {
297                    return getService().getDisplayArticleByUrlTitle(groupId, urlTitle);
298            }
299    
300            public static int getFoldersAndArticlesCount(long groupId,
301                    java.util.List<java.lang.Long> folderIds)
302                    throws com.liferay.portal.kernel.exception.SystemException {
303                    return getService().getFoldersAndArticlesCount(groupId, folderIds);
304            }
305    
306            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
307                    long resourcePrimKey)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    return getService().getLatestArticle(resourcePrimKey);
311            }
312    
313            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
314                    long groupId, java.lang.String articleId, int status)
315                    throws com.liferay.portal.kernel.exception.PortalException,
316                            com.liferay.portal.kernel.exception.SystemException {
317                    return getService().getLatestArticle(groupId, articleId, status);
318            }
319    
320            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
321                    long groupId, java.lang.String className, long classPK)
322                    throws com.liferay.portal.kernel.exception.PortalException,
323                            com.liferay.portal.kernel.exception.SystemException {
324                    return getService().getLatestArticle(groupId, className, classPK);
325            }
326    
327            public static void moveArticle(long groupId, java.lang.String articleId,
328                    long newFolderId)
329                    throws com.liferay.portal.kernel.exception.PortalException,
330                            com.liferay.portal.kernel.exception.SystemException {
331                    getService().moveArticle(groupId, articleId, newFolderId);
332            }
333    
334            public static void removeArticleLocale(long companyId,
335                    java.lang.String languageId)
336                    throws com.liferay.portal.kernel.exception.PortalException,
337                            com.liferay.portal.kernel.exception.SystemException {
338                    getService().removeArticleLocale(companyId, languageId);
339            }
340    
341            public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
342                    long groupId, java.lang.String articleId, double version,
343                    java.lang.String languageId)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    return getService()
347                                       .removeArticleLocale(groupId, articleId, version, languageId);
348            }
349    
350            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
351                    long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
352                    long classNameId, java.lang.String keywords, java.lang.Double version,
353                    java.lang.String type, java.lang.String structureId,
354                    java.lang.String templateId, java.util.Date displayDateGT,
355                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
356                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
357                    throws com.liferay.portal.kernel.exception.SystemException {
358                    return getService()
359                                       .search(companyId, groupId, folderIds, classNameId,
360                            keywords, version, type, structureId, templateId, displayDateGT,
361                            displayDateLT, status, reviewDate, start, end, obc);
362            }
363    
364            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
365                    long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
366                    long classNameId, java.lang.String articleId, java.lang.Double version,
367                    java.lang.String title, java.lang.String description,
368                    java.lang.String content, java.lang.String type,
369                    java.lang.String structureId, java.lang.String templateId,
370                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
371                    java.util.Date reviewDate, boolean andOperator, int start, int end,
372                    com.liferay.portal.kernel.util.OrderByComparator obc)
373                    throws com.liferay.portal.kernel.exception.SystemException {
374                    return getService()
375                                       .search(companyId, groupId, folderIds, classNameId,
376                            articleId, version, title, description, content, type, structureId,
377                            templateId, displayDateGT, displayDateLT, status, reviewDate,
378                            andOperator, start, end, obc);
379            }
380    
381            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
382                    long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
383                    long classNameId, java.lang.String articleId, java.lang.Double version,
384                    java.lang.String title, java.lang.String description,
385                    java.lang.String content, java.lang.String type,
386                    java.lang.String[] structureIds, java.lang.String[] templateIds,
387                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
388                    java.util.Date reviewDate, boolean andOperator, int start, int end,
389                    com.liferay.portal.kernel.util.OrderByComparator obc)
390                    throws com.liferay.portal.kernel.exception.SystemException {
391                    return getService()
392                                       .search(companyId, groupId, folderIds, classNameId,
393                            articleId, version, title, description, content, type,
394                            structureIds, templateIds, displayDateGT, displayDateLT, status,
395                            reviewDate, andOperator, start, end, obc);
396            }
397    
398            public static int searchCount(long companyId, long groupId,
399                    java.util.List<java.lang.Long> folderIds, long classNameId,
400                    java.lang.String keywords, java.lang.Double version,
401                    java.lang.String type, java.lang.String structureId,
402                    java.lang.String templateId, java.util.Date displayDateGT,
403                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return getService()
406                                       .searchCount(companyId, groupId, folderIds, classNameId,
407                            keywords, version, type, structureId, templateId, displayDateGT,
408                            displayDateLT, status, reviewDate);
409            }
410    
411            public static int searchCount(long companyId, long groupId,
412                    java.util.List<java.lang.Long> folderIds, long classNameId,
413                    java.lang.String articleId, java.lang.Double version,
414                    java.lang.String title, java.lang.String description,
415                    java.lang.String content, java.lang.String type,
416                    java.lang.String structureId, java.lang.String templateId,
417                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
418                    java.util.Date reviewDate, boolean andOperator)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return getService()
421                                       .searchCount(companyId, groupId, folderIds, classNameId,
422                            articleId, version, title, description, content, type, structureId,
423                            templateId, displayDateGT, displayDateLT, status, reviewDate,
424                            andOperator);
425            }
426    
427            public static int searchCount(long companyId, long groupId,
428                    java.util.List<java.lang.Long> folderIds, long classNameId,
429                    java.lang.String articleId, java.lang.Double version,
430                    java.lang.String title, java.lang.String description,
431                    java.lang.String content, java.lang.String type,
432                    java.lang.String[] structureIds, java.lang.String[] templateIds,
433                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
434                    java.util.Date reviewDate, boolean andOperator)
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    return getService()
437                                       .searchCount(companyId, groupId, folderIds, classNameId,
438                            articleId, version, title, description, content, type,
439                            structureIds, templateIds, displayDateGT, displayDateLT, status,
440                            reviewDate, andOperator);
441            }
442    
443            public static void subscribe(long groupId)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException {
446                    getService().subscribe(groupId);
447            }
448    
449            public static void unsubscribe(long groupId)
450                    throws com.liferay.portal.kernel.exception.PortalException,
451                            com.liferay.portal.kernel.exception.SystemException {
452                    getService().unsubscribe(groupId);
453            }
454    
455            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
456                    long userId, long groupId, long folderId, java.lang.String articleId,
457                    double version,
458                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
459                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
460                    java.lang.String content, java.lang.String layoutUuid,
461                    com.liferay.portal.service.ServiceContext serviceContext)
462                    throws com.liferay.portal.kernel.exception.PortalException,
463                            com.liferay.portal.kernel.exception.SystemException {
464                    return getService()
465                                       .updateArticle(userId, groupId, folderId, articleId,
466                            version, titleMap, descriptionMap, content, layoutUuid,
467                            serviceContext);
468            }
469    
470            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
471                    long groupId, long folderId, java.lang.String articleId,
472                    double version,
473                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
474                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
475                    java.lang.String content, java.lang.String type,
476                    java.lang.String structureId, java.lang.String templateId,
477                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
478                    int displayDateYear, int displayDateHour, int displayDateMinute,
479                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
480                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
481                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
482                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
483                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
484                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
485                    java.lang.String articleURL,
486                    com.liferay.portal.service.ServiceContext serviceContext)
487                    throws com.liferay.portal.kernel.exception.PortalException,
488                            com.liferay.portal.kernel.exception.SystemException {
489                    return getService()
490                                       .updateArticle(groupId, folderId, articleId, version,
491                            titleMap, descriptionMap, content, type, structureId, templateId,
492                            layoutUuid, displayDateMonth, displayDateDay, displayDateYear,
493                            displayDateHour, displayDateMinute, expirationDateMonth,
494                            expirationDateDay, expirationDateYear, expirationDateHour,
495                            expirationDateMinute, neverExpire, reviewDateMonth, reviewDateDay,
496                            reviewDateYear, reviewDateHour, reviewDateMinute, neverReview,
497                            indexable, smallImage, smallImageURL, smallFile, images,
498                            articleURL, serviceContext);
499            }
500    
501            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
502                    long groupId, long folderId, java.lang.String articleId,
503                    double version, java.lang.String content,
504                    com.liferay.portal.service.ServiceContext serviceContext)
505                    throws com.liferay.portal.kernel.exception.PortalException,
506                            com.liferay.portal.kernel.exception.SystemException {
507                    return getService()
508                                       .updateArticle(groupId, folderId, articleId, version,
509                            content, serviceContext);
510            }
511    
512            /**
513            * @deprecated {@link #updateArticleTranslation(long, String, double,
514            Locale, String, String, String, Map, ServiceContext)}
515            */
516            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
517                    long groupId, java.lang.String articleId, double version,
518                    java.util.Locale locale, java.lang.String title,
519                    java.lang.String description, java.lang.String content,
520                    java.util.Map<java.lang.String, byte[]> images)
521                    throws com.liferay.portal.kernel.exception.PortalException,
522                            com.liferay.portal.kernel.exception.SystemException {
523                    return getService()
524                                       .updateArticleTranslation(groupId, articleId, version,
525                            locale, title, description, content, images);
526            }
527    
528            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
529                    long groupId, java.lang.String articleId, double version,
530                    java.util.Locale locale, java.lang.String title,
531                    java.lang.String description, java.lang.String content,
532                    java.util.Map<java.lang.String, byte[]> images,
533                    com.liferay.portal.service.ServiceContext serviceContext)
534                    throws com.liferay.portal.kernel.exception.PortalException,
535                            com.liferay.portal.kernel.exception.SystemException {
536                    return getService()
537                                       .updateArticleTranslation(groupId, articleId, version,
538                            locale, title, description, content, images, serviceContext);
539            }
540    
541            public static com.liferay.portlet.journal.model.JournalArticle updateContent(
542                    long groupId, java.lang.String articleId, double version,
543                    java.lang.String content)
544                    throws com.liferay.portal.kernel.exception.PortalException,
545                            com.liferay.portal.kernel.exception.SystemException {
546                    return getService().updateContent(groupId, articleId, version, content);
547            }
548    
549            public static com.liferay.portlet.journal.model.JournalArticle updateStatus(
550                    long groupId, java.lang.String articleId, double version, int status,
551                    java.lang.String articleURL,
552                    com.liferay.portal.service.ServiceContext serviceContext)
553                    throws com.liferay.portal.kernel.exception.PortalException,
554                            com.liferay.portal.kernel.exception.SystemException {
555                    return getService()
556                                       .updateStatus(groupId, articleId, version, status,
557                            articleURL, serviceContext);
558            }
559    
560            public static JournalArticleService getService() {
561                    if (_service == null) {
562                            _service = (JournalArticleService)PortalBeanLocatorUtil.locate(JournalArticleService.class.getName());
563    
564                            ReferenceRegistry.registerReference(JournalArticleServiceUtil.class,
565                                    "_service");
566                    }
567    
568                    return _service;
569            }
570    
571            /**
572             * @deprecated
573             */
574            public void setService(JournalArticleService service) {
575            }
576    
577            private static JournalArticleService _service;
578    }