Liferay 6.1.2-ce-ga3

com.liferay.portlet.wiki.service.http
Class WikiPageServiceSoap

java.lang.Object
  extended by com.liferay.portlet.wiki.service.http.WikiPageServiceSoap

public class WikiPageServiceSoap
extends Object

This class provides a SOAP utility for the WikiPageServiceUtil service utility. The static methods of this class calls the same methods of the service utility. However, the signatures are different because it is difficult for SOAP to support certain types.

ServiceBuilder follows certain rules in translating the methods. For example, if the method in the service utility returns a List, that is translated to an array of WikiPageSoap. If the method in the service utility returns a WikiPage, that is translated to a WikiPageSoap. Methods that SOAP cannot safely wire are skipped.

The benefits of using the SOAP utility is that it is cross platform compatible. SOAP allows different languages like Java, .NET, C++, PHP, and even Perl, to call the generated services. One drawback of SOAP is that it is slow because it needs to serialize all calls into a text format (XML).

You can see a list of services at http://localhost:8080/api/secure/axis. Set the property axis.servlet.hosts.allowed in portal.properties to configure security.

The SOAP utility is only generated for remote services.

See Also:
WikiPageServiceHttp, WikiPageSoap, WikiPageServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
WikiPageServiceSoap()
           
 
Method Summary
static WikiPageSoap addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext)
           
static WikiPageSoap addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
static void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,InputStream>> inputStream)
           
static void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext)
           
static void deletePage(long nodeId, String title)
           
static void deletePage(long nodeId, String title, double version)
           
static void deletePageAttachment(long nodeId, String title, String fileName)
           
static void deleteTempPageAttachment(long nodeId, String fileName, String tempFolderName)
           
static WikiPageSoap[] getChildren(long groupId, long nodeId, boolean head, String parentTitle)
           
static WikiPageSoap getDraftPage(long nodeId, String title)
           
static WikiPageSoap[] getNodePages(long nodeId, int max)
           
static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL)
           
static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix)
           
static WikiPageSoap[] getOrphans(long groupId, long nodeId)
           
static WikiPageSoap getPage(long groupId, long nodeId, String title)
           
static WikiPageSoap getPage(long nodeId, String title)
           
static WikiPageSoap getPage(long nodeId, String title, Boolean head)
           
static WikiPageSoap getPage(long nodeId, String title, double version)
           
static WikiPageSoap[] getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator obc)
           
static WikiPageSoap[] getPages(long groupId, long userId, long nodeId, int status, int start, int end)
           
static int getPagesCount(long groupId, long nodeId, boolean head)
           
static int getPagesCount(long groupId, long userId, long nodeId, int status)
           
static String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String locale)
           
static String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix, String locale)
           
static WikiPageSoap[] getRecentChanges(long groupId, long nodeId, int start, int end)
           
static int getRecentChangesCount(long groupId, long nodeId)
           
static String[] getTempPageAttachmentNames(long nodeId, String tempFolderName)
           
static void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
static WikiPageSoap revertPage(long nodeId, String title, double version, ServiceContext serviceContext)
           
static void subscribePage(long nodeId, String title)
           
static void unsubscribePage(long nodeId, String title)
           
static WikiPageSoap updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageServiceSoap

public WikiPageServiceSoap()
Method Detail

addPage

public static WikiPageSoap addPage(long nodeId,
                                   String title,
                                   String content,
                                   String summary,
                                   boolean minorEdit,
                                   ServiceContext serviceContext)
                            throws RemoteException
Throws:
RemoteException

addPage

public static WikiPageSoap addPage(long nodeId,
                                   String title,
                                   String content,
                                   String summary,
                                   boolean minorEdit,
                                   String format,
                                   String parentTitle,
                                   String redirectTitle,
                                   ServiceContext serviceContext)
                            throws RemoteException
Throws:
RemoteException

addPageAttachments

public static void addPageAttachments(long nodeId,
                                      String title,
                                      List<ObjectValuePair<String,InputStream>> inputStream)
                               throws RemoteException
Throws:
RemoteException

changeParent

public static void changeParent(long nodeId,
                                String title,
                                String newParentTitle,
                                ServiceContext serviceContext)
                         throws RemoteException
Throws:
RemoteException

deletePage

public static void deletePage(long nodeId,
                              String title)
                       throws RemoteException
Throws:
RemoteException

deletePage

public static void deletePage(long nodeId,
                              String title,
                              double version)
                       throws RemoteException
Throws:
RemoteException

deletePageAttachment

public static void deletePageAttachment(long nodeId,
                                        String title,
                                        String fileName)
                                 throws RemoteException
Throws:
RemoteException

deleteTempPageAttachment

public static void deleteTempPageAttachment(long nodeId,
                                            String fileName,
                                            String tempFolderName)
                                     throws RemoteException
