/*
 *
 * 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 com.web_tomorrow.item;

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

public interface ItemHome extends EJBHome {

   public Item create(String companyId, String itemId, String desc, 
       double price)
        throws RemoteException, CreateException;
    
   public Item findByPrimaryKey(ItemKey primaryKey) 
        throws FinderException, RemoteException;

   public Collection findByItemIdPattern(String itemIdPattern) 
        throws FinderException, RemoteException;

/*    public Collection findByLastName(String lastName)
        throws FinderException, RemoteException;

    public Collection findInRange(double low, double high)
        throws FinderException, RemoteException;*/
}