package ejava.examples.ejb.entity.bean;

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

/**
   This interface defines the local interface for the EntityBean.
*/
public interface BookLocalHome extends EJBLocalHome {
   BookLocal create(String id) throws CreateException;
   BookLocal create(String id, String title, String author, String topic) 
      throws CreateException;
   BookLocal findByPrimaryKey(String pk) throws FinderException;
   Collection findAll() throws FinderException;
}

