public class RPCHandler extends AbstractRPCHandler
ERR_NOPAGE, ERR_NOPERMISSION, LINK_EXTERNAL, LINK_INLINE, LINK_LOCAL, m_context, m_engine, RPC_VERSION| Constructor and Description |
|---|
RPCHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Hashtable<String,Object> |
encodeWikiPage(WikiPage page)
Encodes a single wiki page info into a Hashtable.
|
Vector |
getAllPages() |
String |
getApplicationName() |
byte[] |
getPage(String pagename) |
byte[] |
getPageHTML(String pagename) |
byte[] |
getPageHTMLVersion(String pagename,
int version) |
Hashtable |
getPageInfo(String pagename) |
Hashtable |
getPageInfoVersion(String pagename,
int version) |
byte[] |
getPageVersion(String pagename,
int version) |
Vector |
getRecentChanges(Date since) |
void |
initialize(WikiContext ctx) |
Vector |
listLinks(String pagename) |
checkPermission, getRPCVersionSupportedpublic RPCHandler()
public void initialize(WikiContext ctx)
initialize in interface WikiRPCHandlerinitialize in class AbstractRPCHandlerpublic String getApplicationName()
public Vector getAllPages()
protected Hashtable<String,Object> encodeWikiPage(WikiPage page)
encodeWikiPage in class AbstractRPCHandlerpublic Vector getRecentChanges(Date since)
getRecentChanges in class AbstractRPCHandlerpublic Hashtable getPageInfo(String pagename) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionpublic Hashtable getPageInfoVersion(String pagename, int version) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionpublic byte[] getPage(String pagename) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionpublic byte[] getPageVersion(String pagename, int version) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionpublic byte[] getPageHTML(String pagename) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionpublic byte[] getPageHTMLVersion(String pagename, int version) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.