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 status, 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, status, 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 java.util.List<com.liferay.portlet.journal.model.JournalArticle> getGroupArticles(
1101                    HttpPrincipal httpPrincipal, long groupId, long userId,
1102                    long rootFolderId, int start, int end,
1103                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1104                    throws com.liferay.portal.kernel.exception.PortalException,
1105                            com.liferay.portal.kernel.exception.SystemException {
1106                    try {
1107                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1108                                            "getGroupArticles", _getGroupArticlesParameterTypes28);
1109    
1110                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1111                                            userId, rootFolderId, start, end, orderByComparator);
1112    
1113                            Object returnObj = null;
1114    
1115                            try {
1116                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1117                            }
1118                            catch (Exception e) {
1119                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1120                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1121                                    }
1122    
1123                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1124                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1125                                    }
1126    
1127                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1128                            }
1129    
1130                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1131                    }
1132                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1133                            _log.error(se, se);
1134    
1135                            throw se;
1136                    }
1137            }
1138    
1139            public static int getGroupArticlesCount(HttpPrincipal httpPrincipal,
1140                    long groupId, long userId, long rootFolderId)
1141                    throws com.liferay.portal.kernel.exception.PortalException,
1142                            com.liferay.portal.kernel.exception.SystemException {
1143                    try {
1144                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1145                                            "getGroupArticlesCount",
1146                                            _getGroupArticlesCountParameterTypes29);
1147    
1148                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1149                                            userId, rootFolderId);
1150    
1151                            Object returnObj = null;
1152    
1153                            try {
1154                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1155                            }
1156                            catch (Exception e) {
1157                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1158                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1159                                    }
1160    
1161                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1162                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1163                                    }
1164    
1165                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1166                            }
1167    
1168                            return ((Integer)returnObj).intValue();
1169                    }
1170                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1171                            _log.error(se, se);
1172    
1173                            throw se;
1174                    }
1175            }
1176    
1177            public static int getGroupArticlesCount(HttpPrincipal httpPrincipal,
1178                    long groupId, long userId, long rootFolderId, int status)
1179                    throws com.liferay.portal.kernel.exception.PortalException,
1180                            com.liferay.portal.kernel.exception.SystemException {
1181                    try {
1182                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1183                                            "getGroupArticlesCount",
1184                                            _getGroupArticlesCountParameterTypes30);
1185    
1186                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1187                                            userId, rootFolderId, status);
1188    
1189                            Object returnObj = null;
1190    
1191                            try {
1192                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1193                            }
1194                            catch (Exception e) {
1195                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1196                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1197                                    }
1198    
1199                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1200                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1201                                    }
1202    
1203                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1204                            }
1205    
1206                            return ((Integer)returnObj).intValue();
1207                    }
1208                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1209                            _log.error(se, se);
1210    
1211                            throw se;
1212                    }
1213            }
1214    
1215            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1216                    HttpPrincipal httpPrincipal, long resourcePrimKey)
1217                    throws com.liferay.portal.kernel.exception.PortalException,
1218                            com.liferay.portal.kernel.exception.SystemException {
1219                    try {
1220                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1221                                            "getLatestArticle", _getLatestArticleParameterTypes31);
1222    
1223                            MethodHandler methodHandler = new MethodHandler(methodKey,
1224                                            resourcePrimKey);
1225    
1226                            Object returnObj = null;
1227    
1228                            try {
1229                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1230                            }
1231                            catch (Exception e) {
1232                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1233                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1234                                    }
1235    
1236                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1237                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1238                                    }
1239    
1240                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1241                            }
1242    
1243                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1244                    }
1245                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1246                            _log.error(se, se);
1247    
1248                            throw se;
1249                    }
1250            }
1251    
1252            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1253                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1254                    int status)
1255                    throws com.liferay.portal.kernel.exception.PortalException,
1256                            com.liferay.portal.kernel.exception.SystemException {
1257                    try {
1258                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1259                                            "getLatestArticle", _getLatestArticleParameterTypes32);
1260    
1261                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1262                                            articleId, status);
1263    
1264                            Object returnObj = null;
1265    
1266                            try {
1267                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1268                            }
1269                            catch (Exception e) {
1270                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1271                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1272                                    }
1273    
1274                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1275                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1276                                    }
1277    
1278                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1279                            }
1280    
1281                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1282                    }
1283                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1284                            _log.error(se, se);
1285    
1286                            throw se;
1287                    }
1288            }
1289    
1290            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1291                    HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
1292                    long classPK)
1293                    throws com.liferay.portal.kernel.exception.PortalException,
1294                            com.liferay.portal.kernel.exception.SystemException {
1295                    try {
1296                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1297                                            "getLatestArticle", _getLatestArticleParameterTypes33);
1298    
1299                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1300                                            className, classPK);
1301    
1302                            Object returnObj = null;
1303    
1304                            try {
1305                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1306                            }
1307                            catch (Exception e) {
1308                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1309                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1310                                    }
1311    
1312                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1313                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1314                                    }
1315    
1316                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1317                            }
1318    
1319                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1320                    }
1321                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1322                            _log.error(se, se);
1323    
1324                            throw se;
1325                    }
1326            }
1327    
1328            public static void moveArticle(HttpPrincipal httpPrincipal, long groupId,
1329                    java.lang.String articleId, long newFolderId)
1330                    throws com.liferay.portal.kernel.exception.PortalException,
1331                            com.liferay.portal.kernel.exception.SystemException {
1332                    try {
1333                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1334                                            "moveArticle", _moveArticleParameterTypes34);
1335    
1336                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1337                                            articleId, newFolderId);
1338    
1339                            try {
1340                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1341                            }
1342                            catch (Exception e) {
1343                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1344                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1345                                    }
1346    
1347                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1348                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1349                                    }
1350    
1351                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1352                            }
1353                    }
1354                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1355                            _log.error(se, se);
1356    
1357                            throw se;
1358                    }
1359            }
1360    
1361            public static com.liferay.portlet.journal.model.JournalArticle moveArticleFromTrash(
1362                    HttpPrincipal httpPrincipal, long groupId, long resourcePrimKey,
1363                    long newFolderId,
1364                    com.liferay.portal.service.ServiceContext serviceContext)
1365                    throws com.liferay.portal.kernel.exception.PortalException,
1366                            com.liferay.portal.kernel.exception.SystemException {
1367                    try {
1368                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1369                                            "moveArticleFromTrash",
1370                                            _moveArticleFromTrashParameterTypes35);
1371    
1372                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1373                                            resourcePrimKey, newFolderId, serviceContext);
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 com.liferay.portlet.journal.model.JournalArticle moveArticleFromTrash(
1402                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1403                    long newFolderId,
1404                    com.liferay.portal.service.ServiceContext serviceContext)
1405                    throws com.liferay.portal.kernel.exception.PortalException,
1406                            com.liferay.portal.kernel.exception.SystemException {
1407                    try {
1408                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1409                                            "moveArticleFromTrash",
1410                                            _moveArticleFromTrashParameterTypes36);
1411    
1412                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1413                                            articleId, newFolderId, serviceContext);
1414    
1415                            Object returnObj = null;
1416    
1417                            try {
1418                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1419                            }
1420                            catch (Exception e) {
1421                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1422                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1423                                    }
1424    
1425                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1426                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1427                                    }
1428    
1429                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1430                            }
1431    
1432                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1433                    }
1434                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1435                            _log.error(se, se);
1436    
1437                            throw se;
1438                    }
1439            }
1440    
1441            public static com.liferay.portlet.journal.model.JournalArticle moveArticleToTrash(
1442                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
1443                    throws com.liferay.portal.kernel.exception.PortalException,
1444                            com.liferay.portal.kernel.exception.SystemException {
1445                    try {
1446                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1447                                            "moveArticleToTrash", _moveArticleToTrashParameterTypes37);
1448    
1449                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1450                                            articleId);
1451    
1452                            Object returnObj = null;
1453    
1454                            try {
1455                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1456                            }
1457                            catch (Exception e) {
1458                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1459                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1460                                    }
1461    
1462                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1463                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1464                                    }
1465    
1466                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1467                            }
1468    
1469                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1470                    }
1471                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1472                            _log.error(se, se);
1473    
1474                            throw se;
1475                    }
1476            }
1477    
1478            public static void removeArticleLocale(HttpPrincipal httpPrincipal,
1479                    long companyId, java.lang.String languageId)
1480                    throws com.liferay.portal.kernel.exception.PortalException,
1481                            com.liferay.portal.kernel.exception.SystemException {
1482                    try {
1483                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1484                                            "removeArticleLocale", _removeArticleLocaleParameterTypes38);
1485    
1486                            MethodHandler methodHandler = new MethodHandler(methodKey,
1487                                            companyId, languageId);
1488    
1489                            try {
1490                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1491                            }
1492                            catch (Exception e) {
1493                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1494                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1495                                    }
1496    
1497                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1498                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1499                                    }
1500    
1501                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1502                            }
1503                    }
1504                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1505                            _log.error(se, se);
1506    
1507                            throw se;
1508                    }
1509            }
1510    
1511            public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
1512                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1513                    double version, java.lang.String languageId)
1514                    throws com.liferay.portal.kernel.exception.PortalException,
1515                            com.liferay.portal.kernel.exception.SystemException {
1516                    try {
1517                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1518                                            "removeArticleLocale", _removeArticleLocaleParameterTypes39);
1519    
1520                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1521                                            articleId, version, languageId);
1522    
1523                            Object returnObj = null;
1524    
1525                            try {
1526                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1527                            }
1528                            catch (Exception e) {
1529                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1530                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1531                                    }
1532    
1533                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1534                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1535                                    }
1536    
1537                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1538                            }
1539    
1540                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1541                    }
1542                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1543                            _log.error(se, se);
1544    
1545                            throw se;
1546                    }
1547            }
1548    
1549            public static void restoreArticleFromTrash(HttpPrincipal httpPrincipal,
1550                    long resourcePrimKey)
1551                    throws com.liferay.portal.kernel.exception.PortalException,
1552                            com.liferay.portal.kernel.exception.SystemException {
1553                    try {
1554                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1555                                            "restoreArticleFromTrash",
1556                                            _restoreArticleFromTrashParameterTypes40);
1557    
1558                            MethodHandler methodHandler = new MethodHandler(methodKey,
1559                                            resourcePrimKey);
1560    
1561                            try {
1562                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1563                            }
1564                            catch (Exception e) {
1565                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1566                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1567                                    }
1568    
1569                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1570                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1571                                    }
1572    
1573                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1574                            }
1575                    }
1576                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1577                            _log.error(se, se);
1578    
1579                            throw se;
1580                    }
1581            }
1582    
1583            public static void restoreArticleFromTrash(HttpPrincipal httpPrincipal,
1584                    long groupId, java.lang.String articleId)
1585                    throws com.liferay.portal.kernel.exception.PortalException,
1586                            com.liferay.portal.kernel.exception.SystemException {
1587                    try {
1588                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1589                                            "restoreArticleFromTrash",
1590                                            _restoreArticleFromTrashParameterTypes41);
1591    
1592                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1593                                            articleId);
1594    
1595                            try {
1596                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1597                            }
1598                            catch (Exception e) {
1599                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1600                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1601                                    }
1602    
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                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1611                            _log.error(se, se);
1612    
1613                            throw se;
1614                    }
1615            }
1616    
1617            public static com.liferay.portal.kernel.search.Hits search(
1618                    HttpPrincipal httpPrincipal, long groupId, long creatorUserId,
1619                    int status, int start, int end)
1620                    throws com.liferay.portal.kernel.exception.PortalException,
1621                            com.liferay.portal.kernel.exception.SystemException {
1622                    try {
1623                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1624                                            "search", _searchParameterTypes42);
1625    
1626                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1627                                            creatorUserId, status, start, end);
1628    
1629                            Object returnObj = null;
1630    
1631                            try {
1632                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1633                            }
1634                            catch (Exception e) {
1635                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1636                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1637                                    }
1638    
1639                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1640                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1641                                    }
1642    
1643                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1644                            }
1645    
1646                            return (com.liferay.portal.kernel.search.Hits)returnObj;
1647                    }
1648                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1649                            _log.error(se, se);
1650    
1651                            throw se;
1652                    }
1653            }
1654    
1655            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1656                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1657                    java.util.List<java.lang.Long> folderIds, long classNameId,
1658                    java.lang.String keywords, java.lang.Double version,
1659                    java.lang.String type, java.lang.String ddmStructureKey,
1660                    java.lang.String ddmTemplateKey, java.util.Date displayDateGT,
1661                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1662                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1663                    throws com.liferay.portal.kernel.exception.SystemException {
1664                    try {
1665                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1666                                            "search", _searchParameterTypes43);
1667    
1668                            MethodHandler methodHandler = new MethodHandler(methodKey,
1669                                            companyId, groupId, folderIds, classNameId, keywords,
1670                                            version, type, ddmStructureKey, ddmTemplateKey,
1671                                            displayDateGT, displayDateLT, status, reviewDate, start,
1672                                            end, obc);
1673    
1674                            Object returnObj = null;
1675    
1676                            try {
1677                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1678                            }
1679                            catch (Exception e) {
1680                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1681                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1682                                    }
1683    
1684                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1685                            }
1686    
1687                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1688                    }
1689                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1690                            _log.error(se, se);
1691    
1692                            throw se;
1693                    }
1694            }
1695    
1696            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1697                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1698                    java.util.List<java.lang.Long> folderIds, long classNameId,
1699                    java.lang.String articleId, java.lang.Double version,
1700                    java.lang.String title, java.lang.String description,
1701                    java.lang.String content, java.lang.String type,
1702                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1703                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1704                    java.util.Date reviewDate, boolean andOperator, int start, int end,
1705                    com.liferay.portal.kernel.util.OrderByComparator obc)
1706                    throws com.liferay.portal.kernel.exception.SystemException {
1707                    try {
1708                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1709                                            "search", _searchParameterTypes44);
1710    
1711                            MethodHandler methodHandler = new MethodHandler(methodKey,
1712                                            companyId, groupId, folderIds, classNameId, articleId,
1713                                            version, title, description, content, type,
1714                                            ddmStructureKey, ddmTemplateKey, displayDateGT,
1715                                            displayDateLT, status, reviewDate, andOperator, start, end,
1716                                            obc);
1717    
1718                            Object returnObj = null;
1719    
1720                            try {
1721                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1722                            }
1723                            catch (Exception e) {
1724                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1725                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1726                                    }
1727    
1728                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1729                            }
1730    
1731                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1732                    }
1733                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1734                            _log.error(se, se);
1735    
1736                            throw se;
1737                    }
1738            }
1739    
1740            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1741                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1742                    java.util.List<java.lang.Long> folderIds, long classNameId,
1743                    java.lang.String articleId, java.lang.Double version,
1744                    java.lang.String title, java.lang.String description,
1745                    java.lang.String content, java.lang.String type,
1746                    java.lang.String[] ddmStructureKeys,
1747                    java.lang.String[] ddmTemplateKeys, java.util.Date displayDateGT,
1748                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1749                    boolean andOperator, int start, int end,
1750                    com.liferay.portal.kernel.util.OrderByComparator obc)
1751                    throws com.liferay.portal.kernel.exception.SystemException {
1752                    try {
1753                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1754                                            "search", _searchParameterTypes45);
1755    
1756                            MethodHandler methodHandler = new MethodHandler(methodKey,
1757                                            companyId, groupId, folderIds, classNameId, articleId,
1758                                            version, title, description, content, type,
1759                                            ddmStructureKeys, ddmTemplateKeys, displayDateGT,
1760                                            displayDateLT, status, reviewDate, andOperator, start, end,
1761                                            obc);
1762    
1763                            Object returnObj = null;
1764    
1765                            try {
1766                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1767                            }
1768                            catch (Exception e) {
1769                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1770                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1771                                    }
1772    
1773                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1774                            }
1775    
1776                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1777                    }
1778                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1779                            _log.error(se, se);
1780    
1781                            throw se;
1782                    }
1783            }
1784    
1785            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1786                    long groupId, java.util.List<java.lang.Long> folderIds,
1787                    long classNameId, java.lang.String keywords, java.lang.Double version,
1788                    java.lang.String type, java.lang.String ddmStructureKey,
1789                    java.lang.String ddmTemplateKey, java.util.Date displayDateGT,
1790                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
1791                    throws com.liferay.portal.kernel.exception.SystemException {
1792                    try {
1793                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1794                                            "searchCount", _searchCountParameterTypes46);
1795    
1796                            MethodHandler methodHandler = new MethodHandler(methodKey,
1797                                            companyId, groupId, folderIds, classNameId, keywords,
1798                                            version, type, ddmStructureKey, ddmTemplateKey,
1799                                            displayDateGT, displayDateLT, status, reviewDate);
1800    
1801                            Object returnObj = null;
1802    
1803                            try {
1804                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1805                            }
1806                            catch (Exception e) {
1807                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1808                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1809                                    }
1810    
1811                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1812                            }
1813    
1814                            return ((Integer)returnObj).intValue();
1815                    }
1816                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1817                            _log.error(se, se);
1818    
1819                            throw se;
1820                    }
1821            }
1822    
1823            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1824                    long groupId, java.util.List<java.lang.Long> folderIds,
1825                    long classNameId, java.lang.String articleId, java.lang.Double version,
1826                    java.lang.String title, java.lang.String description,
1827                    java.lang.String content, java.lang.String type,
1828                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1829                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1830                    java.util.Date reviewDate, boolean andOperator)
1831                    throws com.liferay.portal.kernel.exception.SystemException {
1832                    try {
1833                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1834                                            "searchCount", _searchCountParameterTypes47);
1835    
1836                            MethodHandler methodHandler = new MethodHandler(methodKey,
1837                                            companyId, groupId, folderIds, classNameId, articleId,
1838                                            version, title, description, content, type,
1839                                            ddmStructureKey, ddmTemplateKey, displayDateGT,
1840                                            displayDateLT, status, reviewDate, andOperator);
1841    
1842                            Object returnObj = null;
1843    
1844                            try {
1845                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1846                            }
1847                            catch (Exception e) {
1848                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1849                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1850                                    }
1851    
1852                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1853                            }
1854    
1855                            return ((Integer)returnObj).intValue();
1856                    }
1857                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1858                            _log.error(se, se);
1859    
1860                            throw se;
1861                    }
1862            }
1863    
1864            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1865                    long groupId, java.util.List<java.lang.Long> folderIds,
1866                    long classNameId, java.lang.String articleId, java.lang.Double version,
1867                    java.lang.String title, java.lang.String description,
1868                    java.lang.String content, java.lang.String type,
1869                    java.lang.String[] ddmStructureKeys,
1870                    java.lang.String[] ddmTemplateKeys, java.util.Date displayDateGT,
1871                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1872                    boolean andOperator)
1873                    throws com.liferay.portal.kernel.exception.SystemException {
1874                    try {
1875                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1876                                            "searchCount", _searchCountParameterTypes48);
1877    
1878                            MethodHandler methodHandler = new MethodHandler(methodKey,
1879                                            companyId, groupId, folderIds, classNameId, articleId,
1880                                            version, title, description, content, type,
1881                                            ddmStructureKeys, ddmTemplateKeys, displayDateGT,
1882                                            displayDateLT, status, reviewDate, andOperator);
1883    
1884                            Object returnObj = null;
1885    
1886                            try {
1887                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1888                            }
1889                            catch (Exception e) {
1890                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1891                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1892                                    }
1893    
1894                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1895                            }
1896    
1897                            return ((Integer)returnObj).intValue();
1898                    }
1899                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1900                            _log.error(se, se);
1901    
1902                            throw se;
1903                    }
1904            }
1905    
1906            public static void subscribe(HttpPrincipal httpPrincipal, long groupId)
1907                    throws com.liferay.portal.kernel.exception.PortalException,
1908                            com.liferay.portal.kernel.exception.SystemException {
1909                    try {
1910                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1911                                            "subscribe", _subscribeParameterTypes49);
1912    
1913                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1914    
1915                            try {
1916                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1917                            }
1918                            catch (Exception e) {
1919                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1920                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1921                                    }
1922    
1923                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1924                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1925                                    }
1926    
1927                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1928                            }
1929                    }
1930                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1931                            _log.error(se, se);
1932    
1933                            throw se;
1934                    }
1935            }
1936    
1937            public static void unsubscribe(HttpPrincipal httpPrincipal, long groupId)
1938                    throws com.liferay.portal.kernel.exception.PortalException,
1939                            com.liferay.portal.kernel.exception.SystemException {
1940                    try {
1941                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1942                                            "unsubscribe", _unsubscribeParameterTypes50);
1943    
1944                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1945    
1946                            try {
1947                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1948                            }
1949                            catch (Exception e) {
1950                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1951                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1952                                    }
1953    
1954                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1955                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1956                                    }
1957    
1958                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1959                            }
1960                    }
1961                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1962                            _log.error(se, se);
1963    
1964                            throw se;
1965                    }
1966            }
1967    
1968            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1969                    HttpPrincipal httpPrincipal, long userId, long groupId, long folderId,
1970                    java.lang.String articleId, double version,
1971                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1972                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1973                    java.lang.String content, java.lang.String layoutUuid,
1974                    com.liferay.portal.service.ServiceContext serviceContext)
1975                    throws com.liferay.portal.kernel.exception.PortalException,
1976                            com.liferay.portal.kernel.exception.SystemException {
1977                    try {
1978                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1979                                            "updateArticle", _updateArticleParameterTypes51);
1980    
1981                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
1982                                            groupId, folderId, articleId, version, titleMap,
1983                                            descriptionMap, content, layoutUuid, serviceContext);
1984    
1985                            Object returnObj = null;
1986    
1987                            try {
1988                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1989                            }
1990                            catch (Exception e) {
1991                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1992                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1993                                    }
1994    
1995                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1996                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1997                                    }
1998    
1999                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2000                            }
2001    
2002                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2003                    }
2004                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2005                            _log.error(se, se);
2006    
2007                            throw se;
2008                    }
2009            }
2010    
2011            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
2012                    HttpPrincipal httpPrincipal, long groupId, long folderId,
2013                    java.lang.String articleId, double version,
2014                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
2015                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
2016                    java.lang.String content, java.lang.String type,
2017                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
2018                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
2019                    int displayDateYear, int displayDateHour, int displayDateMinute,
2020                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
2021                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
2022                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
2023                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
2024                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
2025                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
2026                    java.lang.String articleURL,
2027                    com.liferay.portal.service.ServiceContext serviceContext)
2028                    throws com.liferay.portal.kernel.exception.PortalException,
2029                            com.liferay.portal.kernel.exception.SystemException {
2030                    try {
2031                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2032                                            "updateArticle", _updateArticleParameterTypes52);
2033    
2034                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2035                                            folderId, articleId, version, titleMap, descriptionMap,
2036                                            content, type, ddmStructureKey, ddmTemplateKey, layoutUuid,
2037                                            displayDateMonth, displayDateDay, displayDateYear,
2038                                            displayDateHour, displayDateMinute, expirationDateMonth,
2039                                            expirationDateDay, expirationDateYear, expirationDateHour,
2040                                            expirationDateMinute, neverExpire, reviewDateMonth,
2041                                            reviewDateDay, reviewDateYear, reviewDateHour,
2042                                            reviewDateMinute, neverReview, indexable, smallImage,
2043                                            smallImageURL, smallFile, images, articleURL, serviceContext);
2044    
2045                            Object returnObj = null;
2046    
2047                            try {
2048                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2049                            }
2050                            catch (Exception e) {
2051                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2052                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2053                                    }
2054    
2055                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2056                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2057                                    }
2058    
2059                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2060                            }
2061    
2062                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2063                    }
2064                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2065                            _log.error(se, se);
2066    
2067                            throw se;
2068                    }
2069            }
2070    
2071            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
2072                    HttpPrincipal httpPrincipal, long groupId, long folderId,
2073                    java.lang.String articleId, double version, java.lang.String content,
2074                    com.liferay.portal.service.ServiceContext serviceContext)
2075                    throws com.liferay.portal.kernel.exception.PortalException,
2076                            com.liferay.portal.kernel.exception.SystemException {
2077                    try {
2078                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2079                                            "updateArticle", _updateArticleParameterTypes53);
2080    
2081                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2082                                            folderId, articleId, version, content, serviceContext);
2083    
2084                            Object returnObj = null;
2085    
2086                            try {
2087                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2088                            }
2089                            catch (Exception e) {
2090                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2091                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2092                                    }
2093    
2094                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2095                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2096                                    }
2097    
2098                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2099                            }
2100    
2101                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2102                    }
2103                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2104                            _log.error(se, se);
2105    
2106                            throw se;
2107                    }
2108            }
2109    
2110            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
2111                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2112                    double version, java.util.Locale locale, java.lang.String title,
2113                    java.lang.String description, java.lang.String content,
2114                    java.util.Map<java.lang.String, byte[]> images)
2115                    throws com.liferay.portal.kernel.exception.PortalException,
2116                            com.liferay.portal.kernel.exception.SystemException {
2117                    try {
2118                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2119                                            "updateArticleTranslation",
2120                                            _updateArticleTranslationParameterTypes54);
2121    
2122                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2123                                            articleId, version, locale, title, description, content,
2124                                            images);
2125    
2126                            Object returnObj = null;
2127    
2128                            try {
2129                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2130                            }
2131                            catch (Exception e) {
2132                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2133                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2134                                    }
2135    
2136                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2137                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2138                                    }
2139    
2140                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2141                            }
2142    
2143                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2144                    }
2145                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2146                            _log.error(se, se);
2147    
2148                            throw se;
2149                    }
2150            }
2151    
2152            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
2153                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2154                    double version, java.util.Locale locale, java.lang.String title,
2155                    java.lang.String description, java.lang.String content,
2156                    java.util.Map<java.lang.String, byte[]> images,
2157                    com.liferay.portal.service.ServiceContext serviceContext)
2158                    throws com.liferay.portal.kernel.exception.PortalException,
2159                            com.liferay.portal.kernel.exception.SystemException {
2160                    try {
2161                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2162                                            "updateArticleTranslation",
2163                                            _updateArticleTranslationParameterTypes55);
2164    
2165                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2166                                            articleId, version, locale, title, description, content,
2167                                            images, 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            public static com.liferay.portlet.journal.model.JournalArticle updateContent(
2196                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2197                    double version, java.lang.String content)
2198                    throws com.liferay.portal.kernel.exception.PortalException,
2199                            com.liferay.portal.kernel.exception.SystemException {
2200                    try {
2201                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2202                                            "updateContent", _updateContentParameterTypes56);
2203    
2204                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2205                                            articleId, version, content);
2206    
2207                            Object returnObj = null;
2208    
2209                            try {
2210                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2211                            }
2212                            catch (Exception e) {
2213                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2214                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2215                                    }
2216    
2217                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2218                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2219                                    }
2220    
2221                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2222                            }
2223    
2224                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2225                    }
2226                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2227                            _log.error(se, se);
2228    
2229                            throw se;
2230                    }
2231            }
2232    
2233            public static com.liferay.portlet.journal.model.JournalArticle updateStatus(
2234                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2235                    double version, int status, java.lang.String articleURL,
2236                    com.liferay.portal.service.ServiceContext serviceContext)
2237                    throws com.liferay.portal.kernel.exception.PortalException,
2238                            com.liferay.portal.kernel.exception.SystemException {
2239                    try {
2240                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2241                                            "updateStatus", _updateStatusParameterTypes57);
2242    
2243                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2244                                            articleId, version, status, articleURL, serviceContext);
2245    
2246                            Object returnObj = null;
2247    
2248                            try {
2249                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2250                            }
2251                            catch (Exception e) {
2252                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2253                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2254                                    }
2255    
2256                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2257                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2258                                    }
2259    
2260                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2261                            }
2262    
2263                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2264                    }
2265                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2266                            _log.error(se, se);
2267    
2268                            throw se;
2269                    }
2270            }
2271    
2272            private static Log _log = LogFactoryUtil.getLog(JournalArticleServiceHttp.class);
2273            private static final Class<?>[] _addArticleParameterTypes0 = new Class[] {
2274                            long.class, long.class, long.class, long.class,
2275                            java.lang.String.class, boolean.class, java.util.Map.class,
2276                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2277                            java.lang.String.class, java.lang.String.class,
2278                            java.lang.String.class, int.class, int.class, int.class, int.class,
2279                            int.class, int.class, int.class, int.class, int.class, int.class,
2280                            boolean.class, int.class, int.class, int.class, int.class, int.class,
2281                            boolean.class, boolean.class, boolean.class, java.lang.String.class,
2282                            java.io.File.class, java.util.Map.class, java.lang.String.class,
2283                            com.liferay.portal.service.ServiceContext.class
2284                    };
2285            private static final Class<?>[] _addArticleParameterTypes1 = new Class[] {
2286                            long.class, long.class, long.class, long.class,
2287                            java.lang.String.class, boolean.class, java.util.Map.class,
2288                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2289                            java.lang.String.class, java.lang.String.class,
2290                            java.lang.String.class, int.class, int.class, int.class, int.class,
2291                            int.class, int.class, int.class, int.class, int.class, int.class,
2292                            boolean.class, int.class, int.class, int.class, int.class, int.class,
2293                            boolean.class, boolean.class, java.lang.String.class,
2294                            com.liferay.portal.service.ServiceContext.class
2295                    };
2296            private static final Class<?>[] _copyArticleParameterTypes2 = new Class[] {
2297                            long.class, java.lang.String.class, java.lang.String.class,
2298                            boolean.class, double.class
2299                    };
2300            private static final Class<?>[] _deleteArticleParameterTypes3 = new Class[] {
2301                            long.class, java.lang.String.class, double.class,
2302                            java.lang.String.class,
2303                            com.liferay.portal.service.ServiceContext.class
2304                    };
2305            private static final Class<?>[] _deleteArticleParameterTypes4 = new Class[] {
2306                            long.class, java.lang.String.class, java.lang.String.class,
2307                            com.liferay.portal.service.ServiceContext.class
2308                    };
2309            private static final Class<?>[] _expireArticleParameterTypes5 = new Class[] {
2310                            long.class, java.lang.String.class, double.class,
2311                            java.lang.String.class,
2312                            com.liferay.portal.service.ServiceContext.class
2313                    };
2314            private static final Class<?>[] _expireArticleParameterTypes6 = new Class[] {
2315                            long.class, java.lang.String.class, java.lang.String.class,
2316                            com.liferay.portal.service.ServiceContext.class
2317                    };
2318            private static final Class<?>[] _getArticleParameterTypes7 = new Class[] {
2319                            long.class
2320                    };
2321            private static final Class<?>[] _getArticleParameterTypes8 = new Class[] {
2322                            long.class, java.lang.String.class
2323                    };
2324            private static final Class<?>[] _getArticleParameterTypes9 = new Class[] {
2325                            long.class, java.lang.String.class, double.class
2326                    };
2327            private static final Class<?>[] _getArticleParameterTypes10 = new Class[] {
2328                            long.class, java.lang.String.class, long.class
2329                    };
2330            private static final Class<?>[] _getArticleByUrlTitleParameterTypes11 = new Class[] {
2331                            long.class, java.lang.String.class
2332                    };
2333            private static final Class<?>[] _getArticleContentParameterTypes12 = new Class[] {
2334                            long.class, java.lang.String.class, double.class,
2335                            java.lang.String.class, com.liferay.portal.theme.ThemeDisplay.class
2336                    };
2337            private static final Class<?>[] _getArticleContentParameterTypes13 = new Class[] {
2338                            long.class, java.lang.String.class, java.lang.String.class,
2339                            com.liferay.portal.theme.ThemeDisplay.class
2340                    };
2341            private static final Class<?>[] _getArticlesParameterTypes14 = new Class[] {
2342                            long.class, long.class
2343                    };
2344            private static final Class<?>[] _getArticlesParameterTypes15 = new Class[] {
2345                            long.class, long.class, int.class, int.class,
2346                            com.liferay.portal.kernel.util.OrderByComparator.class
2347                    };
2348            private static final Class<?>[] _getArticlesByArticleIdParameterTypes16 = new Class[] {
2349                            long.class, java.lang.String.class, int.class, int.class,
2350                            com.liferay.portal.kernel.util.OrderByComparator.class
2351                    };
2352            private static final Class<?>[] _getArticlesByLayoutUuidParameterTypes17 = new Class[] {
2353                            long.class, java.lang.String.class
2354                    };
2355            private static final Class<?>[] _getArticlesByStructureIdParameterTypes18 = new Class[] {
2356                            long.class, long.class, java.lang.String.class, int.class, int.class,
2357                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
2358                    };
2359            private static final Class<?>[] _getArticlesByStructureIdParameterTypes19 = new Class[] {
2360                            long.class, java.lang.String.class, int.class, int.class,
2361                            com.liferay.portal.kernel.util.OrderByComparator.class
2362                    };
2363            private static final Class<?>[] _getArticlesCountParameterTypes20 = new Class[] {
2364                            long.class, long.class
2365                    };
2366            private static final Class<?>[] _getArticlesCountParameterTypes21 = new Class[] {
2367                            long.class, long.class, int.class
2368                    };
2369            private static final Class<?>[] _getArticlesCountByArticleIdParameterTypes22 =
2370                    new Class[] { long.class, java.lang.String.class };
2371            private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes23 =
2372                    new Class[] { long.class, long.class, java.lang.String.class, int.class };
2373            private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes24 =
2374                    new Class[] { long.class, java.lang.String.class };
2375            private static final Class<?>[] _getDisplayArticleByUrlTitleParameterTypes25 =
2376                    new Class[] { long.class, java.lang.String.class };
2377            private static final Class<?>[] _getFoldersAndArticlesCountParameterTypes26 = new Class[] {
2378                            long.class, java.util.List.class
2379                    };
2380            private static final Class<?>[] _getGroupArticlesParameterTypes27 = new Class[] {
2381                            long.class, long.class, long.class, int.class, int.class, int.class,
2382                            com.liferay.portal.kernel.util.OrderByComparator.class
2383                    };
2384            private static final Class<?>[] _getGroupArticlesParameterTypes28 = new Class[] {
2385                            long.class, long.class, long.class, int.class, int.class,
2386                            com.liferay.portal.kernel.util.OrderByComparator.class
2387                    };
2388            private static final Class<?>[] _getGroupArticlesCountParameterTypes29 = new Class[] {
2389                            long.class, long.class, long.class
2390                    };
2391            private static final Class<?>[] _getGroupArticlesCountParameterTypes30 = new Class[] {
2392                            long.class, long.class, long.class, int.class
2393                    };
2394            private static final Class<?>[] _getLatestArticleParameterTypes31 = new Class[] {
2395                            long.class
2396                    };
2397            private static final Class<?>[] _getLatestArticleParameterTypes32 = new Class[] {
2398                            long.class, java.lang.String.class, int.class
2399                    };
2400            private static final Class<?>[] _getLatestArticleParameterTypes33 = new Class[] {
2401                            long.class, java.lang.String.class, long.class
2402                    };
2403            private static final Class<?>[] _moveArticleParameterTypes34 = new Class[] {
2404                            long.class, java.lang.String.class, long.class
2405                    };
2406            private static final Class<?>[] _moveArticleFromTrashParameterTypes35 = new Class[] {
2407                            long.class, long.class, long.class,
2408                            com.liferay.portal.service.ServiceContext.class
2409                    };
2410            private static final Class<?>[] _moveArticleFromTrashParameterTypes36 = new Class[] {
2411                            long.class, java.lang.String.class, long.class,
2412                            com.liferay.portal.service.ServiceContext.class
2413                    };
2414            private static final Class<?>[] _moveArticleToTrashParameterTypes37 = new Class[] {
2415                            long.class, java.lang.String.class
2416                    };
2417            private static final Class<?>[] _removeArticleLocaleParameterTypes38 = new Class[] {
2418                            long.class, java.lang.String.class
2419                    };
2420            private static final Class<?>[] _removeArticleLocaleParameterTypes39 = new Class[] {
2421                            long.class, java.lang.String.class, double.class,
2422                            java.lang.String.class
2423                    };
2424            private static final Class<?>[] _restoreArticleFromTrashParameterTypes40 = new Class[] {
2425                            long.class
2426                    };
2427            private static final Class<?>[] _restoreArticleFromTrashParameterTypes41 = new Class[] {
2428                            long.class, java.lang.String.class
2429                    };
2430            private static final Class<?>[] _searchParameterTypes42 = new Class[] {
2431                            long.class, long.class, int.class, int.class, int.class
2432                    };
2433            private static final Class<?>[] _searchParameterTypes43 = new Class[] {
2434                            long.class, long.class, java.util.List.class, long.class,
2435                            java.lang.String.class, java.lang.Double.class,
2436                            java.lang.String.class, java.lang.String.class,
2437                            java.lang.String.class, java.util.Date.class, java.util.Date.class,
2438                            int.class, java.util.Date.class, int.class, int.class,
2439                            com.liferay.portal.kernel.util.OrderByComparator.class
2440                    };
2441            private static final Class<?>[] _searchParameterTypes44 = new Class[] {
2442                            long.class, long.class, java.util.List.class, long.class,
2443                            java.lang.String.class, java.lang.Double.class,
2444                            java.lang.String.class, java.lang.String.class,
2445                            java.lang.String.class, java.lang.String.class,
2446                            java.lang.String.class, java.lang.String.class, java.util.Date.class,
2447                            java.util.Date.class, int.class, java.util.Date.class, boolean.class,
2448                            int.class, int.class,
2449                            com.liferay.portal.kernel.util.OrderByComparator.class
2450                    };
2451            private static final Class<?>[] _searchParameterTypes45 = new Class[] {
2452                            long.class, long.class, java.util.List.class, long.class,
2453                            java.lang.String.class, java.lang.Double.class,
2454                            java.lang.String.class, java.lang.String.class,
2455                            java.lang.String.class, java.lang.String.class,
2456                            java.lang.String[].class, java.lang.String[].class,
2457                            java.util.Date.class, java.util.Date.class, int.class,
2458                            java.util.Date.class, boolean.class, int.class, int.class,
2459                            com.liferay.portal.kernel.util.OrderByComparator.class
2460                    };
2461            private static final Class<?>[] _searchCountParameterTypes46 = new Class[] {
2462                            long.class, long.class, java.util.List.class, long.class,
2463                            java.lang.String.class, java.lang.Double.class,
2464                            java.lang.String.class, java.lang.String.class,
2465                            java.lang.String.class, java.util.Date.class, java.util.Date.class,
2466                            int.class, java.util.Date.class
2467                    };
2468            private static final Class<?>[] _searchCountParameterTypes47 = new Class[] {
2469                            long.class, long.class, java.util.List.class, long.class,
2470                            java.lang.String.class, java.lang.Double.class,
2471                            java.lang.String.class, java.lang.String.class,
2472                            java.lang.String.class, java.lang.String.class,
2473                            java.lang.String.class, java.lang.String.class, java.util.Date.class,
2474                            java.util.Date.class, int.class, java.util.Date.class, boolean.class
2475                    };
2476            private static final Class<?>[] _searchCountParameterTypes48 = new Class[] {
2477                            long.class, long.class, java.util.List.class, long.class,
2478                            java.lang.String.class, java.lang.Double.class,
2479                            java.lang.String.class, java.lang.String.class,
2480                            java.lang.String.class, java.lang.String.class,
2481                            java.lang.String[].class, java.lang.String[].class,
2482                            java.util.Date.class, java.util.Date.class, int.class,
2483                            java.util.Date.class, boolean.class
2484                    };
2485            private static final Class<?>[] _subscribeParameterTypes49 = new Class[] {
2486                            long.class
2487                    };
2488            private static final Class<?>[] _unsubscribeParameterTypes50 = new Class[] {
2489                            long.class
2490                    };
2491            private static final Class<?>[] _updateArticleParameterTypes51 = new Class[] {
2492                            long.class, long.class, long.class, java.lang.String.class,
2493                            double.class, java.util.Map.class, java.util.Map.class,
2494                            java.lang.String.class, java.lang.String.class,
2495                            com.liferay.portal.service.ServiceContext.class
2496                    };
2497            private static final Class<?>[] _updateArticleParameterTypes52 = new Class[] {
2498                            long.class, long.class, java.lang.String.class, double.class,
2499                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2500                            java.lang.String.class, java.lang.String.class,
2501                            java.lang.String.class, java.lang.String.class, int.class, int.class,
2502                            int.class, int.class, int.class, int.class, int.class, int.class,
2503                            int.class, int.class, boolean.class, int.class, int.class, int.class,
2504                            int.class, int.class, boolean.class, boolean.class, boolean.class,
2505                            java.lang.String.class, java.io.File.class, java.util.Map.class,
2506                            java.lang.String.class,
2507                            com.liferay.portal.service.ServiceContext.class
2508                    };
2509            private static final Class<?>[] _updateArticleParameterTypes53 = new Class[] {
2510                            long.class, long.class, java.lang.String.class, double.class,
2511                            java.lang.String.class,
2512                            com.liferay.portal.service.ServiceContext.class
2513                    };
2514            private static final Class<?>[] _updateArticleTranslationParameterTypes54 = new Class[] {
2515                            long.class, java.lang.String.class, double.class,
2516                            java.util.Locale.class, java.lang.String.class,
2517                            java.lang.String.class, java.lang.String.class, java.util.Map.class
2518                    };
2519            private static final Class<?>[] _updateArticleTranslationParameterTypes55 = new Class[] {
2520                            long.class, java.lang.String.class, double.class,
2521                            java.util.Locale.class, java.lang.String.class,
2522                            java.lang.String.class, java.lang.String.class, java.util.Map.class,
2523                            com.liferay.portal.service.ServiceContext.class
2524                    };
2525            private static final Class<?>[] _updateContentParameterTypes56 = new Class[] {
2526                            long.class, java.lang.String.class, double.class,
2527                            java.lang.String.class
2528                    };
2529            private static final Class<?>[] _updateStatusParameterTypes57 = new Class[] {
2530                            long.class, java.lang.String.class, double.class, int.class,
2531                            java.lang.String.class,
2532                            com.liferay.portal.service.ServiceContext.class
2533                    };
2534    }