1 package com.titan.cabin; 2 3 import com.titan.customer.CustomerLocal; 4 5 import java.util.Collection; 6 import java.util.Set; 7 import javax.ejb.EJBException; 8 import javax.ejb.CreateException; 9 import javax.ejb.FinderException; 10 11 public interface CabinHomeLocal extends javax.ejb.EJBLocalHome { 12 13 public CabinLocal create(Integer id) 14 throws CreateException, 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() 23 throws FinderException; 24 25 public Set selectAllForCustomer(CustomerLocal cust) 27 throws FinderException; 28 } 29 | Popular Tags |