01: package org.objectweb.jonas.jtests.beans.ejbql;
02:
03: import java.rmi.RemoteException;
04: import javax.ejb.CreateException;
05: import javax.ejb.FinderException;
06: import java.util.Collection;
07:
08: public interface CabinHomeRemote extends javax.ejb.EJBHome {
09:
10: public CabinRemote create(Integer id) throws CreateException,
11: RemoteException;
12:
13: public CabinRemote findByPrimaryKey(Integer pk)
14: throws FinderException, RemoteException;
15:
16: public Collection findAllOnDeckLevel(Integer level)
17: throws FinderException, RemoteException;
18:
19: public Collection findAllOnDeckLevel1_3_5() throws FinderException,
20: RemoteException;
21:
22: public Collection findAllOnDeckLevel1_3_X(int levelX)
23: throws FinderException, RemoteException;
24:
25: // Home method, requires ejbHomeXXX method in bean class
26: public int selectDeckLevel(Integer id) throws FinderException,
27: RemoteException;
28:
29: }
|