net.sourceforge.blogentis.xmlrpc.impl
Class BloggerExecutor

java.lang.Object
  extended bynet.sourceforge.blogentis.xmlrpc.impl.AuthenticationExecutor
      extended bynet.sourceforge.blogentis.xmlrpc.impl.BloggerExecutor

public class BloggerExecutor
extends AuthenticationExecutor

Author:
abas

Constructor Summary
BloggerExecutor()
           
 
Method Summary
 boolean deletePost(java.lang.String appkey, java.lang.String postid, java.lang.String username, java.lang.String password, boolean publish)
           
 boolean editPost(java.lang.String appkey, java.lang.String postid, java.lang.String username, java.lang.String password, java.lang.String content, boolean publish)
           
protected  java.util.Hashtable getPostContents(Post post)
           
 java.util.Vector getRecentPosts(java.lang.String appkey, java.lang.String blogid, java.lang.String username, java.lang.String password, int numberOfPosts)
           
 java.util.Hashtable getUserInfo(java.lang.String appkey, java.lang.String username, java.lang.String password)
           
 java.util.Vector getUsersBlogs(java.lang.String appkey, java.lang.String username, java.lang.String password)
           
 java.lang.String newPost(java.lang.String appkey, java.lang.String blogid, java.lang.String username, java.lang.String password, java.lang.String content, boolean publish)
           
protected  void setPostContent(Post post, java.lang.String content)
           
 
Methods inherited from class net.sourceforge.blogentis.xmlrpc.impl.AuthenticationExecutor
getLatestPosts, haveUser, isAuthenticatedForBlog, setAuthorID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BloggerExecutor

public BloggerExecutor()
Method Detail

getUsersBlogs

public java.util.Vector getUsersBlogs(java.lang.String appkey,
                                      java.lang.String username,
                                      java.lang.String password)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getUserInfo

public java.util.Hashtable getUserInfo(java.lang.String appkey,
                                       java.lang.String username,
                                       java.lang.String password)
                                throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

setPostContent

protected void setPostContent(Post post,
                              java.lang.String content)

getPostContents

protected java.util.Hashtable getPostContents(Post post)

newPost

public java.lang.String newPost(java.lang.String appkey,
                                java.lang.String blogid,
                                java.lang.String username,
                                java.lang.String password,
                                java.lang.String content,
                                boolean publish)
                         throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

editPost

public boolean editPost(java.lang.String appkey,
                        java.lang.String postid,
                        java.lang.String username,
                        java.lang.String password,
                        java.lang.String content,
                        boolean publish)
                 throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

deletePost

public boolean deletePost(java.lang.String appkey,
                          java.lang.String postid,
                          java.lang.String username,
                          java.lang.String password,
                          boolean publish)
                   throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getRecentPosts

public java.util.Vector getRecentPosts(java.lang.String appkey,
                                       java.lang.String blogid,
                                       java.lang.String username,
                                       java.lang.String password,
                                       int numberOfPosts)
                                throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.