FileDocCategorySizeDatePackage
UserHome.javaAPI DocExample1394Tue Dec 25 15:43:20 GMT 2001jabadot

UserHome

public interface UserHome implements EJBHome
The EJB Home Interface for the User Account EJB.
version
$Id: UserHome.java,v 1.2 2001/12/25 20:43:20 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public UserRemotecreate(java.lang.String nick)
Create a User when you only know their name

public UserRemotecreate(java.lang.String nick, java.lang.String pw, java.lang.String name, java.lang.String email, java.lang.String city, java.lang.String pr, java.lang.String co)
Create a User with all String parameters.

public UserRemotecreate(java.lang.String nick, java.lang.String pw, java.lang.String name, java.lang.String email, java.lang.String city, java.lang.String pr, java.lang.String co, boolean edit, boolean adm)
Create a User with all String and boolean parameters.

public java.util.CollectionfindAllUsers()
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 UserRemotefindByPrimaryKey(java.lang.String id)
Find an EJB by name. The deployment process will generate this method.