Throws:
RemoteException

getChildren

public static WikiPageSoap[] getChildren(long groupId,
                                         long nodeId,
                                         boolean head,
                                         String parentTitle)
                                  throws RemoteException
Throws:
RemoteException

getDraftPage

public static WikiPageSoap getDraftPage(long nodeId,
                                        String title)
                                 throws RemoteException
Throws:
RemoteException

getNodePages

public static WikiPageSoap[] getNodePages(long nodeId,
                                          int max)
                                   throws RemoteException
Throws:
RemoteException

getNodePagesRSS

public static String getNodePagesRSS(long nodeId,
                                     int max,
                                     String type,
                                     double version,
                                     String displayStyle,
                                     String feedURL,
                                     String entryURL)
                              throws RemoteException
Throws:
RemoteException

getNodePagesRSS

public static String getNodePagesRSS(long nodeId,
                                     int max,
                                     String type,
                                     double version,
                                     String displayStyle,
                                     String feedURL,
                                     String entryURL,
                                     String attachmentURLPrefix)
                              throws RemoteException
Throws:
RemoteException

getOrphans

public static WikiPageSoap[] getOrphans(long groupId,
                                        long nodeId)
                                 throws RemoteException
Throws:
RemoteException

getPage

public static WikiPageSoap getPage(long groupId,
                                   long nodeId,
                                   String title)
                            throws RemoteException
Throws:
RemoteException

getPage

public static WikiPageSoap getPage(long nodeId,
                                   String title)
                            throws RemoteException
Throws:
RemoteException

getPage

public static WikiPageSoap getPage(long nodeId,
                                   String title,
                                   Boolean head)
                            throws RemoteException
Throws:
RemoteException

getPage

public static WikiPageSoap getPage(long nodeId,
                                   String title,
                                   double version)
                            throws RemoteException
Throws:
RemoteException

getPages

public static WikiPageSoap[] getPages(long groupId,
                                      long nodeId,
                                      boolean head,
                                      int status,
                                      int start,
                                      int end,
                                      OrderByComparator obc)
                               throws RemoteException
Throws:
RemoteException

getPages

public static WikiPageSoap[] getPages(long groupId,
                                      long userId,
                                      long nodeId,
                                      int status,
                                      int start,
                                      int end)
                               throws RemoteException
Throws:
RemoteException

getPagesCount

public static int getPagesCount(long groupId,
                                long nodeId,
                                boolean head)
                         throws RemoteException
Throws:
RemoteException

getPagesCount

public static int getPagesCount(long groupId,
                                long userId,
                                long nodeId,
                                int status)
                         throws RemoteException
Throws:
RemoteException

getPagesRSS

public static String getPagesRSS(long companyId,
                                 long nodeId,
                                 String title,
                                 int max,
                                 String type,
                                 double version,
                                 String displayStyle,
                                 String feedURL,
                                 String entryURL,
                                 String locale)
                          throws RemoteException
Throws:
RemoteException

getPagesRSS

public static String getPagesRSS(long companyId,
                                 long nodeId,
                                 String title,
                                 int max,
                                 String type,
                                 double version,
                                 String displayStyle,
                                 String feedURL,
                                 String entryURL,
                                 String attachmentURLPrefix,
                                 String locale)
                          throws RemoteException
Throws:
RemoteException

getRecentChanges

public static WikiPageSoap[] getRecentChanges(long groupId,
                                              long nodeId,
                                              int start,
                                              int end)
                                       throws RemoteException
Throws:
RemoteException

getRecentChangesCount

public static int getRecentChangesCount(long groupId,
                                        long nodeId)
                                 throws RemoteException
Throws:
RemoteException

getTempPageAttachmentNames

public static String[] getTempPageAttachmentNames(long nodeId,
                                                  String tempFolderName)
                                           throws RemoteException
Throws:
RemoteException

movePage

public static void movePage(long nodeId,
                            String title,
                            String newTitle,
                            ServiceContext serviceContext)
                     throws RemoteException
Throws:
RemoteException

revertPage

public static WikiPageSoap revertPage(long nodeId,
                                      String title,
                                      double version,
                                      ServiceContext serviceContext)
                               throws RemoteException
Throws:
RemoteException

subscribePage

public static void subscribePage(long nodeId,
                                 String title)
                          throws RemoteException
Throws:
RemoteException

unsubscribePage

public static void unsubscribePage(long nodeId,
                                   String title)
                            throws RemoteException
Throws:
RemoteException

updatePage

public static WikiPageSoap updatePage(long nodeId,
                                      String title,
                                      double version,
                                      String content,
                                      String summary,
                                      boolean minorEdit,
                                      String format,
                                      String parentTitle,
                                      String redirectTitle,
                                      ServiceContext serviceContext)
                               throws RemoteException
Throws:
RemoteException

Liferay 6.1.2-ce-ga3