|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.wiki.service.http.WikiPageServiceSoap
@ProviderType public class WikiPageServiceSoap
Provides the 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/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 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>> inputStreamOVPs)
|
static void |
changeParent(long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
static void |
copyPageAttachments(long templateNodeId,
String templateTitle,
long nodeId,
String title)
|
static void |
deletePage(long nodeId,
String title)
|
static void |
deletePage(long nodeId,
String title,
double version)
Deprecated. As of 6.2.0 replaced by discardDraft(long, String,
double) |
static void |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
static void |
deletePageAttachments(long nodeId,
String title)
|
static void |
deleteTempPageAttachment(long nodeId,
String fileName,
String tempFolderName)
|
static void |
deleteTrashPageAttachments(long nodeId,
String title)
|
static void |
discardDraft(long nodeId,
String title,
double version)
|
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)
Deprecated. As of 6.2.0, replaced by getNodePagesRSS(long, int,
String, double, String, String, String, String) |
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 nodeId,
boolean head,
long userId,
boolean includeOwner,
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 nodeId,
boolean head,
long userId,
boolean includeOwner,
int status)
|
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)
Deprecated. As of 6.2.0, replaced by #getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.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 FileEntrySoap |
movePageAttachmentToTrash(long nodeId,
String title,
String fileName)
|
static WikiPageSoap |
movePageToTrash(long nodeId,
String title)
|
static WikiPageSoap |
movePageToTrash(long nodeId,
String title,
double version)
|
static void |
restorePageAttachmentFromTrash(long nodeId,
String title,
String fileName)
|
static void |
restorePageFromTrash(long resourcePrimKey)
|
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 |
---|
public WikiPageServiceSoap()
Method Detail |
---|
public static WikiPageSoap addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext) throws RemoteException
RemoteException
public static WikiPageSoap addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext) throws RemoteException
RemoteException
public static void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,InputStream>> inputStreamOVPs) throws RemoteException
RemoteException
public static void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext) throws RemoteException
RemoteException
public static void copyPageAttachments(long templateNodeId, String templateTitle, long nodeId, String title) throws RemoteException
RemoteException
public static void deletePage(long nodeId, String title) throws RemoteException
RemoteException
public static void deletePage(long nodeId, String title, double version) throws RemoteException
discardDraft(long, String,
double)
RemoteException
public static void deletePageAttachment(long nodeId, String title, String fileName) throws RemoteException
RemoteException
public static void deletePageAttachments(long nodeId, String title) throws RemoteException
RemoteException
public static void deleteTempPageAttachment(long nodeId, String fileName, String tempFolderName) throws RemoteException
RemoteException
public static void deleteTrashPageAttachments(long nodeId, String title) throws RemoteException
RemoteException
public static void discardDraft(long nodeId, String title, double version) throws RemoteException
RemoteException
public static WikiPageSoap[] getChildren(long groupId, long nodeId, boolean head, String parentTitle) throws RemoteException
RemoteException
public static WikiPageSoap getDraftPage(long nodeId, String title) throws RemoteException
RemoteException
public static WikiPageSoap[] getNodePages(long nodeId, int max) throws RemoteException
RemoteException
public static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL) throws RemoteException
getNodePagesRSS(long, int,
String, double, String, String, String, String)
RemoteException
public static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix) throws RemoteException
RemoteException
public static WikiPageSoap[] getOrphans(long groupId, long nodeId) throws RemoteException
RemoteException
public static WikiPageSoap getPage(long groupId, long nodeId, String title) throws RemoteException
RemoteException
public static WikiPageSoap getPage(long nodeId, String title) throws RemoteException
RemoteException
public static WikiPageSoap getPage(long nodeId, String title, Boolean head) throws RemoteException
RemoteException
public static WikiPageSoap getPage(long nodeId, String title, double version) throws RemoteException
RemoteException
public static WikiPageSoap[] getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws RemoteException
RemoteException
public static WikiPageSoap[] getPages(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status, int start, int end, OrderByComparator obc) throws RemoteException
RemoteException
public static WikiPageSoap[] getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws RemoteException
RemoteException
public static int getPagesCount(long groupId, long nodeId, boolean head) throws RemoteException
RemoteException
public static int getPagesCount(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status) throws RemoteException
RemoteException
public static int getPagesCount(long groupId, long userId, long nodeId, int status) throws RemoteException
RemoteException
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
#getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale)
RemoteException
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
RemoteException
public static WikiPageSoap[] getRecentChanges(long groupId, long nodeId, int start, int end) throws RemoteException
RemoteException
public static int getRecentChangesCount(long groupId, long nodeId) throws RemoteException
RemoteException
public static String[] getTempPageAttachmentNames(long nodeId, String tempFolderName) throws RemoteException
RemoteException
public static void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext) throws RemoteException
RemoteException
public static FileEntrySoap movePageAttachmentToTrash(long nodeId, String title, String fileName) throws RemoteException
RemoteException
public static WikiPageSoap movePageToTrash(long nodeId, String title) throws RemoteException
RemoteException
public static WikiPageSoap movePageToTrash(long nodeId, String title, double version) throws RemoteException
RemoteException
public static void restorePageAttachmentFromTrash(long nodeId, String title, String fileName) throws RemoteException
RemoteException
public static void restorePageFromTrash(long resourcePrimKey) throws RemoteException
RemoteException
public static WikiPageSoap revertPage(long nodeId, String title, double version, ServiceContext serviceContext) throws RemoteException
RemoteException
public static void subscribePage(long nodeId, String title) throws RemoteException
RemoteException
public static void unsubscribePage(long nodeId, String title) throws RemoteException
RemoteException
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
RemoteException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |