|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ecyrd.jspwiki.xmlrpc.MetaWeblogHandler
public class MetaWeblogHandler
Provides handlers for all RPC routines of the MetaWeblog API.
JSPWiki does not support categories, and therefore we always return an empty list for getCategories(). Note also that this API is not suitable for general Wiki editing, since JSPWiki formats the entries in a wiki-compatible manner. And you cannot choose your page names either. Since 2.1.94 the entire MetaWeblog API is supported.
Constructor Summary | |
---|---|
MetaWeblogHandler()
|
Method Summary | |
---|---|
Hashtable |
getCategories(String blogid,
String username,
String password)
JSPWiki does not support categories, therefore JSPWiki always returns an empty list for categories. |
Hashtable |
getRecentPosts(String blogid,
String username,
String password,
int numberOfPosts)
Returns a list of the recent posts to this weblog. |
void |
initialize(WikiEngine engine)
|
Hashtable |
newMediaObject(String blogid,
String username,
String password,
Hashtable content)
Creates an attachment and adds it to the blog. |
String |
newPost(String blogid,
String username,
String password,
Hashtable content,
boolean publish)
Adds a new post to the blog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaWeblogHandler()
Method Detail |
---|
public void initialize(WikiEngine engine)
initialize
in interface WikiRPCHandler
public Hashtable getCategories(String blogid, String username, String password) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public Hashtable getRecentPosts(String blogid, String username, String password, int numberOfPosts) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
public String newPost(String blogid, String username, String password, Hashtable content, boolean publish) throws org.apache.xmlrpc.XmlRpcException
publish
- This parameter is ignored for JSPWiki.
org.apache.xmlrpc.XmlRpcException
public Hashtable newMediaObject(String blogid, String username, String password, Hashtable content) throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |