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

📄 userhome.java

📁 codebook!
💻 JAVA
字号:
package jabadot;import javax.ejb.*;import java.rmi.RemoteException;import java.util.*;/** The EJB Home Interface for the User Account EJB. * @version $Id: UserHome.java,v 1.3 2002/03/02 00:47:15 ian Exp $ */public interface UserHome extends EJBHome {	/** Create a User when you only know their name */	public abstract User create(String nick)		throws RemoteException, CreateException;	/** Create a User with all String parameters. */	public abstract User create(String nick, String pw,		String name, String email,		String city, String pr, String co)		throws RemoteException, CreateException;	/** Create a User with all String and boolean parameters. */	public abstract User create(String nick, String pw,		String name, String email,		String city, String pr, String co,		boolean edit, boolean adm)		throws RemoteException, CreateException;	/** Find an EJB by name.	 * The deployment process will generate this method.	 */	public abstract User findByPrimaryKey (String id)			throws RemoteException, FinderException;	/** findAllUsers -- method generated by deployment.	 * In EJB1, relied on a trick(?) that no "where" clause is generated	 * in the deploytool-gen'd SQL (discovered by Kim Fowler)	 * In EJB2 we use EJB QL to make this explicit.	 * @return a collection of all the rows.	 */	public abstract Collection findAllUsers()			throws RemoteException, FinderException;}

⌨️ 快捷键说明

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