1 package edu.rice.rubis.beans; 2 3 import java.rmi.RemoteException ; 4 import java.util.Collection ; 5 import javax.ejb.CreateException ; 6 import javax.ejb.EJBHome ; 7 import javax.ejb.FinderException ; 8 import javax.ejb.RemoveException ; 9 10 11 12 public interface UserHome extends EJBHome { 13 27 public User create(String userFirstname, String userLastname, String userNickname, String userEmail, 28 String userPassword, Integer userRegionId) throws CreateException , RemoteException , RemoveException ; 29 30 38 public User findByPrimaryKey(UserPK id) throws FinderException , RemoteException ; 39 40 47 public User findByNickName(String nickName) throws FinderException , RemoteException ; 48 49 54 public Collection findAllUsers() throws RemoteException , FinderException ; 55 } 56 | Popular Tags |