@ProviderType
public class WikiPageServiceSoap
extends java.lang.Object
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/axis. Set the property axis.servlet.hosts.allowed in portal.properties to configure security.
The SOAP utility is only generated for remote services.
WikiPageServiceHttp,
WikiPageSoap,
WikiPageServiceUtil| Constructor and Description |
|---|
WikiPageServiceSoap() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.wiki.model.WikiPageSoap |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
com.liferay.portal.service.ServiceContext serviceContext) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
static void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
static void |
deletePage(long nodeId,
java.lang.String title) |
static void |
deletePage(long nodeId,
java.lang.String title,
double version)
Deprecated.
As of 6.2.0 replaced by
discardDraft(long, String,
double) |
static void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
deletePageAttachments(long nodeId,
java.lang.String title) |
static void |
deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName) |
static void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
static void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
static com.liferay.portlet.wiki.model.WikiPageSoap[] |
getChildren(long groupId,
long nodeId,
boolean head,
java.lang.String parentTitle) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
getDraftPage(long nodeId,
java.lang.String title) |
static com.liferay.portlet.wiki.model.WikiPageSoap[] |
getNodePages(long nodeId,
int max) |
static java.lang.String |
getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
Deprecated.
As of 6.2.0, replaced by
getNodePagesRSS(long, int,
String, double, String, String, String, String) |
static java.lang.String |
getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String attachmentURLPrefix) |
static com.liferay.portlet.wiki.model.WikiPageSoap[] |
getOrphans(long groupId,
long nodeId) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
getPage(long groupId,
long nodeId,
java.lang.String title) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
getPage(long nodeId,
java.lang.String title) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
getPage(long nodeId,
java.lang.String title,
double version) |
static com.liferay.portlet.wiki.model.WikiPageSoap[] |
getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
static com.liferay.portlet.wiki.model.WikiPageSoap[] |
getPages(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
static com.liferay.portlet.wiki.model.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 nodeId,
boolean head,
long userId,
boolean includeOwner,
int status) |
static int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status) |
static java.lang.String |
getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String locale)
Deprecated.
As of 6.2.0, replaced by
#getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale) |
static java.lang.String |
getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String attachmentURLPrefix,
java.lang.String locale) |
static com.liferay.portlet.wiki.model.WikiPageSoap[] |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
static int |
getRecentChangesCount(long groupId,
long nodeId) |
static java.lang.String[] |
getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName) |
static void |
movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntrySoap |
movePageAttachmentToTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
movePageToTrash(long nodeId,
java.lang.String title) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
movePageToTrash(long nodeId,
java.lang.String title,
double version) |
static void |
restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
restorePageFromTrash(long resourcePrimKey) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
revertPage(long nodeId,
java.lang.String title,
double version,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
subscribePage(long nodeId,
java.lang.String title) |
static void |
unsubscribePage(long nodeId,
java.lang.String title) |
static com.liferay.portlet.wiki.model.WikiPageSoap |
updatePage(long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.service.ServiceContext serviceContext) |
public static com.liferay.portlet.wiki.model.WikiPageSoap addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deletePage(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deletePage(long nodeId,
java.lang.String title,
double version)
throws java.rmi.RemoteException
discardDraft(long, String,
double)java.rmi.RemoteExceptionpublic static void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deletePageAttachments(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void discardDraft(long nodeId,
java.lang.String title,
double version)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getChildren(long groupId,
long nodeId,
boolean head,
java.lang.String parentTitle)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap getDraftPage(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getNodePages(long nodeId,
int max)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static java.lang.String getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException
getNodePagesRSS(long, int,
String, double, String, String, String, String)java.rmi.RemoteExceptionpublic static java.lang.String getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String attachmentURLPrefix)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getOrphans(long groupId,
long nodeId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap getPage(long groupId,
long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap getPage(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap getPage(long nodeId,
java.lang.String title,
double version)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getPages(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getPages(long groupId,
long userId,
long nodeId,
int status,
int start,
int end)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getPagesCount(long groupId,
long nodeId,
boolean head)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getPagesCount(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getPagesCount(long groupId,
long userId,
long nodeId,
int status)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static java.lang.String getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String locale)
throws java.rmi.RemoteException
#getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale)java.rmi.RemoteExceptionpublic static java.lang.String getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String attachmentURLPrefix,
java.lang.String locale)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap[] getRecentChanges(long groupId,
long nodeId,
int start,
int end)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getRecentChangesCount(long groupId,
long nodeId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static java.lang.String[] getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portal.kernel.repository.model.FileEntrySoap movePageAttachmentToTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap movePageToTrash(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap movePageToTrash(long nodeId,
java.lang.String title,
double version)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void restorePageFromTrash(long resourcePrimKey)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap revertPage(long nodeId,
java.lang.String title,
double version,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void subscribePage(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void unsubscribePage(long nodeId,
java.lang.String title)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.wiki.model.WikiPageSoap updatePage(long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteException