thread.java

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

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

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

/**
 * 
 * @return int
 * @param author java.lang.String
 * @param date java.util.Date
 * @param subject java.lang.String
 * @param text java.lang.String
 * @exception String The exception description.
 * @exception String The exception description.
 */
int addPost(java.lang.String author, java.util.Date date, java.lang.String subject, java.lang.String text) throws javax.ejb.CreateException, java.rmi.RemoteException;
/**
 * 
 * @return java.lang.String
 * @exception String The exception description.
 */
java.lang.String getBoardName() throws java.rmi.RemoteException;
/**
 * Getter method for name
 * @return java.lang.String
 * @exception java.rmi.RemoteException The exception description.
 */
java.lang.String getName() throws java.rmi.RemoteException;
/**
 * 
 * @return com.bitterjava.bbs.ejb.Post
 * @param postID int
 * @exception String The exception description.
 */
com.bitterjava.bbs.ejb.Post getPost(int postID) throws java.rmi.RemoteException;
/**
 * 
 * @return java.util.Collection
 * @exception String The exception description.
 */
java.util.Collection getPosts() throws java.rmi.RemoteException;
/**
 * 
 * @return int
 * @exception String The exception description.
 */
int getThreadID() throws java.rmi.RemoteException;
/**
 * 
 * @return void
 * @exception String The exception description.
 * @exception String The exception description.
 */
void removeAllPosts() throws java.rmi.RemoteException, javax.ejb.RemoveException;
/**
 * 
 * @return void
 * @param post com.bitterjava.bbs.ejb.Post
 * @exception String The exception description.
 * @exception String The exception description.
 */
void removePost(com.bitterjava.bbs.ejb.Post post) throws java.rmi.RemoteException, javax.ejb.RemoveException;
/**
 * Setter method for name
 * @param newValue java.lang.String
 * @exception java.rmi.RemoteException The exception description.
 */
void setName(java.lang.String newValue) throws java.rmi.RemoteException;
}

⌨️ 快捷键说明

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