boardfacade.java

来自「用java编写的留言版」· Java 代码 · 共 129 行

JAVA
129
字号
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 + =
减小字号Ctrl + -
显示快捷键?