1 22 package org.jboss.test.cts.interfaces; 23 24 25 26 import org.jboss.test.cts.keys.*; 27 import java.rmi.RemoteException ; 28 import java.util.Collection ; 29 import javax.ejb.*; 30 31 32 39 40 public interface CtsBmpHome 41 extends EJBHome 42 { 43 44 59 60 public CtsBmp create (AccountPK pk, String personsName) 61 throws CreateException, DuplicateKeyException, EJBException, 62 RemoteException ; 63 64 77 78 public CtsBmp findByPrimaryKey (AccountPK pk) 79 throws FinderException, EJBException, RemoteException ; 80 81 92 93 public Collection findAll () 94 throws EJBException, FinderException, RemoteException ; 95 96 107 public Collection findByPersonsName (String guysName ) 108 throws EJBException, FinderException, RemoteException ; 109 110 111 } 112 113 114 115 116 117 118 119 | Popular Tags |