001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.http;
016    
017    import com.liferay.portal.kernel.log.Log;
018    import com.liferay.portal.kernel.log.LogFactoryUtil;
019    import com.liferay.portal.kernel.util.MethodHandler;
020    import com.liferay.portal.kernel.util.MethodKey;
021    import com.liferay.portal.security.auth.HttpPrincipal;
022    import com.liferay.portal.service.http.TunnelUtil;
023    
024    import com.liferay.portlet.journal.service.JournalArticleServiceUtil;
025    
026    /**
027     * Provides the HTTP utility for the
028     * {@link com.liferay.portlet.journal.service.JournalArticleServiceUtil} service utility. The
029     * static methods of this class calls the same methods of the service utility.
030     * However, the signatures are different because it requires an additional
031     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
032     *
033     * <p>
034     * The benefits of using the HTTP utility is that it is fast and allows for
035     * tunneling without the cost of serializing to text. The drawback is that it
036     * only works with Java.
037     * </p>
038     *
039     * <p>
040     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
041     * configure security.
042     * </p>
043     *
044     * <p>
045     * The HTTP utility is only generated for remote services.
046     * </p>
047     *
048     * @author Brian Wing Shun Chan
049     * @see JournalArticleServiceSoap
050     * @see com.liferay.portal.security.auth.HttpPrincipal
051     * @see com.liferay.portlet.journal.service.JournalArticleServiceUtil
052     * @generated
053     */
054    public class JournalArticleServiceHttp {
055            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
056                    HttpPrincipal httpPrincipal, long groupId, long folderId,
057                    long classNameId, long classPK, java.lang.String articleId,
058                    boolean autoArticleId,
059                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
060                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
061                    java.lang.String content, java.lang.String type,
062                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
063                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
064                    int displayDateYear, int displayDateHour, int displayDateMinute,
065                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
066                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
067                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
068                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
069                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
070                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
071                    java.lang.String articleURL,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    try {
076                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
077                                            "addArticle", _addArticleParameterTypes0);
078    
079                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
080                                            folderId, classNameId, classPK, articleId, autoArticleId,
081                                            titleMap, descriptionMap, content, type, ddmStructureKey,
082                                            ddmTemplateKey, layoutUuid, displayDateMonth,
083                                            displayDateDay, displayDateYear, displayDateHour,
084                                            displayDateMinute, expirationDateMonth, expirationDateDay,
085                                            expirationDateYear, expirationDateHour,
086                                            expirationDateMinute, neverExpire, reviewDateMonth,
087                                            reviewDateDay, reviewDateYear, reviewDateHour,
088                                            reviewDateMinute, neverReview, indexable, smallImage,
089                                            smallImageURL, smallFile, images, articleURL, serviceContext);
090    
091                            Object returnObj = null;
092    
093                            try {
094                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
095                            }
096                            catch (Exception e) {
097                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
098                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
099                                    }
100    
101                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
102                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
103                                    }
104    
105                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
106                            }
107    
108                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
109                    }
110                    catch (com.liferay.portal.kernel.exception.SystemException se) {
111                            _log.error(se, se);
112    
113                            throw se;
114                    }
115            }
116    
117            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
118                    HttpPrincipal httpPrincipal, long groupId, long folderId,
119                    long classNameId, long classPK, java.lang.String articleId,
120                    boolean autoArticleId,
121                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
122                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
123                    java.lang.String content, java.lang.String type,
124                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
125                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
126                    int displayDateYear, int displayDateHour, int displayDateMinute,
127                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
128                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
129                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
130                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
131                    boolean indexable, java.lang.String articleURL,
132                    com.liferay.portal.service.ServiceContext serviceContext)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    try {
136                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
137                                            "addArticle", _addArticleParameterTypes1);
138    
139                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
140                                            folderId, classNameId, classPK, articleId, autoArticleId,
141                                            titleMap, descriptionMap, content, type, ddmStructureKey,
142                                            ddmTemplateKey, layoutUuid, displayDateMonth,
143                                            displayDateDay, displayDateYear, displayDateHour,
144                                            displayDateMinute, expirationDateMonth, expirationDateDay,
145                                            expirationDateYear, expirationDateHour,
146                                            expirationDateMinute, neverExpire, reviewDateMonth,
147                                            reviewDateDay, reviewDateYear, reviewDateHour,
148                                            reviewDateMinute, neverReview, indexable, articleURL,
149                                            serviceContext);
150    
151                            Object returnObj = null;
152    
153                            try {
154                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
155                            }
156                            catch (Exception e) {
157                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
158                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
159                                    }
160    
161                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
162                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
163                                    }
164    
165                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
166                            }
167    
168                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
169                    }
170                    catch (com.liferay.portal.kernel.exception.SystemException se) {
171                            _log.error(se, se);
172    
173                            throw se;
174                    }
175            }
176    
177            public static com.liferay.portlet.journal.model.JournalArticle copyArticle(
178                    HttpPrincipal httpPrincipal, long groupId,
179                    java.lang.String oldArticleId, java.lang.String newArticleId,
180                    boolean autoArticleId, double version)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    try {
184                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
185                                            "copyArticle", _copyArticleParameterTypes2);
186    
187                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
188                                            oldArticleId, newArticleId, autoArticleId, version);
189    
190                            Object returnObj = null;
191    
192                            try {
193                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
194                            }
195                            catch (Exception e) {
196                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
197                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
198                                    }
199    
200                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
201                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
202                                    }
203    
204                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
205                            }
206    
207                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
208                    }
209                    catch (com.liferay.portal.kernel.exception.SystemException se) {
210                            _log.error(se, se);
211    
212                            throw se;
213                    }
214            }
215    
216            public static void deleteArticle(HttpPrincipal httpPrincipal, long groupId,
217                    java.lang.String articleId, double version,
218                    java.lang.String articleURL,
219                    com.liferay.portal.service.ServiceContext serviceContext)
220                    throws com.liferay.portal.kernel.exception.PortalException,
221                            com.liferay.portal.kernel.exception.SystemException {
222                    try {
223                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
224                                            "deleteArticle", _deleteArticleParameterTypes3);
225    
226                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
227                                            articleId, version, articleURL, serviceContext);
228    
229                            try {
230                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
231                            }
232                            catch (Exception e) {
233                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
234                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
235                                    }
236    
237                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
238                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
239                                    }
240    
241                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
242                            }
243                    }
244                    catch (com.liferay.portal.kernel.exception.SystemException se) {
245                            _log.error(se, se);
246    
247                            throw se;
248                    }
249            }
250    
251            public static void deleteArticle(HttpPrincipal httpPrincipal, long groupId,
252                    java.lang.String articleId, java.lang.String articleURL,
253                    com.liferay.portal.service.ServiceContext serviceContext)
254                    throws com.liferay.portal.kernel.exception.PortalException,
255                            com.liferay.portal.kernel.exception.SystemException {
256                    try {
257                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
258                                            "deleteArticle", _deleteArticleParameterTypes4);
259    
260                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
261                                            articleId, articleURL, serviceContext);
262    
263                            try {
264                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
265                            }
266                            catch (Exception e) {
267                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
268                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
269                                    }
270    
271                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
272                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
273                                    }
274    
275                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
276                            }
277                    }
278                    catch (com.liferay.portal.kernel.exception.SystemException se) {
279                            _log.error(se, se);
280    
281                            throw se;
282                    }
283            }
284    
285            public static com.liferay.portlet.journal.model.JournalArticle expireArticle(
286                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
287                    double version, java.lang.String articleURL,
288                    com.liferay.portal.service.ServiceContext serviceContext)
289                    throws com.liferay.portal.kernel.exception.PortalException,
290                            com.liferay.portal.kernel.exception.SystemException {
291                    try {
292                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
293                                            "expireArticle", _expireArticleParameterTypes5);
294    
295                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
296                                            articleId, version, articleURL, serviceContext);
297    
298                            Object returnObj = null;
299    
300                            try {
301                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
302                            }
303                            catch (Exception e) {
304                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
305                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
306                                    }
307    
308                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
309                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
310                                    }
311    
312                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
313                            }
314    
315                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
316                    }
317                    catch (com.liferay.portal.kernel.exception.SystemException se) {
318                            _log.error(se, se);
319    
320                            throw se;
321                    }
322            }
323    
324            public static void expireArticle(HttpPrincipal httpPrincipal, long groupId,
325                    java.lang.String articleId, java.lang.String articleURL,
326                    com.liferay.portal.service.ServiceContext serviceContext)
327                    throws com.liferay.portal.kernel.exception.PortalException,
328                            com.liferay.portal.kernel.exception.SystemException {
329                    try {
330                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
331                                            "expireArticle", _expireArticleParameterTypes6);
332    
333                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
334                                            articleId, articleURL, serviceContext);
335    
336                            try {
337                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
338                            }
339                            catch (Exception e) {
340                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
341                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
342                                    }
343    
344                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
345                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
346                                    }
347    
348                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
349                            }
350                    }
351                    catch (com.liferay.portal.kernel.exception.SystemException se) {
352                            _log.error(se, se);
353    
354                            throw se;
355                    }
356            }
357    
358            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
359                    HttpPrincipal httpPrincipal, long id)
360                    throws com.liferay.portal.kernel.exception.PortalException,
361                            com.liferay.portal.kernel.exception.SystemException {
362                    try {
363                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
364                                            "getArticle", _getArticleParameterTypes7);
365    
366                            MethodHandler methodHandler = new MethodHandler(methodKey, id);
367    
368                            Object returnObj = null;
369    
370                            try {
371                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
372                            }
373                            catch (Exception e) {
374                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
375                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
376                                    }
377    
378                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
379                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
380                                    }
381    
382                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
383                            }
384    
385                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
386                    }
387                    catch (com.liferay.portal.kernel.exception.SystemException se) {
388                            _log.error(se, se);
389    
390                            throw se;
391                    }
392            }
393    
394            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
395                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
396                    throws com.liferay.portal.kernel.exception.PortalException,
397                            com.liferay.portal.kernel.exception.SystemException {
398                    try {
399                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
400                                            "getArticle", _getArticleParameterTypes8);
401    
402                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
403                                            articleId);
404    
405                            Object returnObj = null;
406    
407                            try {
408                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
409                            }
410                            catch (Exception e) {
411                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
412                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
413                                    }
414    
415                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
416                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
417                                    }
418    
419                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
420                            }
421    
422                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
423                    }
424                    catch (com.liferay.portal.kernel.exception.SystemException se) {
425                            _log.error(se, se);
426    
427                            throw se;
428                    }
429            }
430    
431            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
432                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
433                    double version)
434                    throws com.liferay.portal.kernel.exception.PortalException,
435                            com.liferay.portal.kernel.exception.SystemException {
436                    try {
437                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
438                                            "getArticle", _getArticleParameterTypes9);
439    
440                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
441                                            articleId, version);
442    
443                            Object returnObj = null;
444    
445                            try {
446                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
447                            }
448                            catch (Exception e) {
449                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
450                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
451                                    }
452    
453                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
454                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
455                                    }
456    
457                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
458                            }
459    
460                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
461                    }
462                    catch (com.liferay.portal.kernel.exception.SystemException se) {
463                            _log.error(se, se);
464    
465                            throw se;
466                    }
467            }
468    
469            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
470                    HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
471                    long classPK)
472                    throws com.liferay.portal.kernel.exception.PortalException,
473                            com.liferay.portal.kernel.exception.SystemException {
474                    try {
475                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
476                                            "getArticle", _getArticleParameterTypes10);
477    
478                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
479                                            className, classPK);
480    
481                            Object returnObj = null;
482    
483                            try {
484                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
485                            }
486                            catch (Exception e) {
487                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
488                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
489                                    }
490    
491                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
492                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
493                                    }
494    
495                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
496                            }
497    
498                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
499                    }
500                    catch (com.liferay.portal.kernel.exception.SystemException se) {
501                            _log.error(se, se);
502    
503                            throw se;
504                    }
505            }
506    
507            public static com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
508                    HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
509                    throws com.liferay.portal.kernel.exception.PortalException,
510                            com.liferay.portal.kernel.exception.SystemException {
511                    try {
512                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
513                                            "getArticleByUrlTitle",
514                                            _getArticleByUrlTitleParameterTypes11);
515    
516                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
517                                            urlTitle);
518    
519                            Object returnObj = null;
520    
521                            try {
522                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
523                            }
524                            catch (Exception e) {
525                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
526                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
527                                    }
528    
529                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
530                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
531                                    }
532    
533                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
534                            }
535    
536                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
537                    }
538                    catch (com.liferay.portal.kernel.exception.SystemException se) {
539                            _log.error(se, se);
540    
541                            throw se;
542                    }
543            }
544    
545            public static java.lang.String getArticleContent(
546                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
547                    double version, java.lang.String languageId,
548                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
549                    throws com.liferay.portal.kernel.exception.PortalException,
550                            com.liferay.portal.kernel.exception.SystemException {
551                    try {
552                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
553                                            "getArticleContent", _getArticleContentParameterTypes12);
554    
555                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
556                                            articleId, version, languageId, themeDisplay);
557    
558                            Object returnObj = null;
559    
560                            try {
561                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
562                            }
563                            catch (Exception e) {
564                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
565                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
566                                    }
567    
568                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
569                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
570                                    }
571    
572                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
573                            }
574    
575                            return (java.lang.String)returnObj;
576                    }
577                    catch (com.liferay.portal.kernel.exception.SystemException se) {
578                            _log.error(se, se);
579    
580                            throw se;
581                    }
582            }
583    
584            public static java.lang.String getArticleContent(
585                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
586                    java.lang.String languageId,
587                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
588                    throws com.liferay.portal.kernel.exception.PortalException,
589                            com.liferay.portal.kernel.exception.SystemException {
590                    try {
591                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
592                                            "getArticleContent", _getArticleContentParameterTypes13);
593    
594                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
595                                            articleId, languageId, themeDisplay);
596    
597                            Object returnObj = null;
598    
599                            try {
600                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
601                            }
602                            catch (Exception e) {
603                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
604                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
605                                    }
606    
607                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
608                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
609                                    }
610    
611                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
612                            }
613    
614                            return (java.lang.String)returnObj;
615                    }
616                    catch (com.liferay.portal.kernel.exception.SystemException se) {
617                            _log.error(se, se);
618    
619                            throw se;
620                    }
621            }
622    
623            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
624                    HttpPrincipal httpPrincipal, long groupId, long folderId)
625                    throws com.liferay.portal.kernel.exception.SystemException {
626                    try {
627                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
628                                            "getArticles", _getArticlesParameterTypes14);
629    
630                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
631                                            folderId);
632    
633                            Object returnObj = null;
634    
635                            try {
636                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
637                            }
638                            catch (Exception e) {
639                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
640                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
641                                    }
642    
643                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
644                            }
645    
646                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
647                    }
648                    catch (com.liferay.portal.kernel.exception.SystemException se) {
649                            _log.error(se, se);
650    
651                            throw se;
652                    }
653            }
654    
655            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
656                    HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
657                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
658                    throws com.liferay.portal.kernel.exception.SystemException {
659                    try {
660                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
661                                            "getArticles", _getArticlesParameterTypes15);
662    
663                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
664                                            folderId, start, end, obc);
665    
666                            Object returnObj = null;
667    
668                            try {
669                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
670                            }
671                            catch (Exception e) {
672                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
673                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
674                                    }
675    
676                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
677                            }
678    
679                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
680                    }
681                    catch (com.liferay.portal.kernel.exception.SystemException se) {
682                            _log.error(se, se);
683    
684                            throw se;
685                    }
686            }
687    
688            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByArticleId(
689                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
690                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
691                    throws com.liferay.portal.kernel.exception.SystemException {
692                    try {
693                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
694                                            "getArticlesByArticleId",
695                                            _getArticlesByArticleIdParameterTypes16);
696    
697                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
698                                            articleId, start, end, obc);
699    
700                            Object returnObj = null;
701    
702                            try {
703                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
704                            }
705                            catch (Exception e) {
706                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
707                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
708                                    }
709    
710                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
711                            }
712    
713                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
714                    }
715                    catch (com.liferay.portal.kernel.exception.SystemException se) {
716                            _log.error(se, se);
717    
718                            throw se;
719                    }
720            }
721    
722            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByLayoutUuid(
723                    HttpPrincipal httpPrincipal, long groupId, java.lang.String layoutUuid)
724                    throws com.liferay.portal.kernel.exception.SystemException {
725                    try {
726                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
727                                            "getArticlesByLayoutUuid",
728                                            _getArticlesByLayoutUuidParameterTypes17);
729    
730                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
731                                            layoutUuid);
732    
733                            Object returnObj = null;
734    
735                            try {
736                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
737                            }
738                            catch (Exception e) {
739                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
740                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
741                                    }
742    
743                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
744                            }
745    
746                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
747                    }
748                    catch (com.liferay.portal.kernel.exception.SystemException se) {
749                            _log.error(se, se);
750    
751                            throw se;
752                    }
753            }
754    
755            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByStructureId(
756                    HttpPrincipal httpPrincipal, long groupId, long classNameId,
757                    java.lang.String ddmStructureKey, int status, int start, int end,
758                    com.liferay.portal.kernel.util.OrderByComparator obc)
759                    throws com.liferay.portal.kernel.exception.SystemException {
760                    try {
761                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
762                                            "getArticlesByStructureId",
763                                            _getArticlesByStructureIdParameterTypes18);
764    
765                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
766                                            classNameId, ddmStructureKey, status, start, end, obc);
767    
768                            Object returnObj = null;
769    
770                            try {
771                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
772                            }
773                            catch (Exception e) {
774                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
775                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
776                                    }
777    
778                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
779                            }
780    
781                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
782                    }
783                    catch (com.liferay.portal.kernel.exception.SystemException se) {
784                            _log.error(se, se);
785    
786                            throw se;
787                    }
788            }
789    
790            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByStructureId(
791                    HttpPrincipal httpPrincipal, long groupId,
792                    java.lang.String ddmStructureKey, int start, int end,
793                    com.liferay.portal.kernel.util.OrderByComparator obc)
794                    throws com.liferay.portal.kernel.exception.SystemException {
795                    try {
796                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
797                                            "getArticlesByStructureId",
798                                            _getArticlesByStructureIdParameterTypes19);
799    
800                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
801                                            ddmStructureKey, start, end, obc);
802    
803                            Object returnObj = null;
804    
805                            try {
806                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
807                            }
808                            catch (Exception e) {
809                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
810                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
811                                    }
812    
813                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
814                            }
815    
816                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
817                    }
818                    catch (com.liferay.portal.kernel.exception.SystemException se) {
819                            _log.error(se, se);
820    
821                            throw se;
822                    }
823            }
824    
825            public static int getArticlesCount(HttpPrincipal httpPrincipal,
826                    long groupId, long folderId)
827                    throws com.liferay.portal.kernel.exception.SystemException {
828                    try {
829                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
830                                            "getArticlesCount", _getArticlesCountParameterTypes20);
831    
832                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
833                                            folderId);
834    
835                            Object returnObj = null;
836    
837                            try {
838                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
839                            }
840                            catch (Exception e) {
841                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
842                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
843                                    }
844    
845                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
846                            }
847    
848                            return ((Integer)returnObj).intValue();
849                    }
850                    catch (com.liferay.portal.kernel.exception.SystemException se) {
851                            _log.error(se, se);
852    
853                            throw se;
854                    }
855            }
856    
857            public static int getArticlesCount(HttpPrincipal httpPrincipal,
858                    long groupId, long folderId, int status)
859                    throws com.liferay.portal.kernel.exception.SystemException {
860                    try {
861                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
862                                            "getArticlesCount", _getArticlesCountParameterTypes21);
863    
864                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
865                                            folderId, status);
866    
867                            Object returnObj = null;
868    
869                            try {
870                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
871                            }
872                            catch (Exception e) {
873                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
874                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
875                                    }
876    
877                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
878                            }
879    
880                            return ((Integer)returnObj).intValue();
881                    }
882                    catch (com.liferay.portal.kernel.exception.SystemException se) {
883                            _log.error(se, se);
884    
885                            throw se;
886                    }
887            }
888    
889            public static int getArticlesCountByArticleId(HttpPrincipal httpPrincipal,
890                    long groupId, java.lang.String articleId)
891                    throws com.liferay.portal.kernel.exception.SystemException {
892                    try {
893                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
894                                            "getArticlesCountByArticleId",
895                                            _getArticlesCountByArticleIdParameterTypes22);
896    
897                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
898                                            articleId);
899    
900                            Object returnObj = null;
901    
902                            try {
903                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
904                            }
905                            catch (Exception e) {
906                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
907                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
908                                    }
909    
910                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
911                            }
912    
913                            return ((Integer)returnObj).intValue();
914                    }
915                    catch (com.liferay.portal.kernel.exception.SystemException se) {
916                            _log.error(se, se);
917    
918                            throw se;
919                    }
920            }
921    
922            public static int getArticlesCountByStructureId(
923                    HttpPrincipal httpPrincipal, long groupId, long classNameId,
924                    java.lang.String ddmStructureKey, int status)
925                    throws com.liferay.portal.kernel.exception.SystemException {
926                    try {
927                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
928                                            "getArticlesCountByStructureId",
929                                            _getArticlesCountByStructureIdParameterTypes23);
930    
931                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
932                                            classNameId, ddmStructureKey, status);
933    
934                            Object returnObj = null;
935    
936                            try {
937                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
938                            }
939                            catch (Exception e) {
940                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
941                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
942                                    }
943    
944                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
945                            }
946    
947                            return ((Integer)returnObj).intValue();
948                    }
949                    catch (com.liferay.portal.kernel.exception.SystemException se) {
950                            _log.error(se, se);
951    
952                            throw se;
953                    }
954            }
955    
956            public static int getArticlesCountByStructureId(
957                    HttpPrincipal httpPrincipal, long groupId,
958                    java.lang.String ddmStructureKey)
959                    throws com.liferay.portal.kernel.exception.SystemException {
960                    try {
961                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
962                                            "getArticlesCountByStructureId",
963                                            _getArticlesCountByStructureIdParameterTypes24);
964    
965                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
966                                            ddmStructureKey);
967    
968                            Object returnObj = null;
969    
970                            try {
971                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
972                            }
973                            catch (Exception e) {
974                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
975                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
976                                    }
977    
978                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
979                            }
980    
981                            return ((Integer)returnObj).intValue();
982                    }
983                    catch (com.liferay.portal.kernel.exception.SystemException se) {
984                            _log.error(se, se);
985    
986                            throw se;
987                    }
988            }
989    
990            public static com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
991                    HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
992                    throws com.liferay.portal.kernel.exception.PortalException,
993                            com.liferay.portal.kernel.exception.SystemException {
994                    try {
995                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
996                                            "getDisplayArticleByUrlTitle",
997                                            _getDisplayArticleByUrlTitleParameterTypes25);
998    
999                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1000                                            urlTitle);
1001    
1002                            Object returnObj = null;
1003    
1004                            try {
1005                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1006                            }
1007                            catch (Exception e) {
1008                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1009                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1010                                    }
1011    
1012                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1013                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1014                                    }
1015    
1016                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1017                            }
1018    
1019                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1020                    }
1021                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1022                            _log.error(se, se);
1023    
1024                            throw se;
1025                    }
1026            }
1027    
1028            public static int getFoldersAndArticlesCount(HttpPrincipal httpPrincipal,
1029                    long groupId, java.util.List<java.lang.Long> folderIds)
1030                    throws com.liferay.portal.kernel.exception.SystemException {
1031                    try {
1032                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1033                                            "getFoldersAndArticlesCount",
1034                                            _getFoldersAndArticlesCountParameterTypes26);
1035    
1036                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1037                                            folderIds);
1038    
1039                            Object returnObj = null;
1040    
1041                            try {
1042                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1043                            }
1044                            catch (Exception e) {
1045                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1046                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1047                                    }
1048    
1049                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1050                            }
1051    
1052                            return ((Integer)returnObj).intValue();
1053                    }
1054                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1055                            _log.error(se, se);
1056    
1057                            throw se;
1058                    }
1059            }
1060    
1061            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getGroupArticles(
1062                    HttpPrincipal httpPrincipal, long groupId, long userId,
1063                    long rootFolderId, int start, int end,
1064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1065                    throws com.liferay.portal.kernel.exception.PortalException,
1066                            com.liferay.portal.kernel.exception.SystemException {
1067                    try {
1068                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1069                                            "getGroupArticles", _getGroupArticlesParameterTypes27);
1070    
1071                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1072                                            userId, rootFolderId, start, end, orderByComparator);
1073    
1074                            Object returnObj = null;
1075    
1076                            try {
1077                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1078                            }
1079                            catch (Exception e) {
1080                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1081                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1082                                    }
1083    
1084                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1085                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1086                                    }
1087    
1088                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1089                            }
1090    
1091                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1092                    }
1093                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1094                            _log.error(se, se);
1095    
1096                            throw se;
1097                    }
1098            }
1099    
1100            public static int getGroupArticlesCount(HttpPrincipal httpPrincipal,
1101                    long groupId, long userId, long rootFolderId)
1102                    throws com.liferay.portal.kernel.exception.PortalException,
1103                            com.liferay.portal.kernel.exception.SystemException {
1104                    try {
1105                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1106                                            "getGroupArticlesCount",
1107                                            _getGroupArticlesCountParameterTypes28);
1108    
1109                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1110                                            userId, rootFolderId);
1111    
1112                            Object returnObj = null;
1113    
1114                            try {
1115                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1116                            }
1117                            catch (Exception e) {
1118                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1119                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1120                                    }
1121    
1122                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1123                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1124                                    }
1125    
1126                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1127                            }
1128    
1129                            return ((Integer)returnObj).intValue();
1130                    }
1131                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1132                            _log.error(se, se);
1133    
1134                            throw se;
1135                    }
1136            }
1137    
1138            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1139                    HttpPrincipal httpPrincipal, long resourcePrimKey)
1140                    throws com.liferay.portal.kernel.exception.PortalException,
1141                            com.liferay.portal.kernel.exception.SystemException {
1142                    try {
1143                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1144                                            "getLatestArticle", _getLatestArticleParameterTypes29);
1145    
1146                            MethodHandler methodHandler = new MethodHandler(methodKey,
1147                                            resourcePrimKey);
1148    
1149                            Object returnObj = null;
1150    
1151                            try {
1152                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1153                            }
1154                            catch (Exception e) {
1155                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1156                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1157                                    }
1158    
1159                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1160                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1161                                    }
1162    
1163                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1164                            }
1165    
1166                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1167                    }
1168                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1169                            _log.error(se, se);
1170    
1171                            throw se;
1172                    }
1173            }
1174    
1175            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1176                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1177                    int status)
1178                    throws com.liferay.portal.kernel.exception.PortalException,
1179                            com.liferay.portal.kernel.exception.SystemException {
1180                    try {
1181                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1182                                            "getLatestArticle", _getLatestArticleParameterTypes30);
1183    
1184                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1185                                            articleId, status);
1186    
1187                            Object returnObj = null;
1188    
1189                            try {
1190                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1191                            }
1192                            catch (Exception e) {
1193                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1194                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1195                                    }
1196    
1197                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1198                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1199                                    }
1200    
1201                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1202                            }
1203    
1204                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1205                    }
1206                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1207                            _log.error(se, se);
1208    
1209                            throw se;
1210                    }
1211            }
1212    
1213            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1214                    HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
1215                    long classPK)
1216                    throws com.liferay.portal.kernel.exception.PortalException,
1217                            com.liferay.portal.kernel.exception.SystemException {
1218                    try {
1219                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1220                                            "getLatestArticle", _getLatestArticleParameterTypes31);
1221    
1222                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1223                                            className, classPK);
1224    
1225                            Object returnObj = null;
1226    
1227                            try {
1228                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1229                            }
1230                            catch (Exception e) {
1231                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1232                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1233                                    }
1234    
1235                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1236                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1237                                    }
1238    
1239                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1240                            }
1241    
1242                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1243                    }
1244                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1245                            _log.error(se, se);
1246    
1247                            throw se;
1248                    }
1249            }
1250    
1251            public static void moveArticle(HttpPrincipal httpPrincipal, long groupId,
1252                    java.lang.String articleId, long newFolderId)
1253                    throws com.liferay.portal.kernel.exception.PortalException,
1254                            com.liferay.portal.kernel.exception.SystemException {
1255                    try {
1256                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1257                                            "moveArticle", _moveArticleParameterTypes32);
1258    
1259                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1260                                            articleId, newFolderId);
1261    
1262                            try {
1263                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1264                            }
1265                            catch (Exception e) {
1266                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1267                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1268                                    }
1269    
1270                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1271                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1272                                    }
1273    
1274                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1275                            }
1276                    }
1277                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1278                            _log.error(se, se);
1279    
1280                            throw se;
1281                    }
1282            }
1283    
1284            public static com.liferay.portlet.journal.model.JournalArticle moveArticleFromTrash(
1285                    HttpPrincipal httpPrincipal, long groupId, long resourcePrimKey,
1286                    long newFolderId,
1287                    com.liferay.portal.service.ServiceContext serviceContext)
1288                    throws com.liferay.portal.kernel.exception.PortalException,
1289                            com.liferay.portal.kernel.exception.SystemException {
1290                    try {
1291                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1292                                            "moveArticleFromTrash",
1293                                            _moveArticleFromTrashParameterTypes33);
1294    
1295                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1296                                            resourcePrimKey, newFolderId, serviceContext);
1297    
1298                            Object returnObj = null;
1299    
1300                            try {
1301                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1302                            }
1303                            catch (Exception e) {
1304                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1305                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1306                                    }
1307    
1308                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1309                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1310                                    }
1311    
1312                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1313                            }
1314    
1315                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1316                    }
1317                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1318                            _log.error(se, se);
1319    
1320                            throw se;
1321                    }
1322            }
1323    
1324            public static com.liferay.portlet.journal.model.JournalArticle moveArticleFromTrash(
1325                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1326                    long newFolderId,
1327                    com.liferay.portal.service.ServiceContext serviceContext)
1328                    throws com.liferay.portal.kernel.exception.PortalException,
1329                            com.liferay.portal.kernel.exception.SystemException {
1330                    try {
1331                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1332                                            "moveArticleFromTrash",
1333                                            _moveArticleFromTrashParameterTypes34);
1334    
1335                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1336                                            articleId, newFolderId, serviceContext);
1337    
1338                            Object returnObj = null;
1339    
1340                            try {
1341                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1342                            }
1343                            catch (Exception e) {
1344                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1345                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1346                                    }
1347    
1348                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1349                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1350                                    }
1351    
1352                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1353                            }
1354    
1355                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1356                    }
1357                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1358                            _log.error(se, se);
1359    
1360                            throw se;
1361                    }
1362            }
1363    
1364            public static com.liferay.portlet.journal.model.JournalArticle moveArticleToTrash(
1365                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
1366                    throws com.liferay.portal.kernel.exception.PortalException,
1367                            com.liferay.portal.kernel.exception.SystemException {
1368                    try {
1369                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1370                                            "moveArticleToTrash", _moveArticleToTrashParameterTypes35);
1371    
1372                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1373                                            articleId);
1374    
1375                            Object returnObj = null;
1376    
1377                            try {
1378                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1379                            }
1380                            catch (Exception e) {
1381                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1382                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1383                                    }
1384    
1385                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1386                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1387                                    }
1388    
1389                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1390                            }
1391    
1392                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1393                    }
1394                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1395                            _log.error(se, se);
1396    
1397                            throw se;
1398                    }
1399            }
1400    
1401            public static void removeArticleLocale(HttpPrincipal httpPrincipal,
1402                    long companyId, java.lang.String languageId)
1403                    throws com.liferay.portal.kernel.exception.PortalException,
1404                            com.liferay.portal.kernel.exception.SystemException {
1405                    try {
1406                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1407                                            "removeArticleLocale", _removeArticleLocaleParameterTypes36);
1408    
1409                            MethodHandler methodHandler = new MethodHandler(methodKey,
1410                                            companyId, languageId);
1411    
1412                            try {
1413                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1414                            }
1415                            catch (Exception e) {
1416                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1417                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1418                                    }
1419    
1420                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1421                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1422                                    }
1423    
1424                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1425                            }
1426                    }
1427                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1428                            _log.error(se, se);
1429    
1430                            throw se;
1431                    }
1432            }
1433    
1434            public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
1435                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1436                    double version, java.lang.String languageId)
1437                    throws com.liferay.portal.kernel.exception.PortalException,
1438                            com.liferay.portal.kernel.exception.SystemException {
1439                    try {
1440                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1441                                            "removeArticleLocale", _removeArticleLocaleParameterTypes37);
1442    
1443                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1444                                            articleId, version, languageId);
1445    
1446                            Object returnObj = null;
1447    
1448                            try {
1449                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1450                            }
1451                            catch (Exception e) {
1452                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1453                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1454                                    }
1455    
1456                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1457                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1458                                    }
1459    
1460                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1461                            }
1462    
1463                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1464                    }
1465                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1466                            _log.error(se, se);
1467    
1468                            throw se;
1469                    }
1470            }
1471    
1472            public static void restoreArticleFromTrash(HttpPrincipal httpPrincipal,
1473                    long resourcePrimKey)
1474                    throws com.liferay.portal.kernel.exception.PortalException,
1475                            com.liferay.portal.kernel.exception.SystemException {
1476                    try {
1477                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1478                                            "restoreArticleFromTrash",
1479                                            _restoreArticleFromTrashParameterTypes38);
1480    
1481                            MethodHandler methodHandler = new MethodHandler(methodKey,
1482                                            resourcePrimKey);
1483    
1484                            try {
1485                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1486                            }
1487                            catch (Exception e) {
1488                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1489                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1490                                    }
1491    
1492                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1493                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1494                                    }
1495    
1496                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1497                            }
1498                    }
1499                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1500                            _log.error(se, se);
1501    
1502                            throw se;
1503                    }
1504            }
1505    
1506            public static void restoreArticleFromTrash(HttpPrincipal httpPrincipal,
1507                    long groupId, java.lang.String articleId)
1508                    throws com.liferay.portal.kernel.exception.PortalException,
1509                            com.liferay.portal.kernel.exception.SystemException {
1510                    try {
1511                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1512                                            "restoreArticleFromTrash",
1513                                            _restoreArticleFromTrashParameterTypes39);
1514    
1515                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1516                                            articleId);
1517    
1518                            try {
1519                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1520                            }
1521                            catch (Exception e) {
1522                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1523                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1524                                    }
1525    
1526                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1527                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1528                                    }
1529    
1530                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1531                            }
1532                    }
1533                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1534                            _log.error(se, se);
1535    
1536                            throw se;
1537                    }
1538            }
1539    
1540            public static com.liferay.portal.kernel.search.Hits search(
1541                    HttpPrincipal httpPrincipal, long groupId, long creatorUserId,
1542                    int status, int start, int end)
1543                    throws com.liferay.portal.kernel.exception.PortalException,
1544                            com.liferay.portal.kernel.exception.SystemException {
1545                    try {
1546                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1547                                            "search", _searchParameterTypes40);
1548    
1549                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1550                                            creatorUserId, status, start, end);
1551    
1552                            Object returnObj = null;
1553    
1554                            try {
1555                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1556                            }
1557                            catch (Exception e) {
1558                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1559                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1560                                    }
1561    
1562                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1563                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1564                                    }
1565    
1566                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1567                            }
1568    
1569                            return (com.liferay.portal.kernel.search.Hits)returnObj;
1570                    }
1571                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1572                            _log.error(se, se);
1573    
1574                            throw se;
1575                    }
1576            }
1577    
1578            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1579                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1580                    java.util.List<java.lang.Long> folderIds, long classNameId,
1581                    java.lang.String keywords, java.lang.Double version,
1582                    java.lang.String type, java.lang.String ddmStructureKey,
1583                    java.lang.String ddmTemplateKey, java.util.Date displayDateGT,
1584                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1585                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1586                    throws com.liferay.portal.kernel.exception.SystemException {
1587                    try {
1588                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1589                                            "search", _searchParameterTypes41);
1590    
1591                            MethodHandler methodHandler = new MethodHandler(methodKey,
1592                                            companyId, groupId, folderIds, classNameId, keywords,
1593                                            version, type, ddmStructureKey, ddmTemplateKey,
1594                                            displayDateGT, displayDateLT, status, reviewDate, start,
1595                                            end, obc);
1596    
1597                            Object returnObj = null;
1598    
1599                            try {
1600                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1601                            }
1602                            catch (Exception e) {
1603                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1604                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1605                                    }
1606    
1607                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1608                            }
1609    
1610                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1611                    }
1612                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1613                            _log.error(se, se);
1614    
1615                            throw se;
1616                    }
1617            }
1618    
1619            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1620                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1621                    java.util.List<java.lang.Long> folderIds, long classNameId,
1622                    java.lang.String articleId, java.lang.Double version,
1623                    java.lang.String title, java.lang.String description,
1624                    java.lang.String content, java.lang.String type,
1625                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1626                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1627                    java.util.Date reviewDate, boolean andOperator, int start, int end,
1628                    com.liferay.portal.kernel.util.OrderByComparator obc)
1629                    throws com.liferay.portal.kernel.exception.SystemException {
1630                    try {
1631                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1632                                            "search", _searchParameterTypes42);
1633    
1634                            MethodHandler methodHandler = new MethodHandler(methodKey,
1635                                            companyId, groupId, folderIds, classNameId, articleId,
1636                                            version, title, description, content, type,
1637                                            ddmStructureKey, ddmTemplateKey, displayDateGT,
1638                                            displayDateLT, status, reviewDate, andOperator, start, end,
1639                                            obc);
1640    
1641                            Object returnObj = null;
1642    
1643                            try {
1644                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1645                            }
1646                            catch (Exception e) {
1647                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1648                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1649                                    }
1650    
1651                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1652                            }
1653    
1654                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1655                    }
1656                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1657                            _log.error(se, se);
1658    
1659                            throw se;
1660                    }
1661            }
1662    
1663            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1664                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1665                    java.util.List<java.lang.Long> folderIds, long classNameId,
1666                    java.lang.String articleId, java.lang.Double version,
1667                    java.lang.String title, java.lang.String description,
1668                    java.lang.String content, java.lang.String type,
1669                    java.lang.String[] ddmStructureKeys,
1670                    java.lang.String[] ddmTemplateKeys, java.util.Date displayDateGT,
1671                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1672                    boolean andOperator, int start, int end,
1673                    com.liferay.portal.kernel.util.OrderByComparator obc)
1674                    throws com.liferay.portal.kernel.exception.SystemException {
1675                    try {
1676                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1677                                            "search", _searchParameterTypes43);
1678    
1679                            MethodHandler methodHandler = new MethodHandler(methodKey,
1680                                            companyId, groupId, folderIds, classNameId, articleId,
1681                                            version, title, description, content, type,
1682                                            ddmStructureKeys, ddmTemplateKeys, displayDateGT,
1683                                            displayDateLT, status, reviewDate, andOperator, start, end,
1684                                            obc);
1685    
1686                            Object returnObj = null;
1687    
1688                            try {
1689                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1690                            }
1691                            catch (Exception e) {
1692                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1693                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1694                                    }
1695    
1696                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1697                            }
1698    
1699                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1700                    }
1701                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1702                            _log.error(se, se);
1703    
1704                            throw se;
1705                    }
1706            }
1707    
1708            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1709                    long groupId, java.util.List<java.lang.Long> folderIds,
1710                    long classNameId, java.lang.String keywords, java.lang.Double version,
1711                    java.lang.String type, java.lang.String ddmStructureKey,
1712                    java.lang.String ddmTemplateKey, java.util.Date displayDateGT,
1713                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
1714                    throws com.liferay.portal.kernel.exception.SystemException {
1715                    try {
1716                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1717                                            "searchCount", _searchCountParameterTypes44);
1718    
1719                            MethodHandler methodHandler = new MethodHandler(methodKey,
1720                                            companyId, groupId, folderIds, classNameId, keywords,
1721                                            version, type, ddmStructureKey, ddmTemplateKey,
1722                                            displayDateGT, displayDateLT, status, reviewDate);
1723    
1724                            Object returnObj = null;
1725    
1726                            try {
1727                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1728                            }
1729                            catch (Exception e) {
1730                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1731                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1732                                    }
1733    
1734                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1735                            }
1736    
1737                            return ((Integer)returnObj).intValue();
1738                    }
1739                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1740                            _log.error(se, se);
1741    
1742                            throw se;
1743                    }
1744            }
1745    
1746            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1747                    long groupId, java.util.List<java.lang.Long> folderIds,
1748                    long classNameId, java.lang.String articleId, java.lang.Double version,
1749                    java.lang.String title, java.lang.String description,
1750                    java.lang.String content, java.lang.String type,
1751                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1752                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1753                    java.util.Date reviewDate, boolean andOperator)
1754                    throws com.liferay.portal.kernel.exception.SystemException {
1755                    try {
1756                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1757                                            "searchCount", _searchCountParameterTypes45);
1758    
1759                            MethodHandler methodHandler = new MethodHandler(methodKey,
1760                                            companyId, groupId, folderIds, classNameId, articleId,
1761                                            version, title, description, content, type,
1762                                            ddmStructureKey, ddmTemplateKey, displayDateGT,
1763                                            displayDateLT, status, reviewDate, andOperator);
1764    
1765                            Object returnObj = null;
1766    
1767                            try {
1768                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1769                            }
1770                            catch (Exception e) {
1771                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1772                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1773                                    }
1774    
1775                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1776                            }
1777    
1778                            return ((Integer)returnObj).intValue();
1779                    }
1780                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1781                            _log.error(se, se);
1782    
1783                            throw se;
1784                    }
1785            }
1786    
1787            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1788                    long groupId, java.util.List<java.lang.Long> folderIds,
1789                    long classNameId, java.lang.String articleId, java.lang.Double version,
1790                    java.lang.String title, java.lang.String description,
1791                    java.lang.String content, java.lang.String type,
1792                    java.lang.String[] ddmStructureKeys,
1793                    java.lang.String[] ddmTemplateKeys, java.util.Date displayDateGT,
1794                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1795                    boolean andOperator)
1796                    throws com.liferay.portal.kernel.exception.SystemException {
1797                    try {
1798                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1799                                            "searchCount", _searchCountParameterTypes46);
1800    
1801                            MethodHandler methodHandler = new MethodHandler(methodKey,
1802                                            companyId, groupId, folderIds, classNameId, articleId,
1803                                            version, title, description, content, type,
1804                                            ddmStructureKeys, ddmTemplateKeys, displayDateGT,
1805                                            displayDateLT, status, reviewDate, andOperator);
1806    
1807                            Object returnObj = null;
1808    
1809                            try {
1810                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1811                            }
1812                            catch (Exception e) {
1813                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1814                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1815                                    }
1816    
1817                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1818                            }
1819    
1820                            return ((Integer)returnObj).intValue();
1821                    }
1822                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1823                            _log.error(se, se);
1824    
1825                            throw se;
1826                    }
1827            }
1828    
1829            public static void subscribe(HttpPrincipal httpPrincipal, long groupId)
1830                    throws com.liferay.portal.kernel.exception.PortalException,
1831                            com.liferay.portal.kernel.exception.SystemException {
1832                    try {
1833                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1834                                            "subscribe", _subscribeParameterTypes47);
1835    
1836                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1837    
1838                            try {
1839                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1840                            }
1841                            catch (Exception e) {
1842                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1843                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1844                                    }
1845    
1846                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1847                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1848                                    }
1849    
1850                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1851                            }
1852                    }
1853                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1854                            _log.error(se, se);
1855    
1856                            throw se;
1857                    }
1858            }
1859    
1860            public static void unsubscribe(HttpPrincipal httpPrincipal, long groupId)
1861                    throws com.liferay.portal.kernel.exception.PortalException,
1862                            com.liferay.portal.kernel.exception.SystemException {
1863                    try {
1864                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1865                                            "unsubscribe", _unsubscribeParameterTypes48);
1866    
1867                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1868    
1869                            try {
1870                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1871                            }
1872                            catch (Exception e) {
1873                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1874                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1875                                    }
1876    
1877                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1878                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1879                                    }
1880    
1881                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1882                            }
1883                    }
1884                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1885                            _log.error(se, se);
1886    
1887                            throw se;
1888                    }
1889            }
1890    
1891            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1892                    HttpPrincipal httpPrincipal, long userId, long groupId, long folderId,
1893                    java.lang.String articleId, double version,
1894                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1895                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1896                    java.lang.String content, java.lang.String layoutUuid,
1897                    com.liferay.portal.service.ServiceContext serviceContext)
1898                    throws com.liferay.portal.kernel.exception.PortalException,
1899                            com.liferay.portal.kernel.exception.SystemException {
1900                    try {
1901                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1902                                            "updateArticle", _updateArticleParameterTypes49);
1903    
1904                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1905                                            groupId, folderId, articleId, version, titleMap,
1906                                            descriptionMap, content, layoutUuid, serviceContext);
1907    
1908                            Object returnObj = null;
1909    
1910                            try {
1911                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1912                            }
1913                            catch (Exception e) {
1914                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1915                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1916                                    }
1917    
1918                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1919                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1920                                    }
1921    
1922                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1923                            }
1924    
1925                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1926                    }
1927                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1928                            _log.error(se, se);
1929    
1930                            throw se;
1931                    }
1932            }
1933    
1934            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1935                    HttpPrincipal httpPrincipal, long groupId, long folderId,
1936                    java.lang.String articleId, double version,
1937                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1938                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1939                    java.lang.String content, java.lang.String type,
1940                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1941                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
1942                    int displayDateYear, int displayDateHour, int displayDateMinute,
1943                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
1944                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
1945                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
1946                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
1947                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
1948                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
1949                    java.lang.String articleURL,
1950                    com.liferay.portal.service.ServiceContext serviceContext)
1951                    throws com.liferay.portal.kernel.exception.PortalException,
1952                            com.liferay.portal.kernel.exception.SystemException {
1953                    try {
1954                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1955                                            "updateArticle", _updateArticleParameterTypes50);
1956    
1957                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1958                                            folderId, articleId, version, titleMap, descriptionMap,
1959                                            content, type, ddmStructureKey, ddmTemplateKey, layoutUuid,
1960                                            displayDateMonth, displayDateDay, displayDateYear,
1961                                            displayDateHour, displayDateMinute, expirationDateMonth,
1962                                            expirationDateDay, expirationDateYear, expirationDateHour,
1963                                            expirationDateMinute, neverExpire, reviewDateMonth,
1964                                            reviewDateDay, reviewDateYear, reviewDateHour,
1965                                            reviewDateMinute, neverReview, indexable, smallImage,
1966                                            smallImageURL, smallFile, images, articleURL, serviceContext);
1967    
1968                            Object returnObj = null;
1969    
1970                            try {
1971                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1972                            }
1973                            catch (Exception e) {
1974                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1975                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1976                                    }
1977    
1978                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1979                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1980                                    }
1981    
1982                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1983                            }
1984    
1985                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1986                    }
1987                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1988                            _log.error(se, se);
1989    
1990                            throw se;
1991                    }
1992            }
1993    
1994            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1995                    HttpPrincipal httpPrincipal, long groupId, long folderId,
1996                    java.lang.String articleId, double version, java.lang.String content,
1997                    com.liferay.portal.service.ServiceContext serviceContext)
1998                    throws com.liferay.portal.kernel.exception.PortalException,
1999                            com.liferay.portal.kernel.exception.SystemException {
2000                    try {
2001                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2002                                            "updateArticle", _updateArticleParameterTypes51);
2003    
2004                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2005                                            folderId, articleId, version, content, serviceContext);
2006    
2007                            Object returnObj = null;
2008    
2009                            try {
2010                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2011                            }
2012                            catch (Exception e) {
2013                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2014                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2015                                    }
2016    
2017                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2018                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2019                                    }
2020    
2021                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2022                            }
2023    
2024                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2025                    }
2026                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2027                            _log.error(se, se);
2028    
2029                            throw se;
2030                    }
2031            }
2032    
2033            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
2034                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2035                    double version, java.util.Locale locale, java.lang.String title,
2036                    java.lang.String description, java.lang.String content,
2037                    java.util.Map<java.lang.String, byte[]> images)
2038                    throws com.liferay.portal.kernel.exception.PortalException,
2039                            com.liferay.portal.kernel.exception.SystemException {
2040                    try {
2041                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2042                                            "updateArticleTranslation",
2043                                            _updateArticleTranslationParameterTypes52);
2044    
2045                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2046                                            articleId, version, locale, title, description, content,
2047                                            images);
2048    
2049                            Object returnObj = null;
2050    
2051                            try {
2052                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2053                            }
2054                            catch (Exception e) {
2055                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2056                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2057                                    }
2058    
2059                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2060                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2061                                    }
2062    
2063                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2064                            }
2065    
2066                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2067                    }
2068                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2069                            _log.error(se, se);
2070    
2071                            throw se;
2072                    }
2073            }
2074    
2075            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
2076                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2077                    double version, java.util.Locale locale, java.lang.String title,
2078                    java.lang.String description, java.lang.String content,
2079                    java.util.Map<java.lang.String, byte[]> images,
2080                    com.liferay.portal.service.ServiceContext serviceContext)
2081                    throws com.liferay.portal.kernel.exception.PortalException,
2082                            com.liferay.portal.kernel.exception.SystemException {
2083                    try {
2084                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2085                                            "updateArticleTranslation",
2086                                            _updateArticleTranslationParameterTypes53);
2087    
2088                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2089                                            articleId, version, locale, title, description, content,
2090                                            images, serviceContext);
2091    
2092                            Object returnObj = null;
2093    
2094                            try {
2095                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2096                            }
2097                            catch (Exception e) {
2098                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2099                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2100                                    }
2101    
2102                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2103                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2104                                    }
2105    
2106                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2107                            }
2108    
2109                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2110                    }
2111                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2112                            _log.error(se, se);
2113    
2114                            throw se;
2115                    }
2116            }
2117    
2118            public static com.liferay.portlet.journal.model.JournalArticle updateContent(
2119                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2120                    double version, java.lang.String content)
2121                    throws com.liferay.portal.kernel.exception.PortalException,
2122                            com.liferay.portal.kernel.exception.SystemException {
2123                    try {
2124                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2125                                            "updateContent", _updateContentParameterTypes54);
2126    
2127                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2128                                            articleId, version, content);
2129    
2130                            Object returnObj = null;
2131    
2132                            try {
2133                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2134                            }
2135                            catch (Exception e) {
2136                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2137                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2138                                    }
2139    
2140                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2141                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2142                                    }
2143    
2144                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2145                            }
2146    
2147                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2148                    }
2149                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2150                            _log.error(se, se);
2151    
2152                            throw se;
2153                    }
2154            }
2155    
2156            public static com.liferay.portlet.journal.model.JournalArticle updateStatus(
2157                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2158                    double version, int status, java.lang.String articleURL,
2159                    com.liferay.portal.service.ServiceContext serviceContext)
2160                    throws com.liferay.portal.kernel.exception.PortalException,
2161                            com.liferay.portal.kernel.exception.SystemException {
2162                    try {
2163                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2164                                            "updateStatus", _updateStatusParameterTypes55);
2165    
2166                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2167                                            articleId, version, status, articleURL, serviceContext);
2168    
2169                            Object returnObj = null;
2170    
2171                            try {
2172                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2173                            }
2174                            catch (Exception e) {
2175                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2176                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2177                                    }
2178    
2179                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2180                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2181                                    }
2182    
2183                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2184                            }
2185    
2186                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2187                    }
2188                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2189                            _log.error(se, se);
2190    
2191                            throw se;
2192                    }
2193            }
2194    
2195            private static Log _log = LogFactoryUtil.getLog(JournalArticleServiceHttp.class);
2196            private static final Class<?>[] _addArticleParameterTypes0 = new Class[] {
2197                            long.class, long.class, long.class, long.class,
2198                            java.lang.String.class, boolean.class, java.util.Map.class,
2199                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2200                            java.lang.String.class, java.lang.String.class,
2201                            java.lang.String.class, int.class, int.class, int.class, int.class,
2202                            int.class, int.class, int.class, int.class, int.class, int.class,
2203                            boolean.class, int.class, int.class, int.class, int.class, int.class,
2204                            boolean.class, boolean.class, boolean.class, java.lang.String.class,
2205                            java.io.File.class, java.util.Map.class, java.lang.String.class,
2206                            com.liferay.portal.service.ServiceContext.class
2207                    };
2208            private static final Class<?>[] _addArticleParameterTypes1 = new Class[] {
2209                            long.class, long.class, long.class, long.class,
2210                            java.lang.String.class, boolean.class, java.util.Map.class,
2211                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2212                            java.lang.String.class, java.lang.String.class,
2213                            java.lang.String.class, int.class, int.class, int.class, int.class,
2214                            int.class, int.class, int.class, int.class, int.class, int.class,
2215                            boolean.class, int.class, int.class, int.class, int.class, int.class,
2216                            boolean.class, boolean.class, java.lang.String.class,
2217                            com.liferay.portal.service.ServiceContext.class
2218                    };
2219            private static final Class<?>[] _copyArticleParameterTypes2 = new Class[] {
2220                            long.class, java.lang.String.class, java.lang.String.class,
2221                            boolean.class, double.class
2222                    };
2223            private static final Class<?>[] _deleteArticleParameterTypes3 = new Class[] {
2224                            long.class, java.lang.String.class, double.class,
2225                            java.lang.String.class,
2226                            com.liferay.portal.service.ServiceContext.class
2227                    };
2228            private static final Class<?>[] _deleteArticleParameterTypes4 = new Class[] {
2229                            long.class, java.lang.String.class, java.lang.String.class,
2230                            com.liferay.portal.service.ServiceContext.class
2231                    };
2232            private static final Class<?>[] _expireArticleParameterTypes5 = new Class[] {
2233                            long.class, java.lang.String.class, double.class,
2234                            java.lang.String.class,
2235                            com.liferay.portal.service.ServiceContext.class
2236                    };
2237            private static final Class<?>[] _expireArticleParameterTypes6 = new Class[] {
2238                            long.class, java.lang.String.class, java.lang.String.class,
2239                            com.liferay.portal.service.ServiceContext.class
2240                    };
2241            private static final Class<?>[] _getArticleParameterTypes7 = new Class[] {
2242                            long.class
2243                    };
2244            private static final Class<?>[] _getArticleParameterTypes8 = new Class[] {
2245                            long.class, java.lang.String.class
2246                    };
2247            private static final Class<?>[] _getArticleParameterTypes9 = new Class[] {
2248                            long.class, java.lang.String.class, double.class
2249                    };
2250            private static final Class<?>[] _getArticleParameterTypes10 = new Class[] {
2251                            long.class, java.lang.String.class, long.class
2252                    };
2253            private static final Class<?>[] _getArticleByUrlTitleParameterTypes11 = new Class[] {
2254                            long.class, java.lang.String.class
2255                    };
2256            private static final Class<?>[] _getArticleContentParameterTypes12 = new Class[] {
2257                            long.class, java.lang.String.class, double.class,
2258                            java.lang.String.class, com.liferay.portal.theme.ThemeDisplay.class
2259                    };
2260            private static final Class<?>[] _getArticleContentParameterTypes13 = new Class[] {
2261                            long.class, java.lang.String.class, java.lang.String.class,
2262                            com.liferay.portal.theme.ThemeDisplay.class
2263                    };
2264            private static final Class<?>[] _getArticlesParameterTypes14 = new Class[] {
2265                            long.class, long.class
2266                    };
2267            private static final Class<?>[] _getArticlesParameterTypes15 = new Class[] {
2268                            long.class, long.class, int.class, int.class,
2269                            com.liferay.portal.kernel.util.OrderByComparator.class
2270                    };
2271            private static final Class<?>[] _getArticlesByArticleIdParameterTypes16 = new Class[] {
2272                            long.class, java.lang.String.class, int.class, int.class,
2273                            com.liferay.portal.kernel.util.OrderByComparator.class
2274                    };
2275            private static final Class<?>[] _getArticlesByLayoutUuidParameterTypes17 = new Class[] {
2276                            long.class, java.lang.String.class
2277                    };
2278            private static final Class<?>[] _getArticlesByStructureIdParameterTypes18 = new Class[] {
2279                            long.class, long.class, java.lang.String.class, int.class, int.class,
2280                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
2281                    };
2282            private static final Class<?>[] _getArticlesByStructureIdParameterTypes19 = new Class[] {
2283                            long.class, java.lang.String.class, int.class, int.class,
2284                            com.liferay.portal.kernel.util.OrderByComparator.class
2285                    };
2286            private static final Class<?>[] _getArticlesCountParameterTypes20 = new Class[] {
2287                            long.class, long.class
2288                    };
2289            private static final Class<?>[] _getArticlesCountParameterTypes21 = new Class[] {
2290                            long.class, long.class, int.class
2291                    };
2292            private static final Class<?>[] _getArticlesCountByArticleIdParameterTypes22 =
2293                    new Class[] { long.class, java.lang.String.class };
2294            private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes23 =
2295                    new Class[] { long.class, long.class, java.lang.String.class, int.class };
2296            private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes24 =
2297                    new Class[] { long.class, java.lang.String.class };
2298            private static final Class<?>[] _getDisplayArticleByUrlTitleParameterTypes25 =
2299                    new Class[] { long.class, java.lang.String.class };
2300            private static final Class<?>[] _getFoldersAndArticlesCountParameterTypes26 = new Class[] {
2301                            long.class, java.util.List.class
2302                    };
2303            private static final Class<?>[] _getGroupArticlesParameterTypes27 = new Class[] {
2304                            long.class, long.class, long.class, int.class, int.class,
2305                            com.liferay.portal.kernel.util.OrderByComparator.class
2306                    };
2307            private static final Class<?>[] _getGroupArticlesCountParameterTypes28 = new Class[] {
2308                            long.class, long.class, long.class
2309                    };
2310            private static final Class<?>[] _getLatestArticleParameterTypes29 = new Class[] {
2311                            long.class
2312                    };
2313            private static final Class<?>[] _getLatestArticleParameterTypes30 = new Class[] {
2314                            long.class, java.lang.String.class, int.class
2315                    };
2316            private static final Class<?>[] _getLatestArticleParameterTypes31 = new Class[] {
2317                            long.class, java.lang.String.class, long.class
2318                    };
2319            private static final Class<?>[] _moveArticleParameterTypes32 = new Class[] {
2320                            long.class, java.lang.String.class, long.class
2321                    };
2322            private static final Class<?>[] _moveArticleFromTrashParameterTypes33 = new Class[] {
2323                            long.class, long.class, long.class,
2324                            com.liferay.portal.service.ServiceContext.class
2325                    };
2326            private static final Class<?>[] _moveArticleFromTrashParameterTypes34 = new Class[] {
2327                            long.class, java.lang.String.class, long.class,
2328                            com.liferay.portal.service.ServiceContext.class
2329                    };
2330            private static final Class<?>[] _moveArticleToTrashParameterTypes35 = new Class[] {
2331                            long.class, java.lang.String.class
2332                    };
2333            private static final Class<?>[] _removeArticleLocaleParameterTypes36 = new Class[] {
2334                            long.class, java.lang.String.class
2335                    };
2336            private static final Class<?>[] _removeArticleLocaleParameterTypes37 = new Class[] {
2337                            long.class, java.lang.String.class, double.class,
2338                            java.lang.String.class
2339                    };
2340            private static final Class<?>[] _restoreArticleFromTrashParameterTypes38 = new Class[] {
2341                            long.class
2342                    };
2343            private static final Class<?>[] _restoreArticleFromTrashParameterTypes39 = new Class[] {
2344                            long.class, java.lang.String.class
2345                    };
2346            private static final Class<?>[] _searchParameterTypes40 = new Class[] {
2347                            long.class, long.class, int.class, int.class, int.class
2348                    };
2349            private static final Class<?>[] _searchParameterTypes41 = new Class[] {
2350                            long.class, long.class, java.util.List.class, long.class,
2351                            java.lang.String.class, java.lang.Double.class,
2352                            java.lang.String.class, java.lang.String.class,
2353                            java.lang.String.class, java.util.Date.class, java.util.Date.class,
2354                            int.class, java.util.Date.class, int.class, int.class,
2355                            com.liferay.portal.kernel.util.OrderByComparator.class
2356                    };
2357            private static final Class<?>[] _searchParameterTypes42 = new Class[] {
2358                            long.class, long.class, java.util.List.class, long.class,
2359                            java.lang.String.class, java.lang.Double.class,
2360                            java.lang.String.class, java.lang.String.class,
2361                            java.lang.String.class, java.lang.String.class,
2362                            java.lang.String.class, java.lang.String.class, java.util.Date.class,
2363                            java.util.Date.class, int.class, java.util.Date.class, boolean.class,
2364                            int.class, int.class,
2365                            com.liferay.portal.kernel.util.OrderByComparator.class
2366                    };
2367            private static final Class<?>[] _searchParameterTypes43 = new Class[] {
2368                            long.class, long.class, java.util.List.class, long.class,
2369                            java.lang.String.class, java.lang.Double.class,
2370                            java.lang.String.class, java.lang.String.class,
2371                            java.lang.String.class, java.lang.String.class,
2372                            java.lang.String[].class, java.lang.String[].class,
2373                            java.util.Date.class, java.util.Date.class, int.class,
2374                            java.util.Date.class, boolean.class, int.class, int.class,
2375                            com.liferay.portal.kernel.util.OrderByComparator.class
2376                    };
2377            private static final Class<?>[] _searchCountParameterTypes44 = new Class[] {
2378                            long.class, long.class, java.util.List.class, long.class,
2379                            java.lang.String.class, java.lang.Double.class,
2380                            java.lang.String.class, java.lang.String.class,
2381                            java.lang.String.class, java.util.Date.class, java.util.Date.class,
2382                            int.class, java.util.Date.class
2383                    };
2384            private static final Class<?>[] _searchCountParameterTypes45 = new Class[] {
2385                            long.class, long.class, java.util.List.class, long.class,
2386                            java.lang.String.class, java.lang.Double.class,
2387                            java.lang.String.class, java.lang.String.class,
2388                            java.lang.String.class, java.lang.String.class,
2389                            java.lang.String.class, java.lang.String.class, java.util.Date.class,
2390                            java.util.Date.class, int.class, java.util.Date.class, boolean.class
2391                    };
2392            private static final Class<?>[] _searchCountParameterTypes46 = new Class[] {
2393                            long.class, long.class, java.util.List.class, long.class,
2394                            java.lang.String.class, java.lang.Double.class,
2395                            java.lang.String.class, java.lang.String.class,
2396                            java.lang.String.class, java.lang.String.class,
2397                            java.lang.String[].class, java.lang.String[].class,
2398                            java.util.Date.class, java.util.Date.class, int.class,
2399                            java.util.Date.class, boolean.class
2400                    };
2401            private static final Class<?>[] _subscribeParameterTypes47 = new Class[] {
2402                            long.class
2403                    };
2404            private static final Class<?>[] _unsubscribeParameterTypes48 = new Class[] {
2405                            long.class
2406                    };
2407            private static final Class<?>[] _updateArticleParameterTypes49 = new Class[] {
2408                            long.class, long.class, long.class, java.lang.String.class,
2409                            double.class, java.util.Map.class, java.util.Map.class,
2410                            java.lang.String.class, java.lang.String.class,
2411                            com.liferay.portal.service.ServiceContext.class
2412                    };
2413            private static final Class<?>[] _updateArticleParameterTypes50 = new Class[] {
2414                            long.class, long.class, java.lang.String.class, double.class,
2415                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2416                            java.lang.String.class, java.lang.String.class,
2417                            java.lang.String.class, java.lang.String.class, int.class, int.class,
2418                            int.class, int.class, int.class, int.class, int.class, int.class,
2419                            int.class, int.class, boolean.class, int.class, int.class, int.class,
2420                            int.class, int.class, boolean.class, boolean.class, boolean.class,
2421                            java.lang.String.class, java.io.File.class, java.util.Map.class,
2422                            java.lang.String.class,
2423                            com.liferay.portal.service.ServiceContext.class
2424                    };
2425            private static final Class<?>[] _updateArticleParameterTypes51 = new Class[] {
2426                            long.class, long.class, java.lang.String.class, double.class,
2427                            java.lang.String.class,
2428                            com.liferay.portal.service.ServiceContext.class
2429                    };
2430            private static final Class<?>[] _updateArticleTranslationParameterTypes52 = new Class[] {
2431                            long.class, java.lang.String.class, double.class,
2432                            java.util.Locale.class, java.lang.String.class,
2433                            java.lang.String.class, java.lang.String.class, java.util.Map.class
2434                    };
2435            private static final Class<?>[] _updateArticleTranslationParameterTypes53 = new Class[] {
2436                            long.class, java.lang.String.class, double.class,
2437                            java.util.Locale.class, java.lang.String.class,
2438                            java.lang.String.class, java.lang.String.class, java.util.Map.class,
2439                            com.liferay.portal.service.ServiceContext.class
2440                    };
2441            private static final Class<?>[] _updateContentParameterTypes54 = new Class[] {
2442                            long.class, java.lang.String.class, double.class,
2443                            java.lang.String.class
2444                    };
2445            private static final Class<?>[] _updateStatusParameterTypes55 = new Class[] {
2446                            long.class, java.lang.String.class, double.class, int.class,
2447                            java.lang.String.class,
2448                            com.liferay.portal.service.ServiceContext.class
2449                    };
2450    }