/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.test.testbeancluster.interfaces;

import java.util.Collection;
import javax.ejb.EJBLocalHome;
import javax.ejb.CreateException;
import javax.ejb.FinderException;

import org.jboss.test.testbeancluster.interfaces.EntityPK;
import org.jboss.test.testbean.interfaces.AComplexPK;

/**
 * @author Scott.Stark@jboss.org
 * @version $Revision: 1.1.2.1 $
 */ 
public interface EntityPKHome extends EJBLocalHome
{
    public EntityPK create(boolean aBoolean, int anInt, long aLong,
       double aDouble, String aString)
       throws CreateException;

    public EntityPK createMETHOD(boolean aBoolean, int anInt, long aLong,
       double aDouble, String aString)
       throws CreateException;

    public EntityPK findByPrimaryKey(AComplexPK acomplexPK)
        throws FinderException;

    public Collection findAll()
        throws FinderException;
}
