⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boardfacade.java

📁 用java编写的留言版
💻 JAVA
字号:
package com.bitterjava.bbs.ejb;

/**
 * This is an Enterprise Java Bean Remote Interface
 */
public interface BoardFacade extends javax.ejb.EJBObject {

/**
 * 
 * @return java.util.Vector
 * @param boardName java.lang.String
 * @param threadID int
 * @param post com.bitterjava.bbs.ejb.Post
 * @exception String The exception description.
 * @exception String The exception description.
 * @exception String The exception description.
 */
java.util.Vector addPostToThread(java.lang.String boardName, int threadID, com.bitterjava.bbs.ejb.Post post) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException;
/**
 * 
 * @return java.util.Vector
 * @param boardName java.lang.String
 * @param threadName java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 * @exception String The exception description.
 */
java.util.Vector addThreadToBoard(java.lang.String boardName, java.lang.String threadName) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException;
/**
 * 
 * @return com.bitterjava.bbs.Board
 * @param boardName java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 * @exception String The exception description.
 */
com.bitterjava.bbs.Board createBoard(java.lang.String boardName) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException;
/**
 * 
 * @return com.bitterjava.bbs.Board
 * @param name java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 */
com.bitterjava.bbs.Board getBoard(java.lang.String name) throws java.rmi.RemoteException, javax.ejb.FinderException;
/**
 * 
 * @return java.util.Vector
 * @param boardName java.lang.String
 * @param threadID int
 * @exception String The exception description.
 * @exception String The exception description.
 */
java.util.Vector getPostsInThread(java.lang.String boardName, int threadID) throws java.rmi.RemoteException, javax.ejb.FinderException;
/**
 * 
 * @return java.util.Vector
 * @param boardName java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 */
java.util.Vector getThreadsInBoard(java.lang.String boardName) throws java.rmi.RemoteException, javax.ejb.FinderException;
/**
 * 
 * @return void
 * @param boardName java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 * @exception String The exception description.
 */
void removeBoard(java.lang.String boardName) throws java.rmi.RemoteException, javax.ejb.RemoveException, javax.ejb.FinderException;
/**
 * 
 * @return java.util.Vector
 * @param boardName java.lang.String
 * @param threadID int
 * @param post com.bitterjava.bbs.ejb.Post
 * @exception String The exception description.
 * @exception String The exception description.
 * @exception String The exception description.
 */
java.util.Vector removePostFromThread(java.lang.String boardName, int threadID, com.bitterjava.bbs.ejb.Post post) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.ejb.RemoveException;
/**
 * 
 * @return java.util.Vector
 * @param boardName java.lang.String
 * @param thread com.bitterjava.bbs.Thread
 * @exception String The exception description.
 * @exception String The exception description.
 * @exception String The exception description.
 */
java.util.Vector removeThreadFromBoard(java.lang.String boardName, com.bitterjava.bbs.Thread thread) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.ejb.RemoveException;

/**
 * 
 * @return java.util.List
 * @exception String The exception description.
 */
java.util.List getBoardNames() throws java.rmi.RemoteException;

/**
 * 
 * @return com.bitterjava.bbs.Post
 * @param boardName java.lang.String
 * @param threadID int
 * @param postID int
 * @exception String The exception description.
 * @exception String The exception description.
 */
com.bitterjava.bbs.Post getPost(java.lang.String boardName, int threadID, int postID) throws java.rmi.RemoteException, javax.ejb.FinderException;

/**
 * 
 * @return java.util.List
 * @param boardName java.lang.String
 * @param threadID int
 * @exception String The exception description.
 */
java.util.List getPostHeaders(java.lang.String boardName, int threadID) throws java.rmi.RemoteException;

/**
 * 
 * @return java.util.List
 * @param boardName java.lang.String
 * @exception String The exception description.
 */
java.util.List getThreadHeaders(java.lang.String boardName) throws java.rmi.RemoteException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -