1 22 package org.jboss.test.readahead.interfaces; 23 24 import java.util.Collection ; 25 import java.rmi.RemoteException ; 26 import javax.ejb.EJBHome ; 27 import javax.ejb.CreateException ; 28 import javax.ejb.FinderException ; 29 30 38 public interface CMPFindTestEntityHome extends EJBHome { 39 public CMPFindTestEntityRemote create(String key) throws RemoteException , CreateException ; 40 public CMPFindTestEntityRemote findByPrimaryKey(String primaryKey) throws RemoteException , FinderException ; 41 public Collection findAll() throws RemoteException , FinderException ; 42 public Collection findByCity(String city) throws RemoteException , FinderException ; 43 } | Popular Tags |