net.sourceforge.blogentis.xmlrpc.impl
Class MetaWeblogExecutor

java.lang.Object
  extended bynet.sourceforge.blogentis.xmlrpc.impl.AuthenticationExecutor
      extended bynet.sourceforge.blogentis.xmlrpc.impl.MetaWeblogExecutor
Direct Known Subclasses:
MovableTypeExecutor

public class MetaWeblogExecutor
extends AuthenticationExecutor

Author:
abas

Constructor Summary
MetaWeblogExecutor()
           
 
Method Summary
 boolean editPost(java.lang.String postid, java.lang.String username, java.lang.String password, java.util.Hashtable struct, boolean publish)
           
protected  void fillPost(Post p, java.util.Hashtable struct)
           
 java.util.Hashtable getPost(java.lang.String postid, java.lang.String username, java.lang.String password)
           
 java.util.Vector getRecentPosts(java.lang.String blogid, java.lang.String username, java.lang.String password, int NumberOfPosts)
           
 java.util.Hashtable newMediaObject(java.lang.String blogid, java.lang.String username, java.lang.String password, java.util.Hashtable struct)
           
 java.lang.String newPost(java.lang.String blogid, java.lang.String username, java.lang.String password, java.util.Hashtable struct, boolean publish)
           
protected  java.util.Hashtable postToHash(Post post)
           
protected  void publishPost(Blog b, Post p, boolean publishOrNot)
           
 
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

MetaWeblogExecutor

public MetaWeblogExecutor()
Method Detail

postToHash

protected java.util.Hashtable postToHash(Post post)
                                  throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

fillPost

protected void fillPost(Post p,
                        java.util.Hashtable struct)
                 throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

publishPost

protected void publishPost(Blog b,
                           Post p,
                           boolean publishOrNot)

getPost

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

getRecentPosts

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

newPost

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

editPost

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

newMediaObject

public java.util.Hashtable newMediaObject(java.lang.String blogid,
                                          java.lang.String username,
                                          java.lang.String password,
                                          java.util.Hashtable struct)
                                   throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException


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