01: package com.titan.cabin;
02:
03: import com.titan.customer.CustomerLocal;
04:
05: import java.util.Collection;
06: import java.util.Set;
07: import javax.ejb.EJBException;
08: import javax.ejb.CreateException;
09: import javax.ejb.FinderException;
10:
11: public interface CabinHomeLocal extends javax.ejb.EJBLocalHome {
12:
13: public CabinLocal create(Integer id) throws CreateException,
14: EJBException;
15:
16: public CabinLocal findByPrimaryKey(Integer pk)
17: throws FinderException, EJBException;
18:
19: public Collection findAllOnDeckLevel(Integer level)
20: throws FinderException;
21:
22: public Collection findAllCabins() throws FinderException;
23:
24: // Home method, requires ejbHomeSelectAllForCustomer method in bean class
25: public Set selectAllForCustomer(CustomerLocal cust)
26: throws FinderException;
27: }
|