001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.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.wiki.service.WikiPageServiceUtil;
025    
026    /**
027     * <p>
028     * This class provides a HTTP utility for the
029     * {@link com.liferay.portlet.wiki.service.WikiPageServiceUtil} service utility. The
030     * static methods of this class calls the same methods of the service utility.
031     * However, the signatures are different because it requires an additional
032     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
033     * </p>
034     *
035     * <p>
036     * The benefits of using the HTTP utility is that it is fast and allows for
037     * tunneling without the cost of serializing to text. The drawback is that it
038     * only works with Java.
039     * </p>
040     *
041     * <p>
042     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
043     * configure security.
044     * </p>
045     *
046     * <p>
047     * The HTTP utility is only generated for remote services.
048     * </p>
049     *
050     * @author    Brian Wing Shun Chan
051     * @see       WikiPageServiceSoap
052     * @see       com.liferay.portal.security.auth.HttpPrincipal
053     * @see       com.liferay.portlet.wiki.service.WikiPageServiceUtil
054     * @generated
055     */
056    public class WikiPageServiceHttp {
057            public static com.liferay.portlet.wiki.model.WikiPage addPage(
058                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
059                    java.lang.String content, java.lang.String summary, boolean minorEdit,
060                    com.liferay.portal.service.ServiceContext serviceContext)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    try {
064                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
065                                            "addPage", _addPageParameterTypes1);
066    
067                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
068                                            title, content, summary, minorEdit, serviceContext);
069    
070                            Object returnObj = null;
071    
072                            try {
073                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
074                            }
075                            catch (Exception e) {
076                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
077                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
078                                    }
079    
080                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
081                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
082                                    }
083    
084                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
085                            }
086    
087                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
088                    }
089                    catch (com.liferay.portal.kernel.exception.SystemException se) {
090                            _log.error(se, se);
091    
092                            throw se;
093                    }
094            }
095    
096            public static com.liferay.portlet.wiki.model.WikiPage addPage(
097                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
098                    java.lang.String content, java.lang.String summary, boolean minorEdit,
099                    java.lang.String format, java.lang.String parentTitle,
100                    java.lang.String redirectTitle,
101                    com.liferay.portal.service.ServiceContext serviceContext)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException {
104                    try {
105                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
106                                            "addPage", _addPageParameterTypes2);
107    
108                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
109                                            title, content, summary, minorEdit, format, parentTitle,
110                                            redirectTitle, serviceContext);
111    
112                            Object returnObj = null;
113    
114                            try {
115                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
116                            }
117                            catch (Exception e) {
118                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
119                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
120                                    }
121    
122                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
123                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
124                                    }
125    
126                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
127                            }
128    
129                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
130                    }
131                    catch (com.liferay.portal.kernel.exception.SystemException se) {
132                            _log.error(se, se);
133    
134                            throw se;
135                    }
136            }
137    
138            public static void addPageAttachment(HttpPrincipal httpPrincipal,
139                    long nodeId, java.lang.String title, java.lang.String fileName,
140                    java.io.File file)
141                    throws com.liferay.portal.kernel.exception.PortalException,
142                            com.liferay.portal.kernel.exception.SystemException {
143                    try {
144                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
145                                            "addPageAttachment", _addPageAttachmentParameterTypes3);
146    
147                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
148                                            title, fileName, file);
149    
150                            try {
151                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
152                            }
153                            catch (Exception e) {
154                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
155                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
156                                    }
157    
158                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
159                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
160                                    }
161    
162                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
163                            }
164                    }
165                    catch (com.liferay.portal.kernel.exception.SystemException se) {
166                            _log.error(se, se);
167    
168                            throw se;
169                    }
170            }
171    
172            public static void addPageAttachment(HttpPrincipal httpPrincipal,
173                    long nodeId, java.lang.String title, java.lang.String fileName,
174                    java.io.InputStream inputStream)
175                    throws com.liferay.portal.kernel.exception.PortalException,
176                            com.liferay.portal.kernel.exception.SystemException {
177                    try {
178                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
179                                            "addPageAttachment", _addPageAttachmentParameterTypes4);
180    
181                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
182                                            title, fileName, inputStream);
183    
184                            try {
185                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
186                            }
187                            catch (Exception e) {
188                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
189                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
190                                    }
191    
192                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
193                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
194                                    }
195    
196                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
197                            }
198                    }
199                    catch (com.liferay.portal.kernel.exception.SystemException se) {
200                            _log.error(se, se);
201    
202                            throw se;
203                    }
204            }
205    
206            public static void addPageAttachments(HttpPrincipal httpPrincipal,
207                    long nodeId, java.lang.String title,
208                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    try {
212                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
213                                            "addPageAttachments", _addPageAttachmentsParameterTypes5);
214    
215                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
216                                            title, inputStreamOVPs);
217    
218                            try {
219                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
220                            }
221                            catch (Exception e) {
222                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
223                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
224                                    }
225    
226                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
227                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
228                                    }
229    
230                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
231                            }
232                    }
233                    catch (com.liferay.portal.kernel.exception.SystemException se) {
234                            _log.error(se, se);
235    
236                            throw se;
237                    }
238            }
239    
240            public static java.lang.String addTempPageAttachment(
241                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String fileName,
242                    java.lang.String tempFolderName, java.io.InputStream inputStream)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    try {
246                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
247                                            "addTempPageAttachment",
248                                            _addTempPageAttachmentParameterTypes6);
249    
250                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
251                                            fileName, tempFolderName, inputStream);
252    
253                            Object returnObj = null;
254    
255                            try {
256                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
257                            }
258                            catch (Exception e) {
259                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
260                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
261                                    }
262    
263                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
264                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
265                                    }
266    
267                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
268                            }
269    
270                            return (java.lang.String)returnObj;
271                    }
272                    catch (com.liferay.portal.kernel.exception.SystemException se) {
273                            _log.error(se, se);
274    
275                            throw se;
276                    }
277            }
278    
279            public static void changeParent(HttpPrincipal httpPrincipal, long nodeId,
280                    java.lang.String title, java.lang.String newParentTitle,
281                    com.liferay.portal.service.ServiceContext serviceContext)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException {
284                    try {
285                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
286                                            "changeParent", _changeParentParameterTypes7);
287    
288                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
289                                            title, newParentTitle, serviceContext);
290    
291                            try {
292                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
293                            }
294                            catch (Exception e) {
295                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
296                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
297                                    }
298    
299                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
300                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
301                                    }
302    
303                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
304                            }
305                    }
306                    catch (com.liferay.portal.kernel.exception.SystemException se) {
307                            _log.error(se, se);
308    
309                            throw se;
310                    }
311            }
312    
313            public static void deletePage(HttpPrincipal httpPrincipal, long nodeId,
314                    java.lang.String title)
315                    throws com.liferay.portal.kernel.exception.PortalException,
316                            com.liferay.portal.kernel.exception.SystemException {
317                    try {
318                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
319                                            "deletePage", _deletePageParameterTypes8);
320    
321                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
322                                            title);
323    
324                            try {
325                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
326                            }
327                            catch (Exception e) {
328                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
329                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
330                                    }
331    
332                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
333                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
334                                    }
335    
336                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
337                            }
338                    }
339                    catch (com.liferay.portal.kernel.exception.SystemException se) {
340                            _log.error(se, se);
341    
342                            throw se;
343                    }
344            }
345    
346            public static void deletePage(HttpPrincipal httpPrincipal, long nodeId,
347                    java.lang.String title, double version)
348                    throws com.liferay.portal.kernel.exception.PortalException,
349                            com.liferay.portal.kernel.exception.SystemException {
350                    try {
351                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
352                                            "deletePage", _deletePageParameterTypes9);
353    
354                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
355                                            title, version);
356    
357                            try {
358                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
359                            }
360                            catch (Exception e) {
361                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
362                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
363                                    }
364    
365                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
366                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
367                                    }
368    
369                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
370                            }
371                    }
372                    catch (com.liferay.portal.kernel.exception.SystemException se) {
373                            _log.error(se, se);
374    
375                            throw se;
376                    }
377            }
378    
379            public static void deletePageAttachment(HttpPrincipal httpPrincipal,
380                    long nodeId, java.lang.String title, java.lang.String fileName)
381                    throws com.liferay.portal.kernel.exception.PortalException,
382                            com.liferay.portal.kernel.exception.SystemException {
383                    try {
384                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
385                                            "deletePageAttachment",
386                                            _deletePageAttachmentParameterTypes10);
387    
388                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
389                                            title, fileName);
390    
391                            try {
392                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
393                            }
394                            catch (Exception e) {
395                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
396                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
397                                    }
398    
399                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
400                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
401                                    }
402    
403                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
404                            }
405                    }
406                    catch (com.liferay.portal.kernel.exception.SystemException se) {
407                            _log.error(se, se);
408    
409                            throw se;
410                    }
411            }
412    
413            public static void deletePageAttachments(HttpPrincipal httpPrincipal,
414                    long nodeId, java.lang.String title)
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    try {
418                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
419                                            "deletePageAttachments",
420                                            _deletePageAttachmentsParameterTypes11);
421    
422                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
423                                            title);
424    
425                            try {
426                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
427                            }
428                            catch (Exception e) {
429                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
430                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
431                                    }
432    
433                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
434                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
435                                    }
436    
437                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
438                            }
439                    }
440                    catch (com.liferay.portal.kernel.exception.SystemException se) {
441                            _log.error(se, se);
442    
443                            throw se;
444                    }
445            }
446    
447            public static void deleteTempPageAttachment(HttpPrincipal httpPrincipal,
448                    long nodeId, java.lang.String fileName, java.lang.String tempFolderName)
449                    throws com.liferay.portal.kernel.exception.PortalException,
450                            com.liferay.portal.kernel.exception.SystemException {
451                    try {
452                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
453                                            "deleteTempPageAttachment",
454                                            _deleteTempPageAttachmentParameterTypes12);
455    
456                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
457                                            fileName, tempFolderName);
458    
459                            try {
460                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
461                            }
462                            catch (Exception e) {
463                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
464                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
465                                    }
466    
467                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
468                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
469                                    }
470    
471                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
472                            }
473                    }
474                    catch (com.liferay.portal.kernel.exception.SystemException se) {
475                            _log.error(se, se);
476    
477                            throw se;
478                    }
479            }
480    
481            public static com.liferay.portlet.wiki.model.WikiPage getDraftPage(
482                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException {
485                    try {
486                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
487                                            "getDraftPage", _getDraftPageParameterTypes13);
488    
489                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
490                                            title);
491    
492                            Object returnObj = null;
493    
494                            try {
495                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
496                            }
497                            catch (Exception e) {
498                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
499                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
500                                    }
501    
502                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
503                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
504                                    }
505    
506                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
507                            }
508    
509                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
510                    }
511                    catch (com.liferay.portal.kernel.exception.SystemException se) {
512                            _log.error(se, se);
513    
514                            throw se;
515                    }
516            }
517    
518            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(
519                    HttpPrincipal httpPrincipal, long nodeId, int max)
520                    throws com.liferay.portal.kernel.exception.PortalException,
521                            com.liferay.portal.kernel.exception.SystemException {
522                    try {
523                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
524                                            "getNodePages", _getNodePagesParameterTypes14);
525    
526                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
527                                            max);
528    
529                            Object returnObj = null;
530    
531                            try {
532                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
533                            }
534                            catch (Exception e) {
535                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
536                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
537                                    }
538    
539                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
540                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
541                                    }
542    
543                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
544                            }
545    
546                            return (java.util.List<com.liferay.portlet.wiki.model.WikiPage>)returnObj;
547                    }
548                    catch (com.liferay.portal.kernel.exception.SystemException se) {
549                            _log.error(se, se);
550    
551                            throw se;
552                    }
553            }
554    
555            public static java.lang.String getNodePagesRSS(
556                    HttpPrincipal httpPrincipal, long nodeId, int max,
557                    java.lang.String type, double version, java.lang.String displayStyle,
558                    java.lang.String feedURL, java.lang.String entryURL)
559                    throws com.liferay.portal.kernel.exception.PortalException,
560                            com.liferay.portal.kernel.exception.SystemException {
561                    try {
562                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
563                                            "getNodePagesRSS", _getNodePagesRSSParameterTypes15);
564    
565                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
566                                            max, type, version, displayStyle, feedURL, entryURL);
567    
568                            Object returnObj = null;
569    
570                            try {
571                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
572                            }
573                            catch (Exception e) {
574                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
575                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
576                                    }
577    
578                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
579                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
580                                    }
581    
582                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
583                            }
584    
585                            return (java.lang.String)returnObj;
586                    }
587                    catch (com.liferay.portal.kernel.exception.SystemException se) {
588                            _log.error(se, se);
589    
590                            throw se;
591                    }
592            }
593    
594            public static com.liferay.portlet.wiki.model.WikiPage getPage(
595                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title)
596                    throws com.liferay.portal.kernel.exception.PortalException,
597                            com.liferay.portal.kernel.exception.SystemException {
598                    try {
599                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
600                                            "getPage", _getPageParameterTypes16);
601    
602                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
603                                            title);
604    
605                            Object returnObj = null;
606    
607                            try {
608                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
609                            }
610                            catch (Exception e) {
611                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
612                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
613                                    }
614    
615                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
616                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
617                                    }
618    
619                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
620                            }
621    
622                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
623                    }
624                    catch (com.liferay.portal.kernel.exception.SystemException se) {
625                            _log.error(se, se);
626    
627                            throw se;
628                    }
629            }
630    
631            public static com.liferay.portlet.wiki.model.WikiPage getPage(
632                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
633                    java.lang.Boolean head)
634                    throws com.liferay.portal.kernel.exception.PortalException,
635                            com.liferay.portal.kernel.exception.SystemException {
636                    try {
637                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
638                                            "getPage", _getPageParameterTypes17);
639    
640                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
641                                            title, head);
642    
643                            Object returnObj = null;
644    
645                            try {
646                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
647                            }
648                            catch (Exception e) {
649                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
650                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
651                                    }
652    
653                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
654                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
655                                    }
656    
657                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
658                            }
659    
660                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
661                    }
662                    catch (com.liferay.portal.kernel.exception.SystemException se) {
663                            _log.error(se, se);
664    
665                            throw se;
666                    }
667            }
668    
669            public static com.liferay.portlet.wiki.model.WikiPage getPage(
670                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
671                    double version)
672                    throws com.liferay.portal.kernel.exception.PortalException,
673                            com.liferay.portal.kernel.exception.SystemException {
674                    try {
675                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
676                                            "getPage", _getPageParameterTypes18);
677    
678                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
679                                            title, version);
680    
681                            Object returnObj = null;
682    
683                            try {
684                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
685                            }
686                            catch (Exception e) {
687                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
688                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
689                                    }
690    
691                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
692                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
693                                    }
694    
695                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
696                            }
697    
698                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
699                    }
700                    catch (com.liferay.portal.kernel.exception.SystemException se) {
701                            _log.error(se, se);
702    
703                            throw se;
704                    }
705            }
706    
707            public static java.lang.String getPagesRSS(HttpPrincipal httpPrincipal,
708                    long companyId, long nodeId, java.lang.String title, int max,
709                    java.lang.String type, double version, java.lang.String displayStyle,
710                    java.lang.String feedURL, java.lang.String entryURL,
711                    java.util.Locale locale)
712                    throws com.liferay.portal.kernel.exception.PortalException,
713                            com.liferay.portal.kernel.exception.SystemException {
714                    try {
715                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
716                                            "getPagesRSS", _getPagesRSSParameterTypes19);
717    
718                            MethodHandler methodHandler = new MethodHandler(methodKey,
719                                            companyId, nodeId, title, max, type, version, displayStyle,
720                                            feedURL, entryURL, locale);
721    
722                            Object returnObj = null;
723    
724                            try {
725                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
726                            }
727                            catch (Exception e) {
728                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
729                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
730                                    }
731    
732                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
733                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
734                                    }
735    
736                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
737                            }
738    
739                            return (java.lang.String)returnObj;
740                    }
741                    catch (com.liferay.portal.kernel.exception.SystemException se) {
742                            _log.error(se, se);
743    
744                            throw se;
745                    }
746            }
747    
748            public static java.lang.String[] getTempPageAttachmentNames(
749                    HttpPrincipal httpPrincipal, long nodeId,
750                    java.lang.String tempFolderName)
751                    throws com.liferay.portal.kernel.exception.PortalException,
752                            com.liferay.portal.kernel.exception.SystemException {
753                    try {
754                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
755                                            "getTempPageAttachmentNames",
756                                            _getTempPageAttachmentNamesParameterTypes20);
757    
758                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
759                                            tempFolderName);
760    
761                            Object returnObj = null;
762    
763                            try {
764                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
765                            }
766                            catch (Exception e) {
767                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
768                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
769                                    }
770    
771                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
772                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
773                                    }
774    
775                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
776                            }
777    
778                            return (java.lang.String[])returnObj;
779                    }
780                    catch (com.liferay.portal.kernel.exception.SystemException se) {
781                            _log.error(se, se);
782    
783                            throw se;
784                    }
785            }
786    
787            public static void movePage(HttpPrincipal httpPrincipal, long nodeId,
788                    java.lang.String title, java.lang.String newTitle,
789                    com.liferay.portal.service.ServiceContext serviceContext)
790                    throws com.liferay.portal.kernel.exception.PortalException,
791                            com.liferay.portal.kernel.exception.SystemException {
792                    try {
793                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
794                                            "movePage", _movePageParameterTypes21);
795    
796                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
797                                            title, newTitle, serviceContext);
798    
799                            try {
800                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
801                            }
802                            catch (Exception e) {
803                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
804                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
805                                    }
806    
807                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
808                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
809                                    }
810    
811                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
812                            }
813                    }
814                    catch (com.liferay.portal.kernel.exception.SystemException se) {
815                            _log.error(se, se);
816    
817                            throw se;
818                    }
819            }
820    
821            public static void movePageAttachmentFromTrash(
822                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
823                    java.lang.String deletedFileName)
824                    throws com.liferay.portal.kernel.exception.PortalException,
825                            com.liferay.portal.kernel.exception.SystemException {
826                    try {
827                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
828                                            "movePageAttachmentFromTrash",
829                                            _movePageAttachmentFromTrashParameterTypes22);
830    
831                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
832                                            title, deletedFileName);
833    
834                            try {
835                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
836                            }
837                            catch (Exception e) {
838                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
839                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
840                                    }
841    
842                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
843                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
844                                    }
845    
846                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
847                            }
848                    }
849                    catch (com.liferay.portal.kernel.exception.SystemException se) {
850                            _log.error(se, se);
851    
852                            throw se;
853                    }
854            }
855    
856            public static java.lang.String movePageAttachmentToTrash(
857                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
858                    java.lang.String fileName)
859                    throws com.liferay.portal.kernel.exception.PortalException,
860                            com.liferay.portal.kernel.exception.SystemException {
861                    try {
862                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
863                                            "movePageAttachmentToTrash",
864                                            _movePageAttachmentToTrashParameterTypes23);
865    
866                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
867                                            title, fileName);
868    
869                            Object returnObj = null;
870    
871                            try {
872                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
873                            }
874                            catch (Exception e) {
875                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
876                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
877                                    }
878    
879                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
880                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
881                                    }
882    
883                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
884                            }
885    
886                            return (java.lang.String)returnObj;
887                    }
888                    catch (com.liferay.portal.kernel.exception.SystemException se) {
889                            _log.error(se, se);
890    
891                            throw se;
892                    }
893            }
894    
895            public static void movePageToTrash(HttpPrincipal httpPrincipal,
896                    long nodeId, java.lang.String title)
897                    throws com.liferay.portal.kernel.exception.PortalException,
898                            com.liferay.portal.kernel.exception.SystemException {
899                    try {
900                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
901                                            "movePageToTrash", _movePageToTrashParameterTypes24);
902    
903                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
904                                            title);
905    
906                            try {
907                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
908                            }
909                            catch (Exception e) {
910                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
911                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
912                                    }
913    
914                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
915                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
916                                    }
917    
918                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
919                            }
920                    }
921                    catch (com.liferay.portal.kernel.exception.SystemException se) {
922                            _log.error(se, se);
923    
924                            throw se;
925                    }
926            }
927    
928            public static void movePageToTrash(HttpPrincipal httpPrincipal,
929                    long nodeId, java.lang.String title, double version)
930                    throws com.liferay.portal.kernel.exception.PortalException,
931                            com.liferay.portal.kernel.exception.SystemException {
932                    try {
933                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
934                                            "movePageToTrash", _movePageToTrashParameterTypes25);
935    
936                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
937                                            title, version);
938    
939                            try {
940                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
941                            }
942                            catch (Exception e) {
943                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
944                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
945                                    }
946    
947                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
948                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
949                                    }
950    
951                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
952                            }
953                    }
954                    catch (com.liferay.portal.kernel.exception.SystemException se) {
955                            _log.error(se, se);
956    
957                            throw se;
958                    }
959            }
960    
961            public static void restorePageFromTrash(HttpPrincipal httpPrincipal,
962                    long resourcePrimKey)
963                    throws com.liferay.portal.kernel.exception.PortalException,
964                            com.liferay.portal.kernel.exception.SystemException {
965                    try {
966                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
967                                            "restorePageFromTrash",
968                                            _restorePageFromTrashParameterTypes26);
969    
970                            MethodHandler methodHandler = new MethodHandler(methodKey,
971                                            resourcePrimKey);
972    
973                            try {
974                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
975                            }
976                            catch (Exception e) {
977                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
978                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
979                                    }
980    
981                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
982                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
983                                    }
984    
985                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
986                            }
987                    }
988                    catch (com.liferay.portal.kernel.exception.SystemException se) {
989                            _log.error(se, se);
990    
991                            throw se;
992                    }
993            }
994    
995            public static com.liferay.portlet.wiki.model.WikiPage revertPage(
996                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
997                    double version, com.liferay.portal.service.ServiceContext serviceContext)
998                    throws com.liferay.portal.kernel.exception.PortalException,
999                            com.liferay.portal.kernel.exception.SystemException {
1000                    try {
1001                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
1002                                            "revertPage", _revertPageParameterTypes27);
1003    
1004                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
1005                                            title, version, serviceContext);
1006    
1007                            Object returnObj = null;
1008    
1009                            try {
1010                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1011                            }
1012                            catch (Exception e) {
1013                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1014                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1015                                    }
1016    
1017                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1018                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1019                                    }
1020    
1021                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1022                            }
1023    
1024                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
1025                    }
1026                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1027                            _log.error(se, se);
1028    
1029                            throw se;
1030                    }
1031            }
1032    
1033            public static void subscribePage(HttpPrincipal httpPrincipal, long nodeId,
1034                    java.lang.String title)
1035                    throws com.liferay.portal.kernel.exception.PortalException,
1036                            com.liferay.portal.kernel.exception.SystemException {
1037                    try {
1038                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
1039                                            "subscribePage", _subscribePageParameterTypes28);
1040    
1041                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
1042                                            title);
1043    
1044                            try {
1045                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1046                            }
1047                            catch (Exception e) {
1048                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1049                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1050                                    }
1051    
1052                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1053                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1054                                    }
1055    
1056                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1057                            }
1058                    }
1059                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1060                            _log.error(se, se);
1061    
1062                            throw se;
1063                    }
1064            }
1065    
1066            public static void unsubscribePage(HttpPrincipal httpPrincipal,
1067                    long nodeId, java.lang.String title)
1068                    throws com.liferay.portal.kernel.exception.PortalException,
1069                            com.liferay.portal.kernel.exception.SystemException {
1070                    try {
1071                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
1072                                            "unsubscribePage", _unsubscribePageParameterTypes29);
1073    
1074                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
1075                                            title);
1076    
1077                            try {
1078                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1079                            }
1080                            catch (Exception e) {
1081                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1082                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1083                                    }
1084    
1085                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1086                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1087                                    }
1088    
1089                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1090                            }
1091                    }
1092                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1093                            _log.error(se, se);
1094    
1095                            throw se;
1096                    }
1097            }
1098    
1099            public static com.liferay.portlet.wiki.model.WikiPage updatePage(
1100                    HttpPrincipal httpPrincipal, long nodeId, java.lang.String title,
1101                    double version, java.lang.String content, java.lang.String summary,
1102                    boolean minorEdit, java.lang.String format,
1103                    java.lang.String parentTitle, java.lang.String redirectTitle,
1104                    com.liferay.portal.service.ServiceContext serviceContext)
1105                    throws com.liferay.portal.kernel.exception.PortalException,
1106                            com.liferay.portal.kernel.exception.SystemException {
1107                    try {
1108                            MethodKey methodKey = new MethodKey(WikiPageServiceUtil.class.getName(),
1109                                            "updatePage", _updatePageParameterTypes30);
1110    
1111                            MethodHandler methodHandler = new MethodHandler(methodKey, nodeId,
1112                                            title, version, content, summary, minorEdit, format,
1113                                            parentTitle, redirectTitle, serviceContext);
1114    
1115                            Object returnObj = null;
1116    
1117                            try {
1118                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1119                            }
1120                            catch (Exception e) {
1121                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1122                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1123                                    }
1124    
1125                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1126                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1127                                    }
1128    
1129                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1130                            }
1131    
1132                            return (com.liferay.portlet.wiki.model.WikiPage)returnObj;
1133                    }
1134                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1135                            _log.error(se, se);
1136    
1137                            throw se;
1138                    }
1139            }
1140    
1141            private static Log _log = LogFactoryUtil.getLog(WikiPageServiceHttp.class);
1142            private static final Class<?>[] _addPageParameterTypes1 = new Class[] {
1143                            long.class, java.lang.String.class, java.lang.String.class,
1144                            java.lang.String.class, boolean.class,
1145                            com.liferay.portal.service.ServiceContext.class
1146                    };
1147            private static final Class<?>[] _addPageParameterTypes2 = new Class[] {
1148                            long.class, java.lang.String.class, java.lang.String.class,
1149                            java.lang.String.class, boolean.class, java.lang.String.class,
1150                            java.lang.String.class, java.lang.String.class,
1151                            com.liferay.portal.service.ServiceContext.class
1152                    };
1153            private static final Class<?>[] _addPageAttachmentParameterTypes3 = new Class[] {
1154                            long.class, java.lang.String.class, java.lang.String.class,
1155                            java.io.File.class
1156                    };
1157            private static final Class<?>[] _addPageAttachmentParameterTypes4 = new Class[] {
1158                            long.class, java.lang.String.class, java.lang.String.class,
1159                            java.io.InputStream.class
1160                    };
1161            private static final Class<?>[] _addPageAttachmentsParameterTypes5 = new Class[] {
1162                            long.class, java.lang.String.class, java.util.List.class
1163                    };
1164            private static final Class<?>[] _addTempPageAttachmentParameterTypes6 = new Class[] {
1165                            long.class, java.lang.String.class, java.lang.String.class,
1166                            java.io.InputStream.class
1167                    };
1168            private static final Class<?>[] _changeParentParameterTypes7 = new Class[] {
1169                            long.class, java.lang.String.class, java.lang.String.class,
1170                            com.liferay.portal.service.ServiceContext.class
1171                    };
1172            private static final Class<?>[] _deletePageParameterTypes8 = new Class[] {
1173                            long.class, java.lang.String.class
1174                    };
1175            private static final Class<?>[] _deletePageParameterTypes9 = new Class[] {
1176                            long.class, java.lang.String.class, double.class
1177                    };
1178            private static final Class<?>[] _deletePageAttachmentParameterTypes10 = new Class[] {
1179                            long.class, java.lang.String.class, java.lang.String.class
1180                    };
1181            private static final Class<?>[] _deletePageAttachmentsParameterTypes11 = new Class[] {
1182                            long.class, java.lang.String.class
1183                    };
1184            private static final Class<?>[] _deleteTempPageAttachmentParameterTypes12 = new Class[] {
1185                            long.class, java.lang.String.class, java.lang.String.class
1186                    };
1187            private static final Class<?>[] _getDraftPageParameterTypes13 = new Class[] {
1188                            long.class, java.lang.String.class
1189                    };
1190            private static final Class<?>[] _getNodePagesParameterTypes14 = new Class[] {
1191                            long.class, int.class
1192                    };
1193            private static final Class<?>[] _getNodePagesRSSParameterTypes15 = new Class[] {
1194                            long.class, int.class, java.lang.String.class, double.class,
1195                            java.lang.String.class, java.lang.String.class,
1196                            java.lang.String.class
1197                    };
1198            private static final Class<?>[] _getPageParameterTypes16 = new Class[] {
1199                            long.class, java.lang.String.class
1200                    };
1201            private static final Class<?>[] _getPageParameterTypes17 = new Class[] {
1202                            long.class, java.lang.String.class, java.lang.Boolean.class
1203                    };
1204            private static final Class<?>[] _getPageParameterTypes18 = new Class[] {
1205                            long.class, java.lang.String.class, double.class
1206                    };
1207            private static final Class<?>[] _getPagesRSSParameterTypes19 = new Class[] {
1208                            long.class, long.class, java.lang.String.class, int.class,
1209                            java.lang.String.class, double.class, java.lang.String.class,
1210                            java.lang.String.class, java.lang.String.class,
1211                            java.util.Locale.class
1212                    };
1213            private static final Class<?>[] _getTempPageAttachmentNamesParameterTypes20 = new Class[] {
1214                            long.class, java.lang.String.class
1215                    };
1216            private static final Class<?>[] _movePageParameterTypes21 = new Class[] {
1217                            long.class, java.lang.String.class, java.lang.String.class,
1218                            com.liferay.portal.service.ServiceContext.class
1219                    };
1220            private static final Class<?>[] _movePageAttachmentFromTrashParameterTypes22 =
1221                    new Class[] { long.class, java.lang.String.class, java.lang.String.class };
1222            private static final Class<?>[] _movePageAttachmentToTrashParameterTypes23 = new Class[] {
1223                            long.class, java.lang.String.class, java.lang.String.class
1224                    };
1225            private static final Class<?>[] _movePageToTrashParameterTypes24 = new Class[] {
1226                            long.class, java.lang.String.class
1227                    };
1228            private static final Class<?>[] _movePageToTrashParameterTypes25 = new Class[] {
1229                            long.class, java.lang.String.class, double.class
1230                    };
1231            private static final Class<?>[] _restorePageFromTrashParameterTypes26 = new Class[] {
1232                            long.class
1233                    };
1234            private static final Class<?>[] _revertPageParameterTypes27 = new Class[] {
1235                            long.class, java.lang.String.class, double.class,
1236                            com.liferay.portal.service.ServiceContext.class
1237                    };
1238            private static final Class<?>[] _subscribePageParameterTypes28 = new Class[] {
1239                            long.class, java.lang.String.class
1240                    };
1241            private static final Class<?>[] _unsubscribePageParameterTypes29 = new Class[] {
1242                            long.class, java.lang.String.class
1243                    };
1244            private static final Class<?>[] _updatePageParameterTypes30 = new Class[] {
1245                            long.class, java.lang.String.class, double.class,
1246                            java.lang.String.class, java.lang.String.class, boolean.class,
1247                            java.lang.String.class, java.lang.String.class,
1248                            java.lang.String.class,
1249                            com.liferay.portal.service.ServiceContext.class
1250                    };
1251    }