1 25 26 package org.snipsnap.xmlrpc; 27 28 import java.util.Hashtable ; 29 import java.util.Vector ; 30 31 42 43 public interface MetaWeblogAPI extends BloggerAPI { 44 45 public Vector getRecentPosts(String blogid, 46 String username, 47 String password, 48 int numberOfPosts) throws Exception ; 49 50 60 public String newPost(String blogid, 61 String username, 62 String password, 63 Hashtable struct, 64 boolean publish) throws Exception ; 65 66 74 public Hashtable getPost(String postId, 75 String username, 76 String password) throws Exception ; 77 78 90 public boolean editPost(String postId, 91 String username, 92 String password, 93 Hashtable content, 94 boolean publish) throws Exception ; 95 96 107 public Hashtable newMediaObject(String blogid, 108 String username, 109 String password, 110 Hashtable content) throws Exception ; 111 112 113 124 125 126 127 } 128 | Popular Tags |