001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.journal.service.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 fetchArticle(
359                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
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                                            "fetchArticle", _fetchArticleParameterTypes7);
365    
366                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
367                                            articleId);
368    
369                            Object returnObj = null;
370    
371                            try {
372                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
373                            }
374                            catch (Exception e) {
375                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
376                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
377                                    }
378    
379                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
380                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
381                                    }
382    
383                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
384                            }
385    
386                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
387                    }
388                    catch (com.liferay.portal.kernel.exception.SystemException se) {
389                            _log.error(se, se);
390    
391                            throw se;
392                    }
393            }
394    
395            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
396                    HttpPrincipal httpPrincipal, long id)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    try {
400                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
401                                            "getArticle", _getArticleParameterTypes8);
402    
403                            MethodHandler methodHandler = new MethodHandler(methodKey, id);
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                    throws com.liferay.portal.kernel.exception.PortalException,
434                            com.liferay.portal.kernel.exception.SystemException {
435                    try {
436                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
437                                            "getArticle", _getArticleParameterTypes9);
438    
439                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
440                                            articleId);
441    
442                            Object returnObj = null;
443    
444                            try {
445                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
446                            }
447                            catch (Exception e) {
448                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
449                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
450                                    }
451    
452                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
453                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
454                                    }
455    
456                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
457                            }
458    
459                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
460                    }
461                    catch (com.liferay.portal.kernel.exception.SystemException se) {
462                            _log.error(se, se);
463    
464                            throw se;
465                    }
466            }
467    
468            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
469                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
470                    double version)
471                    throws com.liferay.portal.kernel.exception.PortalException,
472                            com.liferay.portal.kernel.exception.SystemException {
473                    try {
474                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
475                                            "getArticle", _getArticleParameterTypes10);
476    
477                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
478                                            articleId, version);
479    
480                            Object returnObj = null;
481    
482                            try {
483                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
484                            }
485                            catch (Exception e) {
486                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
487                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
488                                    }
489    
490                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
491                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
492                                    }
493    
494                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
495                            }
496    
497                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
498                    }
499                    catch (com.liferay.portal.kernel.exception.SystemException se) {
500                            _log.error(se, se);
501    
502                            throw se;
503                    }
504            }
505    
506            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
507                    HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
508                    long classPK)
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                                            "getArticle", _getArticleParameterTypes11);
514    
515                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
516                                            className, classPK);
517    
518                            Object returnObj = null;
519    
520                            try {
521                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
522                            }
523                            catch (Exception e) {
524                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
525                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
526                                    }
527    
528                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
529                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
530                                    }
531    
532                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
533                            }
534    
535                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
536                    }
537                    catch (com.liferay.portal.kernel.exception.SystemException se) {
538                            _log.error(se, se);
539    
540                            throw se;
541                    }
542            }
543    
544            public static com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
545                    HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
546                    throws com.liferay.portal.kernel.exception.PortalException,
547                            com.liferay.portal.kernel.exception.SystemException {
548                    try {
549                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
550                                            "getArticleByUrlTitle",
551                                            _getArticleByUrlTitleParameterTypes12);
552    
553                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
554                                            urlTitle);
555    
556                            Object returnObj = null;
557    
558                            try {
559                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
560                            }
561                            catch (Exception e) {
562                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
563                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
564                                    }
565    
566                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
567                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
568                                    }
569    
570                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
571                            }
572    
573                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
574                    }
575                    catch (com.liferay.portal.kernel.exception.SystemException se) {
576                            _log.error(se, se);
577    
578                            throw se;
579                    }
580            }
581    
582            public static java.lang.String getArticleContent(
583                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
584                    double version, java.lang.String languageId,
585                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
586                    throws com.liferay.portal.kernel.exception.PortalException,
587                            com.liferay.portal.kernel.exception.SystemException {
588                    try {
589                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
590                                            "getArticleContent", _getArticleContentParameterTypes13);
591    
592                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
593                                            articleId, version, languageId, themeDisplay);
594    
595                            Object returnObj = null;
596    
597                            try {
598                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
599                            }
600                            catch (Exception e) {
601                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
602                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
603                                    }
604    
605                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
606                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
607                                    }
608    
609                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
610                            }
611    
612                            return (java.lang.String)returnObj;
613                    }
614                    catch (com.liferay.portal.kernel.exception.SystemException se) {
615                            _log.error(se, se);
616    
617                            throw se;
618                    }
619            }
620    
621            public static java.lang.String getArticleContent(
622                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
623                    java.lang.String languageId,
624                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
625                    throws com.liferay.portal.kernel.exception.PortalException,
626                            com.liferay.portal.kernel.exception.SystemException {
627                    try {
628                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
629                                            "getArticleContent", _getArticleContentParameterTypes14);
630    
631                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
632                                            articleId, languageId, themeDisplay);
633    
634                            Object returnObj = null;
635    
636                            try {
637                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
638                            }
639                            catch (Exception e) {
640                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
641                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
642                                    }
643    
644                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
645                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
646                                    }
647    
648                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
649                            }
650    
651                            return (java.lang.String)returnObj;
652                    }
653                    catch (com.liferay.portal.kernel.exception.SystemException se) {
654                            _log.error(se, se);
655    
656                            throw se;
657                    }
658            }
659    
660            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
661                    HttpPrincipal httpPrincipal, long groupId, long folderId)
662                    throws com.liferay.portal.kernel.exception.SystemException {
663                    try {
664                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
665                                            "getArticles", _getArticlesParameterTypes15);
666    
667                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
668                                            folderId);
669    
670                            Object returnObj = null;
671    
672                            try {
673                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
674                            }
675                            catch (Exception e) {
676                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
677                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
678                                    }
679    
680                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
681                            }
682    
683                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
684                    }
685                    catch (com.liferay.portal.kernel.exception.SystemException se) {
686                            _log.error(se, se);
687    
688                            throw se;
689                    }
690            }
691    
692            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
693                    HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
694                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
695                    throws com.liferay.portal.kernel.exception.SystemException {
696                    try {
697                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
698                                            "getArticles", _getArticlesParameterTypes16);
699    
700                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
701                                            folderId, start, end, obc);
702    
703                            Object returnObj = null;
704    
705                            try {
706                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
707                            }
708                            catch (Exception e) {
709                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
710                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
711                                    }
712    
713                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
714                            }
715    
716                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
717                    }
718                    catch (com.liferay.portal.kernel.exception.SystemException se) {
719                            _log.error(se, se);
720    
721                            throw se;
722                    }
723            }
724    
725            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByArticleId(
726                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
727                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
728                    throws com.liferay.portal.kernel.exception.SystemException {
729                    try {
730                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
731                                            "getArticlesByArticleId",
732                                            _getArticlesByArticleIdParameterTypes17);
733    
734                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
735                                            articleId, start, end, obc);
736    
737                            Object returnObj = null;
738    
739                            try {
740                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
741                            }
742                            catch (Exception e) {
743                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
744                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
745                                    }
746    
747                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
748                            }
749    
750                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
751                    }
752                    catch (com.liferay.portal.kernel.exception.SystemException se) {
753                            _log.error(se, se);
754    
755                            throw se;
756                    }
757            }
758    
759            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByLayoutUuid(
760                    HttpPrincipal httpPrincipal, long groupId, java.lang.String layoutUuid)
761                    throws com.liferay.portal.kernel.exception.SystemException {
762                    try {
763                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
764                                            "getArticlesByLayoutUuid",
765                                            _getArticlesByLayoutUuidParameterTypes18);
766    
767                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
768                                            layoutUuid);
769    
770                            Object returnObj = null;
771    
772                            try {
773                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
774                            }
775                            catch (Exception e) {
776                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
777                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
778                                    }
779    
780                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
781                            }
782    
783                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
784                    }
785                    catch (com.liferay.portal.kernel.exception.SystemException se) {
786                            _log.error(se, se);
787    
788                            throw se;
789                    }
790            }
791    
792            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByStructureId(
793                    HttpPrincipal httpPrincipal, long groupId, long classNameId,
794                    java.lang.String ddmStructureKey, int status, int start, int end,
795                    com.liferay.portal.kernel.util.OrderByComparator obc)
796                    throws com.liferay.portal.kernel.exception.SystemException {
797                    try {
798                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
799                                            "getArticlesByStructureId",
800                                            _getArticlesByStructureIdParameterTypes19);
801    
802                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
803                                            classNameId, ddmStructureKey, status, start, end, obc);
804    
805                            Object returnObj = null;
806    
807                            try {
808                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
809                            }
810                            catch (Exception e) {
811                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
812                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
813                                    }
814    
815                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
816                            }
817    
818                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
819                    }
820                    catch (com.liferay.portal.kernel.exception.SystemException se) {
821                            _log.error(se, se);
822    
823                            throw se;
824                    }
825            }
826    
827            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesByStructureId(
828                    HttpPrincipal httpPrincipal, long groupId,
829                    java.lang.String ddmStructureKey, int start, int end,
830                    com.liferay.portal.kernel.util.OrderByComparator obc)
831                    throws com.liferay.portal.kernel.exception.SystemException {
832                    try {
833                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
834                                            "getArticlesByStructureId",
835                                            _getArticlesByStructureIdParameterTypes20);
836    
837                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
838                                            ddmStructureKey, start, end, obc);
839    
840                            Object returnObj = null;
841    
842                            try {
843                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
844                            }
845                            catch (Exception e) {
846                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
847                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
848                                    }
849    
850                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
851                            }
852    
853                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
854                    }
855                    catch (com.liferay.portal.kernel.exception.SystemException se) {
856                            _log.error(se, se);
857    
858                            throw se;
859                    }
860            }
861    
862            public static int getArticlesCount(HttpPrincipal httpPrincipal,
863                    long groupId, long folderId)
864                    throws com.liferay.portal.kernel.exception.SystemException {
865                    try {
866                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
867                                            "getArticlesCount", _getArticlesCountParameterTypes21);
868    
869                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
870                                            folderId);
871    
872                            Object returnObj = null;
873    
874                            try {
875                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
876                            }
877                            catch (Exception e) {
878                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
879                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
880                                    }
881    
882                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
883                            }
884    
885                            return ((Integer)returnObj).intValue();
886                    }
887                    catch (com.liferay.portal.kernel.exception.SystemException se) {
888                            _log.error(se, se);
889    
890                            throw se;
891                    }
892            }
893    
894            public static int getArticlesCount(HttpPrincipal httpPrincipal,
895                    long groupId, long folderId, int status)
896                    throws com.liferay.portal.kernel.exception.SystemException {
897                    try {
898                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
899                                            "getArticlesCount", _getArticlesCountParameterTypes22);
900    
901                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
902                                            folderId, status);
903    
904                            Object returnObj = null;
905    
906                            try {
907                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
908                            }
909                            catch (Exception e) {
910                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
911                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
912                                    }
913    
914                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
915                            }
916    
917                            return ((Integer)returnObj).intValue();
918                    }
919                    catch (com.liferay.portal.kernel.exception.SystemException se) {
920                            _log.error(se, se);
921    
922                            throw se;
923                    }
924            }
925    
926            public static int getArticlesCountByArticleId(HttpPrincipal httpPrincipal,
927                    long groupId, java.lang.String articleId)
928                    throws com.liferay.portal.kernel.exception.SystemException {
929                    try {
930                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
931                                            "getArticlesCountByArticleId",
932                                            _getArticlesCountByArticleIdParameterTypes23);
933    
934                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
935                                            articleId);
936    
937                            Object returnObj = null;
938    
939                            try {
940                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
941                            }
942                            catch (Exception e) {
943                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
944                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
945                                    }
946    
947                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
948                            }
949    
950                            return ((Integer)returnObj).intValue();
951                    }
952                    catch (com.liferay.portal.kernel.exception.SystemException se) {
953                            _log.error(se, se);
954    
955                            throw se;
956                    }
957            }
958    
959            public static int getArticlesCountByStructureId(
960                    HttpPrincipal httpPrincipal, long groupId, long classNameId,
961                    java.lang.String ddmStructureKey, int status)
962                    throws com.liferay.portal.kernel.exception.SystemException {
963                    try {
964                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
965                                            "getArticlesCountByStructureId",
966                                            _getArticlesCountByStructureIdParameterTypes24);
967    
968                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
969                                            classNameId, ddmStructureKey, status);
970    
971                            Object returnObj = null;
972    
973                            try {
974                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
975                            }
976                            catch (Exception e) {
977                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
978                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
979                                    }
980    
981                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
982                            }
983    
984                            return ((Integer)returnObj).intValue();
985                    }
986                    catch (com.liferay.portal.kernel.exception.SystemException se) {
987                            _log.error(se, se);
988    
989                            throw se;
990                    }
991            }
992    
993            public static int getArticlesCountByStructureId(
994                    HttpPrincipal httpPrincipal, long groupId,
995                    java.lang.String ddmStructureKey)
996                    throws com.liferay.portal.kernel.exception.SystemException {
997                    try {
998                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
999                                            "getArticlesCountByStructureId",
1000                                            _getArticlesCountByStructureIdParameterTypes25);
1001    
1002                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1003                                            ddmStructureKey);
1004    
1005                            Object returnObj = null;
1006    
1007                            try {
1008                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1009                            }
1010                            catch (Exception e) {
1011                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1012                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1013                                    }
1014    
1015                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1016                            }
1017    
1018                            return ((Integer)returnObj).intValue();
1019                    }
1020                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1021                            _log.error(se, se);
1022    
1023                            throw se;
1024                    }
1025            }
1026    
1027            public static com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
1028                    HttpPrincipal httpPrincipal, long groupId, java.lang.String urlTitle)
1029                    throws com.liferay.portal.kernel.exception.PortalException,
1030                            com.liferay.portal.kernel.exception.SystemException {
1031                    try {
1032                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1033                                            "getDisplayArticleByUrlTitle",
1034                                            _getDisplayArticleByUrlTitleParameterTypes26);
1035    
1036                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1037                                            urlTitle);
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.PortalException) {
1046                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1047                                    }
1048    
1049                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1050                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1051                                    }
1052    
1053                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1054                            }
1055    
1056                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1057                    }
1058                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1059                            _log.error(se, se);
1060    
1061                            throw se;
1062                    }
1063            }
1064    
1065            public static int getFoldersAndArticlesCount(HttpPrincipal httpPrincipal,
1066                    long groupId, java.util.List<java.lang.Long> folderIds)
1067                    throws com.liferay.portal.kernel.exception.SystemException {
1068                    try {
1069                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1070                                            "getFoldersAndArticlesCount",
1071                                            _getFoldersAndArticlesCountParameterTypes27);
1072    
1073                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1074                                            folderIds);
1075    
1076                            Object returnObj = null;
1077    
1078                            try {
1079                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1080                            }
1081                            catch (Exception e) {
1082                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1083                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1084                                    }
1085    
1086                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1087                            }
1088    
1089                            return ((Integer)returnObj).intValue();
1090                    }
1091                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1092                            _log.error(se, se);
1093    
1094                            throw se;
1095                    }
1096            }
1097    
1098            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getGroupArticles(
1099                    HttpPrincipal httpPrincipal, long groupId, long userId,
1100                    long rootFolderId, int status, int start, int end,
1101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1102                    throws com.liferay.portal.kernel.exception.PortalException,
1103                            com.liferay.portal.kernel.exception.SystemException {
1104                    try {
1105                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1106                                            "getGroupArticles", _getGroupArticlesParameterTypes28);
1107    
1108                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1109                                            userId, rootFolderId, status, start, end, orderByComparator);
1110    
1111                            Object returnObj = null;
1112    
1113                            try {
1114                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1115                            }
1116                            catch (Exception e) {
1117                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1118                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1119                                    }
1120    
1121                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1122                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1123                                    }
1124    
1125                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1126                            }
1127    
1128                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1129                    }
1130                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1131                            _log.error(se, se);
1132    
1133                            throw se;
1134                    }
1135            }
1136    
1137            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> getGroupArticles(
1138                    HttpPrincipal httpPrincipal, long groupId, long userId,
1139                    long rootFolderId, int start, int end,
1140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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                                            "getGroupArticles", _getGroupArticlesParameterTypes29);
1146    
1147                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1148                                            userId, rootFolderId, start, end, orderByComparator);
1149    
1150                            Object returnObj = null;
1151    
1152                            try {
1153                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1154                            }
1155                            catch (Exception e) {
1156                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1157                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1158                                    }
1159    
1160                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1161                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1162                                    }
1163    
1164                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1165                            }
1166    
1167                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1168                    }
1169                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1170                            _log.error(se, se);
1171    
1172                            throw se;
1173                    }
1174            }
1175    
1176            public static int getGroupArticlesCount(HttpPrincipal httpPrincipal,
1177                    long groupId, long userId, long rootFolderId)
1178                    throws com.liferay.portal.kernel.exception.PortalException,
1179                            com.liferay.portal.kernel.exception.SystemException {
1180                    try {
1181                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1182                                            "getGroupArticlesCount",
1183                                            _getGroupArticlesCountParameterTypes30);
1184    
1185                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1186                                            userId, rootFolderId);
1187    
1188                            Object returnObj = null;
1189    
1190                            try {
1191                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1192                            }
1193                            catch (Exception e) {
1194                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1195                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1196                                    }
1197    
1198                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1199                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1200                                    }
1201    
1202                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1203                            }
1204    
1205                            return ((Integer)returnObj).intValue();
1206                    }
1207                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1208                            _log.error(se, se);
1209    
1210                            throw se;
1211                    }
1212            }
1213    
1214            public static int getGroupArticlesCount(HttpPrincipal httpPrincipal,
1215                    long groupId, long userId, long rootFolderId, int status)
1216                    throws com.liferay.portal.kernel.exception.PortalException,
1217                            com.liferay.portal.kernel.exception.SystemException {
1218                    try {
1219                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1220                                            "getGroupArticlesCount",
1221                                            _getGroupArticlesCountParameterTypes31);
1222    
1223                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1224                                            userId, rootFolderId, status);
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 ((Integer)returnObj).intValue();
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 resourcePrimKey)
1254                    throws com.liferay.portal.kernel.exception.PortalException,
1255                            com.liferay.portal.kernel.exception.SystemException {
1256                    try {
1257                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1258                                            "getLatestArticle", _getLatestArticleParameterTypes32);
1259    
1260                            MethodHandler methodHandler = new MethodHandler(methodKey,
1261                                            resourcePrimKey);
1262    
1263                            Object returnObj = null;
1264    
1265                            try {
1266                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1267                            }
1268                            catch (Exception e) {
1269                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1270                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1271                                    }
1272    
1273                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1274                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1275                                    }
1276    
1277                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1278                            }
1279    
1280                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1281                    }
1282                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1283                            _log.error(se, se);
1284    
1285                            throw se;
1286                    }
1287            }
1288    
1289            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1290                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1291                    int status)
1292                    throws com.liferay.portal.kernel.exception.PortalException,
1293                            com.liferay.portal.kernel.exception.SystemException {
1294                    try {
1295                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1296                                            "getLatestArticle", _getLatestArticleParameterTypes33);
1297    
1298                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1299                                            articleId, status);
1300    
1301                            Object returnObj = null;
1302    
1303                            try {
1304                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1305                            }
1306                            catch (Exception e) {
1307                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1308                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1309                                    }
1310    
1311                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1312                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1313                                    }
1314    
1315                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1316                            }
1317    
1318                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1319                    }
1320                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1321                            _log.error(se, se);
1322    
1323                            throw se;
1324                    }
1325            }
1326    
1327            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1328                    HttpPrincipal httpPrincipal, long groupId, java.lang.String className,
1329                    long classPK)
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                                            "getLatestArticle", _getLatestArticleParameterTypes34);
1335    
1336                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1337                                            className, classPK);
1338    
1339                            Object returnObj = null;
1340    
1341                            try {
1342                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1343                            }
1344                            catch (Exception e) {
1345                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1346                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1347                                    }
1348    
1349                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1350                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1351                                    }
1352    
1353                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1354                            }
1355    
1356                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1357                    }
1358                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1359                            _log.error(se, se);
1360    
1361                            throw se;
1362                    }
1363            }
1364    
1365            public static void moveArticle(HttpPrincipal httpPrincipal, long groupId,
1366                    java.lang.String articleId, long newFolderId)
1367                    throws com.liferay.portal.kernel.exception.PortalException,
1368                            com.liferay.portal.kernel.exception.SystemException {
1369                    try {
1370                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1371                                            "moveArticle", _moveArticleParameterTypes35);
1372    
1373                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1374                                            articleId, newFolderId);
1375    
1376                            try {
1377                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1378                            }
1379                            catch (Exception e) {
1380                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1381                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1382                                    }
1383    
1384                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1385                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1386                                    }
1387    
1388                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1389                            }
1390                    }
1391                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1392                            _log.error(se, se);
1393    
1394                            throw se;
1395                    }
1396            }
1397    
1398            public static com.liferay.portlet.journal.model.JournalArticle moveArticleFromTrash(
1399                    HttpPrincipal httpPrincipal, long groupId, long resourcePrimKey,
1400                    long newFolderId,
1401                    com.liferay.portal.service.ServiceContext serviceContext)
1402                    throws com.liferay.portal.kernel.exception.PortalException,
1403                            com.liferay.portal.kernel.exception.SystemException {
1404                    try {
1405                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1406                                            "moveArticleFromTrash",
1407                                            _moveArticleFromTrashParameterTypes36);
1408    
1409                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1410                                            resourcePrimKey, newFolderId, serviceContext);
1411    
1412                            Object returnObj = null;
1413    
1414                            try {
1415                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1416                            }
1417                            catch (Exception e) {
1418                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1419                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1420                                    }
1421    
1422                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1423                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1424                                    }
1425    
1426                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1427                            }
1428    
1429                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1430                    }
1431                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1432                            _log.error(se, se);
1433    
1434                            throw se;
1435                    }
1436            }
1437    
1438            public static com.liferay.portlet.journal.model.JournalArticle moveArticleFromTrash(
1439                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1440                    long newFolderId,
1441                    com.liferay.portal.service.ServiceContext serviceContext)
1442                    throws com.liferay.portal.kernel.exception.PortalException,
1443                            com.liferay.portal.kernel.exception.SystemException {
1444                    try {
1445                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1446                                            "moveArticleFromTrash",
1447                                            _moveArticleFromTrashParameterTypes37);
1448    
1449                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1450                                            articleId, newFolderId, serviceContext);
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 com.liferay.portlet.journal.model.JournalArticle moveArticleToTrash(
1479                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId)
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                                            "moveArticleToTrash", _moveArticleToTrashParameterTypes38);
1485    
1486                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1487                                            articleId);
1488    
1489                            Object returnObj = null;
1490    
1491                            try {
1492                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1493                            }
1494                            catch (Exception e) {
1495                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1496                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1497                                    }
1498    
1499                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1500                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1501                                    }
1502    
1503                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1504                            }
1505    
1506                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1507                    }
1508                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1509                            _log.error(se, se);
1510    
1511                            throw se;
1512                    }
1513            }
1514    
1515            public static void removeArticleLocale(HttpPrincipal httpPrincipal,
1516                    long companyId, java.lang.String languageId)
1517                    throws com.liferay.portal.kernel.exception.PortalException,
1518                            com.liferay.portal.kernel.exception.SystemException {
1519                    try {
1520                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1521                                            "removeArticleLocale", _removeArticleLocaleParameterTypes39);
1522    
1523                            MethodHandler methodHandler = new MethodHandler(methodKey,
1524                                            companyId, languageId);
1525    
1526                            try {
1527                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1528                            }
1529                            catch (Exception e) {
1530                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1531                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1532                                    }
1533    
1534                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1535                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1536                                    }
1537    
1538                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1539                            }
1540                    }
1541                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1542                            _log.error(se, se);
1543    
1544                            throw se;
1545                    }
1546            }
1547    
1548            public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
1549                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
1550                    double version, java.lang.String languageId)
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                                            "removeArticleLocale", _removeArticleLocaleParameterTypes40);
1556    
1557                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1558                                            articleId, version, languageId);
1559    
1560                            Object returnObj = null;
1561    
1562                            try {
1563                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1564                            }
1565                            catch (Exception e) {
1566                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1567                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1568                                    }
1569    
1570                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1571                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1572                                    }
1573    
1574                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1575                            }
1576    
1577                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
1578                    }
1579                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1580                            _log.error(se, se);
1581    
1582                            throw se;
1583                    }
1584            }
1585    
1586            public static void restoreArticleFromTrash(HttpPrincipal httpPrincipal,
1587                    long resourcePrimKey)
1588                    throws com.liferay.portal.kernel.exception.PortalException,
1589                            com.liferay.portal.kernel.exception.SystemException {
1590                    try {
1591                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1592                                            "restoreArticleFromTrash",
1593                                            _restoreArticleFromTrashParameterTypes41);
1594    
1595                            MethodHandler methodHandler = new MethodHandler(methodKey,
1596                                            resourcePrimKey);
1597    
1598                            try {
1599                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1600                            }
1601                            catch (Exception e) {
1602                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1603                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1604                                    }
1605    
1606                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1607                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1608                                    }
1609    
1610                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1611                            }
1612                    }
1613                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1614                            _log.error(se, se);
1615    
1616                            throw se;
1617                    }
1618            }
1619    
1620            public static void restoreArticleFromTrash(HttpPrincipal httpPrincipal,
1621                    long groupId, java.lang.String articleId)
1622                    throws com.liferay.portal.kernel.exception.PortalException,
1623                            com.liferay.portal.kernel.exception.SystemException {
1624                    try {
1625                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1626                                            "restoreArticleFromTrash",
1627                                            _restoreArticleFromTrashParameterTypes42);
1628    
1629                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1630                                            articleId);
1631    
1632                            try {
1633                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1634                            }
1635                            catch (Exception e) {
1636                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1637                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1638                                    }
1639    
1640                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1641                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1642                                    }
1643    
1644                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1645                            }
1646                    }
1647                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1648                            _log.error(se, se);
1649    
1650                            throw se;
1651                    }
1652            }
1653    
1654            public static com.liferay.portal.kernel.search.Hits search(
1655                    HttpPrincipal httpPrincipal, long groupId, long creatorUserId,
1656                    int status, int start, int end)
1657                    throws com.liferay.portal.kernel.exception.PortalException,
1658                            com.liferay.portal.kernel.exception.SystemException {
1659                    try {
1660                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1661                                            "search", _searchParameterTypes43);
1662    
1663                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1664                                            creatorUserId, status, start, end);
1665    
1666                            Object returnObj = null;
1667    
1668                            try {
1669                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1670                            }
1671                            catch (Exception e) {
1672                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1673                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1674                                    }
1675    
1676                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1677                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1678                                    }
1679    
1680                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1681                            }
1682    
1683                            return (com.liferay.portal.kernel.search.Hits)returnObj;
1684                    }
1685                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1686                            _log.error(se, se);
1687    
1688                            throw se;
1689                    }
1690            }
1691    
1692            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1693                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1694                    java.util.List<java.lang.Long> folderIds, long classNameId,
1695                    java.lang.String keywords, java.lang.Double version,
1696                    java.lang.String type, java.lang.String ddmStructureKey,
1697                    java.lang.String ddmTemplateKey, java.util.Date displayDateGT,
1698                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1699                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1700                    throws com.liferay.portal.kernel.exception.SystemException {
1701                    try {
1702                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1703                                            "search", _searchParameterTypes44);
1704    
1705                            MethodHandler methodHandler = new MethodHandler(methodKey,
1706                                            companyId, groupId, folderIds, classNameId, keywords,
1707                                            version, type, ddmStructureKey, ddmTemplateKey,
1708                                            displayDateGT, displayDateLT, status, reviewDate, start,
1709                                            end, obc);
1710    
1711                            Object returnObj = null;
1712    
1713                            try {
1714                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1715                            }
1716                            catch (Exception e) {
1717                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1718                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1719                                    }
1720    
1721                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1722                            }
1723    
1724                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1725                    }
1726                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1727                            _log.error(se, se);
1728    
1729                            throw se;
1730                    }
1731            }
1732    
1733            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1734                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1735                    java.util.List<java.lang.Long> folderIds, long classNameId,
1736                    java.lang.String articleId, java.lang.Double version,
1737                    java.lang.String title, java.lang.String description,
1738                    java.lang.String content, java.lang.String type,
1739                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1740                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1741                    java.util.Date reviewDate, boolean andOperator, int start, int end,
1742                    com.liferay.portal.kernel.util.OrderByComparator obc)
1743                    throws com.liferay.portal.kernel.exception.SystemException {
1744                    try {
1745                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1746                                            "search", _searchParameterTypes45);
1747    
1748                            MethodHandler methodHandler = new MethodHandler(methodKey,
1749                                            companyId, groupId, folderIds, classNameId, articleId,
1750                                            version, title, description, content, type,
1751                                            ddmStructureKey, ddmTemplateKey, displayDateGT,
1752                                            displayDateLT, status, reviewDate, andOperator, start, end,
1753                                            obc);
1754    
1755                            Object returnObj = null;
1756    
1757                            try {
1758                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1759                            }
1760                            catch (Exception e) {
1761                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1762                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1763                                    }
1764    
1765                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1766                            }
1767    
1768                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1769                    }
1770                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1771                            _log.error(se, se);
1772    
1773                            throw se;
1774                    }
1775            }
1776    
1777            public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
1778                    HttpPrincipal httpPrincipal, long companyId, long groupId,
1779                    java.util.List<java.lang.Long> folderIds, long classNameId,
1780                    java.lang.String articleId, java.lang.Double version,
1781                    java.lang.String title, java.lang.String description,
1782                    java.lang.String content, java.lang.String type,
1783                    java.lang.String[] ddmStructureKeys,
1784                    java.lang.String[] ddmTemplateKeys, java.util.Date displayDateGT,
1785                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1786                    boolean andOperator, int start, int end,
1787                    com.liferay.portal.kernel.util.OrderByComparator obc)
1788                    throws com.liferay.portal.kernel.exception.SystemException {
1789                    try {
1790                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1791                                            "search", _searchParameterTypes46);
1792    
1793                            MethodHandler methodHandler = new MethodHandler(methodKey,
1794                                            companyId, groupId, folderIds, classNameId, articleId,
1795                                            version, title, description, content, type,
1796                                            ddmStructureKeys, ddmTemplateKeys, displayDateGT,
1797                                            displayDateLT, status, reviewDate, andOperator, start, end,
1798                                            obc);
1799    
1800                            Object returnObj = null;
1801    
1802                            try {
1803                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1804                            }
1805                            catch (Exception e) {
1806                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1807                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1808                                    }
1809    
1810                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1811                            }
1812    
1813                            return (java.util.List<com.liferay.portlet.journal.model.JournalArticle>)returnObj;
1814                    }
1815                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1816                            _log.error(se, se);
1817    
1818                            throw se;
1819                    }
1820            }
1821    
1822            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1823                    long groupId, java.util.List<java.lang.Long> folderIds,
1824                    long classNameId, java.lang.String keywords, java.lang.Double version,
1825                    java.lang.String type, java.lang.String ddmStructureKey,
1826                    java.lang.String ddmTemplateKey, java.util.Date displayDateGT,
1827                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
1828                    throws com.liferay.portal.kernel.exception.SystemException {
1829                    try {
1830                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1831                                            "searchCount", _searchCountParameterTypes47);
1832    
1833                            MethodHandler methodHandler = new MethodHandler(methodKey,
1834                                            companyId, groupId, folderIds, classNameId, keywords,
1835                                            version, type, ddmStructureKey, ddmTemplateKey,
1836                                            displayDateGT, displayDateLT, status, reviewDate);
1837    
1838                            Object returnObj = null;
1839    
1840                            try {
1841                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1842                            }
1843                            catch (Exception e) {
1844                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1845                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1846                                    }
1847    
1848                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1849                            }
1850    
1851                            return ((Integer)returnObj).intValue();
1852                    }
1853                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1854                            _log.error(se, se);
1855    
1856                            throw se;
1857                    }
1858            }
1859    
1860            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1861                    long groupId, java.util.List<java.lang.Long> folderIds,
1862                    long classNameId, java.lang.String articleId, java.lang.Double version,
1863                    java.lang.String title, java.lang.String description,
1864                    java.lang.String content, java.lang.String type,
1865                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
1866                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
1867                    java.util.Date reviewDate, boolean andOperator)
1868                    throws com.liferay.portal.kernel.exception.SystemException {
1869                    try {
1870                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1871                                            "searchCount", _searchCountParameterTypes48);
1872    
1873                            MethodHandler methodHandler = new MethodHandler(methodKey,
1874                                            companyId, groupId, folderIds, classNameId, articleId,
1875                                            version, title, description, content, type,
1876                                            ddmStructureKey, ddmTemplateKey, displayDateGT,
1877                                            displayDateLT, status, reviewDate, andOperator);
1878    
1879                            Object returnObj = null;
1880    
1881                            try {
1882                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1883                            }
1884                            catch (Exception e) {
1885                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1886                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1887                                    }
1888    
1889                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1890                            }
1891    
1892                            return ((Integer)returnObj).intValue();
1893                    }
1894                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1895                            _log.error(se, se);
1896    
1897                            throw se;
1898                    }
1899            }
1900    
1901            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
1902                    long groupId, java.util.List<java.lang.Long> folderIds,
1903                    long classNameId, java.lang.String articleId, java.lang.Double version,
1904                    java.lang.String title, java.lang.String description,
1905                    java.lang.String content, java.lang.String type,
1906                    java.lang.String[] ddmStructureKeys,
1907                    java.lang.String[] ddmTemplateKeys, java.util.Date displayDateGT,
1908                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
1909                    boolean andOperator)
1910                    throws com.liferay.portal.kernel.exception.SystemException {
1911                    try {
1912                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1913                                            "searchCount", _searchCountParameterTypes49);
1914    
1915                            MethodHandler methodHandler = new MethodHandler(methodKey,
1916                                            companyId, groupId, folderIds, classNameId, articleId,
1917                                            version, title, description, content, type,
1918                                            ddmStructureKeys, ddmTemplateKeys, displayDateGT,
1919                                            displayDateLT, status, reviewDate, andOperator);
1920    
1921                            Object returnObj = null;
1922    
1923                            try {
1924                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1925                            }
1926                            catch (Exception e) {
1927                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1928                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1929                                    }
1930    
1931                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1932                            }
1933    
1934                            return ((Integer)returnObj).intValue();
1935                    }
1936                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1937                            _log.error(se, se);
1938    
1939                            throw se;
1940                    }
1941            }
1942    
1943            public static void subscribe(HttpPrincipal httpPrincipal, long groupId)
1944                    throws com.liferay.portal.kernel.exception.PortalException,
1945                            com.liferay.portal.kernel.exception.SystemException {
1946                    try {
1947                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
1948                                            "subscribe", _subscribeParameterTypes50);
1949    
1950                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1951    
1952                            try {
1953                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1954                            }
1955                            catch (Exception e) {
1956                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1957                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1958                                    }
1959    
1960                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1961                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1962                                    }
1963    
1964                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1965                            }
1966                    }
1967                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1968                            _log.error(se, se);
1969    
1970                            throw se;
1971                    }
1972            }
1973    
1974            public static void unsubscribe(HttpPrincipal httpPrincipal, long groupId)
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                                            "unsubscribe", _unsubscribeParameterTypes51);
1980    
1981                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
1982    
1983                            try {
1984                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1985                            }
1986                            catch (Exception e) {
1987                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1988                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1989                                    }
1990    
1991                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1992                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1993                                    }
1994    
1995                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1996                            }
1997                    }
1998                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1999                            _log.error(se, se);
2000    
2001                            throw se;
2002                    }
2003            }
2004    
2005            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
2006                    HttpPrincipal httpPrincipal, long userId, long groupId, long folderId,
2007                    java.lang.String articleId, double version,
2008                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
2009                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
2010                    java.lang.String content, java.lang.String layoutUuid,
2011                    com.liferay.portal.service.ServiceContext serviceContext)
2012                    throws com.liferay.portal.kernel.exception.PortalException,
2013                            com.liferay.portal.kernel.exception.SystemException {
2014                    try {
2015                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2016                                            "updateArticle", _updateArticleParameterTypes52);
2017    
2018                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
2019                                            groupId, folderId, articleId, version, titleMap,
2020                                            descriptionMap, content, layoutUuid, serviceContext);
2021    
2022                            Object returnObj = null;
2023    
2024                            try {
2025                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2026                            }
2027                            catch (Exception e) {
2028                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2029                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2030                                    }
2031    
2032                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2033                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2034                                    }
2035    
2036                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2037                            }
2038    
2039                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2040                    }
2041                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2042                            _log.error(se, se);
2043    
2044                            throw se;
2045                    }
2046            }
2047    
2048            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
2049                    HttpPrincipal httpPrincipal, long groupId, long folderId,
2050                    java.lang.String articleId, double version,
2051                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
2052                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
2053                    java.lang.String content, java.lang.String type,
2054                    java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey,
2055                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
2056                    int displayDateYear, int displayDateHour, int displayDateMinute,
2057                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
2058                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
2059                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
2060                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
2061                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
2062                    java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
2063                    java.lang.String articleURL,
2064                    com.liferay.portal.service.ServiceContext serviceContext)
2065                    throws com.liferay.portal.kernel.exception.PortalException,
2066                            com.liferay.portal.kernel.exception.SystemException {
2067                    try {
2068                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2069                                            "updateArticle", _updateArticleParameterTypes53);
2070    
2071                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2072                                            folderId, articleId, version, titleMap, descriptionMap,
2073                                            content, type, ddmStructureKey, ddmTemplateKey, layoutUuid,
2074                                            displayDateMonth, displayDateDay, displayDateYear,
2075                                            displayDateHour, displayDateMinute, expirationDateMonth,
2076                                            expirationDateDay, expirationDateYear, expirationDateHour,
2077                                            expirationDateMinute, neverExpire, reviewDateMonth,
2078                                            reviewDateDay, reviewDateYear, reviewDateHour,
2079                                            reviewDateMinute, neverReview, indexable, smallImage,
2080                                            smallImageURL, smallFile, images, articleURL, serviceContext);
2081    
2082                            Object returnObj = null;
2083    
2084                            try {
2085                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2086                            }
2087                            catch (Exception e) {
2088                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2089                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2090                                    }
2091    
2092                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2093                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2094                                    }
2095    
2096                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2097                            }
2098    
2099                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2100                    }
2101                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2102                            _log.error(se, se);
2103    
2104                            throw se;
2105                    }
2106            }
2107    
2108            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
2109                    HttpPrincipal httpPrincipal, long groupId, long folderId,
2110                    java.lang.String articleId, double version, java.lang.String content,
2111                    com.liferay.portal.service.ServiceContext serviceContext)
2112                    throws com.liferay.portal.kernel.exception.PortalException,
2113                            com.liferay.portal.kernel.exception.SystemException {
2114                    try {
2115                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2116                                            "updateArticle", _updateArticleParameterTypes54);
2117    
2118                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2119                                            folderId, articleId, version, content, serviceContext);
2120    
2121                            Object returnObj = null;
2122    
2123                            try {
2124                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2125                            }
2126                            catch (Exception e) {
2127                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2128                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2129                                    }
2130    
2131                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2132                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2133                                    }
2134    
2135                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2136                            }
2137    
2138                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2139                    }
2140                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2141                            _log.error(se, se);
2142    
2143                            throw se;
2144                    }
2145            }
2146    
2147            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
2148                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2149                    double version, java.util.Locale locale, java.lang.String title,
2150                    java.lang.String description, java.lang.String content,
2151                    java.util.Map<java.lang.String, byte[]> images)
2152                    throws com.liferay.portal.kernel.exception.PortalException,
2153                            com.liferay.portal.kernel.exception.SystemException {
2154                    try {
2155                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2156                                            "updateArticleTranslation",
2157                                            _updateArticleTranslationParameterTypes55);
2158    
2159                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2160                                            articleId, version, locale, title, description, content,
2161                                            images);
2162    
2163                            Object returnObj = null;
2164    
2165                            try {
2166                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2167                            }
2168                            catch (Exception e) {
2169                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2170                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2171                                    }
2172    
2173                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2174                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2175                                    }
2176    
2177                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2178                            }
2179    
2180                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2181                    }
2182                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2183                            _log.error(se, se);
2184    
2185                            throw se;
2186                    }
2187            }
2188    
2189            public static com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
2190                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2191                    double version, java.util.Locale locale, java.lang.String title,
2192                    java.lang.String description, java.lang.String content,
2193                    java.util.Map<java.lang.String, byte[]> images,
2194                    com.liferay.portal.service.ServiceContext serviceContext)
2195                    throws com.liferay.portal.kernel.exception.PortalException,
2196                            com.liferay.portal.kernel.exception.SystemException {
2197                    try {
2198                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2199                                            "updateArticleTranslation",
2200                                            _updateArticleTranslationParameterTypes56);
2201    
2202                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2203                                            articleId, version, locale, title, description, content,
2204                                            images, serviceContext);
2205    
2206                            Object returnObj = null;
2207    
2208                            try {
2209                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2210                            }
2211                            catch (Exception e) {
2212                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2213                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2214                                    }
2215    
2216                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2217                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2218                                    }
2219    
2220                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2221                            }
2222    
2223                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2224                    }
2225                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2226                            _log.error(se, se);
2227    
2228                            throw se;
2229                    }
2230            }
2231    
2232            public static com.liferay.portlet.journal.model.JournalArticle updateContent(
2233                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2234                    double version, java.lang.String content)
2235                    throws com.liferay.portal.kernel.exception.PortalException,
2236                            com.liferay.portal.kernel.exception.SystemException {
2237                    try {
2238                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2239                                            "updateContent", _updateContentParameterTypes57);
2240    
2241                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2242                                            articleId, version, content);
2243    
2244                            Object returnObj = null;
2245    
2246                            try {
2247                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2248                            }
2249                            catch (Exception e) {
2250                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2251                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2252                                    }
2253    
2254                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2255                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2256                                    }
2257    
2258                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2259                            }
2260    
2261                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2262                    }
2263                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2264                            _log.error(se, se);
2265    
2266                            throw se;
2267                    }
2268            }
2269    
2270            public static com.liferay.portlet.journal.model.JournalArticle updateStatus(
2271                    HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId,
2272                    double version, int status, java.lang.String articleURL,
2273                    com.liferay.portal.service.ServiceContext serviceContext)
2274                    throws com.liferay.portal.kernel.exception.PortalException,
2275                            com.liferay.portal.kernel.exception.SystemException {
2276                    try {
2277                            MethodKey methodKey = new MethodKey(JournalArticleServiceUtil.class,
2278                                            "updateStatus", _updateStatusParameterTypes58);
2279    
2280                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2281                                            articleId, version, status, articleURL, serviceContext);
2282    
2283                            Object returnObj = null;
2284    
2285                            try {
2286                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2287                            }
2288                            catch (Exception e) {
2289                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2290                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2291                                    }
2292    
2293                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2294                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2295                                    }
2296    
2297                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2298                            }
2299    
2300                            return (com.liferay.portlet.journal.model.JournalArticle)returnObj;
2301                    }
2302                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2303                            _log.error(se, se);
2304    
2305                            throw se;
2306                    }
2307            }
2308    
2309            private static Log _log = LogFactoryUtil.getLog(JournalArticleServiceHttp.class);
2310            private static final Class<?>[] _addArticleParameterTypes0 = new Class[] {
2311                            long.class, long.class, long.class, long.class,
2312                            java.lang.String.class, boolean.class, java.util.Map.class,
2313                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2314                            java.lang.String.class, java.lang.String.class,
2315                            java.lang.String.class, int.class, int.class, int.class, int.class,
2316                            int.class, int.class, int.class, int.class, int.class, int.class,
2317                            boolean.class, int.class, int.class, int.class, int.class, int.class,
2318                            boolean.class, boolean.class, boolean.class, java.lang.String.class,
2319                            java.io.File.class, java.util.Map.class, java.lang.String.class,
2320                            com.liferay.portal.service.ServiceContext.class
2321                    };
2322            private static final Class<?>[] _addArticleParameterTypes1 = new Class[] {
2323                            long.class, long.class, long.class, long.class,
2324                            java.lang.String.class, boolean.class, java.util.Map.class,
2325                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2326                            java.lang.String.class, java.lang.String.class,
2327                            java.lang.String.class, int.class, int.class, int.class, int.class,
2328                            int.class, int.class, int.class, int.class, int.class, int.class,
2329                            boolean.class, int.class, int.class, int.class, int.class, int.class,
2330                            boolean.class, boolean.class, java.lang.String.class,
2331                            com.liferay.portal.service.ServiceContext.class
2332                    };
2333            private static final Class<?>[] _copyArticleParameterTypes2 = new Class[] {
2334                            long.class, java.lang.String.class, java.lang.String.class,
2335                            boolean.class, double.class
2336                    };
2337            private static final Class<?>[] _deleteArticleParameterTypes3 = new Class[] {
2338                            long.class, java.lang.String.class, double.class,
2339                            java.lang.String.class,
2340                            com.liferay.portal.service.ServiceContext.class
2341                    };
2342            private static final Class<?>[] _deleteArticleParameterTypes4 = new Class[] {
2343                            long.class, java.lang.String.class, java.lang.String.class,
2344                            com.liferay.portal.service.ServiceContext.class
2345                    };
2346            private static final Class<?>[] _expireArticleParameterTypes5 = new Class[] {
2347                            long.class, java.lang.String.class, double.class,
2348                            java.lang.String.class,
2349                            com.liferay.portal.service.ServiceContext.class
2350                    };
2351            private static final Class<?>[] _expireArticleParameterTypes6 = new Class[] {
2352                            long.class, java.lang.String.class, java.lang.String.class,
2353                            com.liferay.portal.service.ServiceContext.class
2354                    };
2355            private static final Class<?>[] _fetchArticleParameterTypes7 = new Class[] {
2356                            long.class, java.lang.String.class
2357                    };
2358            private static final Class<?>[] _getArticleParameterTypes8 = new Class[] {
2359                            long.class
2360                    };
2361            private static final Class<?>[] _getArticleParameterTypes9 = new Class[] {
2362                            long.class, java.lang.String.class
2363                    };
2364            private static final Class<?>[] _getArticleParameterTypes10 = new Class[] {
2365                            long.class, java.lang.String.class, double.class
2366                    };
2367            private static final Class<?>[] _getArticleParameterTypes11 = new Class[] {
2368                            long.class, java.lang.String.class, long.class
2369                    };
2370            private static final Class<?>[] _getArticleByUrlTitleParameterTypes12 = new Class[] {
2371                            long.class, java.lang.String.class
2372                    };
2373            private static final Class<?>[] _getArticleContentParameterTypes13 = new Class[] {
2374                            long.class, java.lang.String.class, double.class,
2375                            java.lang.String.class, com.liferay.portal.theme.ThemeDisplay.class
2376                    };
2377            private static final Class<?>[] _getArticleContentParameterTypes14 = new Class[] {
2378                            long.class, java.lang.String.class, java.lang.String.class,
2379                            com.liferay.portal.theme.ThemeDisplay.class
2380                    };
2381            private static final Class<?>[] _getArticlesParameterTypes15 = new Class[] {
2382                            long.class, long.class
2383                    };
2384            private static final Class<?>[] _getArticlesParameterTypes16 = new Class[] {
2385                            long.class, long.class, int.class, int.class,
2386                            com.liferay.portal.kernel.util.OrderByComparator.class
2387                    };
2388            private static final Class<?>[] _getArticlesByArticleIdParameterTypes17 = new Class[] {
2389                            long.class, java.lang.String.class, int.class, int.class,
2390                            com.liferay.portal.kernel.util.OrderByComparator.class
2391                    };
2392            private static final Class<?>[] _getArticlesByLayoutUuidParameterTypes18 = new Class[] {
2393                            long.class, java.lang.String.class
2394                    };
2395            private static final Class<?>[] _getArticlesByStructureIdParameterTypes19 = new Class[] {
2396                            long.class, long.class, java.lang.String.class, int.class, int.class,
2397                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
2398                    };
2399            private static final Class<?>[] _getArticlesByStructureIdParameterTypes20 = new Class[] {
2400                            long.class, java.lang.String.class, int.class, int.class,
2401                            com.liferay.portal.kernel.util.OrderByComparator.class
2402                    };
2403            private static final Class<?>[] _getArticlesCountParameterTypes21 = new Class[] {
2404                            long.class, long.class
2405                    };
2406            private static final Class<?>[] _getArticlesCountParameterTypes22 = new Class[] {
2407                            long.class, long.class, int.class
2408                    };
2409            private static final Class<?>[] _getArticlesCountByArticleIdParameterTypes23 =
2410                    new Class[] { long.class, java.lang.String.class };
2411            private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes24 =
2412                    new Class[] { long.class, long.class, java.lang.String.class, int.class };
2413            private static final Class<?>[] _getArticlesCountByStructureIdParameterTypes25 =
2414                    new Class[] { long.class, java.lang.String.class };
2415            private static final Class<?>[] _getDisplayArticleByUrlTitleParameterTypes26 =
2416                    new Class[] { long.class, java.lang.String.class };
2417            private static final Class<?>[] _getFoldersAndArticlesCountParameterTypes27 = new Class[] {
2418                            long.class, java.util.List.class
2419                    };
2420            private static final Class<?>[] _getGroupArticlesParameterTypes28 = new Class[] {
2421                            long.class, long.class, long.class, int.class, int.class, int.class,
2422                            com.liferay.portal.kernel.util.OrderByComparator.class
2423                    };
2424            private static final Class<?>[] _getGroupArticlesParameterTypes29 = new Class[] {
2425                            long.class, long.class, long.class, int.class, int.class,
2426                            com.liferay.portal.kernel.util.OrderByComparator.class
2427                    };
2428            private static final Class<?>[] _getGroupArticlesCountParameterTypes30 = new Class[] {
2429                            long.class, long.class, long.class
2430                    };
2431            private static final Class<?>[] _getGroupArticlesCountParameterTypes31 = new Class[] {
2432                            long.class, long.class, long.class, int.class
2433                    };
2434            private static final Class<?>[] _getLatestArticleParameterTypes32 = new Class[] {
2435                            long.class
2436                    };
2437            private static final Class<?>[] _getLatestArticleParameterTypes33 = new Class[] {
2438                            long.class, java.lang.String.class, int.class
2439                    };
2440            private static final Class<?>[] _getLatestArticleParameterTypes34 = new Class[] {
2441                            long.class, java.lang.String.class, long.class
2442                    };
2443            private static final Class<?>[] _moveArticleParameterTypes35 = new Class[] {
2444                            long.class, java.lang.String.class, long.class
2445                    };
2446            private static final Class<?>[] _moveArticleFromTrashParameterTypes36 = new Class[] {
2447                            long.class, long.class, long.class,
2448                            com.liferay.portal.service.ServiceContext.class
2449                    };
2450            private static final Class<?>[] _moveArticleFromTrashParameterTypes37 = new Class[] {
2451                            long.class, java.lang.String.class, long.class,
2452                            com.liferay.portal.service.ServiceContext.class
2453                    };
2454            private static final Class<?>[] _moveArticleToTrashParameterTypes38 = new Class[] {
2455                            long.class, java.lang.String.class
2456                    };
2457            private static final Class<?>[] _removeArticleLocaleParameterTypes39 = new Class[] {
2458                            long.class, java.lang.String.class
2459                    };
2460            private static final Class<?>[] _removeArticleLocaleParameterTypes40 = new Class[] {
2461                            long.class, java.lang.String.class, double.class,
2462                            java.lang.String.class
2463                    };
2464            private static final Class<?>[] _restoreArticleFromTrashParameterTypes41 = new Class[] {
2465                            long.class
2466                    };
2467            private static final Class<?>[] _restoreArticleFromTrashParameterTypes42 = new Class[] {
2468                            long.class, java.lang.String.class
2469                    };
2470            private static final Class<?>[] _searchParameterTypes43 = new Class[] {
2471                            long.class, long.class, int.class, int.class, int.class
2472                    };
2473            private static final Class<?>[] _searchParameterTypes44 = new Class[] {
2474                            long.class, long.class, java.util.List.class, long.class,
2475                            java.lang.String.class, java.lang.Double.class,
2476                            java.lang.String.class, java.lang.String.class,
2477                            java.lang.String.class, java.util.Date.class, java.util.Date.class,
2478                            int.class, java.util.Date.class, int.class, int.class,
2479                            com.liferay.portal.kernel.util.OrderByComparator.class
2480                    };
2481            private static final Class<?>[] _searchParameterTypes45 = new Class[] {
2482                            long.class, long.class, java.util.List.class, long.class,
2483                            java.lang.String.class, java.lang.Double.class,
2484                            java.lang.String.class, java.lang.String.class,
2485                            java.lang.String.class, java.lang.String.class,
2486                            java.lang.String.class, java.lang.String.class, java.util.Date.class,
2487                            java.util.Date.class, int.class, java.util.Date.class, boolean.class,
2488                            int.class, int.class,
2489                            com.liferay.portal.kernel.util.OrderByComparator.class
2490                    };
2491            private static final Class<?>[] _searchParameterTypes46 = new Class[] {
2492                            long.class, long.class, java.util.List.class, long.class,
2493                            java.lang.String.class, java.lang.Double.class,
2494                            java.lang.String.class, java.lang.String.class,
2495                            java.lang.String.class, java.lang.String.class,
2496                            java.lang.String[].class, java.lang.String[].class,
2497                            java.util.Date.class, java.util.Date.class, int.class,
2498                            java.util.Date.class, boolean.class, int.class, int.class,
2499                            com.liferay.portal.kernel.util.OrderByComparator.class
2500                    };
2501            private static final Class<?>[] _searchCountParameterTypes47 = new Class[] {
2502                            long.class, long.class, java.util.List.class, long.class,
2503                            java.lang.String.class, java.lang.Double.class,
2504                            java.lang.String.class, java.lang.String.class,
2505                            java.lang.String.class, java.util.Date.class, java.util.Date.class,
2506                            int.class, java.util.Date.class
2507                    };
2508            private static final Class<?>[] _searchCountParameterTypes48 = new Class[] {
2509                            long.class, long.class, java.util.List.class, long.class,
2510                            java.lang.String.class, java.lang.Double.class,
2511                            java.lang.String.class, java.lang.String.class,
2512                            java.lang.String.class, java.lang.String.class,
2513                            java.lang.String.class, java.lang.String.class, java.util.Date.class,
2514                            java.util.Date.class, int.class, java.util.Date.class, boolean.class
2515                    };
2516            private static final Class<?>[] _searchCountParameterTypes49 = new Class[] {
2517                            long.class, long.class, java.util.List.class, long.class,
2518                            java.lang.String.class, java.lang.Double.class,
2519                            java.lang.String.class, java.lang.String.class,
2520                            java.lang.String.class, java.lang.String.class,
2521                            java.lang.String[].class, java.lang.String[].class,
2522                            java.util.Date.class, java.util.Date.class, int.class,
2523                            java.util.Date.class, boolean.class
2524                    };
2525            private static final Class<?>[] _subscribeParameterTypes50 = new Class[] {
2526                            long.class
2527                    };
2528            private static final Class<?>[] _unsubscribeParameterTypes51 = new Class[] {
2529                            long.class
2530                    };
2531            private static final Class<?>[] _updateArticleParameterTypes52 = new Class[] {
2532                            long.class, long.class, long.class, java.lang.String.class,
2533                            double.class, java.util.Map.class, java.util.Map.class,
2534                            java.lang.String.class, java.lang.String.class,
2535                            com.liferay.portal.service.ServiceContext.class
2536                    };
2537            private static final Class<?>[] _updateArticleParameterTypes53 = new Class[] {
2538                            long.class, long.class, java.lang.String.class, double.class,
2539                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2540                            java.lang.String.class, java.lang.String.class,
2541                            java.lang.String.class, java.lang.String.class, int.class, int.class,
2542                            int.class, int.class, int.class, int.class, int.class, int.class,
2543                            int.class, int.class, boolean.class, int.class, int.class, int.class,
2544                            int.class, int.class, boolean.class, boolean.class, boolean.class,
2545                            java.lang.String.class, java.io.File.class, java.util.Map.class,
2546                            java.lang.String.class,
2547                            com.liferay.portal.service.ServiceContext.class
2548                    };
2549            private static final Class<?>[] _updateArticleParameterTypes54 = new Class[] {
2550                            long.class, long.class, java.lang.String.class, double.class,
2551                            java.lang.String.class,
2552                            com.liferay.portal.service.ServiceContext.class
2553                    };
2554            private static final Class<?>[] _updateArticleTranslationParameterTypes55 = new Class[] {
2555                            long.class, java.lang.String.class, double.class,
2556                            java.util.Locale.class, java.lang.String.class,
2557                            java.lang.String.class, java.lang.String.class, java.util.Map.class
2558                    };
2559            private static final Class<?>[] _updateArticleTranslationParameterTypes56 = new Class[] {
2560                            long.class, java.lang.String.class, double.class,
2561                            java.util.Locale.class, java.lang.String.class,
2562                            java.lang.String.class, java.lang.String.class, java.util.Map.class,
2563                            com.liferay.portal.service.ServiceContext.class
2564                    };
2565            private static final Class<?>[] _updateContentParameterTypes57 = new Class[] {
2566                            long.class, java.lang.String.class, double.class,
2567                            java.lang.String.class
2568                    };
2569            private static final Class<?>[] _updateStatusParameterTypes58 = new Class[] {
2570                            long.class, java.lang.String.class, double.class, int.class,
2571                            java.lang.String.class,
2572                            com.liferay.portal.service.ServiceContext.class
2573                    };
2574    }