board.java

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

JAVA
51
字号
package com.bitterjava.bbs.ejb;

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

/**
 * 
 * @return int
 * @param threadName java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 */
int addThread(java.lang.String threadName) throws javax.ejb.CreateException, java.rmi.RemoteException;
/**
 * 
 * @return java.lang.String
 * @exception String The exception description.
 */
java.lang.String getName() throws java.rmi.RemoteException;
/**
 * 
 * @return com.bitterjava.bbs.ejb.Thread
 * @param threadID int
 * @exception String The exception description.
 */
com.bitterjava.bbs.ejb.Thread getThread(int threadID) throws java.rmi.RemoteException;
/**
 * 
 * @return java.util.Collection
 * @exception String The exception description.
 */
java.util.Collection getThreads() throws java.rmi.RemoteException;
/**
 * 
 * @return void
 * @exception String The exception description.
 * @exception String The exception description.
 */
void removeAllThreads() throws java.rmi.RemoteException, javax.ejb.RemoveException;
/**
 * 
 * @return void
 * @param thread com.bitterjava.bbs.ejb.Thread
 * @exception String The exception description.
 * @exception String The exception description.
 */
void removeThread(com.bitterjava.bbs.ejb.Thread thread) throws java.rmi.RemoteException, javax.ejb.RemoveException;
}

⌨️ 快捷键说明

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