org.apache.wiki.xmlrpc
Class RPCHandlerUTF8

java.lang.Object
  extended by org.apache.wiki.xmlrpc.AbstractRPCHandler
      extended by org.apache.wiki.xmlrpc.RPCHandlerUTF8
All Implemented Interfaces:
WikiRPCHandler

public class RPCHandlerUTF8
extends AbstractRPCHandler

Provides handlers for all RPC routines. These routines are used by the UTF-8 interface.

Since:
1.6.13

Field Summary
 
Fields inherited from class org.apache.wiki.xmlrpc.AbstractRPCHandler
ERR_NOPAGE, ERR_NOPERMISSION, LINK_EXTERNAL, LINK_INLINE, LINK_LOCAL, m_context, m_engine, RPC_VERSION
 
Constructor Summary
RPCHandlerUTF8()
           
 
Method Summary
protected  Hashtable<String,Object> encodeWikiPage(WikiPage page)
          Encodes a single wiki page info into a Hashtable.
 Vector getAllPages()
           
 String getApplicationName()
           
 String getPage(String pagename)
           
 String getPageHTML(String pagename)
           
 String getPageHTMLVersion(String pagename, int version)
           
 Hashtable getPageInfo(String pagename)
           
 Hashtable getPageInfoVersion(String pagename, int version)
           
 String getPageVersion(String pagename, int version)
           
 Vector getRecentChanges(Date since)
           
 Vector listLinks(String pagename)
           
 
Methods inherited from class org.apache.wiki.xmlrpc.AbstractRPCHandler
checkPermission, getRPCVersionSupported, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCHandlerUTF8

public RPCHandlerUTF8()
Method Detail

getApplicationName

public String getApplicationName()

getAllPages

public Vector getAllPages()

encodeWikiPage

protected Hashtable<String,Object> encodeWikiPage(WikiPage page)
Encodes a single wiki page info into a Hashtable.

Specified by:
encodeWikiPage in class AbstractRPCHandler

getRecentChanges

public Vector getRecentChanges(Date since)
Overrides:
getRecentChanges in class AbstractRPCHandler

getPageInfo

public Hashtable getPageInfo(String pagename)
                      throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getPageInfoVersion

public Hashtable getPageInfoVersion(String pagename,
                                    int version)
                             throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getPage

public String getPage(String pagename)
               throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getPageVersion

public String getPageVersion(String pagename,
                             int version)
                      throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getPageHTML

public String getPageHTML(String pagename)
                   throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getPageHTMLVersion

public String getPageHTMLVersion(String pagename,
                                 int version)
                          throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

listLinks

public Vector listLinks(String pagename)
                 throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.