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.EJBLocalHome ; 7 import javax.ejb.FinderException ; 8 import javax.ejb.RemoveException ; 9 10 11 12 public interface UserLocalHome extends EJBLocalHome { 13 27 public UserLocal create(String userFirstname, String userLastname, String userNickname, String userEmail, 28 String userPassword, Integer userRegionId) throws CreateException , RemoveException ; 29 30 38 public UserLocal findByPrimaryKey(UserPK id) throws FinderException ; 39 40 47 public UserLocal findByNickName(String nickName) throws FinderException ; 48 49 54 public Collection findAllUsers() throws FinderException ; 55 } 56 | Popular Tags |