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

public interface ComponenteHome extends EJBHome
{
    
    /**
     * @roseuid 3C7A287901AA
     * @J2EE_METHOD  --  create
     * Called by the client to create an EJB bean instance. It requires a matching pair in
     * the bean class, i.e. ejbCreate().
     * @throws java.rmi.RemoteException
     * @throws javax.ejb.CreateException
     */
    public Componente create    (String codComp, String nomeComp, int quantComp) 
                throws RemoteException, CreateException;
    
    /**
     * @roseuid 3C7A287901B4
     * @J2EE_METHOD  --  findByPrimaryKey
     * Called by the client to find an EJB bean instance, usually find by primary key.
     * @throws java.rmi.RemoteException
     * @throws javax.ejb.FinderException
     */
    public Componente findByPrimaryKey    (ComponentePK primaryKey) 
                throws RemoteException, FinderException;

	Collection findAll() throws FinderException, RemoteException;
}