com.liferay.portlet.wiki.service.http
Class WikiPageServiceSoap
java.lang.Object
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/tunnel-web/secure/axis. Set the property
tunnel.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 is generated.
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,byte[]>> files)
|
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 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 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 String |
getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
String locale)
|
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 |
WikiPageServiceSoap
public WikiPageServiceSoap()
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,byte[]>> files)
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
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
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
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
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