KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ejbql > CabinHomeRemote


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import java.rmi.RemoteException JavaDoc;
4 import javax.ejb.CreateException JavaDoc;
5 import javax.ejb.FinderException JavaDoc;
6 import java.util.Collection JavaDoc;
7
8 public interface CabinHomeRemote extends javax.ejb.EJBHome JavaDoc {
9
10     public CabinRemote create(Integer JavaDoc id)
11         throws CreateException JavaDoc, RemoteException JavaDoc;
12
13     public CabinRemote findByPrimaryKey(Integer JavaDoc pk)
14         throws FinderException JavaDoc, RemoteException JavaDoc;
15
16     public Collection JavaDoc findAllOnDeckLevel(Integer JavaDoc level)
17         throws FinderException JavaDoc, RemoteException JavaDoc;
18
19     public Collection JavaDoc findAllOnDeckLevel1_3_5()
20         throws FinderException JavaDoc, RemoteException JavaDoc;
21
22     public Collection JavaDoc findAllOnDeckLevel1_3_X(int levelX)
23         throws FinderException JavaDoc, RemoteException JavaDoc;
24
25     // Home method, requires ejbHomeXXX method in bean class
26
public int selectDeckLevel(Integer JavaDoc id)
27         throws FinderException JavaDoc, RemoteException JavaDoc;
28
29 }
30
Popular Tags