1 25 26 package org.snipsnap.xmlrpc; 27 28 import java.util.Hashtable ; 29 import java.util.Vector ; 30 31 39 40 public interface BloggerAPI extends XmlRpcHandler { 41 public String getName(); 42 43 44 51 52 public String newPost(String appkey, 53 String blogid, 54 String username, 55 String password, 56 String content, 57 boolean publish) throws Exception ; 58 59 62 public boolean editPost(String appkey, 63 String postId, 64 String username, 65 String password, 66 String content, 67 boolean publish) throws Exception ; 68 69 70 83 public Vector getUsersBlogs(String appkey, 84 String username, 85 String password) throws Exception ; 86 87 104 public Vector getRecentPosts(String appkey, 105 String blogid, 106 String username, 107 String password, 108 int numberOfPosts) throws Exception ; 109 110 124 public Hashtable getPost(String appkey, 125 String postId, 126 String username, 127 String password) throws Exception ; 128 129 134 public boolean deletePost(String appkey, 135 String postId, 136 String username, 137 String password, 138 boolean publish) throws Exception ; 139 140 } 141 | Popular Tags |