📄 thread.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -