/*
 *
 * Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */

package ejb.users;


import java.util.Collection;
import java.rmi.RemoteException;
import javax.ejb.*;

import java.sql.*;


public interface UserHome extends EJBHome {



    public User create(String name,String email,Timestamp lastVisited,long totalTimeSpent)
                                throws RemoteException, CreateException;


    public User findByPrimaryKey(String email) 
        throws FinderException, RemoteException;
    

/**
    public Collection findInRange(String start, String end)
        throws FinderException, RemoteException;
**/


    public Collection findAll()
        throws FinderException, RemoteException;



} //public interface UserHome extends EJBHome
