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, getRPCVersionSupported
public RPCHandler()
public void initialize(WikiContext ctx)
initialize
in interface WikiRPCHandler
initialize
in class AbstractRPCHandler
public String getApplicationName()
public Vector getAllPages()
protected Hashtable<String,Object> encodeWikiPage(WikiPage page)
encodeWikiPage
in class AbstractRPCHandler
public Vector getRecentChanges(Date since)
getRecentChanges
in class AbstractRPCHandler
public Hashtable getPageInfo(String pagename) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public Hashtable getPageInfoVersion(String pagename, int version) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public byte[] getPage(String pagename) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public byte[] getPageVersion(String pagename, int version) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public byte[] getPageHTML(String pagename) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public byte[] getPageHTMLVersion(String pagename, int version) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.