001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service.http;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.log.Log;
020    import com.liferay.portal.kernel.log.LogFactoryUtil;
021    import com.liferay.portal.kernel.util.LocaleUtil;
022    
023    import com.liferay.portlet.wiki.service.WikiPageServiceUtil;
024    
025    import java.rmi.RemoteException;
026    
027    /**
028     * Provides the SOAP 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 is difficult for SOAP to
032     * support certain types.
033     *
034     * <p>
035     * ServiceBuilder follows certain rules in translating the methods. For example,
036     * if the method in the service utility returns a {@link java.util.List}, that
037     * is translated to an array of {@link com.liferay.portlet.wiki.model.WikiPageSoap}.
038     * If the method in the service utility returns a
039     * {@link com.liferay.portlet.wiki.model.WikiPage}, that is translated to a
040     * {@link com.liferay.portlet.wiki.model.WikiPageSoap}. Methods that SOAP cannot
041     * safely wire are skipped.
042     * </p>
043     *
044     * <p>
045     * The benefits of using the SOAP utility is that it is cross platform
046     * compatible. SOAP allows different languages like Java, .NET, C++, PHP, and
047     * even Perl, to call the generated services. One drawback of SOAP is that it is
048     * slow because it needs to serialize all calls into a text format (XML).
049     * </p>
050     *
051     * <p>
052     * You can see a list of services at http://localhost:8080/api/axis. Set the
053     * property <b>axis.servlet.hosts.allowed</b> in portal.properties to configure
054     * security.
055     * </p>
056     *
057     * <p>
058     * The SOAP utility is only generated for remote services.
059     * </p>
060     *
061     * @author Brian Wing Shun Chan
062     * @see WikiPageServiceHttp
063     * @see com.liferay.portlet.wiki.model.WikiPageSoap
064     * @see com.liferay.portlet.wiki.service.WikiPageServiceUtil
065     * @generated
066     */
067    @ProviderType
068    public class WikiPageServiceSoap {
069            public static com.liferay.portlet.wiki.model.WikiPageSoap addPage(
070                    long nodeId, java.lang.String title, java.lang.String content,
071                    java.lang.String summary, boolean minorEdit,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws RemoteException {
074                    try {
075                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.addPage(nodeId,
076                                            title, content, summary, minorEdit, serviceContext);
077    
078                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
079                    }
080                    catch (Exception e) {
081                            _log.error(e, e);
082    
083                            throw new RemoteException(e.getMessage());
084                    }
085            }
086    
087            public static com.liferay.portlet.wiki.model.WikiPageSoap addPage(
088                    long nodeId, java.lang.String title, java.lang.String content,
089                    java.lang.String summary, boolean minorEdit, java.lang.String format,
090                    java.lang.String parentTitle, java.lang.String redirectTitle,
091                    com.liferay.portal.service.ServiceContext serviceContext)
092                    throws RemoteException {
093                    try {
094                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.addPage(nodeId,
095                                            title, content, summary, minorEdit, format, parentTitle,
096                                            redirectTitle, serviceContext);
097    
098                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
099                    }
100                    catch (Exception e) {
101                            _log.error(e, e);
102    
103                            throw new RemoteException(e.getMessage());
104                    }
105            }
106    
107            public static void addPageAttachments(long nodeId, java.lang.String title,
108                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
109                    throws RemoteException {
110                    try {
111                            WikiPageServiceUtil.addPageAttachments(nodeId, title,
112                                    inputStreamOVPs);
113                    }
114                    catch (Exception e) {
115                            _log.error(e, e);
116    
117                            throw new RemoteException(e.getMessage());
118                    }
119            }
120    
121            public static void changeParent(long nodeId, java.lang.String title,
122                    java.lang.String newParentTitle,
123                    com.liferay.portal.service.ServiceContext serviceContext)
124                    throws RemoteException {
125                    try {
126                            WikiPageServiceUtil.changeParent(nodeId, title, newParentTitle,
127                                    serviceContext);
128                    }
129                    catch (Exception e) {
130                            _log.error(e, e);
131    
132                            throw new RemoteException(e.getMessage());
133                    }
134            }
135    
136            public static void copyPageAttachments(long templateNodeId,
137                    java.lang.String templateTitle, long nodeId, java.lang.String title)
138                    throws RemoteException {
139                    try {
140                            WikiPageServiceUtil.copyPageAttachments(templateNodeId,
141                                    templateTitle, nodeId, title);
142                    }
143                    catch (Exception e) {
144                            _log.error(e, e);
145    
146                            throw new RemoteException(e.getMessage());
147                    }
148            }
149    
150            public static void deletePage(long nodeId, java.lang.String title)
151                    throws RemoteException {
152                    try {
153                            WikiPageServiceUtil.deletePage(nodeId, title);
154                    }
155                    catch (Exception e) {
156                            _log.error(e, e);
157    
158                            throw new RemoteException(e.getMessage());
159                    }
160            }
161    
162            /**
163            * @deprecated As of 6.2.0 replaced by {@link #discardDraft(long, String,
164            double)}
165            */
166            public static void deletePage(long nodeId, java.lang.String title,
167                    double version) throws RemoteException {
168                    try {
169                            WikiPageServiceUtil.deletePage(nodeId, title, version);
170                    }
171                    catch (Exception e) {
172                            _log.error(e, e);
173    
174                            throw new RemoteException(e.getMessage());
175                    }
176            }
177    
178            public static void deletePageAttachment(long nodeId,
179                    java.lang.String title, java.lang.String fileName)
180                    throws RemoteException {
181                    try {
182                            WikiPageServiceUtil.deletePageAttachment(nodeId, title, fileName);
183                    }
184                    catch (Exception e) {
185                            _log.error(e, e);
186    
187                            throw new RemoteException(e.getMessage());
188                    }
189            }
190    
191            public static void deletePageAttachments(long nodeId, java.lang.String title)
192                    throws RemoteException {
193                    try {
194                            WikiPageServiceUtil.deletePageAttachments(nodeId, title);
195                    }
196                    catch (Exception e) {
197                            _log.error(e, e);
198    
199                            throw new RemoteException(e.getMessage());
200                    }
201            }
202    
203            public static void deleteTempPageAttachment(long nodeId,
204                    java.lang.String fileName, java.lang.String tempFolderName)
205                    throws RemoteException {
206                    try {
207                            WikiPageServiceUtil.deleteTempPageAttachment(nodeId, fileName,
208                                    tempFolderName);
209                    }
210                    catch (Exception e) {
211                            _log.error(e, e);
212    
213                            throw new RemoteException(e.getMessage());
214                    }
215            }
216    
217            public static void deleteTrashPageAttachments(long nodeId,
218                    java.lang.String title) throws RemoteException {
219                    try {
220                            WikiPageServiceUtil.deleteTrashPageAttachments(nodeId, title);
221                    }
222                    catch (Exception e) {
223                            _log.error(e, e);
224    
225                            throw new RemoteException(e.getMessage());
226                    }
227            }
228    
229            public static void discardDraft(long nodeId, java.lang.String title,
230                    double version) throws RemoteException {
231                    try {
232                            WikiPageServiceUtil.discardDraft(nodeId, title, version);
233                    }
234                    catch (Exception e) {
235                            _log.error(e, e);
236    
237                            throw new RemoteException(e.getMessage());
238                    }
239            }
240    
241            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getChildren(
242                    long groupId, long nodeId, boolean head, java.lang.String parentTitle)
243                    throws RemoteException {
244                    try {
245                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getChildren(groupId,
246                                            nodeId, head, parentTitle);
247    
248                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
249                    }
250                    catch (Exception e) {
251                            _log.error(e, e);
252    
253                            throw new RemoteException(e.getMessage());
254                    }
255            }
256    
257            public static com.liferay.portlet.wiki.model.WikiPageSoap getDraftPage(
258                    long nodeId, java.lang.String title) throws RemoteException {
259                    try {
260                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.getDraftPage(nodeId,
261                                            title);
262    
263                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
264                    }
265                    catch (Exception e) {
266                            _log.error(e, e);
267    
268                            throw new RemoteException(e.getMessage());
269                    }
270            }
271    
272            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getNodePages(
273                    long nodeId, int max) throws RemoteException {
274                    try {
275                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getNodePages(nodeId,
276                                            max);
277    
278                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
279                    }
280                    catch (Exception e) {
281                            _log.error(e, e);
282    
283                            throw new RemoteException(e.getMessage());
284                    }
285            }
286    
287            /**
288            * @deprecated As of 6.2.0, replaced by {@link #getNodePagesRSS(long, int,
289            String, double, String, String, String, String)}
290            */
291            public static java.lang.String getNodePagesRSS(long nodeId, int max,
292                    java.lang.String type, double version, java.lang.String displayStyle,
293                    java.lang.String feedURL, java.lang.String entryURL)
294                    throws RemoteException {
295                    try {
296                            java.lang.String returnValue = WikiPageServiceUtil.getNodePagesRSS(nodeId,
297                                            max, type, version, displayStyle, feedURL, entryURL);
298    
299                            return returnValue;
300                    }
301                    catch (Exception e) {
302                            _log.error(e, e);
303    
304                            throw new RemoteException(e.getMessage());
305                    }
306            }
307    
308            public static java.lang.String getNodePagesRSS(long nodeId, int max,
309                    java.lang.String type, double version, java.lang.String displayStyle,
310                    java.lang.String feedURL, java.lang.String entryURL,
311                    java.lang.String attachmentURLPrefix) throws RemoteException {
312                    try {
313                            java.lang.String returnValue = WikiPageServiceUtil.getNodePagesRSS(nodeId,
314                                            max, type, version, displayStyle, feedURL, entryURL,
315                                            attachmentURLPrefix);
316    
317                            return returnValue;
318                    }
319                    catch (Exception e) {
320                            _log.error(e, e);
321    
322                            throw new RemoteException(e.getMessage());
323                    }
324            }
325    
326            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getOrphans(
327                    long groupId, long nodeId) throws RemoteException {
328                    try {
329                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getOrphans(groupId,
330                                            nodeId);
331    
332                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
333                    }
334                    catch (Exception e) {
335                            _log.error(e, e);
336    
337                            throw new RemoteException(e.getMessage());
338                    }
339            }
340    
341            public static com.liferay.portlet.wiki.model.WikiPageSoap getPage(
342                    long groupId, long nodeId, java.lang.String title)
343                    throws RemoteException {
344                    try {
345                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.getPage(groupId,
346                                            nodeId, title);
347    
348                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
349                    }
350                    catch (Exception e) {
351                            _log.error(e, e);
352    
353                            throw new RemoteException(e.getMessage());
354                    }
355            }
356    
357            public static com.liferay.portlet.wiki.model.WikiPageSoap getPage(
358                    long nodeId, java.lang.String title) throws RemoteException {
359                    try {
360                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.getPage(nodeId,
361                                            title);
362    
363                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
364                    }
365                    catch (Exception e) {
366                            _log.error(e, e);
367    
368                            throw new RemoteException(e.getMessage());
369                    }
370            }
371    
372            public static com.liferay.portlet.wiki.model.WikiPageSoap getPage(
373                    long nodeId, java.lang.String title, java.lang.Boolean head)
374                    throws RemoteException {
375                    try {
376                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.getPage(nodeId,
377                                            title, head);
378    
379                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
380                    }
381                    catch (Exception e) {
382                            _log.error(e, e);
383    
384                            throw new RemoteException(e.getMessage());
385                    }
386            }
387    
388            public static com.liferay.portlet.wiki.model.WikiPageSoap getPage(
389                    long nodeId, java.lang.String title, double version)
390                    throws RemoteException {
391                    try {
392                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.getPage(nodeId,
393                                            title, version);
394    
395                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
396                    }
397                    catch (Exception e) {
398                            _log.error(e, e);
399    
400                            throw new RemoteException(e.getMessage());
401                    }
402            }
403    
404            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getPages(
405                    long groupId, long nodeId, boolean head, int status, int start,
406                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
407                    throws RemoteException {
408                    try {
409                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getPages(groupId,
410                                            nodeId, head, status, start, end, obc);
411    
412                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
413                    }
414                    catch (Exception e) {
415                            _log.error(e, e);
416    
417                            throw new RemoteException(e.getMessage());
418                    }
419            }
420    
421            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getPages(
422                    long groupId, long nodeId, boolean head, long userId,
423                    boolean includeOwner, int status, int start, int end,
424                    com.liferay.portal.kernel.util.OrderByComparator obc)
425                    throws RemoteException {
426                    try {
427                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getPages(groupId,
428                                            nodeId, head, userId, includeOwner, status, start, end, obc);
429    
430                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
431                    }
432                    catch (Exception e) {
433                            _log.error(e, e);
434    
435                            throw new RemoteException(e.getMessage());
436                    }
437            }
438    
439            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getPages(
440                    long groupId, long userId, long nodeId, int status, int start, int end)
441                    throws RemoteException {
442                    try {
443                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getPages(groupId,
444                                            userId, nodeId, status, start, end);
445    
446                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
447                    }
448                    catch (Exception e) {
449                            _log.error(e, e);
450    
451                            throw new RemoteException(e.getMessage());
452                    }
453            }
454    
455            public static int getPagesCount(long groupId, long nodeId, boolean head)
456                    throws RemoteException {
457                    try {
458                            int returnValue = WikiPageServiceUtil.getPagesCount(groupId,
459                                            nodeId, head);
460    
461                            return returnValue;
462                    }
463                    catch (Exception e) {
464                            _log.error(e, e);
465    
466                            throw new RemoteException(e.getMessage());
467                    }
468            }
469    
470            public static int getPagesCount(long groupId, long nodeId, boolean head,
471                    long userId, boolean includeOwner, int status)
472                    throws RemoteException {
473                    try {
474                            int returnValue = WikiPageServiceUtil.getPagesCount(groupId,
475                                            nodeId, head, userId, includeOwner, status);
476    
477                            return returnValue;
478                    }
479                    catch (Exception e) {
480                            _log.error(e, e);
481    
482                            throw new RemoteException(e.getMessage());
483                    }
484            }
485    
486            public static int getPagesCount(long groupId, long userId, long nodeId,
487                    int status) throws RemoteException {
488                    try {
489                            int returnValue = WikiPageServiceUtil.getPagesCount(groupId,
490                                            userId, nodeId, status);
491    
492                            return returnValue;
493                    }
494                    catch (Exception e) {
495                            _log.error(e, e);
496    
497                            throw new RemoteException(e.getMessage());
498                    }
499            }
500    
501            /**
502            * @deprecated As of 6.2.0, replaced by {@link #getPagesRSS(long, long,
503            String, int, String, double, String, String, String, String,
504            java.util.Locale)}
505            */
506            public static java.lang.String getPagesRSS(long companyId, long nodeId,
507                    java.lang.String title, int max, java.lang.String type, double version,
508                    java.lang.String displayStyle, java.lang.String feedURL,
509                    java.lang.String entryURL, String locale) throws RemoteException {
510                    try {
511                            java.lang.String returnValue = WikiPageServiceUtil.getPagesRSS(companyId,
512                                            nodeId, title, max, type, version, displayStyle, feedURL,
513                                            entryURL, LocaleUtil.fromLanguageId(locale));
514    
515                            return returnValue;
516                    }
517                    catch (Exception e) {
518                            _log.error(e, e);
519    
520                            throw new RemoteException(e.getMessage());
521                    }
522            }
523    
524            public static java.lang.String getPagesRSS(long companyId, long nodeId,
525                    java.lang.String title, int max, java.lang.String type, double version,
526                    java.lang.String displayStyle, java.lang.String feedURL,
527                    java.lang.String entryURL, java.lang.String attachmentURLPrefix,
528                    String locale) throws RemoteException {
529                    try {
530                            java.lang.String returnValue = WikiPageServiceUtil.getPagesRSS(companyId,
531                                            nodeId, title, max, type, version, displayStyle, feedURL,
532                                            entryURL, attachmentURLPrefix,
533                                            LocaleUtil.fromLanguageId(locale));
534    
535                            return returnValue;
536                    }
537                    catch (Exception e) {
538                            _log.error(e, e);
539    
540                            throw new RemoteException(e.getMessage());
541                    }
542            }
543    
544            public static com.liferay.portlet.wiki.model.WikiPageSoap[] getRecentChanges(
545                    long groupId, long nodeId, int start, int end)
546                    throws RemoteException {
547                    try {
548                            java.util.List<com.liferay.portlet.wiki.model.WikiPage> returnValue = WikiPageServiceUtil.getRecentChanges(groupId,
549                                            nodeId, start, end);
550    
551                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModels(returnValue);
552                    }
553                    catch (Exception e) {
554                            _log.error(e, e);
555    
556                            throw new RemoteException(e.getMessage());
557                    }
558            }
559    
560            public static int getRecentChangesCount(long groupId, long nodeId)
561                    throws RemoteException {
562                    try {
563                            int returnValue = WikiPageServiceUtil.getRecentChangesCount(groupId,
564                                            nodeId);
565    
566                            return returnValue;
567                    }
568                    catch (Exception e) {
569                            _log.error(e, e);
570    
571                            throw new RemoteException(e.getMessage());
572                    }
573            }
574    
575            public static java.lang.String[] getTempPageAttachmentNames(long nodeId,
576                    java.lang.String tempFolderName) throws RemoteException {
577                    try {
578                            java.lang.String[] returnValue = WikiPageServiceUtil.getTempPageAttachmentNames(nodeId,
579                                            tempFolderName);
580    
581                            return returnValue;
582                    }
583                    catch (Exception e) {
584                            _log.error(e, e);
585    
586                            throw new RemoteException(e.getMessage());
587                    }
588            }
589    
590            public static void movePage(long nodeId, java.lang.String title,
591                    java.lang.String newTitle,
592                    com.liferay.portal.service.ServiceContext serviceContext)
593                    throws RemoteException {
594                    try {
595                            WikiPageServiceUtil.movePage(nodeId, title, newTitle, serviceContext);
596                    }
597                    catch (Exception e) {
598                            _log.error(e, e);
599    
600                            throw new RemoteException(e.getMessage());
601                    }
602            }
603    
604            public static com.liferay.portal.kernel.repository.model.FileEntrySoap movePageAttachmentToTrash(
605                    long nodeId, java.lang.String title, java.lang.String fileName)
606                    throws RemoteException {
607                    try {
608                            com.liferay.portal.kernel.repository.model.FileEntry returnValue = WikiPageServiceUtil.movePageAttachmentToTrash(nodeId,
609                                            title, fileName);
610    
611                            return com.liferay.portal.kernel.repository.model.FileEntrySoap.toSoapModel(returnValue);
612                    }
613                    catch (Exception e) {
614                            _log.error(e, e);
615    
616                            throw new RemoteException(e.getMessage());
617                    }
618            }
619    
620            public static com.liferay.portlet.wiki.model.WikiPageSoap movePageToTrash(
621                    long nodeId, java.lang.String title) throws RemoteException {
622                    try {
623                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.movePageToTrash(nodeId,
624                                            title);
625    
626                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
627                    }
628                    catch (Exception e) {
629                            _log.error(e, e);
630    
631                            throw new RemoteException(e.getMessage());
632                    }
633            }
634    
635            public static com.liferay.portlet.wiki.model.WikiPageSoap movePageToTrash(
636                    long nodeId, java.lang.String title, double version)
637                    throws RemoteException {
638                    try {
639                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.movePageToTrash(nodeId,
640                                            title, version);
641    
642                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
643                    }
644                    catch (Exception e) {
645                            _log.error(e, e);
646    
647                            throw new RemoteException(e.getMessage());
648                    }
649            }
650    
651            public static void restorePageAttachmentFromTrash(long nodeId,
652                    java.lang.String title, java.lang.String fileName)
653                    throws RemoteException {
654                    try {
655                            WikiPageServiceUtil.restorePageAttachmentFromTrash(nodeId, title,
656                                    fileName);
657                    }
658                    catch (Exception e) {
659                            _log.error(e, e);
660    
661                            throw new RemoteException(e.getMessage());
662                    }
663            }
664    
665            public static void restorePageFromTrash(long resourcePrimKey)
666                    throws RemoteException {
667                    try {
668                            WikiPageServiceUtil.restorePageFromTrash(resourcePrimKey);
669                    }
670                    catch (Exception e) {
671                            _log.error(e, e);
672    
673                            throw new RemoteException(e.getMessage());
674                    }
675            }
676    
677            public static com.liferay.portlet.wiki.model.WikiPageSoap revertPage(
678                    long nodeId, java.lang.String title, double version,
679                    com.liferay.portal.service.ServiceContext serviceContext)
680                    throws RemoteException {
681                    try {
682                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.revertPage(nodeId,
683                                            title, version, serviceContext);
684    
685                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
686                    }
687                    catch (Exception e) {
688                            _log.error(e, e);
689    
690                            throw new RemoteException(e.getMessage());
691                    }
692            }
693    
694            public static void subscribePage(long nodeId, java.lang.String title)
695                    throws RemoteException {
696                    try {
697                            WikiPageServiceUtil.subscribePage(nodeId, title);
698                    }
699                    catch (Exception e) {
700                            _log.error(e, e);
701    
702                            throw new RemoteException(e.getMessage());
703                    }
704            }
705    
706            public static void unsubscribePage(long nodeId, java.lang.String title)
707                    throws RemoteException {
708                    try {
709                            WikiPageServiceUtil.unsubscribePage(nodeId, title);
710                    }
711                    catch (Exception e) {
712                            _log.error(e, e);
713    
714                            throw new RemoteException(e.getMessage());
715                    }
716            }
717    
718            public static com.liferay.portlet.wiki.model.WikiPageSoap updatePage(
719                    long nodeId, java.lang.String title, double version,
720                    java.lang.String content, java.lang.String summary, boolean minorEdit,
721                    java.lang.String format, java.lang.String parentTitle,
722                    java.lang.String redirectTitle,
723                    com.liferay.portal.service.ServiceContext serviceContext)
724                    throws RemoteException {
725                    try {
726                            com.liferay.portlet.wiki.model.WikiPage returnValue = WikiPageServiceUtil.updatePage(nodeId,
727                                            title, version, content, summary, minorEdit, format,
728                                            parentTitle, redirectTitle, serviceContext);
729    
730                            return com.liferay.portlet.wiki.model.WikiPageSoap.toSoapModel(returnValue);
731                    }
732                    catch (Exception e) {
733                            _log.error(e, e);
734    
735                            throw new RemoteException(e.getMessage());
736                    }
737            }
738    
739            private static Log _log = LogFactoryUtil.getLog(WikiPageServiceSoap.class);
740    }