package vCarePortal.client; import java.sql.Date;
import com.google.gwt.user.client.rpc.RemoteService; public interface DiscussionBoardService extends RemoteService { public Forum[] getForums(int forumAccessLevel); public Topic[] getTopics(int forumID, int topicAccessLevel); public Thread[] getThreads(int topicID, int threadAccessLevel); public ThreadReply[] getDiscussionPosts(int threadID); public Contributor getUser(String password, String userID); public int countThreads(int topicID); public int countThreadReplies(int threadID); public String[] getLatestThreadReply (int threadID); public String getImageURL (String imageID); public void createForum(String forumName, String forumDescription, String userID, int accessLevel); public void modifyForum (int forumID, String forumName, String forumDescription, int accessLevel); public void deteleForum (int forumID); public void createTopic (String topicTitle, String topicDescription, int topicAccessLevel, String creatorID, int forumID); public void modifyTopic(int topicID, String topicName, String topicDescription, int topicAccessLevel); public void deteleTopic (int topicID); public void addThread (String threadTitle, String threadDesc, int threadAccessLevel, int threadCreatorID, int topicID); public void modifyThread(int threadID, String threadTilte, String threadDescription, int threadAcessLevel); public void deleteThread(int threadID); public void addThreadReply(int threadID, int replierID, Date replyTimestamp, String replyContent); public void modifyThreadReply(int threadReplyID, Date modifyTimestamp, String replyContent); public void deleteThreadReply(int threadReplyID); } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---